configure 151 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64 for package-unused version-unused.
  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='package-unused'
  500. PACKAGE_TARNAME='gotools'
  501. PACKAGE_VERSION='version-unused'
  502. PACKAGE_STRING='package-unused version-unused'
  503. PACKAGE_BUGREPORT=''
  504. PACKAGE_URL=''
  505. ac_unique_file="Makefile.am"
  506. ac_subst_vars='am__EXEEXT_FALSE
  507. am__EXEEXT_TRUE
  508. LTLIBOBJS
  509. LIBOBJS
  510. NET_LIBS
  511. NATIVE_FALSE
  512. NATIVE_TRUE
  513. GOCFLAGS
  514. GOC
  515. am__fastdepCC_FALSE
  516. am__fastdepCC_TRUE
  517. CCDEPMODE
  518. AMDEPBACKSLASH
  519. AMDEP_FALSE
  520. AMDEP_TRUE
  521. am__quote
  522. am__include
  523. DEPDIR
  524. OBJEXT
  525. EXEEXT
  526. ac_ct_CC
  527. CPPFLAGS
  528. LDFLAGS
  529. CFLAGS
  530. CC
  531. MAINT
  532. MAINTAINER_MODE_FALSE
  533. MAINTAINER_MODE_TRUE
  534. am__untar
  535. am__tar
  536. AMTAR
  537. am__leading_dot
  538. SET_MAKE
  539. AWK
  540. mkdir_p
  541. MKDIR_P
  542. INSTALL_STRIP_PROGRAM
  543. STRIP
  544. install_sh
  545. MAKEINFO
  546. AUTOHEADER
  547. AUTOMAKE
  548. AUTOCONF
  549. ACLOCAL
  550. VERSION
  551. PACKAGE
  552. CYGPATH_W
  553. am__isrc
  554. INSTALL_DATA
  555. INSTALL_SCRIPT
  556. INSTALL_PROGRAM
  557. target_os
  558. target_vendor
  559. target_cpu
  560. target
  561. host_os
  562. host_vendor
  563. host_cpu
  564. host
  565. target_noncanonical
  566. host_noncanonical
  567. build_noncanonical
  568. build_os
  569. build_vendor
  570. build_cpu
  571. build
  572. target_alias
  573. host_alias
  574. build_alias
  575. LIBS
  576. ECHO_T
  577. ECHO_N
  578. ECHO_C
  579. DEFS
  580. mandir
  581. localedir
  582. libdir
  583. psdir
  584. pdfdir
  585. dvidir
  586. htmldir
  587. infodir
  588. docdir
  589. oldincludedir
  590. includedir
  591. localstatedir
  592. sharedstatedir
  593. sysconfdir
  594. datadir
  595. datarootdir
  596. libexecdir
  597. sbindir
  598. bindir
  599. program_transform_name
  600. prefix
  601. exec_prefix
  602. PACKAGE_URL
  603. PACKAGE_BUGREPORT
  604. PACKAGE_STRING
  605. PACKAGE_VERSION
  606. PACKAGE_TARNAME
  607. PACKAGE_NAME
  608. PATH_SEPARATOR
  609. SHELL'
  610. ac_subst_files=''
  611. ac_user_opts='
  612. enable_option_checking
  613. enable_maintainer_mode
  614. enable_dependency_tracking
  615. '
  616. ac_precious_vars='build_alias
  617. host_alias
  618. target_alias
  619. CC
  620. CFLAGS
  621. LDFLAGS
  622. LIBS
  623. CPPFLAGS
  624. GOC
  625. GOCFLAGS'
  626. # Initialize some variables set by options.
  627. ac_init_help=
  628. ac_init_version=false
  629. ac_unrecognized_opts=
  630. ac_unrecognized_sep=
  631. # The variables have the same names as the options, with
  632. # dashes changed to underlines.
  633. cache_file=/dev/null
  634. exec_prefix=NONE
  635. no_create=
  636. no_recursion=
  637. prefix=NONE
  638. program_prefix=NONE
  639. program_suffix=NONE
  640. program_transform_name=s,x,x,
  641. silent=
  642. site=
  643. srcdir=
  644. verbose=
  645. x_includes=NONE
  646. x_libraries=NONE
  647. # Installation directory options.
  648. # These are left unexpanded so users can "make install exec_prefix=/foo"
  649. # and all the variables that are supposed to be based on exec_prefix
  650. # by default will actually change.
  651. # Use braces instead of parens because sh, perl, etc. also accept them.
  652. # (The list follows the same order as the GNU Coding Standards.)
  653. bindir='${exec_prefix}/bin'
  654. sbindir='${exec_prefix}/sbin'
  655. libexecdir='${exec_prefix}/libexec'
  656. datarootdir='${prefix}/share'
  657. datadir='${datarootdir}'
  658. sysconfdir='${prefix}/etc'
  659. sharedstatedir='${prefix}/com'
  660. localstatedir='${prefix}/var'
  661. includedir='${prefix}/include'
  662. oldincludedir='/usr/include'
  663. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  664. infodir='${datarootdir}/info'
  665. htmldir='${docdir}'
  666. dvidir='${docdir}'
  667. pdfdir='${docdir}'
  668. psdir='${docdir}'
  669. libdir='${exec_prefix}/lib'
  670. localedir='${datarootdir}/locale'
  671. mandir='${datarootdir}/man'
  672. ac_prev=
  673. ac_dashdash=
  674. for ac_option
  675. do
  676. # If the previous option needs an argument, assign it.
  677. if test -n "$ac_prev"; then
  678. eval $ac_prev=\$ac_option
  679. ac_prev=
  680. continue
  681. fi
  682. case $ac_option in
  683. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  684. *) ac_optarg=yes ;;
  685. esac
  686. # Accept the important Cygnus configure options, so we can diagnose typos.
  687. case $ac_dashdash$ac_option in
  688. --)
  689. ac_dashdash=yes ;;
  690. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  691. ac_prev=bindir ;;
  692. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  693. bindir=$ac_optarg ;;
  694. -build | --build | --buil | --bui | --bu)
  695. ac_prev=build_alias ;;
  696. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  697. build_alias=$ac_optarg ;;
  698. -cache-file | --cache-file | --cache-fil | --cache-fi \
  699. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  700. ac_prev=cache_file ;;
  701. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  702. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  703. cache_file=$ac_optarg ;;
  704. --config-cache | -C)
  705. cache_file=config.cache ;;
  706. -datadir | --datadir | --datadi | --datad)
  707. ac_prev=datadir ;;
  708. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  709. datadir=$ac_optarg ;;
  710. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  711. | --dataroo | --dataro | --datar)
  712. ac_prev=datarootdir ;;
  713. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  714. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  715. datarootdir=$ac_optarg ;;
  716. -disable-* | --disable-*)
  717. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  718. # Reject names that are not valid shell variable names.
  719. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  720. as_fn_error "invalid feature name: $ac_useropt"
  721. ac_useropt_orig=$ac_useropt
  722. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  723. case $ac_user_opts in
  724. *"
  725. "enable_$ac_useropt"
  726. "*) ;;
  727. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  728. ac_unrecognized_sep=', ';;
  729. esac
  730. eval enable_$ac_useropt=no ;;
  731. -docdir | --docdir | --docdi | --doc | --do)
  732. ac_prev=docdir ;;
  733. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  734. docdir=$ac_optarg ;;
  735. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  736. ac_prev=dvidir ;;
  737. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  738. dvidir=$ac_optarg ;;
  739. -enable-* | --enable-*)
  740. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  741. # Reject names that are not valid shell variable names.
  742. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  743. as_fn_error "invalid feature name: $ac_useropt"
  744. ac_useropt_orig=$ac_useropt
  745. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  746. case $ac_user_opts in
  747. *"
  748. "enable_$ac_useropt"
  749. "*) ;;
  750. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  751. ac_unrecognized_sep=', ';;
  752. esac
  753. eval enable_$ac_useropt=\$ac_optarg ;;
  754. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  755. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  756. | --exec | --exe | --ex)
  757. ac_prev=exec_prefix ;;
  758. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  759. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  760. | --exec=* | --exe=* | --ex=*)
  761. exec_prefix=$ac_optarg ;;
  762. -gas | --gas | --ga | --g)
  763. # Obsolete; use --with-gas.
  764. with_gas=yes ;;
  765. -help | --help | --hel | --he | -h)
  766. ac_init_help=long ;;
  767. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  768. ac_init_help=recursive ;;
  769. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  770. ac_init_help=short ;;
  771. -host | --host | --hos | --ho)
  772. ac_prev=host_alias ;;
  773. -host=* | --host=* | --hos=* | --ho=*)
  774. host_alias=$ac_optarg ;;
  775. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  776. ac_prev=htmldir ;;
  777. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  778. | --ht=*)
  779. htmldir=$ac_optarg ;;
  780. -includedir | --includedir | --includedi | --included | --include \
  781. | --includ | --inclu | --incl | --inc)
  782. ac_prev=includedir ;;
  783. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  784. | --includ=* | --inclu=* | --incl=* | --inc=*)
  785. includedir=$ac_optarg ;;
  786. -infodir | --infodir | --infodi | --infod | --info | --inf)
  787. ac_prev=infodir ;;
  788. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  789. infodir=$ac_optarg ;;
  790. -libdir | --libdir | --libdi | --libd)
  791. ac_prev=libdir ;;
  792. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  793. libdir=$ac_optarg ;;
  794. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  795. | --libexe | --libex | --libe)
  796. ac_prev=libexecdir ;;
  797. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  798. | --libexe=* | --libex=* | --libe=*)
  799. libexecdir=$ac_optarg ;;
  800. -localedir | --localedir | --localedi | --localed | --locale)
  801. ac_prev=localedir ;;
  802. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  803. localedir=$ac_optarg ;;
  804. -localstatedir | --localstatedir | --localstatedi | --localstated \
  805. | --localstate | --localstat | --localsta | --localst | --locals)
  806. ac_prev=localstatedir ;;
  807. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  808. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  809. localstatedir=$ac_optarg ;;
  810. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  811. ac_prev=mandir ;;
  812. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  813. mandir=$ac_optarg ;;
  814. -nfp | --nfp | --nf)
  815. # Obsolete; use --without-fp.
  816. with_fp=no ;;
  817. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  818. | --no-cr | --no-c | -n)
  819. no_create=yes ;;
  820. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  821. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  822. no_recursion=yes ;;
  823. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  824. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  825. | --oldin | --oldi | --old | --ol | --o)
  826. ac_prev=oldincludedir ;;
  827. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  828. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  829. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  830. oldincludedir=$ac_optarg ;;
  831. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  832. ac_prev=prefix ;;
  833. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  834. prefix=$ac_optarg ;;
  835. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  836. | --program-pre | --program-pr | --program-p)
  837. ac_prev=program_prefix ;;
  838. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  839. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  840. program_prefix=$ac_optarg ;;
  841. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  842. | --program-suf | --program-su | --program-s)
  843. ac_prev=program_suffix ;;
  844. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  845. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  846. program_suffix=$ac_optarg ;;
  847. -program-transform-name | --program-transform-name \
  848. | --program-transform-nam | --program-transform-na \
  849. | --program-transform-n | --program-transform- \
  850. | --program-transform | --program-transfor \
  851. | --program-transfo | --program-transf \
  852. | --program-trans | --program-tran \
  853. | --progr-tra | --program-tr | --program-t)
  854. ac_prev=program_transform_name ;;
  855. -program-transform-name=* | --program-transform-name=* \
  856. | --program-transform-nam=* | --program-transform-na=* \
  857. | --program-transform-n=* | --program-transform-=* \
  858. | --program-transform=* | --program-transfor=* \
  859. | --program-transfo=* | --program-transf=* \
  860. | --program-trans=* | --program-tran=* \
  861. | --progr-tra=* | --program-tr=* | --program-t=*)
  862. program_transform_name=$ac_optarg ;;
  863. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  864. ac_prev=pdfdir ;;
  865. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  866. pdfdir=$ac_optarg ;;
  867. -psdir | --psdir | --psdi | --psd | --ps)
  868. ac_prev=psdir ;;
  869. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  870. psdir=$ac_optarg ;;
  871. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  872. | -silent | --silent | --silen | --sile | --sil)
  873. silent=yes ;;
  874. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  875. ac_prev=sbindir ;;
  876. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  877. | --sbi=* | --sb=*)
  878. sbindir=$ac_optarg ;;
  879. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  880. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  881. | --sharedst | --shareds | --shared | --share | --shar \
  882. | --sha | --sh)
  883. ac_prev=sharedstatedir ;;
  884. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  885. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  886. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  887. | --sha=* | --sh=*)
  888. sharedstatedir=$ac_optarg ;;
  889. -site | --site | --sit)
  890. ac_prev=site ;;
  891. -site=* | --site=* | --sit=*)
  892. site=$ac_optarg ;;
  893. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  894. ac_prev=srcdir ;;
  895. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  896. srcdir=$ac_optarg ;;
  897. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  898. | --syscon | --sysco | --sysc | --sys | --sy)
  899. ac_prev=sysconfdir ;;
  900. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  901. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  902. sysconfdir=$ac_optarg ;;
  903. -target | --target | --targe | --targ | --tar | --ta | --t)
  904. ac_prev=target_alias ;;
  905. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  906. target_alias=$ac_optarg ;;
  907. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  908. verbose=yes ;;
  909. -version | --version | --versio | --versi | --vers | -V)
  910. ac_init_version=: ;;
  911. -with-* | --with-*)
  912. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  913. # Reject names that are not valid shell variable names.
  914. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  915. as_fn_error "invalid package name: $ac_useropt"
  916. ac_useropt_orig=$ac_useropt
  917. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  918. case $ac_user_opts in
  919. *"
  920. "with_$ac_useropt"
  921. "*) ;;
  922. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  923. ac_unrecognized_sep=', ';;
  924. esac
  925. eval with_$ac_useropt=\$ac_optarg ;;
  926. -without-* | --without-*)
  927. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  928. # Reject names that are not valid shell variable names.
  929. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  930. as_fn_error "invalid package name: $ac_useropt"
  931. ac_useropt_orig=$ac_useropt
  932. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  933. case $ac_user_opts in
  934. *"
  935. "with_$ac_useropt"
  936. "*) ;;
  937. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  938. ac_unrecognized_sep=', ';;
  939. esac
  940. eval with_$ac_useropt=no ;;
  941. --x)
  942. # Obsolete; use --with-x.
  943. with_x=yes ;;
  944. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  945. | --x-incl | --x-inc | --x-in | --x-i)
  946. ac_prev=x_includes ;;
  947. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  948. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  949. x_includes=$ac_optarg ;;
  950. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  951. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  952. ac_prev=x_libraries ;;
  953. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  954. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  955. x_libraries=$ac_optarg ;;
  956. -*) as_fn_error "unrecognized option: \`$ac_option'
  957. Try \`$0 --help' for more information."
  958. ;;
  959. *=*)
  960. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  961. # Reject names that are not valid shell variable names.
  962. case $ac_envvar in #(
  963. '' | [0-9]* | *[!_$as_cr_alnum]* )
  964. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  965. esac
  966. eval $ac_envvar=\$ac_optarg
  967. export $ac_envvar ;;
  968. *)
  969. # FIXME: should be removed in autoconf 3.0.
  970. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  971. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  972. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  973. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  974. ;;
  975. esac
  976. done
  977. if test -n "$ac_prev"; then
  978. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  979. as_fn_error "missing argument to $ac_option"
  980. fi
  981. if test -n "$ac_unrecognized_opts"; then
  982. case $enable_option_checking in
  983. no) ;;
  984. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  985. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  986. esac
  987. fi
  988. # Check all directory arguments for consistency.
  989. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  990. datadir sysconfdir sharedstatedir localstatedir includedir \
  991. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  992. libdir localedir mandir
  993. do
  994. eval ac_val=\$$ac_var
  995. # Remove trailing slashes.
  996. case $ac_val in
  997. */ )
  998. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  999. eval $ac_var=\$ac_val;;
  1000. esac
  1001. # Be sure to have absolute directory names.
  1002. case $ac_val in
  1003. [\\/$]* | ?:[\\/]* ) continue;;
  1004. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1005. esac
  1006. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1007. done
  1008. # There might be people who depend on the old broken behavior: `$host'
  1009. # used to hold the argument of --host etc.
  1010. # FIXME: To remove some day.
  1011. build=$build_alias
  1012. host=$host_alias
  1013. target=$target_alias
  1014. # FIXME: To remove some day.
  1015. if test "x$host_alias" != x; then
  1016. if test "x$build_alias" = x; then
  1017. cross_compiling=maybe
  1018. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1019. If a cross compiler is detected then cross compile mode will be used." >&2
  1020. elif test "x$build_alias" != "x$host_alias"; then
  1021. cross_compiling=yes
  1022. fi
  1023. fi
  1024. ac_tool_prefix=
  1025. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1026. test "$silent" = yes && exec 6>/dev/null
  1027. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1028. ac_ls_di=`ls -di .` &&
  1029. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1030. as_fn_error "working directory cannot be determined"
  1031. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1032. as_fn_error "pwd does not report name of working directory"
  1033. # Find the source files, if location was not specified.
  1034. if test -z "$srcdir"; then
  1035. ac_srcdir_defaulted=yes
  1036. # Try the directory containing this script, then the parent directory.
  1037. ac_confdir=`$as_dirname -- "$as_myself" ||
  1038. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1039. X"$as_myself" : 'X\(//\)[^/]' \| \
  1040. X"$as_myself" : 'X\(//\)$' \| \
  1041. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1042. $as_echo X"$as_myself" |
  1043. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1044. s//\1/
  1045. q
  1046. }
  1047. /^X\(\/\/\)[^/].*/{
  1048. s//\1/
  1049. q
  1050. }
  1051. /^X\(\/\/\)$/{
  1052. s//\1/
  1053. q
  1054. }
  1055. /^X\(\/\).*/{
  1056. s//\1/
  1057. q
  1058. }
  1059. s/.*/./; q'`
  1060. srcdir=$ac_confdir
  1061. if test ! -r "$srcdir/$ac_unique_file"; then
  1062. srcdir=..
  1063. fi
  1064. else
  1065. ac_srcdir_defaulted=no
  1066. fi
  1067. if test ! -r "$srcdir/$ac_unique_file"; then
  1068. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1069. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1070. fi
  1071. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1072. ac_abs_confdir=`(
  1073. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1074. pwd)`
  1075. # When building in place, set srcdir=.
  1076. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1077. srcdir=.
  1078. fi
  1079. # Remove unnecessary trailing slashes from srcdir.
  1080. # Double slashes in file names in object file debugging info
  1081. # mess up M-x gdb in Emacs.
  1082. case $srcdir in
  1083. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1084. esac
  1085. for ac_var in $ac_precious_vars; do
  1086. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1087. eval ac_env_${ac_var}_value=\$${ac_var}
  1088. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1089. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1090. done
  1091. #
  1092. # Report the --help message.
  1093. #
  1094. if test "$ac_init_help" = "long"; then
  1095. # Omit some internal or obsolete options to make the list less imposing.
  1096. # This message is too long to be a string in the A/UX 3.1 sh.
  1097. cat <<_ACEOF
  1098. \`configure' configures package-unused version-unused to adapt to many kinds of systems.
  1099. Usage: $0 [OPTION]... [VAR=VALUE]...
  1100. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1101. VAR=VALUE. See below for descriptions of some of the useful variables.
  1102. Defaults for the options are specified in brackets.
  1103. Configuration:
  1104. -h, --help display this help and exit
  1105. --help=short display options specific to this package
  1106. --help=recursive display the short help of all the included packages
  1107. -V, --version display version information and exit
  1108. -q, --quiet, --silent do not print \`checking...' messages
  1109. --cache-file=FILE cache test results in FILE [disabled]
  1110. -C, --config-cache alias for \`--cache-file=config.cache'
  1111. -n, --no-create do not create output files
  1112. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1113. Installation directories:
  1114. --prefix=PREFIX install architecture-independent files in PREFIX
  1115. [$ac_default_prefix]
  1116. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1117. [PREFIX]
  1118. By default, \`make install' will install all the files in
  1119. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1120. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1121. for instance \`--prefix=\$HOME'.
  1122. For better control, use the options below.
  1123. Fine tuning of the installation directories:
  1124. --bindir=DIR user executables [EPREFIX/bin]
  1125. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1126. --libexecdir=DIR program executables [EPREFIX/libexec]
  1127. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1128. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1129. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1130. --libdir=DIR object code libraries [EPREFIX/lib]
  1131. --includedir=DIR C header files [PREFIX/include]
  1132. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1133. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1134. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1135. --infodir=DIR info documentation [DATAROOTDIR/info]
  1136. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1137. --mandir=DIR man documentation [DATAROOTDIR/man]
  1138. --docdir=DIR documentation root [DATAROOTDIR/doc/gotools]
  1139. --htmldir=DIR html documentation [DOCDIR]
  1140. --dvidir=DIR dvi documentation [DOCDIR]
  1141. --pdfdir=DIR pdf documentation [DOCDIR]
  1142. --psdir=DIR ps documentation [DOCDIR]
  1143. _ACEOF
  1144. cat <<\_ACEOF
  1145. Program names:
  1146. --program-prefix=PREFIX prepend PREFIX to installed program names
  1147. --program-suffix=SUFFIX append SUFFIX to installed program names
  1148. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1149. System types:
  1150. --build=BUILD configure for building on BUILD [guessed]
  1151. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1152. --target=TARGET configure for building compilers for TARGET [HOST]
  1153. _ACEOF
  1154. fi
  1155. if test -n "$ac_init_help"; then
  1156. case $ac_init_help in
  1157. short | recursive ) echo "Configuration of package-unused version-unused:";;
  1158. esac
  1159. cat <<\_ACEOF
  1160. Optional Features:
  1161. --disable-option-checking ignore unrecognized --enable/--with options
  1162. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1163. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1164. --enable-maintainer-mode enable make rules and dependencies not useful
  1165. (and sometimes confusing) to the casual installer
  1166. --disable-dependency-tracking speeds up one-time build
  1167. --enable-dependency-tracking do not reject slow dependency extractors
  1168. Some influential environment variables:
  1169. CC C compiler command
  1170. CFLAGS C compiler flags
  1171. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1172. nonstandard directory <lib dir>
  1173. LIBS libraries to pass to the linker, e.g. -l<library>
  1174. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1175. you have headers in a nonstandard directory <include dir>
  1176. GOC Go compiler command
  1177. GOCFLAGS Go compiler flags
  1178. Use these variables to override the choices made by `configure' or to help
  1179. it to find libraries and programs with nonstandard names/locations.
  1180. Report bugs to the package provider.
  1181. _ACEOF
  1182. ac_status=$?
  1183. fi
  1184. if test "$ac_init_help" = "recursive"; then
  1185. # If there are subdirs, report their specific --help.
  1186. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1187. test -d "$ac_dir" ||
  1188. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1189. continue
  1190. ac_builddir=.
  1191. case "$ac_dir" in
  1192. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1193. *)
  1194. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1195. # A ".." for each directory in $ac_dir_suffix.
  1196. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1197. case $ac_top_builddir_sub in
  1198. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1199. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1200. esac ;;
  1201. esac
  1202. ac_abs_top_builddir=$ac_pwd
  1203. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1204. # for backward compatibility:
  1205. ac_top_builddir=$ac_top_build_prefix
  1206. case $srcdir in
  1207. .) # We are building in place.
  1208. ac_srcdir=.
  1209. ac_top_srcdir=$ac_top_builddir_sub
  1210. ac_abs_top_srcdir=$ac_pwd ;;
  1211. [\\/]* | ?:[\\/]* ) # Absolute name.
  1212. ac_srcdir=$srcdir$ac_dir_suffix;
  1213. ac_top_srcdir=$srcdir
  1214. ac_abs_top_srcdir=$srcdir ;;
  1215. *) # Relative name.
  1216. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1217. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1218. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1219. esac
  1220. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1221. cd "$ac_dir" || { ac_status=$?; continue; }
  1222. # Check for guested configure.
  1223. if test -f "$ac_srcdir/configure.gnu"; then
  1224. echo &&
  1225. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1226. elif test -f "$ac_srcdir/configure"; then
  1227. echo &&
  1228. $SHELL "$ac_srcdir/configure" --help=recursive
  1229. else
  1230. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1231. fi || ac_status=$?
  1232. cd "$ac_pwd" || { ac_status=$?; break; }
  1233. done
  1234. fi
  1235. test -n "$ac_init_help" && exit $ac_status
  1236. if $ac_init_version; then
  1237. cat <<\_ACEOF
  1238. package-unused configure version-unused
  1239. generated by GNU Autoconf 2.64
  1240. Copyright (C) 2009 Free Software Foundation, Inc.
  1241. This configure script is free software; the Free Software Foundation
  1242. gives unlimited permission to copy, distribute and modify it.
  1243. _ACEOF
  1244. exit
  1245. fi
  1246. ## ------------------------ ##
  1247. ## Autoconf initialization. ##
  1248. ## ------------------------ ##
  1249. # ac_fn_c_try_compile LINENO
  1250. # --------------------------
  1251. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1252. ac_fn_c_try_compile ()
  1253. {
  1254. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1255. rm -f conftest.$ac_objext
  1256. if { { ac_try="$ac_compile"
  1257. case "(($ac_try" in
  1258. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1259. *) ac_try_echo=$ac_try;;
  1260. esac
  1261. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1262. $as_echo "$ac_try_echo"; } >&5
  1263. (eval "$ac_compile") 2>conftest.err
  1264. ac_status=$?
  1265. if test -s conftest.err; then
  1266. grep -v '^ *+' conftest.err >conftest.er1
  1267. cat conftest.er1 >&5
  1268. mv -f conftest.er1 conftest.err
  1269. fi
  1270. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1271. test $ac_status = 0; } && {
  1272. test -z "$ac_c_werror_flag" ||
  1273. test ! -s conftest.err
  1274. } && test -s conftest.$ac_objext; then :
  1275. ac_retval=0
  1276. else
  1277. $as_echo "$as_me: failed program was:" >&5
  1278. sed 's/^/| /' conftest.$ac_ext >&5
  1279. ac_retval=1
  1280. fi
  1281. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1282. return $ac_retval
  1283. } # ac_fn_c_try_compile
  1284. # ac_fn_c_try_link LINENO
  1285. # -----------------------
  1286. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1287. ac_fn_c_try_link ()
  1288. {
  1289. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1290. rm -f conftest.$ac_objext conftest$ac_exeext
  1291. if { { ac_try="$ac_link"
  1292. case "(($ac_try" in
  1293. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1294. *) ac_try_echo=$ac_try;;
  1295. esac
  1296. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1297. $as_echo "$ac_try_echo"; } >&5
  1298. (eval "$ac_link") 2>conftest.err
  1299. ac_status=$?
  1300. if test -s conftest.err; then
  1301. grep -v '^ *+' conftest.err >conftest.er1
  1302. cat conftest.er1 >&5
  1303. mv -f conftest.er1 conftest.err
  1304. fi
  1305. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1306. test $ac_status = 0; } && {
  1307. test -z "$ac_c_werror_flag" ||
  1308. test ! -s conftest.err
  1309. } && test -s conftest$ac_exeext && {
  1310. test "$cross_compiling" = yes ||
  1311. $as_test_x conftest$ac_exeext
  1312. }; then :
  1313. ac_retval=0
  1314. else
  1315. $as_echo "$as_me: failed program was:" >&5
  1316. sed 's/^/| /' conftest.$ac_ext >&5
  1317. ac_retval=1
  1318. fi
  1319. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1320. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1321. # interfere with the next link command; also delete a directory that is
  1322. # left behind by Apple's compiler. We do this before executing the actions.
  1323. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1324. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1325. return $ac_retval
  1326. } # ac_fn_c_try_link
  1327. # ac_fn_c_check_func LINENO FUNC VAR
  1328. # ----------------------------------
  1329. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1330. ac_fn_c_check_func ()
  1331. {
  1332. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1334. $as_echo_n "checking for $2... " >&6; }
  1335. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1336. $as_echo_n "(cached) " >&6
  1337. else
  1338. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1339. /* end confdefs.h. */
  1340. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1341. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1342. #define $2 innocuous_$2
  1343. /* System header to define __stub macros and hopefully few prototypes,
  1344. which can conflict with char $2 (); below.
  1345. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1346. <limits.h> exists even on freestanding compilers. */
  1347. #ifdef __STDC__
  1348. # include <limits.h>
  1349. #else
  1350. # include <assert.h>
  1351. #endif
  1352. #undef $2
  1353. /* Override any GCC internal prototype to avoid an error.
  1354. Use char because int might match the return type of a GCC
  1355. builtin and then its argument prototype would still apply. */
  1356. #ifdef __cplusplus
  1357. extern "C"
  1358. #endif
  1359. char $2 ();
  1360. /* The GNU C library defines this for functions which it implements
  1361. to always fail with ENOSYS. Some functions are actually named
  1362. something starting with __ and the normal name is an alias. */
  1363. #if defined __stub_$2 || defined __stub___$2
  1364. choke me
  1365. #endif
  1366. int
  1367. main ()
  1368. {
  1369. return $2 ();
  1370. ;
  1371. return 0;
  1372. }
  1373. _ACEOF
  1374. if ac_fn_c_try_link "$LINENO"; then :
  1375. eval "$3=yes"
  1376. else
  1377. eval "$3=no"
  1378. fi
  1379. rm -f core conftest.err conftest.$ac_objext \
  1380. conftest$ac_exeext conftest.$ac_ext
  1381. fi
  1382. eval ac_res=\$$3
  1383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1384. $as_echo "$ac_res" >&6; }
  1385. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1386. } # ac_fn_c_check_func
  1387. cat >config.log <<_ACEOF
  1388. This file contains any messages produced by compilers while
  1389. running configure, to aid debugging if configure makes a mistake.
  1390. It was created by package-unused $as_me version-unused, which was
  1391. generated by GNU Autoconf 2.64. Invocation command line was
  1392. $ $0 $@
  1393. _ACEOF
  1394. exec 5>>config.log
  1395. {
  1396. cat <<_ASUNAME
  1397. ## --------- ##
  1398. ## Platform. ##
  1399. ## --------- ##
  1400. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1401. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1402. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1403. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1404. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1405. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1406. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1407. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1408. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1409. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1410. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1411. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1412. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1413. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1414. _ASUNAME
  1415. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1416. for as_dir in $PATH
  1417. do
  1418. IFS=$as_save_IFS
  1419. test -z "$as_dir" && as_dir=.
  1420. $as_echo "PATH: $as_dir"
  1421. done
  1422. IFS=$as_save_IFS
  1423. } >&5
  1424. cat >&5 <<_ACEOF
  1425. ## ----------- ##
  1426. ## Core tests. ##
  1427. ## ----------- ##
  1428. _ACEOF
  1429. # Keep a trace of the command line.
  1430. # Strip out --no-create and --no-recursion so they do not pile up.
  1431. # Strip out --silent because we don't want to record it for future runs.
  1432. # Also quote any args containing shell meta-characters.
  1433. # Make two passes to allow for proper duplicate-argument suppression.
  1434. ac_configure_args=
  1435. ac_configure_args0=
  1436. ac_configure_args1=
  1437. ac_must_keep_next=false
  1438. for ac_pass in 1 2
  1439. do
  1440. for ac_arg
  1441. do
  1442. case $ac_arg in
  1443. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1444. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1445. | -silent | --silent | --silen | --sile | --sil)
  1446. continue ;;
  1447. *\'*)
  1448. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1449. esac
  1450. case $ac_pass in
  1451. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1452. 2)
  1453. as_fn_append ac_configure_args1 " '$ac_arg'"
  1454. if test $ac_must_keep_next = true; then
  1455. ac_must_keep_next=false # Got value, back to normal.
  1456. else
  1457. case $ac_arg in
  1458. *=* | --config-cache | -C | -disable-* | --disable-* \
  1459. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1460. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1461. | -with-* | --with-* | -without-* | --without-* | --x)
  1462. case "$ac_configure_args0 " in
  1463. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1464. esac
  1465. ;;
  1466. -* ) ac_must_keep_next=true ;;
  1467. esac
  1468. fi
  1469. as_fn_append ac_configure_args " '$ac_arg'"
  1470. ;;
  1471. esac
  1472. done
  1473. done
  1474. { ac_configure_args0=; unset ac_configure_args0;}
  1475. { ac_configure_args1=; unset ac_configure_args1;}
  1476. # When interrupted or exit'd, cleanup temporary files, and complete
  1477. # config.log. We remove comments because anyway the quotes in there
  1478. # would cause problems or look ugly.
  1479. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1480. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1481. trap 'exit_status=$?
  1482. # Save into config.log some information that might help in debugging.
  1483. {
  1484. echo
  1485. cat <<\_ASBOX
  1486. ## ---------------- ##
  1487. ## Cache variables. ##
  1488. ## ---------------- ##
  1489. _ASBOX
  1490. echo
  1491. # The following way of writing the cache mishandles newlines in values,
  1492. (
  1493. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1494. eval ac_val=\$$ac_var
  1495. case $ac_val in #(
  1496. *${as_nl}*)
  1497. case $ac_var in #(
  1498. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1499. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1500. esac
  1501. case $ac_var in #(
  1502. _ | IFS | as_nl) ;; #(
  1503. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1504. *) { eval $ac_var=; unset $ac_var;} ;;
  1505. esac ;;
  1506. esac
  1507. done
  1508. (set) 2>&1 |
  1509. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1510. *${as_nl}ac_space=\ *)
  1511. sed -n \
  1512. "s/'\''/'\''\\\\'\'''\''/g;
  1513. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1514. ;; #(
  1515. *)
  1516. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1517. ;;
  1518. esac |
  1519. sort
  1520. )
  1521. echo
  1522. cat <<\_ASBOX
  1523. ## ----------------- ##
  1524. ## Output variables. ##
  1525. ## ----------------- ##
  1526. _ASBOX
  1527. echo
  1528. for ac_var in $ac_subst_vars
  1529. do
  1530. eval ac_val=\$$ac_var
  1531. case $ac_val in
  1532. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1533. esac
  1534. $as_echo "$ac_var='\''$ac_val'\''"
  1535. done | sort
  1536. echo
  1537. if test -n "$ac_subst_files"; then
  1538. cat <<\_ASBOX
  1539. ## ------------------- ##
  1540. ## File substitutions. ##
  1541. ## ------------------- ##
  1542. _ASBOX
  1543. echo
  1544. for ac_var in $ac_subst_files
  1545. do
  1546. eval ac_val=\$$ac_var
  1547. case $ac_val in
  1548. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1549. esac
  1550. $as_echo "$ac_var='\''$ac_val'\''"
  1551. done | sort
  1552. echo
  1553. fi
  1554. if test -s confdefs.h; then
  1555. cat <<\_ASBOX
  1556. ## ----------- ##
  1557. ## confdefs.h. ##
  1558. ## ----------- ##
  1559. _ASBOX
  1560. echo
  1561. cat confdefs.h
  1562. echo
  1563. fi
  1564. test "$ac_signal" != 0 &&
  1565. $as_echo "$as_me: caught signal $ac_signal"
  1566. $as_echo "$as_me: exit $exit_status"
  1567. } >&5
  1568. rm -f core *.core core.conftest.* &&
  1569. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1570. exit $exit_status
  1571. ' 0
  1572. for ac_signal in 1 2 13 15; do
  1573. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1574. done
  1575. ac_signal=0
  1576. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1577. rm -f -r conftest* confdefs.h
  1578. $as_echo "/* confdefs.h */" > confdefs.h
  1579. # Predefined preprocessor variables.
  1580. cat >>confdefs.h <<_ACEOF
  1581. #define PACKAGE_NAME "$PACKAGE_NAME"
  1582. _ACEOF
  1583. cat >>confdefs.h <<_ACEOF
  1584. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1585. _ACEOF
  1586. cat >>confdefs.h <<_ACEOF
  1587. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1588. _ACEOF
  1589. cat >>confdefs.h <<_ACEOF
  1590. #define PACKAGE_STRING "$PACKAGE_STRING"
  1591. _ACEOF
  1592. cat >>confdefs.h <<_ACEOF
  1593. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1594. _ACEOF
  1595. cat >>confdefs.h <<_ACEOF
  1596. #define PACKAGE_URL "$PACKAGE_URL"
  1597. _ACEOF
  1598. # Let the site file select an alternate cache file if it wants to.
  1599. # Prefer an explicitly selected file to automatically selected ones.
  1600. ac_site_file1=NONE
  1601. ac_site_file2=NONE
  1602. if test -n "$CONFIG_SITE"; then
  1603. ac_site_file1=$CONFIG_SITE
  1604. elif test "x$prefix" != xNONE; then
  1605. ac_site_file1=$prefix/share/config.site
  1606. ac_site_file2=$prefix/etc/config.site
  1607. else
  1608. ac_site_file1=$ac_default_prefix/share/config.site
  1609. ac_site_file2=$ac_default_prefix/etc/config.site
  1610. fi
  1611. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1612. do
  1613. test "x$ac_site_file" = xNONE && continue
  1614. if test -r "$ac_site_file"; then
  1615. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1616. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1617. sed 's/^/| /' "$ac_site_file" >&5
  1618. . "$ac_site_file"
  1619. fi
  1620. done
  1621. if test -r "$cache_file"; then
  1622. # Some versions of bash will fail to source /dev/null (special
  1623. # files actually), so we avoid doing that.
  1624. if test -f "$cache_file"; then
  1625. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1626. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1627. case $cache_file in
  1628. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1629. *) . "./$cache_file";;
  1630. esac
  1631. fi
  1632. else
  1633. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1634. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1635. >$cache_file
  1636. fi
  1637. # Check that the precious variables saved in the cache have kept the same
  1638. # value.
  1639. ac_cache_corrupted=false
  1640. for ac_var in $ac_precious_vars; do
  1641. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1642. eval ac_new_set=\$ac_env_${ac_var}_set
  1643. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1644. eval ac_new_val=\$ac_env_${ac_var}_value
  1645. case $ac_old_set,$ac_new_set in
  1646. set,)
  1647. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1648. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1649. ac_cache_corrupted=: ;;
  1650. ,set)
  1651. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1652. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1653. ac_cache_corrupted=: ;;
  1654. ,);;
  1655. *)
  1656. if test "x$ac_old_val" != "x$ac_new_val"; then
  1657. # differences in whitespace do not lead to failure.
  1658. ac_old_val_w=`echo x $ac_old_val`
  1659. ac_new_val_w=`echo x $ac_new_val`
  1660. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1661. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1662. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1663. ac_cache_corrupted=:
  1664. else
  1665. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1666. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1667. eval $ac_var=\$ac_old_val
  1668. fi
  1669. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1670. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1671. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1672. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1673. fi;;
  1674. esac
  1675. # Pass precious variables to config.status.
  1676. if test "$ac_new_set" = set; then
  1677. case $ac_new_val in
  1678. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1679. *) ac_arg=$ac_var=$ac_new_val ;;
  1680. esac
  1681. case " $ac_configure_args " in
  1682. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1683. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1684. esac
  1685. fi
  1686. done
  1687. if $ac_cache_corrupted; then
  1688. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1689. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1690. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1691. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1692. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1693. fi
  1694. ## -------------------- ##
  1695. ## Main body of script. ##
  1696. ## -------------------- ##
  1697. ac_ext=c
  1698. ac_cpp='$CPP $CPPFLAGS'
  1699. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1700. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1701. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1702. # This is what autoupdate's m4 run will expand. It fires
  1703. # the warning (with _au_warn_XXX), outputs it into the
  1704. # updated configure.ac (with AC_DIAGNOSE), and then outputs
  1705. # the replacement expansion.
  1706. # This is an auxiliary macro that is also run when
  1707. # autoupdate runs m4. It simply calls m4_warning, but
  1708. # we need a wrapper so that each warning is emitted only
  1709. # once. We break the quoting in m4_warning's argument in
  1710. # order to expand this macro's arguments, not AU_DEFUN's.
  1711. # Finally, this is the expansion that is picked up by
  1712. # autoconf. It tells the user to run autoupdate, and
  1713. # then outputs the replacement expansion. We do not care
  1714. # about autoupdate's warning because that contains
  1715. # information on what to do *after* running autoupdate.
  1716. # AC_PROG_GO
  1717. # Determine the noncanonical names used for directories.
  1718. ac_aux_dir=
  1719. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1720. for ac_t in install-sh install.sh shtool; do
  1721. if test -f "$ac_dir/$ac_t"; then
  1722. ac_aux_dir=$ac_dir
  1723. ac_install_sh="$ac_aux_dir/$ac_t -c"
  1724. break 2
  1725. fi
  1726. done
  1727. done
  1728. if test -z "$ac_aux_dir"; then
  1729. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1730. fi
  1731. # These three variables are undocumented and unsupported,
  1732. # and are intended to be withdrawn in a future Autoconf release.
  1733. # They can cause serious problems if a builder's source tree is in a directory
  1734. # whose full name contains unusual characters.
  1735. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1736. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1737. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1738. # Make sure we can run config.sub.
  1739. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1740. as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1742. $as_echo_n "checking build system type... " >&6; }
  1743. if test "${ac_cv_build+set}" = set; then :
  1744. $as_echo_n "(cached) " >&6
  1745. else
  1746. ac_build_alias=$build_alias
  1747. test "x$ac_build_alias" = x &&
  1748. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1749. test "x$ac_build_alias" = x &&
  1750. as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  1751. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1752. as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1753. fi
  1754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1755. $as_echo "$ac_cv_build" >&6; }
  1756. case $ac_cv_build in
  1757. *-*-*) ;;
  1758. *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  1759. esac
  1760. build=$ac_cv_build
  1761. ac_save_IFS=$IFS; IFS='-'
  1762. set x $ac_cv_build
  1763. shift
  1764. build_cpu=$1
  1765. build_vendor=$2
  1766. shift; shift
  1767. # Remember, the first character of IFS is used to create $*,
  1768. # except with old shells:
  1769. build_os=$*
  1770. IFS=$ac_save_IFS
  1771. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1772. case ${build_alias} in
  1773. "") build_noncanonical=${build} ;;
  1774. *) build_noncanonical=${build_alias} ;;
  1775. esac
  1776. case ${host_alias} in
  1777. "") host_noncanonical=${build_noncanonical} ;;
  1778. *) host_noncanonical=${host_alias} ;;
  1779. esac
  1780. case ${target_alias} in
  1781. "") target_noncanonical=${host_noncanonical} ;;
  1782. *) target_noncanonical=${target_alias} ;;
  1783. esac
  1784. test "$host_noncanonical" = "$target_noncanonical" &&
  1785. test "$program_prefix$program_suffix$program_transform_name" = \
  1786. NONENONEs,x,x, &&
  1787. program_transform_name=s,y,y,
  1788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1789. $as_echo_n "checking host system type... " >&6; }
  1790. if test "${ac_cv_host+set}" = set; then :
  1791. $as_echo_n "(cached) " >&6
  1792. else
  1793. if test "x$host_alias" = x; then
  1794. ac_cv_host=$ac_cv_build
  1795. else
  1796. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1797. as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1798. fi
  1799. fi
  1800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1801. $as_echo "$ac_cv_host" >&6; }
  1802. case $ac_cv_host in
  1803. *-*-*) ;;
  1804. *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  1805. esac
  1806. host=$ac_cv_host
  1807. ac_save_IFS=$IFS; IFS='-'
  1808. set x $ac_cv_host
  1809. shift
  1810. host_cpu=$1
  1811. host_vendor=$2
  1812. shift; shift
  1813. # Remember, the first character of IFS is used to create $*,
  1814. # except with old shells:
  1815. host_os=$*
  1816. IFS=$ac_save_IFS
  1817. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  1819. $as_echo_n "checking target system type... " >&6; }
  1820. if test "${ac_cv_target+set}" = set; then :
  1821. $as_echo_n "(cached) " >&6
  1822. else
  1823. if test "x$target_alias" = x; then
  1824. ac_cv_target=$ac_cv_host
  1825. else
  1826. ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  1827. as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  1828. fi
  1829. fi
  1830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  1831. $as_echo "$ac_cv_target" >&6; }
  1832. case $ac_cv_target in
  1833. *-*-*) ;;
  1834. *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  1835. esac
  1836. target=$ac_cv_target
  1837. ac_save_IFS=$IFS; IFS='-'
  1838. set x $ac_cv_target
  1839. shift
  1840. target_cpu=$1
  1841. target_vendor=$2
  1842. shift; shift
  1843. # Remember, the first character of IFS is used to create $*,
  1844. # except with old shells:
  1845. target_os=$*
  1846. IFS=$ac_save_IFS
  1847. case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  1848. # The aliases save the names the user supplied, while $host etc.
  1849. # will get canonicalized.
  1850. test -n "$target_alias" &&
  1851. test "$program_prefix$program_suffix$program_transform_name" = \
  1852. NONENONEs,x,x, &&
  1853. program_prefix=${target_alias}-
  1854. test "$program_prefix" != NONE &&
  1855. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1856. # Use a double $ so make ignores it.
  1857. test "$program_suffix" != NONE &&
  1858. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1859. # Double any \ or $.
  1860. # By default was `s,x,x', remove it if useless.
  1861. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1862. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1863. am__api_version='1.11'
  1864. # Find a good install program. We prefer a C program (faster),
  1865. # so one script is as good as another. But avoid the broken or
  1866. # incompatible versions:
  1867. # SysV /etc/install, /usr/sbin/install
  1868. # SunOS /usr/etc/install
  1869. # IRIX /sbin/install
  1870. # AIX /bin/install
  1871. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1872. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1873. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1874. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1875. # OS/2's system install, which has a completely different semantic
  1876. # ./install, which can be erroneously created by make from ./install.sh.
  1877. # Reject install programs that cannot install multiple files.
  1878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1879. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1880. if test -z "$INSTALL"; then
  1881. if test "${ac_cv_path_install+set}" = set; then :
  1882. $as_echo_n "(cached) " >&6
  1883. else
  1884. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1885. for as_dir in $PATH
  1886. do
  1887. IFS=$as_save_IFS
  1888. test -z "$as_dir" && as_dir=.
  1889. # Account for people who put trailing slashes in PATH elements.
  1890. case $as_dir/ in #((
  1891. ./ | .// | /[cC]/* | \
  1892. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1893. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1894. /usr/ucb/* ) ;;
  1895. *)
  1896. # OSF1 and SCO ODT 3.0 have their own names for install.
  1897. # Don't use installbsd from OSF since it installs stuff as root
  1898. # by default.
  1899. for ac_prog in ginstall scoinst install; do
  1900. for ac_exec_ext in '' $ac_executable_extensions; do
  1901. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1902. if test $ac_prog = install &&
  1903. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1904. # AIX install. It has an incompatible calling convention.
  1905. :
  1906. elif test $ac_prog = install &&
  1907. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1908. # program-specific install script used by HP pwplus--don't use.
  1909. :
  1910. else
  1911. rm -rf conftest.one conftest.two conftest.dir
  1912. echo one > conftest.one
  1913. echo two > conftest.two
  1914. mkdir conftest.dir
  1915. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1916. test -s conftest.one && test -s conftest.two &&
  1917. test -s conftest.dir/conftest.one &&
  1918. test -s conftest.dir/conftest.two
  1919. then
  1920. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1921. break 3
  1922. fi
  1923. fi
  1924. fi
  1925. done
  1926. done
  1927. ;;
  1928. esac
  1929. done
  1930. IFS=$as_save_IFS
  1931. rm -rf conftest.one conftest.two conftest.dir
  1932. fi
  1933. if test "${ac_cv_path_install+set}" = set; then
  1934. INSTALL=$ac_cv_path_install
  1935. else
  1936. # As a last resort, use the slow shell script. Don't cache a
  1937. # value for INSTALL within a source directory, because that will
  1938. # break other packages using the cache if that directory is
  1939. # removed, or if the value is a relative name.
  1940. INSTALL=$ac_install_sh
  1941. fi
  1942. fi
  1943. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1944. $as_echo "$INSTALL" >&6; }
  1945. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1946. # It thinks the first close brace ends the variable substitution.
  1947. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1948. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1949. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1951. $as_echo_n "checking whether build environment is sane... " >&6; }
  1952. # Just in case
  1953. sleep 1
  1954. echo timestamp > conftest.file
  1955. # Reject unsafe characters in $srcdir or the absolute working directory
  1956. # name. Accept space and tab only in the latter.
  1957. am_lf='
  1958. '
  1959. case `pwd` in
  1960. *[\\\"\#\$\&\'\`$am_lf]*)
  1961. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  1962. esac
  1963. case $srcdir in
  1964. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1965. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  1966. esac
  1967. # Do `set' in a subshell so we don't clobber the current shell's
  1968. # arguments. Must try -L first in case configure is actually a
  1969. # symlink; some systems play weird games with the mod time of symlinks
  1970. # (eg FreeBSD returns the mod time of the symlink's containing
  1971. # directory).
  1972. if (
  1973. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1974. if test "$*" = "X"; then
  1975. # -L didn't work.
  1976. set X `ls -t "$srcdir/configure" conftest.file`
  1977. fi
  1978. rm -f conftest.file
  1979. if test "$*" != "X $srcdir/configure conftest.file" \
  1980. && test "$*" != "X conftest.file $srcdir/configure"; then
  1981. # If neither matched, then we have a broken ls. This can happen
  1982. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1983. # broken ls alias from the environment. This has actually
  1984. # happened. Such a system could not be considered "sane".
  1985. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  1986. alias in your environment" "$LINENO" 5
  1987. fi
  1988. test "$2" = conftest.file
  1989. )
  1990. then
  1991. # Ok.
  1992. :
  1993. else
  1994. as_fn_error "newly created file is older than distributed files!
  1995. Check your system clock" "$LINENO" 5
  1996. fi
  1997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1998. $as_echo "yes" >&6; }
  1999. # expand $ac_aux_dir to an absolute path
  2000. am_aux_dir=`cd $ac_aux_dir && pwd`
  2001. if test x"${MISSING+set}" != xset; then
  2002. case $am_aux_dir in
  2003. *\ * | *\ *)
  2004. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2005. *)
  2006. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2007. esac
  2008. fi
  2009. # Use eval to expand $SHELL
  2010. if eval "$MISSING --run true"; then
  2011. am_missing_run="$MISSING --run "
  2012. else
  2013. am_missing_run=
  2014. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2015. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2016. fi
  2017. if test x"${install_sh}" != xset; then
  2018. case $am_aux_dir in
  2019. *\ * | *\ *)
  2020. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2021. *)
  2022. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2023. esac
  2024. fi
  2025. # Installed binaries are usually stripped using `strip' when the user
  2026. # run `make install-strip'. However `strip' might not be the right
  2027. # tool to use in cross-compilation environments, therefore Automake
  2028. # will honor the `STRIP' environment variable to overrule this program.
  2029. if test "$cross_compiling" != no; then
  2030. if test -n "$ac_tool_prefix"; then
  2031. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2032. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2034. $as_echo_n "checking for $ac_word... " >&6; }
  2035. if test "${ac_cv_prog_STRIP+set}" = set; then :
  2036. $as_echo_n "(cached) " >&6
  2037. else
  2038. if test -n "$STRIP"; then
  2039. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2040. else
  2041. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2042. for as_dir in $PATH
  2043. do
  2044. IFS=$as_save_IFS
  2045. test -z "$as_dir" && as_dir=.
  2046. for ac_exec_ext in '' $ac_executable_extensions; do
  2047. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2048. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2049. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2050. break 2
  2051. fi
  2052. done
  2053. done
  2054. IFS=$as_save_IFS
  2055. fi
  2056. fi
  2057. STRIP=$ac_cv_prog_STRIP
  2058. if test -n "$STRIP"; then
  2059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2060. $as_echo "$STRIP" >&6; }
  2061. else
  2062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2063. $as_echo "no" >&6; }
  2064. fi
  2065. fi
  2066. if test -z "$ac_cv_prog_STRIP"; then
  2067. ac_ct_STRIP=$STRIP
  2068. # Extract the first word of "strip", so it can be a program name with args.
  2069. set dummy strip; ac_word=$2
  2070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2071. $as_echo_n "checking for $ac_word... " >&6; }
  2072. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2073. $as_echo_n "(cached) " >&6
  2074. else
  2075. if test -n "$ac_ct_STRIP"; then
  2076. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2077. else
  2078. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2079. for as_dir in $PATH
  2080. do
  2081. IFS=$as_save_IFS
  2082. test -z "$as_dir" && as_dir=.
  2083. for ac_exec_ext in '' $ac_executable_extensions; do
  2084. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2085. ac_cv_prog_ac_ct_STRIP="strip"
  2086. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2087. break 2
  2088. fi
  2089. done
  2090. done
  2091. IFS=$as_save_IFS
  2092. fi
  2093. fi
  2094. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2095. if test -n "$ac_ct_STRIP"; then
  2096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2097. $as_echo "$ac_ct_STRIP" >&6; }
  2098. else
  2099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2100. $as_echo "no" >&6; }
  2101. fi
  2102. if test "x$ac_ct_STRIP" = x; then
  2103. STRIP=":"
  2104. else
  2105. case $cross_compiling:$ac_tool_warned in
  2106. yes:)
  2107. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2108. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2109. ac_tool_warned=yes ;;
  2110. esac
  2111. STRIP=$ac_ct_STRIP
  2112. fi
  2113. else
  2114. STRIP="$ac_cv_prog_STRIP"
  2115. fi
  2116. fi
  2117. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2119. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2120. if test -z "$MKDIR_P"; then
  2121. if test "${ac_cv_path_mkdir+set}" = set; then :
  2122. $as_echo_n "(cached) " >&6
  2123. else
  2124. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2125. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2126. do
  2127. IFS=$as_save_IFS
  2128. test -z "$as_dir" && as_dir=.
  2129. for ac_prog in mkdir gmkdir; do
  2130. for ac_exec_ext in '' $ac_executable_extensions; do
  2131. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2132. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2133. 'mkdir (GNU coreutils) '* | \
  2134. 'mkdir (coreutils) '* | \
  2135. 'mkdir (fileutils) '4.1*)
  2136. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2137. break 3;;
  2138. esac
  2139. done
  2140. done
  2141. done
  2142. IFS=$as_save_IFS
  2143. fi
  2144. if test "${ac_cv_path_mkdir+set}" = set; then
  2145. MKDIR_P="$ac_cv_path_mkdir -p"
  2146. else
  2147. # As a last resort, use the slow shell script. Don't cache a
  2148. # value for MKDIR_P within a source directory, because that will
  2149. # break other packages using the cache if that directory is
  2150. # removed, or if the value is a relative name.
  2151. test -d ./--version && rmdir ./--version
  2152. MKDIR_P="$ac_install_sh -d"
  2153. fi
  2154. fi
  2155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2156. $as_echo "$MKDIR_P" >&6; }
  2157. mkdir_p="$MKDIR_P"
  2158. case $mkdir_p in
  2159. [\\/$]* | ?:[\\/]*) ;;
  2160. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2161. esac
  2162. for ac_prog in gawk mawk nawk awk
  2163. do
  2164. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2165. set dummy $ac_prog; ac_word=$2
  2166. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2167. $as_echo_n "checking for $ac_word... " >&6; }
  2168. if test "${ac_cv_prog_AWK+set}" = set; then :
  2169. $as_echo_n "(cached) " >&6
  2170. else
  2171. if test -n "$AWK"; then
  2172. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2173. else
  2174. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2175. for as_dir in $PATH
  2176. do
  2177. IFS=$as_save_IFS
  2178. test -z "$as_dir" && as_dir=.
  2179. for ac_exec_ext in '' $ac_executable_extensions; do
  2180. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2181. ac_cv_prog_AWK="$ac_prog"
  2182. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2183. break 2
  2184. fi
  2185. done
  2186. done
  2187. IFS=$as_save_IFS
  2188. fi
  2189. fi
  2190. AWK=$ac_cv_prog_AWK
  2191. if test -n "$AWK"; then
  2192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2193. $as_echo "$AWK" >&6; }
  2194. else
  2195. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2196. $as_echo "no" >&6; }
  2197. fi
  2198. test -n "$AWK" && break
  2199. done
  2200. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2201. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2202. set x ${MAKE-make}
  2203. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2204. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2205. $as_echo_n "(cached) " >&6
  2206. else
  2207. cat >conftest.make <<\_ACEOF
  2208. SHELL = /bin/sh
  2209. all:
  2210. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2211. _ACEOF
  2212. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2213. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2214. *@@@%%%=?*=@@@%%%*)
  2215. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2216. *)
  2217. eval ac_cv_prog_make_${ac_make}_set=no;;
  2218. esac
  2219. rm -f conftest.make
  2220. fi
  2221. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2223. $as_echo "yes" >&6; }
  2224. SET_MAKE=
  2225. else
  2226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2227. $as_echo "no" >&6; }
  2228. SET_MAKE="MAKE=${MAKE-make}"
  2229. fi
  2230. rm -rf .tst 2>/dev/null
  2231. mkdir .tst 2>/dev/null
  2232. if test -d .tst; then
  2233. am__leading_dot=.
  2234. else
  2235. am__leading_dot=_
  2236. fi
  2237. rmdir .tst 2>/dev/null
  2238. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2239. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2240. # is not polluted with repeated "-I."
  2241. am__isrc=' -I$(srcdir)'
  2242. # test to see if srcdir already configured
  2243. if test -f $srcdir/config.status; then
  2244. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2245. fi
  2246. fi
  2247. # test whether we have cygpath
  2248. if test -z "$CYGPATH_W"; then
  2249. if (cygpath --version) >/dev/null 2>/dev/null; then
  2250. CYGPATH_W='cygpath -w'
  2251. else
  2252. CYGPATH_W=echo
  2253. fi
  2254. fi
  2255. # Define the identity of the package.
  2256. PACKAGE='gotools'
  2257. VERSION='version-unused'
  2258. # Some tools Automake needs.
  2259. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2260. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2261. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2262. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2263. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2264. # We need awk for the "check" target. The system "awk" is bad on
  2265. # some platforms.
  2266. # Always define AMTAR for backward compatibility.
  2267. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2268. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2270. $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2271. # Check whether --enable-maintainer-mode was given.
  2272. if test "${enable_maintainer_mode+set}" = set; then :
  2273. enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2274. else
  2275. USE_MAINTAINER_MODE=no
  2276. fi
  2277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  2278. $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2279. if test $USE_MAINTAINER_MODE = yes; then
  2280. MAINTAINER_MODE_TRUE=
  2281. MAINTAINER_MODE_FALSE='#'
  2282. else
  2283. MAINTAINER_MODE_TRUE='#'
  2284. MAINTAINER_MODE_FALSE=
  2285. fi
  2286. MAINT=$MAINTAINER_MODE_TRUE
  2287. ac_ext=c
  2288. ac_cpp='$CPP $CPPFLAGS'
  2289. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2290. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2291. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2292. if test -n "$ac_tool_prefix"; then
  2293. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2294. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2296. $as_echo_n "checking for $ac_word... " >&6; }
  2297. if test "${ac_cv_prog_CC+set}" = set; then :
  2298. $as_echo_n "(cached) " >&6
  2299. else
  2300. if test -n "$CC"; then
  2301. ac_cv_prog_CC="$CC" # Let the user override the test.
  2302. else
  2303. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2304. for as_dir in $PATH
  2305. do
  2306. IFS=$as_save_IFS
  2307. test -z "$as_dir" && as_dir=.
  2308. for ac_exec_ext in '' $ac_executable_extensions; do
  2309. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2310. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2311. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2312. break 2
  2313. fi
  2314. done
  2315. done
  2316. IFS=$as_save_IFS
  2317. fi
  2318. fi
  2319. CC=$ac_cv_prog_CC
  2320. if test -n "$CC"; then
  2321. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2322. $as_echo "$CC" >&6; }
  2323. else
  2324. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2325. $as_echo "no" >&6; }
  2326. fi
  2327. fi
  2328. if test -z "$ac_cv_prog_CC"; then
  2329. ac_ct_CC=$CC
  2330. # Extract the first word of "gcc", so it can be a program name with args.
  2331. set dummy gcc; ac_word=$2
  2332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2333. $as_echo_n "checking for $ac_word... " >&6; }
  2334. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2335. $as_echo_n "(cached) " >&6
  2336. else
  2337. if test -n "$ac_ct_CC"; then
  2338. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2339. else
  2340. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2341. for as_dir in $PATH
  2342. do
  2343. IFS=$as_save_IFS
  2344. test -z "$as_dir" && as_dir=.
  2345. for ac_exec_ext in '' $ac_executable_extensions; do
  2346. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2347. ac_cv_prog_ac_ct_CC="gcc"
  2348. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2349. break 2
  2350. fi
  2351. done
  2352. done
  2353. IFS=$as_save_IFS
  2354. fi
  2355. fi
  2356. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2357. if test -n "$ac_ct_CC"; then
  2358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2359. $as_echo "$ac_ct_CC" >&6; }
  2360. else
  2361. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2362. $as_echo "no" >&6; }
  2363. fi
  2364. if test "x$ac_ct_CC" = x; then
  2365. CC=""
  2366. else
  2367. case $cross_compiling:$ac_tool_warned in
  2368. yes:)
  2369. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2370. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2371. ac_tool_warned=yes ;;
  2372. esac
  2373. CC=$ac_ct_CC
  2374. fi
  2375. else
  2376. CC="$ac_cv_prog_CC"
  2377. fi
  2378. if test -z "$CC"; then
  2379. if test -n "$ac_tool_prefix"; then
  2380. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2381. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2382. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2383. $as_echo_n "checking for $ac_word... " >&6; }
  2384. if test "${ac_cv_prog_CC+set}" = set; then :
  2385. $as_echo_n "(cached) " >&6
  2386. else
  2387. if test -n "$CC"; then
  2388. ac_cv_prog_CC="$CC" # Let the user override the test.
  2389. else
  2390. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2391. for as_dir in $PATH
  2392. do
  2393. IFS=$as_save_IFS
  2394. test -z "$as_dir" && as_dir=.
  2395. for ac_exec_ext in '' $ac_executable_extensions; do
  2396. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2397. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2398. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2399. break 2
  2400. fi
  2401. done
  2402. done
  2403. IFS=$as_save_IFS
  2404. fi
  2405. fi
  2406. CC=$ac_cv_prog_CC
  2407. if test -n "$CC"; then
  2408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2409. $as_echo "$CC" >&6; }
  2410. else
  2411. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2412. $as_echo "no" >&6; }
  2413. fi
  2414. fi
  2415. fi
  2416. if test -z "$CC"; then
  2417. # Extract the first word of "cc", so it can be a program name with args.
  2418. set dummy cc; ac_word=$2
  2419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2420. $as_echo_n "checking for $ac_word... " >&6; }
  2421. if test "${ac_cv_prog_CC+set}" = set; then :
  2422. $as_echo_n "(cached) " >&6
  2423. else
  2424. if test -n "$CC"; then
  2425. ac_cv_prog_CC="$CC" # Let the user override the test.
  2426. else
  2427. ac_prog_rejected=no
  2428. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2429. for as_dir in $PATH
  2430. do
  2431. IFS=$as_save_IFS
  2432. test -z "$as_dir" && as_dir=.
  2433. for ac_exec_ext in '' $ac_executable_extensions; do
  2434. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2435. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2436. ac_prog_rejected=yes
  2437. continue
  2438. fi
  2439. ac_cv_prog_CC="cc"
  2440. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2441. break 2
  2442. fi
  2443. done
  2444. done
  2445. IFS=$as_save_IFS
  2446. if test $ac_prog_rejected = yes; then
  2447. # We found a bogon in the path, so make sure we never use it.
  2448. set dummy $ac_cv_prog_CC
  2449. shift
  2450. if test $# != 0; then
  2451. # We chose a different compiler from the bogus one.
  2452. # However, it has the same basename, so the bogon will be chosen
  2453. # first if we set CC to just the basename; use the full file name.
  2454. shift
  2455. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2456. fi
  2457. fi
  2458. fi
  2459. fi
  2460. CC=$ac_cv_prog_CC
  2461. if test -n "$CC"; then
  2462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2463. $as_echo "$CC" >&6; }
  2464. else
  2465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2466. $as_echo "no" >&6; }
  2467. fi
  2468. fi
  2469. if test -z "$CC"; then
  2470. if test -n "$ac_tool_prefix"; then
  2471. for ac_prog in cl.exe
  2472. do
  2473. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2474. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2475. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2476. $as_echo_n "checking for $ac_word... " >&6; }
  2477. if test "${ac_cv_prog_CC+set}" = set; then :
  2478. $as_echo_n "(cached) " >&6
  2479. else
  2480. if test -n "$CC"; then
  2481. ac_cv_prog_CC="$CC" # Let the user override the test.
  2482. else
  2483. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2484. for as_dir in $PATH
  2485. do
  2486. IFS=$as_save_IFS
  2487. test -z "$as_dir" && as_dir=.
  2488. for ac_exec_ext in '' $ac_executable_extensions; do
  2489. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2490. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2491. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2492. break 2
  2493. fi
  2494. done
  2495. done
  2496. IFS=$as_save_IFS
  2497. fi
  2498. fi
  2499. CC=$ac_cv_prog_CC
  2500. if test -n "$CC"; then
  2501. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2502. $as_echo "$CC" >&6; }
  2503. else
  2504. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2505. $as_echo "no" >&6; }
  2506. fi
  2507. test -n "$CC" && break
  2508. done
  2509. fi
  2510. if test -z "$CC"; then
  2511. ac_ct_CC=$CC
  2512. for ac_prog in cl.exe
  2513. do
  2514. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2515. set dummy $ac_prog; ac_word=$2
  2516. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2517. $as_echo_n "checking for $ac_word... " >&6; }
  2518. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2519. $as_echo_n "(cached) " >&6
  2520. else
  2521. if test -n "$ac_ct_CC"; then
  2522. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2523. else
  2524. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2525. for as_dir in $PATH
  2526. do
  2527. IFS=$as_save_IFS
  2528. test -z "$as_dir" && as_dir=.
  2529. for ac_exec_ext in '' $ac_executable_extensions; do
  2530. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2531. ac_cv_prog_ac_ct_CC="$ac_prog"
  2532. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2533. break 2
  2534. fi
  2535. done
  2536. done
  2537. IFS=$as_save_IFS
  2538. fi
  2539. fi
  2540. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2541. if test -n "$ac_ct_CC"; then
  2542. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2543. $as_echo "$ac_ct_CC" >&6; }
  2544. else
  2545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2546. $as_echo "no" >&6; }
  2547. fi
  2548. test -n "$ac_ct_CC" && break
  2549. done
  2550. if test "x$ac_ct_CC" = x; then
  2551. CC=""
  2552. else
  2553. case $cross_compiling:$ac_tool_warned in
  2554. yes:)
  2555. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2556. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2557. ac_tool_warned=yes ;;
  2558. esac
  2559. CC=$ac_ct_CC
  2560. fi
  2561. fi
  2562. fi
  2563. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2564. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2565. as_fn_error "no acceptable C compiler found in \$PATH
  2566. See \`config.log' for more details." "$LINENO" 5; }
  2567. # Provide some information about the compiler.
  2568. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2569. set X $ac_compile
  2570. ac_compiler=$2
  2571. for ac_option in --version -v -V -qversion; do
  2572. { { ac_try="$ac_compiler $ac_option >&5"
  2573. case "(($ac_try" in
  2574. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2575. *) ac_try_echo=$ac_try;;
  2576. esac
  2577. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2578. $as_echo "$ac_try_echo"; } >&5
  2579. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2580. ac_status=$?
  2581. if test -s conftest.err; then
  2582. sed '10a\
  2583. ... rest of stderr output deleted ...
  2584. 10q' conftest.err >conftest.er1
  2585. cat conftest.er1 >&5
  2586. rm -f conftest.er1 conftest.err
  2587. fi
  2588. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2589. test $ac_status = 0; }
  2590. done
  2591. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2592. /* end confdefs.h. */
  2593. int
  2594. main ()
  2595. {
  2596. ;
  2597. return 0;
  2598. }
  2599. _ACEOF
  2600. ac_clean_files_save=$ac_clean_files
  2601. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  2602. # Try to create an executable without -o first, disregard a.out.
  2603. # It will help us diagnose broken compilers, and finding out an intuition
  2604. # of exeext.
  2605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2606. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2607. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2608. # The possible output files:
  2609. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2610. ac_rmfiles=
  2611. for ac_file in $ac_files
  2612. do
  2613. case $ac_file in
  2614. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2615. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2616. esac
  2617. done
  2618. rm -f $ac_rmfiles
  2619. if { { ac_try="$ac_link_default"
  2620. case "(($ac_try" in
  2621. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2622. *) ac_try_echo=$ac_try;;
  2623. esac
  2624. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2625. $as_echo "$ac_try_echo"; } >&5
  2626. (eval "$ac_link_default") 2>&5
  2627. ac_status=$?
  2628. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2629. test $ac_status = 0; }; then :
  2630. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2631. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2632. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2633. # so that the user can short-circuit this test for compilers unknown to
  2634. # Autoconf.
  2635. for ac_file in $ac_files ''
  2636. do
  2637. test -f "$ac_file" || continue
  2638. case $ac_file in
  2639. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2640. ;;
  2641. [ab].out )
  2642. # We found the default executable, but exeext='' is most
  2643. # certainly right.
  2644. break;;
  2645. *.* )
  2646. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2647. then :; else
  2648. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2649. fi
  2650. # We set ac_cv_exeext here because the later test for it is not
  2651. # safe: cross compilers may not add the suffix if given an `-o'
  2652. # argument, so we may need to know it at that point already.
  2653. # Even if this section looks crufty: it has the advantage of
  2654. # actually working.
  2655. break;;
  2656. * )
  2657. break;;
  2658. esac
  2659. done
  2660. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2661. else
  2662. ac_file=''
  2663. fi
  2664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2665. $as_echo "$ac_file" >&6; }
  2666. if test -z "$ac_file"; then :
  2667. $as_echo "$as_me: failed program was:" >&5
  2668. sed 's/^/| /' conftest.$ac_ext >&5
  2669. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2670. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2671. { as_fn_set_status 77
  2672. as_fn_error "C compiler cannot create executables
  2673. See \`config.log' for more details." "$LINENO" 5; }; }
  2674. fi
  2675. ac_exeext=$ac_cv_exeext
  2676. # Check that the compiler produces executables we can run. If not, either
  2677. # the compiler is broken, or we cross compile.
  2678. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2679. $as_echo_n "checking whether the C compiler works... " >&6; }
  2680. # If not cross compiling, check that we can run a simple program.
  2681. if test "$cross_compiling" != yes; then
  2682. if { ac_try='./$ac_file'
  2683. { { case "(($ac_try" in
  2684. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2685. *) ac_try_echo=$ac_try;;
  2686. esac
  2687. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2688. $as_echo "$ac_try_echo"; } >&5
  2689. (eval "$ac_try") 2>&5
  2690. ac_status=$?
  2691. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2692. test $ac_status = 0; }; }; then
  2693. cross_compiling=no
  2694. else
  2695. if test "$cross_compiling" = maybe; then
  2696. cross_compiling=yes
  2697. else
  2698. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2699. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2700. as_fn_error "cannot run C compiled programs.
  2701. If you meant to cross compile, use \`--host'.
  2702. See \`config.log' for more details." "$LINENO" 5; }
  2703. fi
  2704. fi
  2705. fi
  2706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2707. $as_echo "yes" >&6; }
  2708. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  2709. ac_clean_files=$ac_clean_files_save
  2710. # Check that the compiler produces executables we can run. If not, either
  2711. # the compiler is broken, or we cross compile.
  2712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2713. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2715. $as_echo "$cross_compiling" >&6; }
  2716. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2717. $as_echo_n "checking for suffix of executables... " >&6; }
  2718. if { { ac_try="$ac_link"
  2719. case "(($ac_try" in
  2720. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2721. *) ac_try_echo=$ac_try;;
  2722. esac
  2723. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2724. $as_echo "$ac_try_echo"; } >&5
  2725. (eval "$ac_link") 2>&5
  2726. ac_status=$?
  2727. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2728. test $ac_status = 0; }; then :
  2729. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2730. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2731. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2732. # `rm'.
  2733. for ac_file in conftest.exe conftest conftest.*; do
  2734. test -f "$ac_file" || continue
  2735. case $ac_file in
  2736. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2737. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2738. break;;
  2739. * ) break;;
  2740. esac
  2741. done
  2742. else
  2743. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2744. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2745. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2746. See \`config.log' for more details." "$LINENO" 5; }
  2747. fi
  2748. rm -f conftest$ac_cv_exeext
  2749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2750. $as_echo "$ac_cv_exeext" >&6; }
  2751. rm -f conftest.$ac_ext
  2752. EXEEXT=$ac_cv_exeext
  2753. ac_exeext=$EXEEXT
  2754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2755. $as_echo_n "checking for suffix of object files... " >&6; }
  2756. if test "${ac_cv_objext+set}" = set; then :
  2757. $as_echo_n "(cached) " >&6
  2758. else
  2759. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2760. /* end confdefs.h. */
  2761. int
  2762. main ()
  2763. {
  2764. ;
  2765. return 0;
  2766. }
  2767. _ACEOF
  2768. rm -f conftest.o conftest.obj
  2769. if { { ac_try="$ac_compile"
  2770. case "(($ac_try" in
  2771. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2772. *) ac_try_echo=$ac_try;;
  2773. esac
  2774. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2775. $as_echo "$ac_try_echo"; } >&5
  2776. (eval "$ac_compile") 2>&5
  2777. ac_status=$?
  2778. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2779. test $ac_status = 0; }; then :
  2780. for ac_file in conftest.o conftest.obj conftest.*; do
  2781. test -f "$ac_file" || continue;
  2782. case $ac_file in
  2783. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2784. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2785. break;;
  2786. esac
  2787. done
  2788. else
  2789. $as_echo "$as_me: failed program was:" >&5
  2790. sed 's/^/| /' conftest.$ac_ext >&5
  2791. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2792. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2793. as_fn_error "cannot compute suffix of object files: cannot compile
  2794. See \`config.log' for more details." "$LINENO" 5; }
  2795. fi
  2796. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2797. fi
  2798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2799. $as_echo "$ac_cv_objext" >&6; }
  2800. OBJEXT=$ac_cv_objext
  2801. ac_objext=$OBJEXT
  2802. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2803. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2804. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  2805. $as_echo_n "(cached) " >&6
  2806. else
  2807. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2808. /* end confdefs.h. */
  2809. int
  2810. main ()
  2811. {
  2812. #ifndef __GNUC__
  2813. choke me
  2814. #endif
  2815. ;
  2816. return 0;
  2817. }
  2818. _ACEOF
  2819. if ac_fn_c_try_compile "$LINENO"; then :
  2820. ac_compiler_gnu=yes
  2821. else
  2822. ac_compiler_gnu=no
  2823. fi
  2824. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2825. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2826. fi
  2827. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2828. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2829. if test $ac_compiler_gnu = yes; then
  2830. GCC=yes
  2831. else
  2832. GCC=
  2833. fi
  2834. ac_test_CFLAGS=${CFLAGS+set}
  2835. ac_save_CFLAGS=$CFLAGS
  2836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2837. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2838. if test "${ac_cv_prog_cc_g+set}" = set; then :
  2839. $as_echo_n "(cached) " >&6
  2840. else
  2841. ac_save_c_werror_flag=$ac_c_werror_flag
  2842. ac_c_werror_flag=yes
  2843. ac_cv_prog_cc_g=no
  2844. CFLAGS="-g"
  2845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2846. /* end confdefs.h. */
  2847. int
  2848. main ()
  2849. {
  2850. ;
  2851. return 0;
  2852. }
  2853. _ACEOF
  2854. if ac_fn_c_try_compile "$LINENO"; then :
  2855. ac_cv_prog_cc_g=yes
  2856. else
  2857. CFLAGS=""
  2858. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2859. /* end confdefs.h. */
  2860. int
  2861. main ()
  2862. {
  2863. ;
  2864. return 0;
  2865. }
  2866. _ACEOF
  2867. if ac_fn_c_try_compile "$LINENO"; then :
  2868. else
  2869. ac_c_werror_flag=$ac_save_c_werror_flag
  2870. CFLAGS="-g"
  2871. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2872. /* end confdefs.h. */
  2873. int
  2874. main ()
  2875. {
  2876. ;
  2877. return 0;
  2878. }
  2879. _ACEOF
  2880. if ac_fn_c_try_compile "$LINENO"; then :
  2881. ac_cv_prog_cc_g=yes
  2882. fi
  2883. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2884. fi
  2885. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2886. fi
  2887. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2888. ac_c_werror_flag=$ac_save_c_werror_flag
  2889. fi
  2890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2891. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2892. if test "$ac_test_CFLAGS" = set; then
  2893. CFLAGS=$ac_save_CFLAGS
  2894. elif test $ac_cv_prog_cc_g = yes; then
  2895. if test "$GCC" = yes; then
  2896. CFLAGS="-g -O2"
  2897. else
  2898. CFLAGS="-g"
  2899. fi
  2900. else
  2901. if test "$GCC" = yes; then
  2902. CFLAGS="-O2"
  2903. else
  2904. CFLAGS=
  2905. fi
  2906. fi
  2907. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2908. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2909. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  2910. $as_echo_n "(cached) " >&6
  2911. else
  2912. ac_cv_prog_cc_c89=no
  2913. ac_save_CC=$CC
  2914. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2915. /* end confdefs.h. */
  2916. #include <stdarg.h>
  2917. #include <stdio.h>
  2918. #include <sys/types.h>
  2919. #include <sys/stat.h>
  2920. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2921. struct buf { int x; };
  2922. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2923. static char *e (p, i)
  2924. char **p;
  2925. int i;
  2926. {
  2927. return p[i];
  2928. }
  2929. static char *f (char * (*g) (char **, int), char **p, ...)
  2930. {
  2931. char *s;
  2932. va_list v;
  2933. va_start (v,p);
  2934. s = g (p, va_arg (v,int));
  2935. va_end (v);
  2936. return s;
  2937. }
  2938. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2939. function prototypes and stuff, but not '\xHH' hex character constants.
  2940. These don't provoke an error unfortunately, instead are silently treated
  2941. as 'x'. The following induces an error, until -std is added to get
  2942. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2943. array size at least. It's necessary to write '\x00'==0 to get something
  2944. that's true only with -std. */
  2945. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2946. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2947. inside strings and character constants. */
  2948. #define FOO(x) 'x'
  2949. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2950. int test (int i, double x);
  2951. struct s1 {int (*f) (int a);};
  2952. struct s2 {int (*f) (double a);};
  2953. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2954. int argc;
  2955. char **argv;
  2956. int
  2957. main ()
  2958. {
  2959. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2960. ;
  2961. return 0;
  2962. }
  2963. _ACEOF
  2964. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2965. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2966. do
  2967. CC="$ac_save_CC $ac_arg"
  2968. if ac_fn_c_try_compile "$LINENO"; then :
  2969. ac_cv_prog_cc_c89=$ac_arg
  2970. fi
  2971. rm -f core conftest.err conftest.$ac_objext
  2972. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2973. done
  2974. rm -f conftest.$ac_ext
  2975. CC=$ac_save_CC
  2976. fi
  2977. # AC_CACHE_VAL
  2978. case "x$ac_cv_prog_cc_c89" in
  2979. x)
  2980. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2981. $as_echo "none needed" >&6; } ;;
  2982. xno)
  2983. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2984. $as_echo "unsupported" >&6; } ;;
  2985. *)
  2986. CC="$CC $ac_cv_prog_cc_c89"
  2987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2988. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2989. esac
  2990. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2991. fi
  2992. ac_ext=c
  2993. ac_cpp='$CPP $CPPFLAGS'
  2994. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2995. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2996. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2997. DEPDIR="${am__leading_dot}deps"
  2998. ac_config_commands="$ac_config_commands depfiles"
  2999. am_make=${MAKE-make}
  3000. cat > confinc << 'END'
  3001. am__doit:
  3002. @echo this is the am__doit target
  3003. .PHONY: am__doit
  3004. END
  3005. # If we don't find an include directive, just comment out the code.
  3006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3007. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3008. am__include="#"
  3009. am__quote=
  3010. _am_result=none
  3011. # First try GNU make style include.
  3012. echo "include confinc" > confmf
  3013. # Ignore all kinds of additional output from `make'.
  3014. case `$am_make -s -f confmf 2> /dev/null` in #(
  3015. *the\ am__doit\ target*)
  3016. am__include=include
  3017. am__quote=
  3018. _am_result=GNU
  3019. ;;
  3020. esac
  3021. # Now try BSD make style include.
  3022. if test "$am__include" = "#"; then
  3023. echo '.include "confinc"' > confmf
  3024. case `$am_make -s -f confmf 2> /dev/null` in #(
  3025. *the\ am__doit\ target*)
  3026. am__include=.include
  3027. am__quote="\""
  3028. _am_result=BSD
  3029. ;;
  3030. esac
  3031. fi
  3032. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3033. $as_echo "$_am_result" >&6; }
  3034. rm -f confinc confmf
  3035. # Check whether --enable-dependency-tracking was given.
  3036. if test "${enable_dependency_tracking+set}" = set; then :
  3037. enableval=$enable_dependency_tracking;
  3038. fi
  3039. if test "x$enable_dependency_tracking" != xno; then
  3040. am_depcomp="$ac_aux_dir/depcomp"
  3041. AMDEPBACKSLASH='\'
  3042. fi
  3043. if test "x$enable_dependency_tracking" != xno; then
  3044. AMDEP_TRUE=
  3045. AMDEP_FALSE='#'
  3046. else
  3047. AMDEP_TRUE='#'
  3048. AMDEP_FALSE=
  3049. fi
  3050. depcc="$CC" am_compiler_list=
  3051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3052. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3053. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3054. $as_echo_n "(cached) " >&6
  3055. else
  3056. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3057. # We make a subdir and do the tests there. Otherwise we can end up
  3058. # making bogus files that we don't know about and never remove. For
  3059. # instance it was reported that on HP-UX the gcc test will end up
  3060. # making a dummy file named `D' -- because `-MD' means `put the output
  3061. # in D'.
  3062. mkdir conftest.dir
  3063. # Copy depcomp to subdir because otherwise we won't find it if we're
  3064. # using a relative directory.
  3065. cp "$am_depcomp" conftest.dir
  3066. cd conftest.dir
  3067. # We will build objects and dependencies in a subdirectory because
  3068. # it helps to detect inapplicable dependency modes. For instance
  3069. # both Tru64's cc and ICC support -MD to output dependencies as a
  3070. # side effect of compilation, but ICC will put the dependencies in
  3071. # the current directory while Tru64 will put them in the object
  3072. # directory.
  3073. mkdir sub
  3074. am_cv_CC_dependencies_compiler_type=none
  3075. if test "$am_compiler_list" = ""; then
  3076. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3077. fi
  3078. am__universal=false
  3079. case " $depcc " in #(
  3080. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3081. esac
  3082. for depmode in $am_compiler_list; do
  3083. # Setup a source with many dependencies, because some compilers
  3084. # like to wrap large dependency lists on column 80 (with \), and
  3085. # we should not choose a depcomp mode which is confused by this.
  3086. #
  3087. # We need to recreate these files for each test, as the compiler may
  3088. # overwrite some of them when testing with obscure command lines.
  3089. # This happens at least with the AIX C compiler.
  3090. : > sub/conftest.c
  3091. for i in 1 2 3 4 5 6; do
  3092. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3093. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3094. # Solaris 8's {/usr,}/bin/sh.
  3095. touch sub/conftst$i.h
  3096. done
  3097. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3098. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3099. # mode. It turns out that the SunPro C++ compiler does not properly
  3100. # handle `-M -o', and we need to detect this. Also, some Intel
  3101. # versions had trouble with output in subdirs
  3102. am__obj=sub/conftest.${OBJEXT-o}
  3103. am__minus_obj="-o $am__obj"
  3104. case $depmode in
  3105. gcc)
  3106. # This depmode causes a compiler race in universal mode.
  3107. test "$am__universal" = false || continue
  3108. ;;
  3109. nosideeffect)
  3110. # after this tag, mechanisms are not by side-effect, so they'll
  3111. # only be used when explicitly requested
  3112. if test "x$enable_dependency_tracking" = xyes; then
  3113. continue
  3114. else
  3115. break
  3116. fi
  3117. ;;
  3118. msvisualcpp | msvcmsys)
  3119. # This compiler won't grok `-c -o', but also, the minuso test has
  3120. # not run yet. These depmodes are late enough in the game, and
  3121. # so weak that their functioning should not be impacted.
  3122. am__obj=conftest.${OBJEXT-o}
  3123. am__minus_obj=
  3124. ;;
  3125. none) break ;;
  3126. esac
  3127. if depmode=$depmode \
  3128. source=sub/conftest.c object=$am__obj \
  3129. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3130. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3131. >/dev/null 2>conftest.err &&
  3132. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3133. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3134. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3135. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3136. # icc doesn't choke on unknown options, it will just issue warnings
  3137. # or remarks (even with -Werror). So we grep stderr for any message
  3138. # that says an option was ignored or not supported.
  3139. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3140. # icc: Command line warning: ignoring option '-M'; no argument required
  3141. # The diagnosis changed in icc 8.0:
  3142. # icc: Command line remark: option '-MP' not supported
  3143. if (grep 'ignoring option' conftest.err ||
  3144. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3145. am_cv_CC_dependencies_compiler_type=$depmode
  3146. break
  3147. fi
  3148. fi
  3149. done
  3150. cd ..
  3151. rm -rf conftest.dir
  3152. else
  3153. am_cv_CC_dependencies_compiler_type=none
  3154. fi
  3155. fi
  3156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3157. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3158. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3159. if
  3160. test "x$enable_dependency_tracking" != xno \
  3161. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3162. am__fastdepCC_TRUE=
  3163. am__fastdepCC_FALSE='#'
  3164. else
  3165. am__fastdepCC_TRUE='#'
  3166. am__fastdepCC_FALSE=
  3167. fi
  3168. ac_ext=go
  3169. ac_compile='$GOC -c $GOCFLAGS conftest.$ac_ext >&5'
  3170. ac_link='$GOC -o conftest$ac_exeext $GOCFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3171. ac_compile_gnu=yes
  3172. if test -n "$ac_tool_prefix"; then
  3173. # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  3174. set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  3175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3176. $as_echo_n "checking for $ac_word... " >&6; }
  3177. if test "${ac_cv_prog_GOC+set}" = set; then :
  3178. $as_echo_n "(cached) " >&6
  3179. else
  3180. if test -n "$GOC"; then
  3181. ac_cv_prog_GOC="$GOC" # Let the user override the test.
  3182. else
  3183. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3184. for as_dir in $PATH
  3185. do
  3186. IFS=$as_save_IFS
  3187. test -z "$as_dir" && as_dir=.
  3188. for ac_exec_ext in '' $ac_executable_extensions; do
  3189. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3190. ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
  3191. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3192. break 2
  3193. fi
  3194. done
  3195. done
  3196. IFS=$as_save_IFS
  3197. fi
  3198. fi
  3199. GOC=$ac_cv_prog_GOC
  3200. if test -n "$GOC"; then
  3201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  3202. $as_echo "$GOC" >&6; }
  3203. else
  3204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3205. $as_echo "no" >&6; }
  3206. fi
  3207. fi
  3208. if test -z "$ac_cv_prog_GOC"; then
  3209. ac_ct_GOC=$GOC
  3210. # Extract the first word of "gccgo", so it can be a program name with args.
  3211. set dummy gccgo; ac_word=$2
  3212. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3213. $as_echo_n "checking for $ac_word... " >&6; }
  3214. if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
  3215. $as_echo_n "(cached) " >&6
  3216. else
  3217. if test -n "$ac_ct_GOC"; then
  3218. ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
  3219. else
  3220. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3221. for as_dir in $PATH
  3222. do
  3223. IFS=$as_save_IFS
  3224. test -z "$as_dir" && as_dir=.
  3225. for ac_exec_ext in '' $ac_executable_extensions; do
  3226. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3227. ac_cv_prog_ac_ct_GOC="gccgo"
  3228. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3229. break 2
  3230. fi
  3231. done
  3232. done
  3233. IFS=$as_save_IFS
  3234. fi
  3235. fi
  3236. ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
  3237. if test -n "$ac_ct_GOC"; then
  3238. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
  3239. $as_echo "$ac_ct_GOC" >&6; }
  3240. else
  3241. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3242. $as_echo "no" >&6; }
  3243. fi
  3244. if test "x$ac_ct_GOC" = x; then
  3245. GOC=""
  3246. else
  3247. case $cross_compiling:$ac_tool_warned in
  3248. yes:)
  3249. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3250. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3251. ac_tool_warned=yes ;;
  3252. esac
  3253. GOC=$ac_ct_GOC
  3254. fi
  3255. else
  3256. GOC="$ac_cv_prog_GOC"
  3257. fi
  3258. if test -z "$GOC"; then
  3259. if test -n "$ac_tool_prefix"; then
  3260. # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  3261. set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  3262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3263. $as_echo_n "checking for $ac_word... " >&6; }
  3264. if test "${ac_cv_prog_GOC+set}" = set; then :
  3265. $as_echo_n "(cached) " >&6
  3266. else
  3267. if test -n "$GOC"; then
  3268. ac_cv_prog_GOC="$GOC" # Let the user override the test.
  3269. else
  3270. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3271. for as_dir in $PATH
  3272. do
  3273. IFS=$as_save_IFS
  3274. test -z "$as_dir" && as_dir=.
  3275. for ac_exec_ext in '' $ac_executable_extensions; do
  3276. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3277. ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
  3278. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3279. break 2
  3280. fi
  3281. done
  3282. done
  3283. IFS=$as_save_IFS
  3284. fi
  3285. fi
  3286. GOC=$ac_cv_prog_GOC
  3287. if test -n "$GOC"; then
  3288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  3289. $as_echo "$GOC" >&6; }
  3290. else
  3291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3292. $as_echo "no" >&6; }
  3293. fi
  3294. fi
  3295. fi
  3296. if test -z "$GOC"; then
  3297. # Extract the first word of "gccgo", so it can be a program name with args.
  3298. set dummy gccgo; ac_word=$2
  3299. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3300. $as_echo_n "checking for $ac_word... " >&6; }
  3301. if test "${ac_cv_prog_GOC+set}" = set; then :
  3302. $as_echo_n "(cached) " >&6
  3303. else
  3304. if test -n "$GOC"; then
  3305. ac_cv_prog_GOC="$GOC" # Let the user override the test.
  3306. else
  3307. ac_prog_rejected=no
  3308. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3309. for as_dir in $PATH
  3310. do
  3311. IFS=$as_save_IFS
  3312. test -z "$as_dir" && as_dir=.
  3313. for ac_exec_ext in '' $ac_executable_extensions; do
  3314. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3315. if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
  3316. ac_prog_rejected=yes
  3317. continue
  3318. fi
  3319. ac_cv_prog_GOC="gccgo"
  3320. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3321. break 2
  3322. fi
  3323. done
  3324. done
  3325. IFS=$as_save_IFS
  3326. if test $ac_prog_rejected = yes; then
  3327. # We found a bogon in the path, so make sure we never use it.
  3328. set dummy $ac_cv_prog_GOC
  3329. shift
  3330. if test $# != 0; then
  3331. # We chose a different compiler from the bogus one.
  3332. # However, it has the same basename, so the bogon will be chosen
  3333. # first if we set GOC to just the basename; use the full file name.
  3334. shift
  3335. ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
  3336. fi
  3337. fi
  3338. fi
  3339. fi
  3340. GOC=$ac_cv_prog_GOC
  3341. if test -n "$GOC"; then
  3342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  3343. $as_echo "$GOC" >&6; }
  3344. else
  3345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3346. $as_echo "no" >&6; }
  3347. fi
  3348. fi
  3349. # Provide some information about the compiler.
  3350. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
  3351. set X $ac_compile
  3352. ac_compiler=$2
  3353. { { ac_try="$ac_compiler --version >&5"
  3354. case "(($ac_try" in
  3355. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3356. *) ac_try_echo=$ac_try;;
  3357. esac
  3358. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3359. $as_echo "$ac_try_echo"; } >&5
  3360. (eval "$ac_compiler --version >&5") 2>conftest.err
  3361. ac_status=$?
  3362. if test -s conftest.err; then
  3363. sed '10a\
  3364. ... rest of stderr output deleted ...
  3365. 10q' conftest.err >conftest.er1
  3366. cat conftest.er1 >&5
  3367. rm -f conftest.er1 conftest.err
  3368. fi
  3369. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3370. test $ac_status = 0; }
  3371. GOCFLAGS="-g -O2"
  3372. ac_ext=c
  3373. ac_cpp='$CPP $CPPFLAGS'
  3374. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3375. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3376. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3377. if test "$cross_compiling" = no; then
  3378. NATIVE_TRUE=
  3379. NATIVE_FALSE='#'
  3380. else
  3381. NATIVE_TRUE='#'
  3382. NATIVE_FALSE=
  3383. fi
  3384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
  3385. $as_echo_n "checking for socket libraries... " >&6; }
  3386. if test "${gotools_cv_lib_sockets+set}" = set; then :
  3387. $as_echo_n "(cached) " >&6
  3388. else
  3389. gotools_cv_lib_sockets=
  3390. gotools_check_both=no
  3391. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  3392. if test "x$ac_cv_func_connect" = x""yes; then :
  3393. gotools_check_socket=no
  3394. else
  3395. gotools_check_socket=yes
  3396. fi
  3397. if test "$gotools_check_socket" = "yes"; then
  3398. unset ac_cv_func_connect
  3399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
  3400. $as_echo_n "checking for main in -lsocket... " >&6; }
  3401. if test "${ac_cv_lib_socket_main+set}" = set; then :
  3402. $as_echo_n "(cached) " >&6
  3403. else
  3404. ac_check_lib_save_LIBS=$LIBS
  3405. LIBS="-lsocket $LIBS"
  3406. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3407. /* end confdefs.h. */
  3408. int
  3409. main ()
  3410. {
  3411. return main ();
  3412. ;
  3413. return 0;
  3414. }
  3415. _ACEOF
  3416. if ac_fn_c_try_link "$LINENO"; then :
  3417. ac_cv_lib_socket_main=yes
  3418. else
  3419. ac_cv_lib_socket_main=no
  3420. fi
  3421. rm -f core conftest.err conftest.$ac_objext \
  3422. conftest$ac_exeext conftest.$ac_ext
  3423. LIBS=$ac_check_lib_save_LIBS
  3424. fi
  3425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
  3426. $as_echo "$ac_cv_lib_socket_main" >&6; }
  3427. if test "x$ac_cv_lib_socket_main" = x""yes; then :
  3428. gotools_cv_lib_sockets="-lsocket"
  3429. else
  3430. gotools_check_both=yes
  3431. fi
  3432. fi
  3433. if test "$gotools_check_both" = "yes"; then
  3434. gotools_old_libs=$LIBS
  3435. LIBS="$LIBS -lsocket -lnsl"
  3436. unset ac_cv_func_accept
  3437. ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
  3438. if test "x$ac_cv_func_accept" = x""yes; then :
  3439. gotools_check_nsl=no
  3440. gotools_cv_lib_sockets="-lsocket -lnsl"
  3441. fi
  3442. unset ac_cv_func_accept
  3443. LIBS=$gotools_old_libs
  3444. fi
  3445. unset ac_cv_func_gethostbyname
  3446. gotools_old_libs="$LIBS"
  3447. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  3448. if test "x$ac_cv_func_gethostbyname" = x""yes; then :
  3449. else
  3450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
  3451. $as_echo_n "checking for main in -lnsl... " >&6; }
  3452. if test "${ac_cv_lib_nsl_main+set}" = set; then :
  3453. $as_echo_n "(cached) " >&6
  3454. else
  3455. ac_check_lib_save_LIBS=$LIBS
  3456. LIBS="-lnsl $LIBS"
  3457. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3458. /* end confdefs.h. */
  3459. int
  3460. main ()
  3461. {
  3462. return main ();
  3463. ;
  3464. return 0;
  3465. }
  3466. _ACEOF
  3467. if ac_fn_c_try_link "$LINENO"; then :
  3468. ac_cv_lib_nsl_main=yes
  3469. else
  3470. ac_cv_lib_nsl_main=no
  3471. fi
  3472. rm -f core conftest.err conftest.$ac_objext \
  3473. conftest$ac_exeext conftest.$ac_ext
  3474. LIBS=$ac_check_lib_save_LIBS
  3475. fi
  3476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
  3477. $as_echo "$ac_cv_lib_nsl_main" >&6; }
  3478. if test "x$ac_cv_lib_nsl_main" = x""yes; then :
  3479. gotools_cv_lib_sockets="$gotools_cv_lib_sockets -lnsl"
  3480. fi
  3481. fi
  3482. unset ac_cv_func_gethostbyname
  3483. LIBS=$gotools_old_libs
  3484. fi
  3485. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gotools_cv_lib_sockets" >&5
  3486. $as_echo "$gotools_cv_lib_sockets" >&6; }
  3487. NET_LIBS="$gotools_cv_lib_sockets"
  3488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
  3489. $as_echo_n "checking for library containing sched_yield... " >&6; }
  3490. if test "${ac_cv_search_sched_yield+set}" = set; then :
  3491. $as_echo_n "(cached) " >&6
  3492. else
  3493. ac_func_search_save_LIBS=$LIBS
  3494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3495. /* end confdefs.h. */
  3496. /* Override any GCC internal prototype to avoid an error.
  3497. Use char because int might match the return type of a GCC
  3498. builtin and then its argument prototype would still apply. */
  3499. #ifdef __cplusplus
  3500. extern "C"
  3501. #endif
  3502. char sched_yield ();
  3503. int
  3504. main ()
  3505. {
  3506. return sched_yield ();
  3507. ;
  3508. return 0;
  3509. }
  3510. _ACEOF
  3511. for ac_lib in '' rt; do
  3512. if test -z "$ac_lib"; then
  3513. ac_res="none required"
  3514. else
  3515. ac_res=-l$ac_lib
  3516. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3517. fi
  3518. if ac_fn_c_try_link "$LINENO"; then :
  3519. ac_cv_search_sched_yield=$ac_res
  3520. fi
  3521. rm -f core conftest.err conftest.$ac_objext \
  3522. conftest$ac_exeext
  3523. if test "${ac_cv_search_sched_yield+set}" = set; then :
  3524. break
  3525. fi
  3526. done
  3527. if test "${ac_cv_search_sched_yield+set}" = set; then :
  3528. else
  3529. ac_cv_search_sched_yield=no
  3530. fi
  3531. rm conftest.$ac_ext
  3532. LIBS=$ac_func_search_save_LIBS
  3533. fi
  3534. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
  3535. $as_echo "$ac_cv_search_sched_yield" >&6; }
  3536. ac_res=$ac_cv_search_sched_yield
  3537. if test "$ac_res" != no; then :
  3538. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3539. fi
  3540. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
  3541. $as_echo_n "checking for library containing nanosleep... " >&6; }
  3542. if test "${ac_cv_search_nanosleep+set}" = set; then :
  3543. $as_echo_n "(cached) " >&6
  3544. else
  3545. ac_func_search_save_LIBS=$LIBS
  3546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3547. /* end confdefs.h. */
  3548. /* Override any GCC internal prototype to avoid an error.
  3549. Use char because int might match the return type of a GCC
  3550. builtin and then its argument prototype would still apply. */
  3551. #ifdef __cplusplus
  3552. extern "C"
  3553. #endif
  3554. char nanosleep ();
  3555. int
  3556. main ()
  3557. {
  3558. return nanosleep ();
  3559. ;
  3560. return 0;
  3561. }
  3562. _ACEOF
  3563. for ac_lib in '' rt; do
  3564. if test -z "$ac_lib"; then
  3565. ac_res="none required"
  3566. else
  3567. ac_res=-l$ac_lib
  3568. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3569. fi
  3570. if ac_fn_c_try_link "$LINENO"; then :
  3571. ac_cv_search_nanosleep=$ac_res
  3572. fi
  3573. rm -f core conftest.err conftest.$ac_objext \
  3574. conftest$ac_exeext
  3575. if test "${ac_cv_search_nanosleep+set}" = set; then :
  3576. break
  3577. fi
  3578. done
  3579. if test "${ac_cv_search_nanosleep+set}" = set; then :
  3580. else
  3581. ac_cv_search_nanosleep=no
  3582. fi
  3583. rm conftest.$ac_ext
  3584. LIBS=$ac_func_search_save_LIBS
  3585. fi
  3586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
  3587. $as_echo "$ac_cv_search_nanosleep" >&6; }
  3588. ac_res=$ac_cv_search_nanosleep
  3589. if test "$ac_res" != no; then :
  3590. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3591. fi
  3592. ac_config_files="$ac_config_files Makefile"
  3593. cat >confcache <<\_ACEOF
  3594. # This file is a shell script that caches the results of configure
  3595. # tests run on this system so they can be shared between configure
  3596. # scripts and configure runs, see configure's option --config-cache.
  3597. # It is not useful on other systems. If it contains results you don't
  3598. # want to keep, you may remove or edit it.
  3599. #
  3600. # config.status only pays attention to the cache file if you give it
  3601. # the --recheck option to rerun configure.
  3602. #
  3603. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  3604. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  3605. # following values.
  3606. _ACEOF
  3607. # The following way of writing the cache mishandles newlines in values,
  3608. # but we know of no workaround that is simple, portable, and efficient.
  3609. # So, we kill variables containing newlines.
  3610. # Ultrix sh set writes to stderr and can't be redirected directly,
  3611. # and sets the high bit in the cache file unless we assign to the vars.
  3612. (
  3613. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  3614. eval ac_val=\$$ac_var
  3615. case $ac_val in #(
  3616. *${as_nl}*)
  3617. case $ac_var in #(
  3618. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3619. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3620. esac
  3621. case $ac_var in #(
  3622. _ | IFS | as_nl) ;; #(
  3623. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3624. *) { eval $ac_var=; unset $ac_var;} ;;
  3625. esac ;;
  3626. esac
  3627. done
  3628. (set) 2>&1 |
  3629. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  3630. *${as_nl}ac_space=\ *)
  3631. # `set' does not quote correctly, so add quotes: double-quote
  3632. # substitution turns \\\\ into \\, and sed turns \\ into \.
  3633. sed -n \
  3634. "s/'/'\\\\''/g;
  3635. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  3636. ;; #(
  3637. *)
  3638. # `set' quotes correctly as required by POSIX, so do not add quotes.
  3639. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3640. ;;
  3641. esac |
  3642. sort
  3643. ) |
  3644. sed '
  3645. /^ac_cv_env_/b end
  3646. t clear
  3647. :clear
  3648. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  3649. t end
  3650. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  3651. :end' >>confcache
  3652. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  3653. if test -w "$cache_file"; then
  3654. test "x$cache_file" != "x/dev/null" &&
  3655. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  3656. $as_echo "$as_me: updating cache $cache_file" >&6;}
  3657. cat confcache >$cache_file
  3658. else
  3659. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  3660. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  3661. fi
  3662. fi
  3663. rm -f confcache
  3664. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  3665. # Let make expand exec_prefix.
  3666. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  3667. # Transform confdefs.h into DEFS.
  3668. # Protect against shell expansion while executing Makefile rules.
  3669. # Protect against Makefile macro expansion.
  3670. #
  3671. # If the first sed substitution is executed (which looks for macros that
  3672. # take arguments), then branch to the quote section. Otherwise,
  3673. # look for a macro that doesn't take arguments.
  3674. ac_script='
  3675. :mline
  3676. /\\$/{
  3677. N
  3678. s,\\\n,,
  3679. b mline
  3680. }
  3681. t clear
  3682. :clear
  3683. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  3684. t quote
  3685. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  3686. t quote
  3687. b any
  3688. :quote
  3689. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  3690. s/\[/\\&/g
  3691. s/\]/\\&/g
  3692. s/\$/$$/g
  3693. H
  3694. :any
  3695. ${
  3696. g
  3697. s/^\n//
  3698. s/\n/ /g
  3699. p
  3700. }
  3701. '
  3702. DEFS=`sed -n "$ac_script" confdefs.h`
  3703. ac_libobjs=
  3704. ac_ltlibobjs=
  3705. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  3706. # 1. Remove the extension, and $U if already installed.
  3707. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  3708. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  3709. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  3710. # will be set to the directory where LIBOBJS objects are built.
  3711. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  3712. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  3713. done
  3714. LIBOBJS=$ac_libobjs
  3715. LTLIBOBJS=$ac_ltlibobjs
  3716. if test -n "$EXEEXT"; then
  3717. am__EXEEXT_TRUE=
  3718. am__EXEEXT_FALSE='#'
  3719. else
  3720. am__EXEEXT_TRUE='#'
  3721. am__EXEEXT_FALSE=
  3722. fi
  3723. if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
  3724. as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
  3725. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3726. fi
  3727. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  3728. as_fn_error "conditional \"AMDEP\" was never defined.
  3729. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3730. fi
  3731. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  3732. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  3733. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3734. fi
  3735. if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
  3736. as_fn_error "conditional \"NATIVE\" was never defined.
  3737. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  3738. fi
  3739. : ${CONFIG_STATUS=./config.status}
  3740. ac_write_fail=0
  3741. ac_clean_files_save=$ac_clean_files
  3742. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  3743. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  3744. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  3745. as_write_fail=0
  3746. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  3747. #! $SHELL
  3748. # Generated by $as_me.
  3749. # Run this file to recreate the current configuration.
  3750. # Compiler output produced by configure, useful for debugging
  3751. # configure, is in config.log if it exists.
  3752. debug=false
  3753. ac_cs_recheck=false
  3754. ac_cs_silent=false
  3755. SHELL=\${CONFIG_SHELL-$SHELL}
  3756. export SHELL
  3757. _ASEOF
  3758. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  3759. ## -------------------- ##
  3760. ## M4sh Initialization. ##
  3761. ## -------------------- ##
  3762. # Be more Bourne compatible
  3763. DUALCASE=1; export DUALCASE # for MKS sh
  3764. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  3765. emulate sh
  3766. NULLCMD=:
  3767. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  3768. # is contrary to our usage. Disable this feature.
  3769. alias -g '${1+"$@"}'='"$@"'
  3770. setopt NO_GLOB_SUBST
  3771. else
  3772. case `(set -o) 2>/dev/null` in #(
  3773. *posix*) :
  3774. set -o posix ;; #(
  3775. *) :
  3776. ;;
  3777. esac
  3778. fi
  3779. as_nl='
  3780. '
  3781. export as_nl
  3782. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  3783. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  3784. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  3785. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  3786. # Prefer a ksh shell builtin over an external printf program on Solaris,
  3787. # but without wasting forks for bash or zsh.
  3788. if test -z "$BASH_VERSION$ZSH_VERSION" \
  3789. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  3790. as_echo='print -r --'
  3791. as_echo_n='print -rn --'
  3792. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  3793. as_echo='printf %s\n'
  3794. as_echo_n='printf %s'
  3795. else
  3796. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  3797. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  3798. as_echo_n='/usr/ucb/echo -n'
  3799. else
  3800. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  3801. as_echo_n_body='eval
  3802. arg=$1;
  3803. case $arg in #(
  3804. *"$as_nl"*)
  3805. expr "X$arg" : "X\\(.*\\)$as_nl";
  3806. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  3807. esac;
  3808. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  3809. '
  3810. export as_echo_n_body
  3811. as_echo_n='sh -c $as_echo_n_body as_echo'
  3812. fi
  3813. export as_echo_body
  3814. as_echo='sh -c $as_echo_body as_echo'
  3815. fi
  3816. # The user is always right.
  3817. if test "${PATH_SEPARATOR+set}" != set; then
  3818. PATH_SEPARATOR=:
  3819. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  3820. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  3821. PATH_SEPARATOR=';'
  3822. }
  3823. fi
  3824. # IFS
  3825. # We need space, tab and new line, in precisely that order. Quoting is
  3826. # there to prevent editors from complaining about space-tab.
  3827. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  3828. # splitting by setting IFS to empty value.)
  3829. IFS=" "" $as_nl"
  3830. # Find who we are. Look in the path if we contain no directory separator.
  3831. case $0 in #((
  3832. *[\\/]* ) as_myself=$0 ;;
  3833. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3834. for as_dir in $PATH
  3835. do
  3836. IFS=$as_save_IFS
  3837. test -z "$as_dir" && as_dir=.
  3838. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  3839. done
  3840. IFS=$as_save_IFS
  3841. ;;
  3842. esac
  3843. # We did not find ourselves, most probably we were run as `sh COMMAND'
  3844. # in which case we are not to be found in the path.
  3845. if test "x$as_myself" = x; then
  3846. as_myself=$0
  3847. fi
  3848. if test ! -f "$as_myself"; then
  3849. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  3850. exit 1
  3851. fi
  3852. # Unset variables that we do not need and which cause bugs (e.g. in
  3853. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  3854. # suppresses any "Segmentation fault" message there. '((' could
  3855. # trigger a bug in pdksh 5.2.14.
  3856. for as_var in BASH_ENV ENV MAIL MAILPATH
  3857. do eval test x\${$as_var+set} = xset \
  3858. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  3859. done
  3860. PS1='$ '
  3861. PS2='> '
  3862. PS4='+ '
  3863. # NLS nuisances.
  3864. LC_ALL=C
  3865. export LC_ALL
  3866. LANGUAGE=C
  3867. export LANGUAGE
  3868. # CDPATH.
  3869. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  3870. # as_fn_error ERROR [LINENO LOG_FD]
  3871. # ---------------------------------
  3872. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  3873. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  3874. # script with status $?, using 1 if that was 0.
  3875. as_fn_error ()
  3876. {
  3877. as_status=$?; test $as_status -eq 0 && as_status=1
  3878. if test "$3"; then
  3879. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3880. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  3881. fi
  3882. $as_echo "$as_me: error: $1" >&2
  3883. as_fn_exit $as_status
  3884. } # as_fn_error
  3885. # as_fn_set_status STATUS
  3886. # -----------------------
  3887. # Set $? to STATUS, without forking.
  3888. as_fn_set_status ()
  3889. {
  3890. return $1
  3891. } # as_fn_set_status
  3892. # as_fn_exit STATUS
  3893. # -----------------
  3894. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  3895. as_fn_exit ()
  3896. {
  3897. set +e
  3898. as_fn_set_status $1
  3899. exit $1
  3900. } # as_fn_exit
  3901. # as_fn_unset VAR
  3902. # ---------------
  3903. # Portably unset VAR.
  3904. as_fn_unset ()
  3905. {
  3906. { eval $1=; unset $1;}
  3907. }
  3908. as_unset=as_fn_unset
  3909. # as_fn_append VAR VALUE
  3910. # ----------------------
  3911. # Append the text in VALUE to the end of the definition contained in VAR. Take
  3912. # advantage of any shell optimizations that allow amortized linear growth over
  3913. # repeated appends, instead of the typical quadratic growth present in naive
  3914. # implementations.
  3915. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  3916. eval 'as_fn_append ()
  3917. {
  3918. eval $1+=\$2
  3919. }'
  3920. else
  3921. as_fn_append ()
  3922. {
  3923. eval $1=\$$1\$2
  3924. }
  3925. fi # as_fn_append
  3926. # as_fn_arith ARG...
  3927. # ------------------
  3928. # Perform arithmetic evaluation on the ARGs, and store the result in the
  3929. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  3930. # must be portable across $(()) and expr.
  3931. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  3932. eval 'as_fn_arith ()
  3933. {
  3934. as_val=$(( $* ))
  3935. }'
  3936. else
  3937. as_fn_arith ()
  3938. {
  3939. as_val=`expr "$@" || test $? -eq 1`
  3940. }
  3941. fi # as_fn_arith
  3942. if expr a : '\(a\)' >/dev/null 2>&1 &&
  3943. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  3944. as_expr=expr
  3945. else
  3946. as_expr=false
  3947. fi
  3948. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  3949. as_basename=basename
  3950. else
  3951. as_basename=false
  3952. fi
  3953. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  3954. as_dirname=dirname
  3955. else
  3956. as_dirname=false
  3957. fi
  3958. as_me=`$as_basename -- "$0" ||
  3959. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  3960. X"$0" : 'X\(//\)$' \| \
  3961. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  3962. $as_echo X/"$0" |
  3963. sed '/^.*\/\([^/][^/]*\)\/*$/{
  3964. s//\1/
  3965. q
  3966. }
  3967. /^X\/\(\/\/\)$/{
  3968. s//\1/
  3969. q
  3970. }
  3971. /^X\/\(\/\).*/{
  3972. s//\1/
  3973. q
  3974. }
  3975. s/.*/./; q'`
  3976. # Avoid depending upon Character Ranges.
  3977. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  3978. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3979. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  3980. as_cr_digits='0123456789'
  3981. as_cr_alnum=$as_cr_Letters$as_cr_digits
  3982. ECHO_C= ECHO_N= ECHO_T=
  3983. case `echo -n x` in #(((((
  3984. -n*)
  3985. case `echo 'xy\c'` in
  3986. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  3987. xy) ECHO_C='\c';;
  3988. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  3989. ECHO_T=' ';;
  3990. esac;;
  3991. *)
  3992. ECHO_N='-n';;
  3993. esac
  3994. rm -f conf$$ conf$$.exe conf$$.file
  3995. if test -d conf$$.dir; then
  3996. rm -f conf$$.dir/conf$$.file
  3997. else
  3998. rm -f conf$$.dir
  3999. mkdir conf$$.dir 2>/dev/null
  4000. fi
  4001. if (echo >conf$$.file) 2>/dev/null; then
  4002. if ln -s conf$$.file conf$$ 2>/dev/null; then
  4003. as_ln_s='ln -s'
  4004. # ... but there are two gotchas:
  4005. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4006. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4007. # In both cases, we have to default to `cp -p'.
  4008. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4009. as_ln_s='cp -p'
  4010. elif ln conf$$.file conf$$ 2>/dev/null; then
  4011. as_ln_s=ln
  4012. else
  4013. as_ln_s='cp -p'
  4014. fi
  4015. else
  4016. as_ln_s='cp -p'
  4017. fi
  4018. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4019. rmdir conf$$.dir 2>/dev/null
  4020. # as_fn_mkdir_p
  4021. # -------------
  4022. # Create "$as_dir" as a directory, including parents if necessary.
  4023. as_fn_mkdir_p ()
  4024. {
  4025. case $as_dir in #(
  4026. -*) as_dir=./$as_dir;;
  4027. esac
  4028. test -d "$as_dir" || eval $as_mkdir_p || {
  4029. as_dirs=
  4030. while :; do
  4031. case $as_dir in #(
  4032. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4033. *) as_qdir=$as_dir;;
  4034. esac
  4035. as_dirs="'$as_qdir' $as_dirs"
  4036. as_dir=`$as_dirname -- "$as_dir" ||
  4037. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4038. X"$as_dir" : 'X\(//\)[^/]' \| \
  4039. X"$as_dir" : 'X\(//\)$' \| \
  4040. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4041. $as_echo X"$as_dir" |
  4042. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4043. s//\1/
  4044. q
  4045. }
  4046. /^X\(\/\/\)[^/].*/{
  4047. s//\1/
  4048. q
  4049. }
  4050. /^X\(\/\/\)$/{
  4051. s//\1/
  4052. q
  4053. }
  4054. /^X\(\/\).*/{
  4055. s//\1/
  4056. q
  4057. }
  4058. s/.*/./; q'`
  4059. test -d "$as_dir" && break
  4060. done
  4061. test -z "$as_dirs" || eval "mkdir $as_dirs"
  4062. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4063. } # as_fn_mkdir_p
  4064. if mkdir -p . 2>/dev/null; then
  4065. as_mkdir_p='mkdir -p "$as_dir"'
  4066. else
  4067. test -d ./-p && rmdir ./-p
  4068. as_mkdir_p=false
  4069. fi
  4070. if test -x / >/dev/null 2>&1; then
  4071. as_test_x='test -x'
  4072. else
  4073. if ls -dL / >/dev/null 2>&1; then
  4074. as_ls_L_option=L
  4075. else
  4076. as_ls_L_option=
  4077. fi
  4078. as_test_x='
  4079. eval sh -c '\''
  4080. if test -d "$1"; then
  4081. test -d "$1/.";
  4082. else
  4083. case $1 in #(
  4084. -*)set "./$1";;
  4085. esac;
  4086. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  4087. ???[sx]*):;;*)false;;esac;fi
  4088. '\'' sh
  4089. '
  4090. fi
  4091. as_executable_p=$as_test_x
  4092. # Sed expression to map a string onto a valid CPP name.
  4093. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4094. # Sed expression to map a string onto a valid variable name.
  4095. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4096. exec 6>&1
  4097. ## ----------------------------------- ##
  4098. ## Main body of $CONFIG_STATUS script. ##
  4099. ## ----------------------------------- ##
  4100. _ASEOF
  4101. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4102. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4103. # Save the log message, to keep $0 and so on meaningful, and to
  4104. # report actual input values of CONFIG_FILES etc. instead of their
  4105. # values after options handling.
  4106. ac_log="
  4107. This file was extended by package-unused $as_me version-unused, which was
  4108. generated by GNU Autoconf 2.64. Invocation command line was
  4109. CONFIG_FILES = $CONFIG_FILES
  4110. CONFIG_HEADERS = $CONFIG_HEADERS
  4111. CONFIG_LINKS = $CONFIG_LINKS
  4112. CONFIG_COMMANDS = $CONFIG_COMMANDS
  4113. $ $0 $@
  4114. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4115. "
  4116. _ACEOF
  4117. case $ac_config_files in *"
  4118. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  4119. esac
  4120. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4121. # Files that config.status was made for.
  4122. config_files="$ac_config_files"
  4123. config_commands="$ac_config_commands"
  4124. _ACEOF
  4125. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4126. ac_cs_usage="\
  4127. \`$as_me' instantiates files and other configuration actions
  4128. from templates according to the current configuration. Unless the files
  4129. and actions are specified as TAGs, all are instantiated by default.
  4130. Usage: $0 [OPTION]... [TAG]...
  4131. -h, --help print this help, then exit
  4132. -V, --version print version number and configuration settings, then exit
  4133. -q, --quiet, --silent
  4134. do not print progress messages
  4135. -d, --debug don't remove temporary files
  4136. --recheck update $as_me by reconfiguring in the same conditions
  4137. --file=FILE[:TEMPLATE]
  4138. instantiate the configuration file FILE
  4139. Configuration files:
  4140. $config_files
  4141. Configuration commands:
  4142. $config_commands
  4143. Report bugs to the package provider."
  4144. _ACEOF
  4145. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4146. ac_cs_version="\\
  4147. package-unused config.status version-unused
  4148. configured by $0, generated by GNU Autoconf 2.64,
  4149. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  4150. Copyright (C) 2009 Free Software Foundation, Inc.
  4151. This config.status script is free software; the Free Software Foundation
  4152. gives unlimited permission to copy, distribute and modify it."
  4153. ac_pwd='$ac_pwd'
  4154. srcdir='$srcdir'
  4155. INSTALL='$INSTALL'
  4156. MKDIR_P='$MKDIR_P'
  4157. AWK='$AWK'
  4158. test -n "\$AWK" || AWK=awk
  4159. _ACEOF
  4160. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4161. # The default lists apply if the user does not specify any file.
  4162. ac_need_defaults=:
  4163. while test $# != 0
  4164. do
  4165. case $1 in
  4166. --*=*)
  4167. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4168. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4169. ac_shift=:
  4170. ;;
  4171. *)
  4172. ac_option=$1
  4173. ac_optarg=$2
  4174. ac_shift=shift
  4175. ;;
  4176. esac
  4177. case $ac_option in
  4178. # Handling of the options.
  4179. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4180. ac_cs_recheck=: ;;
  4181. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4182. $as_echo "$ac_cs_version"; exit ;;
  4183. --debug | --debu | --deb | --de | --d | -d )
  4184. debug=: ;;
  4185. --file | --fil | --fi | --f )
  4186. $ac_shift
  4187. case $ac_optarg in
  4188. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4189. esac
  4190. as_fn_append CONFIG_FILES " '$ac_optarg'"
  4191. ac_need_defaults=false;;
  4192. --he | --h | --help | --hel | -h )
  4193. $as_echo "$ac_cs_usage"; exit ;;
  4194. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4195. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4196. ac_cs_silent=: ;;
  4197. # This is an error.
  4198. -*) as_fn_error "unrecognized option: \`$1'
  4199. Try \`$0 --help' for more information." ;;
  4200. *) as_fn_append ac_config_targets " $1"
  4201. ac_need_defaults=false ;;
  4202. esac
  4203. shift
  4204. done
  4205. ac_configure_extra_args=
  4206. if $ac_cs_silent; then
  4207. exec 6>/dev/null
  4208. ac_configure_extra_args="$ac_configure_extra_args --silent"
  4209. fi
  4210. _ACEOF
  4211. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4212. if \$ac_cs_recheck; then
  4213. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4214. shift
  4215. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4216. CONFIG_SHELL='$SHELL'
  4217. export CONFIG_SHELL
  4218. exec "\$@"
  4219. fi
  4220. _ACEOF
  4221. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4222. exec 5>>config.log
  4223. {
  4224. echo
  4225. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4226. ## Running $as_me. ##
  4227. _ASBOX
  4228. $as_echo "$ac_log"
  4229. } >&5
  4230. _ACEOF
  4231. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4232. #
  4233. # INIT-COMMANDS
  4234. #
  4235. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  4236. _ACEOF
  4237. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4238. # Handling of arguments.
  4239. for ac_config_target in $ac_config_targets
  4240. do
  4241. case $ac_config_target in
  4242. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4243. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4244. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4245. esac
  4246. done
  4247. # If the user did not use the arguments to specify the items to instantiate,
  4248. # then the envvar interface is used. Set only those that are not.
  4249. # We use the long form for the default assignment because of an extremely
  4250. # bizarre bug on SunOS 4.1.3.
  4251. if $ac_need_defaults; then
  4252. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4253. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4254. fi
  4255. # Have a temporary directory for convenience. Make it in the build tree
  4256. # simply because there is no reason against having it here, and in addition,
  4257. # creating and moving files from /tmp can sometimes cause problems.
  4258. # Hook for its removal unless debugging.
  4259. # Note that there is a small window in which the directory will not be cleaned:
  4260. # after its creation but before its name has been assigned to `$tmp'.
  4261. $debug ||
  4262. {
  4263. tmp=
  4264. trap 'exit_status=$?
  4265. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4266. ' 0
  4267. trap 'as_fn_exit 1' 1 2 13 15
  4268. }
  4269. # Create a (secure) tmp directory for tmp files.
  4270. {
  4271. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4272. test -n "$tmp" && test -d "$tmp"
  4273. } ||
  4274. {
  4275. tmp=./conf$$-$RANDOM
  4276. (umask 077 && mkdir "$tmp")
  4277. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4278. # Set up the scripts for CONFIG_FILES section.
  4279. # No need to generate them if there are no CONFIG_FILES.
  4280. # This happens for instance with `./config.status config.h'.
  4281. if test -n "$CONFIG_FILES"; then
  4282. ac_cr=`echo X | tr X '\015'`
  4283. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  4284. # But we know of no other shell where ac_cr would be empty at this
  4285. # point, so we can use a bashism as a fallback.
  4286. if test "x$ac_cr" = x; then
  4287. eval ac_cr=\$\'\\r\'
  4288. fi
  4289. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4290. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4291. ac_cs_awk_cr='\r'
  4292. else
  4293. ac_cs_awk_cr=$ac_cr
  4294. fi
  4295. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4296. _ACEOF
  4297. {
  4298. echo "cat >conf$$subs.awk <<_ACEOF" &&
  4299. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4300. echo "_ACEOF"
  4301. } >conf$$subs.sh ||
  4302. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4303. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  4304. ac_delim='%!_!# '
  4305. for ac_last_try in false false false false false :; do
  4306. . ./conf$$subs.sh ||
  4307. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4308. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4309. if test $ac_delim_n = $ac_delim_num; then
  4310. break
  4311. elif $ac_last_try; then
  4312. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4313. else
  4314. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4315. fi
  4316. done
  4317. rm -f conf$$subs.sh
  4318. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4319. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  4320. _ACEOF
  4321. sed -n '
  4322. h
  4323. s/^/S["/; s/!.*/"]=/
  4324. p
  4325. g
  4326. s/^[^!]*!//
  4327. :repl
  4328. t repl
  4329. s/'"$ac_delim"'$//
  4330. t delim
  4331. :nl
  4332. h
  4333. s/\(.\{148\}\).*/\1/
  4334. t more1
  4335. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4336. p
  4337. n
  4338. b repl
  4339. :more1
  4340. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4341. p
  4342. g
  4343. s/.\{148\}//
  4344. t nl
  4345. :delim
  4346. h
  4347. s/\(.\{148\}\).*/\1/
  4348. t more2
  4349. s/["\\]/\\&/g; s/^/"/; s/$/"/
  4350. p
  4351. b
  4352. :more2
  4353. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4354. p
  4355. g
  4356. s/.\{148\}//
  4357. t delim
  4358. ' <conf$$subs.awk | sed '
  4359. /^[^""]/{
  4360. N
  4361. s/\n//
  4362. }
  4363. ' >>$CONFIG_STATUS || ac_write_fail=1
  4364. rm -f conf$$subs.awk
  4365. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4366. _ACAWK
  4367. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  4368. for (key in S) S_is_set[key] = 1
  4369. FS = ""
  4370. }
  4371. {
  4372. line = $ 0
  4373. nfields = split(line, field, "@")
  4374. substed = 0
  4375. len = length(field[1])
  4376. for (i = 2; i < nfields; i++) {
  4377. key = field[i]
  4378. keylen = length(key)
  4379. if (S_is_set[key]) {
  4380. value = S[key]
  4381. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4382. len += length(value) + length(field[++i])
  4383. substed = 1
  4384. } else
  4385. len += 1 + keylen
  4386. }
  4387. print line
  4388. }
  4389. _ACAWK
  4390. _ACEOF
  4391. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4392. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4393. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4394. else
  4395. cat
  4396. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  4397. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  4398. _ACEOF
  4399. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  4400. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4401. # trailing colons and then remove the whole line if VPATH becomes empty
  4402. # (actually we leave an empty line to preserve line numbers).
  4403. if test "x$srcdir" = x.; then
  4404. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  4405. s/:*\$(srcdir):*/:/
  4406. s/:*\${srcdir}:*/:/
  4407. s/:*@srcdir@:*/:/
  4408. s/^\([^=]*=[ ]*\):*/\1/
  4409. s/:*$//
  4410. s/^[^=]*=[ ]*$//
  4411. }'
  4412. fi
  4413. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4414. fi # test -n "$CONFIG_FILES"
  4415. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  4416. shift
  4417. for ac_tag
  4418. do
  4419. case $ac_tag in
  4420. :[FHLC]) ac_mode=$ac_tag; continue;;
  4421. esac
  4422. case $ac_mode$ac_tag in
  4423. :[FHL]*:*);;
  4424. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  4425. :[FH]-) ac_tag=-:-;;
  4426. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  4427. esac
  4428. ac_save_IFS=$IFS
  4429. IFS=:
  4430. set x $ac_tag
  4431. IFS=$ac_save_IFS
  4432. shift
  4433. ac_file=$1
  4434. shift
  4435. case $ac_mode in
  4436. :L) ac_source=$1;;
  4437. :[FH])
  4438. ac_file_inputs=
  4439. for ac_f
  4440. do
  4441. case $ac_f in
  4442. -) ac_f="$tmp/stdin";;
  4443. *) # Look for the file first in the build tree, then in the source tree
  4444. # (if the path is not absolute). The absolute path cannot be DOS-style,
  4445. # because $ac_f cannot contain `:'.
  4446. test -f "$ac_f" ||
  4447. case $ac_f in
  4448. [\\/$]*) false;;
  4449. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  4450. esac ||
  4451. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  4452. esac
  4453. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  4454. as_fn_append ac_file_inputs " '$ac_f'"
  4455. done
  4456. # Let's still pretend it is `configure' which instantiates (i.e., don't
  4457. # use $as_me), people would be surprised to read:
  4458. # /* config.h. Generated by config.status. */
  4459. configure_input='Generated from '`
  4460. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  4461. `' by configure.'
  4462. if test x"$ac_file" != x-; then
  4463. configure_input="$ac_file. $configure_input"
  4464. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  4465. $as_echo "$as_me: creating $ac_file" >&6;}
  4466. fi
  4467. # Neutralize special characters interpreted by sed in replacement strings.
  4468. case $configure_input in #(
  4469. *\&* | *\|* | *\\* )
  4470. ac_sed_conf_input=`$as_echo "$configure_input" |
  4471. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  4472. *) ac_sed_conf_input=$configure_input;;
  4473. esac
  4474. case $ac_tag in
  4475. *:-:* | *:-) cat >"$tmp/stdin" \
  4476. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  4477. esac
  4478. ;;
  4479. esac
  4480. ac_dir=`$as_dirname -- "$ac_file" ||
  4481. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4482. X"$ac_file" : 'X\(//\)[^/]' \| \
  4483. X"$ac_file" : 'X\(//\)$' \| \
  4484. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  4485. $as_echo X"$ac_file" |
  4486. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4487. s//\1/
  4488. q
  4489. }
  4490. /^X\(\/\/\)[^/].*/{
  4491. s//\1/
  4492. q
  4493. }
  4494. /^X\(\/\/\)$/{
  4495. s//\1/
  4496. q
  4497. }
  4498. /^X\(\/\).*/{
  4499. s//\1/
  4500. q
  4501. }
  4502. s/.*/./; q'`
  4503. as_dir="$ac_dir"; as_fn_mkdir_p
  4504. ac_builddir=.
  4505. case "$ac_dir" in
  4506. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4507. *)
  4508. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  4509. # A ".." for each directory in $ac_dir_suffix.
  4510. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  4511. case $ac_top_builddir_sub in
  4512. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  4513. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  4514. esac ;;
  4515. esac
  4516. ac_abs_top_builddir=$ac_pwd
  4517. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  4518. # for backward compatibility:
  4519. ac_top_builddir=$ac_top_build_prefix
  4520. case $srcdir in
  4521. .) # We are building in place.
  4522. ac_srcdir=.
  4523. ac_top_srcdir=$ac_top_builddir_sub
  4524. ac_abs_top_srcdir=$ac_pwd ;;
  4525. [\\/]* | ?:[\\/]* ) # Absolute name.
  4526. ac_srcdir=$srcdir$ac_dir_suffix;
  4527. ac_top_srcdir=$srcdir
  4528. ac_abs_top_srcdir=$srcdir ;;
  4529. *) # Relative name.
  4530. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  4531. ac_top_srcdir=$ac_top_build_prefix$srcdir
  4532. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  4533. esac
  4534. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  4535. case $ac_mode in
  4536. :F)
  4537. #
  4538. # CONFIG_FILE
  4539. #
  4540. case $INSTALL in
  4541. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  4542. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  4543. esac
  4544. ac_MKDIR_P=$MKDIR_P
  4545. case $MKDIR_P in
  4546. [\\/$]* | ?:[\\/]* ) ;;
  4547. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  4548. esac
  4549. _ACEOF
  4550. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4551. # If the template does not know about datarootdir, expand it.
  4552. # FIXME: This hack should be removed a few years after 2.60.
  4553. ac_datarootdir_hack=; ac_datarootdir_seen=
  4554. ac_sed_dataroot='
  4555. /datarootdir/ {
  4556. p
  4557. q
  4558. }
  4559. /@datadir@/p
  4560. /@docdir@/p
  4561. /@infodir@/p
  4562. /@localedir@/p
  4563. /@mandir@/p'
  4564. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  4565. *datarootdir*) ac_datarootdir_seen=yes;;
  4566. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  4567. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  4568. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  4569. _ACEOF
  4570. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4571. ac_datarootdir_hack='
  4572. s&@datadir@&$datadir&g
  4573. s&@docdir@&$docdir&g
  4574. s&@infodir@&$infodir&g
  4575. s&@localedir@&$localedir&g
  4576. s&@mandir@&$mandir&g
  4577. s&\\\${datarootdir}&$datarootdir&g' ;;
  4578. esac
  4579. _ACEOF
  4580. # Neutralize VPATH when `$srcdir' = `.'.
  4581. # Shell code in configure.ac might set extrasub.
  4582. # FIXME: do we really want to maintain this feature?
  4583. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4584. ac_sed_extra="$ac_vpsub
  4585. $extrasub
  4586. _ACEOF
  4587. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4588. :t
  4589. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  4590. s|@configure_input@|$ac_sed_conf_input|;t t
  4591. s&@top_builddir@&$ac_top_builddir_sub&;t t
  4592. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  4593. s&@srcdir@&$ac_srcdir&;t t
  4594. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  4595. s&@top_srcdir@&$ac_top_srcdir&;t t
  4596. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  4597. s&@builddir@&$ac_builddir&;t t
  4598. s&@abs_builddir@&$ac_abs_builddir&;t t
  4599. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  4600. s&@INSTALL@&$ac_INSTALL&;t t
  4601. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  4602. $ac_datarootdir_hack
  4603. "
  4604. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  4605. || as_fn_error "could not create $ac_file" "$LINENO" 5
  4606. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  4607. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  4608. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  4609. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4610. which seems to be undefined. Please make sure it is defined." >&5
  4611. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  4612. which seems to be undefined. Please make sure it is defined." >&2;}
  4613. rm -f "$tmp/stdin"
  4614. case $ac_file in
  4615. -) cat "$tmp/out" && rm -f "$tmp/out";;
  4616. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  4617. esac \
  4618. || as_fn_error "could not create $ac_file" "$LINENO" 5
  4619. ;;
  4620. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  4621. $as_echo "$as_me: executing $ac_file commands" >&6;}
  4622. ;;
  4623. esac
  4624. case $ac_file$ac_mode in
  4625. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  4626. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  4627. # are listed without --file. Let's play safe and only enable the eval
  4628. # if we detect the quoting.
  4629. case $CONFIG_FILES in
  4630. *\'*) eval set x "$CONFIG_FILES" ;;
  4631. *) set x $CONFIG_FILES ;;
  4632. esac
  4633. shift
  4634. for mf
  4635. do
  4636. # Strip MF so we end up with the name of the file.
  4637. mf=`echo "$mf" | sed -e 's/:.*$//'`
  4638. # Check whether this is an Automake generated Makefile or not.
  4639. # We used to match only the files named `Makefile.in', but
  4640. # some people rename them; so instead we look at the file content.
  4641. # Grep'ing the first line is not enough: some people post-process
  4642. # each Makefile.in and add a new line on top of each file to say so.
  4643. # Grep'ing the whole file is not good either: AIX grep has a line
  4644. # limit of 2048, but all sed's we know have understand at least 4000.
  4645. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  4646. dirpart=`$as_dirname -- "$mf" ||
  4647. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4648. X"$mf" : 'X\(//\)[^/]' \| \
  4649. X"$mf" : 'X\(//\)$' \| \
  4650. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  4651. $as_echo X"$mf" |
  4652. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4653. s//\1/
  4654. q
  4655. }
  4656. /^X\(\/\/\)[^/].*/{
  4657. s//\1/
  4658. q
  4659. }
  4660. /^X\(\/\/\)$/{
  4661. s//\1/
  4662. q
  4663. }
  4664. /^X\(\/\).*/{
  4665. s//\1/
  4666. q
  4667. }
  4668. s/.*/./; q'`
  4669. else
  4670. continue
  4671. fi
  4672. # Extract the definition of DEPDIR, am__include, and am__quote
  4673. # from the Makefile without running `make'.
  4674. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  4675. test -z "$DEPDIR" && continue
  4676. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  4677. test -z "am__include" && continue
  4678. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  4679. # When using ansi2knr, U may be empty or an underscore; expand it
  4680. U=`sed -n 's/^U = //p' < "$mf"`
  4681. # Find all dependency output files, they are included files with
  4682. # $(DEPDIR) in their names. We invoke sed twice because it is the
  4683. # simplest approach to changing $(DEPDIR) to its actual value in the
  4684. # expansion.
  4685. for file in `sed -n "
  4686. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  4687. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  4688. # Make sure the directory exists.
  4689. test -f "$dirpart/$file" && continue
  4690. fdir=`$as_dirname -- "$file" ||
  4691. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4692. X"$file" : 'X\(//\)[^/]' \| \
  4693. X"$file" : 'X\(//\)$' \| \
  4694. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  4695. $as_echo X"$file" |
  4696. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4697. s//\1/
  4698. q
  4699. }
  4700. /^X\(\/\/\)[^/].*/{
  4701. s//\1/
  4702. q
  4703. }
  4704. /^X\(\/\/\)$/{
  4705. s//\1/
  4706. q
  4707. }
  4708. /^X\(\/\).*/{
  4709. s//\1/
  4710. q
  4711. }
  4712. s/.*/./; q'`
  4713. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  4714. # echo "creating $dirpart/$file"
  4715. echo '# dummy' > "$dirpart/$file"
  4716. done
  4717. done
  4718. }
  4719. ;;
  4720. esac
  4721. done # for ac_tag
  4722. as_fn_exit 0
  4723. _ACEOF
  4724. ac_clean_files=$ac_clean_files_save
  4725. test $ac_write_fail = 0 ||
  4726. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  4727. # configure is writing to config.log, and then calls config.status.
  4728. # config.status does its own redirection, appending to config.log.
  4729. # Unfortunately, on DOS this fails, as config.log is still kept open
  4730. # by configure, so config.status won't be able to write to it; its
  4731. # output is simply discarded. So we exec the FD to /dev/null,
  4732. # effectively closing config.log, so it can be properly (re)opened and
  4733. # appended to by config.status. When coming back to configure, we
  4734. # need to make the FD available again.
  4735. if test "$no_create" != yes; then
  4736. ac_cs_success=:
  4737. ac_config_status_args=
  4738. test "$silent" = yes &&
  4739. ac_config_status_args="$ac_config_status_args --quiet"
  4740. exec 5>/dev/null
  4741. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  4742. exec 5>>config.log
  4743. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4744. # would make configure fail if this is the last instruction.
  4745. $ac_cs_success || as_fn_exit $?
  4746. fi
  4747. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  4748. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  4749. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  4750. fi