configure 170 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.64 for bind 10.0.0.
  4. #
  5. # Report bugs to <bind10-bugs@isc.org>.
  6. #
  7. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  8. # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
  9. # Foundation, Inc.
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. case $0 in #((
  86. *[\\/]* ) as_myself=$0 ;;
  87. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  88. for as_dir in $PATH
  89. do
  90. IFS=$as_save_IFS
  91. test -z "$as_dir" && as_dir=.
  92. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  93. done
  94. IFS=$as_save_IFS
  95. ;;
  96. esac
  97. # We did not find ourselves, most probably we were run as `sh COMMAND'
  98. # in which case we are not to be found in the path.
  99. if test "x$as_myself" = x; then
  100. as_myself=$0
  101. fi
  102. if test ! -f "$as_myself"; then
  103. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  104. exit 1
  105. fi
  106. # Unset variables that we do not need and which cause bugs (e.g. in
  107. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  108. # suppresses any "Segmentation fault" message there. '((' could
  109. # trigger a bug in pdksh 5.2.14.
  110. for as_var in BASH_ENV ENV MAIL MAILPATH
  111. do eval test x\${$as_var+set} = xset \
  112. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  113. done
  114. PS1='$ '
  115. PS2='> '
  116. PS4='+ '
  117. # NLS nuisances.
  118. LC_ALL=C
  119. export LC_ALL
  120. LANGUAGE=C
  121. export LANGUAGE
  122. # CDPATH.
  123. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  124. if test "x$CONFIG_SHELL" = x; then
  125. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  126. emulate sh
  127. NULLCMD=:
  128. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  129. # is contrary to our usage. Disable this feature.
  130. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  131. setopt NO_GLOB_SUBST
  132. else
  133. case \`(set -o) 2>/dev/null\` in #(
  134. *posix*) :
  135. set -o posix ;; #(
  136. *) :
  137. ;;
  138. esac
  139. fi
  140. "
  141. as_required="as_fn_return () { (exit \$1); }
  142. as_fn_success () { as_fn_return 0; }
  143. as_fn_failure () { as_fn_return 1; }
  144. as_fn_ret_success () { return 0; }
  145. as_fn_ret_failure () { return 1; }
  146. exitcode=0
  147. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  148. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  149. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  150. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  151. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  152. else
  153. exitcode=1; echo positional parameters were not saved.
  154. fi
  155. test x\$exitcode = x0 || exit 1"
  156. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  157. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  158. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  159. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  160. test \$(( 1 + 1 )) = 2 || exit 1"
  161. if (eval "$as_required") 2>/dev/null; then :
  162. as_have_required=yes
  163. else
  164. as_have_required=no
  165. fi
  166. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  167. else
  168. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  169. as_found=false
  170. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  171. do
  172. IFS=$as_save_IFS
  173. test -z "$as_dir" && as_dir=.
  174. as_found=:
  175. case $as_dir in #(
  176. /*)
  177. for as_base in sh bash ksh sh5; do
  178. # Try only shells that exist, to save several forks.
  179. as_shell=$as_dir/$as_base
  180. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  181. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  182. CONFIG_SHELL=$as_shell as_have_required=yes
  183. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  184. break 2
  185. fi
  186. fi
  187. done;;
  188. esac
  189. as_found=false
  190. done
  191. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  192. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  193. CONFIG_SHELL=$SHELL as_have_required=yes
  194. fi; }
  195. IFS=$as_save_IFS
  196. if test "x$CONFIG_SHELL" != x; then :
  197. # We cannot yet assume a decent shell, so we have to provide a
  198. # neutralization value for shells without unset; and this also
  199. # works around shells that cannot unset nonexistent variables.
  200. BASH_ENV=/dev/null
  201. ENV=/dev/null
  202. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  203. export CONFIG_SHELL
  204. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  205. fi
  206. if test x$as_have_required = xno; then :
  207. $as_echo "$0: This script requires a shell more modern than all"
  208. $as_echo "$0: the shells that I found on your system."
  209. if test x${ZSH_VERSION+set} = xset ; then
  210. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  211. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  212. else
  213. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  214. $0: bind10-bugs@isc.org about your system, including any
  215. $0: error possibly output before this message. Then install
  216. $0: a modern shell, or manually run the script under such a
  217. $0: shell if you do have one."
  218. fi
  219. exit 1
  220. fi
  221. fi
  222. fi
  223. SHELL=${CONFIG_SHELL-/bin/sh}
  224. export SHELL
  225. # Unset more variables known to interfere with behavior of common tools.
  226. CLICOLOR_FORCE= GREP_OPTIONS=
  227. unset CLICOLOR_FORCE GREP_OPTIONS
  228. ## --------------------- ##
  229. ## M4sh Shell Functions. ##
  230. ## --------------------- ##
  231. # as_fn_unset VAR
  232. # ---------------
  233. # Portably unset VAR.
  234. as_fn_unset ()
  235. {
  236. { eval $1=; unset $1;}
  237. }
  238. as_unset=as_fn_unset
  239. # as_fn_set_status STATUS
  240. # -----------------------
  241. # Set $? to STATUS, without forking.
  242. as_fn_set_status ()
  243. {
  244. return $1
  245. } # as_fn_set_status
  246. # as_fn_exit STATUS
  247. # -----------------
  248. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  249. as_fn_exit ()
  250. {
  251. set +e
  252. as_fn_set_status $1
  253. exit $1
  254. } # as_fn_exit
  255. # as_fn_mkdir_p
  256. # -------------
  257. # Create "$as_dir" as a directory, including parents if necessary.
  258. as_fn_mkdir_p ()
  259. {
  260. case $as_dir in #(
  261. -*) as_dir=./$as_dir;;
  262. esac
  263. test -d "$as_dir" || eval $as_mkdir_p || {
  264. as_dirs=
  265. while :; do
  266. case $as_dir in #(
  267. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  268. *) as_qdir=$as_dir;;
  269. esac
  270. as_dirs="'$as_qdir' $as_dirs"
  271. as_dir=`$as_dirname -- "$as_dir" ||
  272. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  273. X"$as_dir" : 'X\(//\)[^/]' \| \
  274. X"$as_dir" : 'X\(//\)$' \| \
  275. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  276. $as_echo X"$as_dir" |
  277. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  278. s//\1/
  279. q
  280. }
  281. /^X\(\/\/\)[^/].*/{
  282. s//\1/
  283. q
  284. }
  285. /^X\(\/\/\)$/{
  286. s//\1/
  287. q
  288. }
  289. /^X\(\/\).*/{
  290. s//\1/
  291. q
  292. }
  293. s/.*/./; q'`
  294. test -d "$as_dir" && break
  295. done
  296. test -z "$as_dirs" || eval "mkdir $as_dirs"
  297. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  298. } # as_fn_mkdir_p
  299. # as_fn_append VAR VALUE
  300. # ----------------------
  301. # Append the text in VALUE to the end of the definition contained in VAR. Take
  302. # advantage of any shell optimizations that allow amortized linear growth over
  303. # repeated appends, instead of the typical quadratic growth present in naive
  304. # implementations.
  305. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  306. eval 'as_fn_append ()
  307. {
  308. eval $1+=\$2
  309. }'
  310. else
  311. as_fn_append ()
  312. {
  313. eval $1=\$$1\$2
  314. }
  315. fi # as_fn_append
  316. # as_fn_arith ARG...
  317. # ------------------
  318. # Perform arithmetic evaluation on the ARGs, and store the result in the
  319. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  320. # must be portable across $(()) and expr.
  321. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  322. eval 'as_fn_arith ()
  323. {
  324. as_val=$(( $* ))
  325. }'
  326. else
  327. as_fn_arith ()
  328. {
  329. as_val=`expr "$@" || test $? -eq 1`
  330. }
  331. fi # as_fn_arith
  332. # as_fn_error ERROR [LINENO LOG_FD]
  333. # ---------------------------------
  334. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  335. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  336. # script with status $?, using 1 if that was 0.
  337. as_fn_error ()
  338. {
  339. as_status=$?; test $as_status -eq 0 && as_status=1
  340. if test "$3"; then
  341. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  342. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  343. fi
  344. $as_echo "$as_me: error: $1" >&2
  345. as_fn_exit $as_status
  346. } # as_fn_error
  347. if expr a : '\(a\)' >/dev/null 2>&1 &&
  348. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  349. as_expr=expr
  350. else
  351. as_expr=false
  352. fi
  353. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  354. as_basename=basename
  355. else
  356. as_basename=false
  357. fi
  358. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  359. as_dirname=dirname
  360. else
  361. as_dirname=false
  362. fi
  363. as_me=`$as_basename -- "$0" ||
  364. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  365. X"$0" : 'X\(//\)$' \| \
  366. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  367. $as_echo X/"$0" |
  368. sed '/^.*\/\([^/][^/]*\)\/*$/{
  369. s//\1/
  370. q
  371. }
  372. /^X\/\(\/\/\)$/{
  373. s//\1/
  374. q
  375. }
  376. /^X\/\(\/\).*/{
  377. s//\1/
  378. q
  379. }
  380. s/.*/./; q'`
  381. # Avoid depending upon Character Ranges.
  382. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  383. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  384. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  385. as_cr_digits='0123456789'
  386. as_cr_alnum=$as_cr_Letters$as_cr_digits
  387. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  388. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  389. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  390. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  391. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  392. sed -n '
  393. p
  394. /[$]LINENO/=
  395. ' <$as_myself |
  396. sed '
  397. s/[$]LINENO.*/&-/
  398. t lineno
  399. b
  400. :lineno
  401. N
  402. :loop
  403. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  404. t loop
  405. s/-\n.*//
  406. ' >$as_me.lineno &&
  407. chmod +x "$as_me.lineno" ||
  408. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  409. # Don't try to exec as it changes $[0], causing all sort of problems
  410. # (the dirname of $[0] is not the place where we might find the
  411. # original and so on. Autoconf is especially sensitive to this).
  412. . "./$as_me.lineno"
  413. # Exit status is that of the last command.
  414. exit
  415. }
  416. ECHO_C= ECHO_N= ECHO_T=
  417. case `echo -n x` in #(((((
  418. -n*)
  419. case `echo 'xy\c'` in
  420. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  421. xy) ECHO_C='\c';;
  422. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  423. ECHO_T=' ';;
  424. esac;;
  425. *)
  426. ECHO_N='-n';;
  427. esac
  428. rm -f conf$$ conf$$.exe conf$$.file
  429. if test -d conf$$.dir; then
  430. rm -f conf$$.dir/conf$$.file
  431. else
  432. rm -f conf$$.dir
  433. mkdir conf$$.dir 2>/dev/null
  434. fi
  435. if (echo >conf$$.file) 2>/dev/null; then
  436. if ln -s conf$$.file conf$$ 2>/dev/null; then
  437. as_ln_s='ln -s'
  438. # ... but there are two gotchas:
  439. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  440. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  441. # In both cases, we have to default to `cp -p'.
  442. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  443. as_ln_s='cp -p'
  444. elif ln conf$$.file conf$$ 2>/dev/null; then
  445. as_ln_s=ln
  446. else
  447. as_ln_s='cp -p'
  448. fi
  449. else
  450. as_ln_s='cp -p'
  451. fi
  452. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  453. rmdir conf$$.dir 2>/dev/null
  454. if mkdir -p . 2>/dev/null; then
  455. as_mkdir_p='mkdir -p "$as_dir"'
  456. else
  457. test -d ./-p && rmdir ./-p
  458. as_mkdir_p=false
  459. fi
  460. if test -x / >/dev/null 2>&1; then
  461. as_test_x='test -x'
  462. else
  463. if ls -dL / >/dev/null 2>&1; then
  464. as_ls_L_option=L
  465. else
  466. as_ls_L_option=
  467. fi
  468. as_test_x='
  469. eval sh -c '\''
  470. if test -d "$1"; then
  471. test -d "$1/.";
  472. else
  473. case $1 in #(
  474. -*)set "./$1";;
  475. esac;
  476. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  477. ???[sx]*):;;*)false;;esac;fi
  478. '\'' sh
  479. '
  480. fi
  481. as_executable_p=$as_test_x
  482. # Sed expression to map a string onto a valid CPP name.
  483. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  484. # Sed expression to map a string onto a valid variable name.
  485. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  486. exec 7<&0 </dev/null 6>&1
  487. # Name of the host.
  488. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  489. # so uname gets run too.
  490. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  491. #
  492. # Initializations.
  493. #
  494. ac_default_prefix=/usr/local
  495. ac_clean_files=
  496. ac_config_libobj_dir=.
  497. LIBOBJS=
  498. cross_compiling=no
  499. subdirs=
  500. MFLAGS=
  501. MAKEFLAGS=
  502. # Identity of this package.
  503. PACKAGE_NAME='bind'
  504. PACKAGE_TARNAME='bind'
  505. PACKAGE_VERSION='10.0.0'
  506. PACKAGE_STRING='bind 10.0.0'
  507. PACKAGE_BUGREPORT='bind10-bugs@isc.org'
  508. PACKAGE_URL=''
  509. ac_unique_file="README"
  510. # Factoring default headers for most tests.
  511. ac_includes_default="\
  512. #include <stdio.h>
  513. #ifdef HAVE_SYS_TYPES_H
  514. # include <sys/types.h>
  515. #endif
  516. #ifdef HAVE_SYS_STAT_H
  517. # include <sys/stat.h>
  518. #endif
  519. #ifdef STDC_HEADERS
  520. # include <stdlib.h>
  521. # include <stddef.h>
  522. #else
  523. # ifdef HAVE_STDLIB_H
  524. # include <stdlib.h>
  525. # endif
  526. #endif
  527. #ifdef HAVE_STRING_H
  528. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  529. # include <memory.h>
  530. # endif
  531. # include <string.h>
  532. #endif
  533. #ifdef HAVE_STRINGS_H
  534. # include <strings.h>
  535. #endif
  536. #ifdef HAVE_INTTYPES_H
  537. # include <inttypes.h>
  538. #endif
  539. #ifdef HAVE_STDINT_H
  540. # include <stdint.h>
  541. #endif
  542. #ifdef HAVE_UNISTD_H
  543. # include <unistd.h>
  544. #endif"
  545. ac_subst_vars='am__EXEEXT_FALSE
  546. am__EXEEXT_TRUE
  547. LTLIBOBJS
  548. LIBOBJS
  549. GTEST_LDADD
  550. GTEST_LDFLAGS
  551. GTEST_INCLUDES
  552. HAVE_GTEST_FALSE
  553. HAVE_GTEST_TRUE
  554. EGREP
  555. GREP
  556. CPP
  557. RANLIB
  558. am__fastdepCC_FALSE
  559. am__fastdepCC_TRUE
  560. CCDEPMODE
  561. ac_ct_CC
  562. CFLAGS
  563. CC
  564. am__fastdepCXX_FALSE
  565. am__fastdepCXX_TRUE
  566. CXXDEPMODE
  567. AMDEPBACKSLASH
  568. AMDEP_FALSE
  569. AMDEP_TRUE
  570. am__quote
  571. am__include
  572. DEPDIR
  573. OBJEXT
  574. EXEEXT
  575. ac_ct_CXX
  576. CPPFLAGS
  577. LDFLAGS
  578. CXXFLAGS
  579. CXX
  580. am__untar
  581. am__tar
  582. AMTAR
  583. am__leading_dot
  584. SET_MAKE
  585. AWK
  586. mkdir_p
  587. MKDIR_P
  588. INSTALL_STRIP_PROGRAM
  589. STRIP
  590. install_sh
  591. MAKEINFO
  592. AUTOHEADER
  593. AUTOMAKE
  594. AUTOCONF
  595. ACLOCAL
  596. VERSION
  597. PACKAGE
  598. CYGPATH_W
  599. am__isrc
  600. INSTALL_DATA
  601. INSTALL_SCRIPT
  602. INSTALL_PROGRAM
  603. target_alias
  604. host_alias
  605. build_alias
  606. LIBS
  607. ECHO_T
  608. ECHO_N
  609. ECHO_C
  610. DEFS
  611. mandir
  612. localedir
  613. libdir
  614. psdir
  615. pdfdir
  616. dvidir
  617. htmldir
  618. infodir
  619. docdir
  620. oldincludedir
  621. includedir
  622. localstatedir
  623. sharedstatedir
  624. sysconfdir
  625. datadir
  626. datarootdir
  627. libexecdir
  628. sbindir
  629. bindir
  630. program_transform_name
  631. prefix
  632. exec_prefix
  633. PACKAGE_URL
  634. PACKAGE_BUGREPORT
  635. PACKAGE_STRING
  636. PACKAGE_VERSION
  637. PACKAGE_TARNAME
  638. PACKAGE_NAME
  639. PATH_SEPARATOR
  640. SHELL'
  641. ac_subst_files=''
  642. ac_user_opts='
  643. enable_option_checking
  644. enable_dependency_tracking
  645. with_boost
  646. with_gtest
  647. '
  648. ac_precious_vars='build_alias
  649. host_alias
  650. target_alias
  651. CXX
  652. CXXFLAGS
  653. LDFLAGS
  654. LIBS
  655. CPPFLAGS
  656. CCC
  657. CC
  658. CFLAGS
  659. CPP'
  660. # Initialize some variables set by options.
  661. ac_init_help=
  662. ac_init_version=false
  663. ac_unrecognized_opts=
  664. ac_unrecognized_sep=
  665. # The variables have the same names as the options, with
  666. # dashes changed to underlines.
  667. cache_file=/dev/null
  668. exec_prefix=NONE
  669. no_create=
  670. no_recursion=
  671. prefix=NONE
  672. program_prefix=NONE
  673. program_suffix=NONE
  674. program_transform_name=s,x,x,
  675. silent=
  676. site=
  677. srcdir=
  678. verbose=
  679. x_includes=NONE
  680. x_libraries=NONE
  681. # Installation directory options.
  682. # These are left unexpanded so users can "make install exec_prefix=/foo"
  683. # and all the variables that are supposed to be based on exec_prefix
  684. # by default will actually change.
  685. # Use braces instead of parens because sh, perl, etc. also accept them.
  686. # (The list follows the same order as the GNU Coding Standards.)
  687. bindir='${exec_prefix}/bin'
  688. sbindir='${exec_prefix}/sbin'
  689. libexecdir='${exec_prefix}/libexec'
  690. datarootdir='${prefix}/share'
  691. datadir='${datarootdir}'
  692. sysconfdir='${prefix}/etc'
  693. sharedstatedir='${prefix}/com'
  694. localstatedir='${prefix}/var'
  695. includedir='${prefix}/include'
  696. oldincludedir='/usr/include'
  697. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  698. infodir='${datarootdir}/info'
  699. htmldir='${docdir}'
  700. dvidir='${docdir}'
  701. pdfdir='${docdir}'
  702. psdir='${docdir}'
  703. libdir='${exec_prefix}/lib'
  704. localedir='${datarootdir}/locale'
  705. mandir='${datarootdir}/man'
  706. ac_prev=
  707. ac_dashdash=
  708. for ac_option
  709. do
  710. # If the previous option needs an argument, assign it.
  711. if test -n "$ac_prev"; then
  712. eval $ac_prev=\$ac_option
  713. ac_prev=
  714. continue
  715. fi
  716. case $ac_option in
  717. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  718. *) ac_optarg=yes ;;
  719. esac
  720. # Accept the important Cygnus configure options, so we can diagnose typos.
  721. case $ac_dashdash$ac_option in
  722. --)
  723. ac_dashdash=yes ;;
  724. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  725. ac_prev=bindir ;;
  726. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  727. bindir=$ac_optarg ;;
  728. -build | --build | --buil | --bui | --bu)
  729. ac_prev=build_alias ;;
  730. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  731. build_alias=$ac_optarg ;;
  732. -cache-file | --cache-file | --cache-fil | --cache-fi \
  733. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  734. ac_prev=cache_file ;;
  735. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  736. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  737. cache_file=$ac_optarg ;;
  738. --config-cache | -C)
  739. cache_file=config.cache ;;
  740. -datadir | --datadir | --datadi | --datad)
  741. ac_prev=datadir ;;
  742. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  743. datadir=$ac_optarg ;;
  744. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  745. | --dataroo | --dataro | --datar)
  746. ac_prev=datarootdir ;;
  747. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  748. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  749. datarootdir=$ac_optarg ;;
  750. -disable-* | --disable-*)
  751. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  752. # Reject names that are not valid shell variable names.
  753. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  754. as_fn_error "invalid feature name: $ac_useropt"
  755. ac_useropt_orig=$ac_useropt
  756. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  757. case $ac_user_opts in
  758. *"
  759. "enable_$ac_useropt"
  760. "*) ;;
  761. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  762. ac_unrecognized_sep=', ';;
  763. esac
  764. eval enable_$ac_useropt=no ;;
  765. -docdir | --docdir | --docdi | --doc | --do)
  766. ac_prev=docdir ;;
  767. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  768. docdir=$ac_optarg ;;
  769. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  770. ac_prev=dvidir ;;
  771. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  772. dvidir=$ac_optarg ;;
  773. -enable-* | --enable-*)
  774. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  775. # Reject names that are not valid shell variable names.
  776. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  777. as_fn_error "invalid feature name: $ac_useropt"
  778. ac_useropt_orig=$ac_useropt
  779. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  780. case $ac_user_opts in
  781. *"
  782. "enable_$ac_useropt"
  783. "*) ;;
  784. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  785. ac_unrecognized_sep=', ';;
  786. esac
  787. eval enable_$ac_useropt=\$ac_optarg ;;
  788. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  789. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  790. | --exec | --exe | --ex)
  791. ac_prev=exec_prefix ;;
  792. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  793. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  794. | --exec=* | --exe=* | --ex=*)
  795. exec_prefix=$ac_optarg ;;
  796. -gas | --gas | --ga | --g)
  797. # Obsolete; use --with-gas.
  798. with_gas=yes ;;
  799. -help | --help | --hel | --he | -h)
  800. ac_init_help=long ;;
  801. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  802. ac_init_help=recursive ;;
  803. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  804. ac_init_help=short ;;
  805. -host | --host | --hos | --ho)
  806. ac_prev=host_alias ;;
  807. -host=* | --host=* | --hos=* | --ho=*)
  808. host_alias=$ac_optarg ;;
  809. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  810. ac_prev=htmldir ;;
  811. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  812. | --ht=*)
  813. htmldir=$ac_optarg ;;
  814. -includedir | --includedir | --includedi | --included | --include \
  815. | --includ | --inclu | --incl | --inc)
  816. ac_prev=includedir ;;
  817. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  818. | --includ=* | --inclu=* | --incl=* | --inc=*)
  819. includedir=$ac_optarg ;;
  820. -infodir | --infodir | --infodi | --infod | --info | --inf)
  821. ac_prev=infodir ;;
  822. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  823. infodir=$ac_optarg ;;
  824. -libdir | --libdir | --libdi | --libd)
  825. ac_prev=libdir ;;
  826. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  827. libdir=$ac_optarg ;;
  828. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  829. | --libexe | --libex | --libe)
  830. ac_prev=libexecdir ;;
  831. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  832. | --libexe=* | --libex=* | --libe=*)
  833. libexecdir=$ac_optarg ;;
  834. -localedir | --localedir | --localedi | --localed | --locale)
  835. ac_prev=localedir ;;
  836. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  837. localedir=$ac_optarg ;;
  838. -localstatedir | --localstatedir | --localstatedi | --localstated \
  839. | --localstate | --localstat | --localsta | --localst | --locals)
  840. ac_prev=localstatedir ;;
  841. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  842. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  843. localstatedir=$ac_optarg ;;
  844. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  845. ac_prev=mandir ;;
  846. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  847. mandir=$ac_optarg ;;
  848. -nfp | --nfp | --nf)
  849. # Obsolete; use --without-fp.
  850. with_fp=no ;;
  851. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  852. | --no-cr | --no-c | -n)
  853. no_create=yes ;;
  854. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  855. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  856. no_recursion=yes ;;
  857. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  858. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  859. | --oldin | --oldi | --old | --ol | --o)
  860. ac_prev=oldincludedir ;;
  861. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  862. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  863. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  864. oldincludedir=$ac_optarg ;;
  865. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  866. ac_prev=prefix ;;
  867. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  868. prefix=$ac_optarg ;;
  869. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  870. | --program-pre | --program-pr | --program-p)
  871. ac_prev=program_prefix ;;
  872. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  873. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  874. program_prefix=$ac_optarg ;;
  875. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  876. | --program-suf | --program-su | --program-s)
  877. ac_prev=program_suffix ;;
  878. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  879. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  880. program_suffix=$ac_optarg ;;
  881. -program-transform-name | --program-transform-name \
  882. | --program-transform-nam | --program-transform-na \
  883. | --program-transform-n | --program-transform- \
  884. | --program-transform | --program-transfor \
  885. | --program-transfo | --program-transf \
  886. | --program-trans | --program-tran \
  887. | --progr-tra | --program-tr | --program-t)
  888. ac_prev=program_transform_name ;;
  889. -program-transform-name=* | --program-transform-name=* \
  890. | --program-transform-nam=* | --program-transform-na=* \
  891. | --program-transform-n=* | --program-transform-=* \
  892. | --program-transform=* | --program-transfor=* \
  893. | --program-transfo=* | --program-transf=* \
  894. | --program-trans=* | --program-tran=* \
  895. | --progr-tra=* | --program-tr=* | --program-t=*)
  896. program_transform_name=$ac_optarg ;;
  897. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  898. ac_prev=pdfdir ;;
  899. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  900. pdfdir=$ac_optarg ;;
  901. -psdir | --psdir | --psdi | --psd | --ps)
  902. ac_prev=psdir ;;
  903. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  904. psdir=$ac_optarg ;;
  905. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  906. | -silent | --silent | --silen | --sile | --sil)
  907. silent=yes ;;
  908. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  909. ac_prev=sbindir ;;
  910. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  911. | --sbi=* | --sb=*)
  912. sbindir=$ac_optarg ;;
  913. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  914. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  915. | --sharedst | --shareds | --shared | --share | --shar \
  916. | --sha | --sh)
  917. ac_prev=sharedstatedir ;;
  918. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  919. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  920. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  921. | --sha=* | --sh=*)
  922. sharedstatedir=$ac_optarg ;;
  923. -site | --site | --sit)
  924. ac_prev=site ;;
  925. -site=* | --site=* | --sit=*)
  926. site=$ac_optarg ;;
  927. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  928. ac_prev=srcdir ;;
  929. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  930. srcdir=$ac_optarg ;;
  931. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  932. | --syscon | --sysco | --sysc | --sys | --sy)
  933. ac_prev=sysconfdir ;;
  934. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  935. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  936. sysconfdir=$ac_optarg ;;
  937. -target | --target | --targe | --targ | --tar | --ta | --t)
  938. ac_prev=target_alias ;;
  939. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  940. target_alias=$ac_optarg ;;
  941. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  942. verbose=yes ;;
  943. -version | --version | --versio | --versi | --vers | -V)
  944. ac_init_version=: ;;
  945. -with-* | --with-*)
  946. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  947. # Reject names that are not valid shell variable names.
  948. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  949. as_fn_error "invalid package name: $ac_useropt"
  950. ac_useropt_orig=$ac_useropt
  951. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  952. case $ac_user_opts in
  953. *"
  954. "with_$ac_useropt"
  955. "*) ;;
  956. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  957. ac_unrecognized_sep=', ';;
  958. esac
  959. eval with_$ac_useropt=\$ac_optarg ;;
  960. -without-* | --without-*)
  961. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  962. # Reject names that are not valid shell variable names.
  963. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  964. as_fn_error "invalid package name: $ac_useropt"
  965. ac_useropt_orig=$ac_useropt
  966. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  967. case $ac_user_opts in
  968. *"
  969. "with_$ac_useropt"
  970. "*) ;;
  971. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  972. ac_unrecognized_sep=', ';;
  973. esac
  974. eval with_$ac_useropt=no ;;
  975. --x)
  976. # Obsolete; use --with-x.
  977. with_x=yes ;;
  978. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  979. | --x-incl | --x-inc | --x-in | --x-i)
  980. ac_prev=x_includes ;;
  981. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  982. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  983. x_includes=$ac_optarg ;;
  984. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  985. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  986. ac_prev=x_libraries ;;
  987. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  988. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  989. x_libraries=$ac_optarg ;;
  990. -*) as_fn_error "unrecognized option: \`$ac_option'
  991. Try \`$0 --help' for more information."
  992. ;;
  993. *=*)
  994. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  995. # Reject names that are not valid shell variable names.
  996. case $ac_envvar in #(
  997. '' | [0-9]* | *[!_$as_cr_alnum]* )
  998. as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  999. esac
  1000. eval $ac_envvar=\$ac_optarg
  1001. export $ac_envvar ;;
  1002. *)
  1003. # FIXME: should be removed in autoconf 3.0.
  1004. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1005. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1006. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1007. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1008. ;;
  1009. esac
  1010. done
  1011. if test -n "$ac_prev"; then
  1012. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1013. as_fn_error "missing argument to $ac_option"
  1014. fi
  1015. if test -n "$ac_unrecognized_opts"; then
  1016. case $enable_option_checking in
  1017. no) ;;
  1018. fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1019. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1020. esac
  1021. fi
  1022. # Check all directory arguments for consistency.
  1023. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1024. datadir sysconfdir sharedstatedir localstatedir includedir \
  1025. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1026. libdir localedir mandir
  1027. do
  1028. eval ac_val=\$$ac_var
  1029. # Remove trailing slashes.
  1030. case $ac_val in
  1031. */ )
  1032. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1033. eval $ac_var=\$ac_val;;
  1034. esac
  1035. # Be sure to have absolute directory names.
  1036. case $ac_val in
  1037. [\\/$]* | ?:[\\/]* ) continue;;
  1038. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1039. esac
  1040. as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1041. done
  1042. # There might be people who depend on the old broken behavior: `$host'
  1043. # used to hold the argument of --host etc.
  1044. # FIXME: To remove some day.
  1045. build=$build_alias
  1046. host=$host_alias
  1047. target=$target_alias
  1048. # FIXME: To remove some day.
  1049. if test "x$host_alias" != x; then
  1050. if test "x$build_alias" = x; then
  1051. cross_compiling=maybe
  1052. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1053. If a cross compiler is detected then cross compile mode will be used." >&2
  1054. elif test "x$build_alias" != "x$host_alias"; then
  1055. cross_compiling=yes
  1056. fi
  1057. fi
  1058. ac_tool_prefix=
  1059. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1060. test "$silent" = yes && exec 6>/dev/null
  1061. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1062. ac_ls_di=`ls -di .` &&
  1063. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1064. as_fn_error "working directory cannot be determined"
  1065. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1066. as_fn_error "pwd does not report name of working directory"
  1067. # Find the source files, if location was not specified.
  1068. if test -z "$srcdir"; then
  1069. ac_srcdir_defaulted=yes
  1070. # Try the directory containing this script, then the parent directory.
  1071. ac_confdir=`$as_dirname -- "$as_myself" ||
  1072. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1073. X"$as_myself" : 'X\(//\)[^/]' \| \
  1074. X"$as_myself" : 'X\(//\)$' \| \
  1075. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1076. $as_echo X"$as_myself" |
  1077. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1078. s//\1/
  1079. q
  1080. }
  1081. /^X\(\/\/\)[^/].*/{
  1082. s//\1/
  1083. q
  1084. }
  1085. /^X\(\/\/\)$/{
  1086. s//\1/
  1087. q
  1088. }
  1089. /^X\(\/\).*/{
  1090. s//\1/
  1091. q
  1092. }
  1093. s/.*/./; q'`
  1094. srcdir=$ac_confdir
  1095. if test ! -r "$srcdir/$ac_unique_file"; then
  1096. srcdir=..
  1097. fi
  1098. else
  1099. ac_srcdir_defaulted=no
  1100. fi
  1101. if test ! -r "$srcdir/$ac_unique_file"; then
  1102. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1103. as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1104. fi
  1105. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1106. ac_abs_confdir=`(
  1107. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1108. pwd)`
  1109. # When building in place, set srcdir=.
  1110. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1111. srcdir=.
  1112. fi
  1113. # Remove unnecessary trailing slashes from srcdir.
  1114. # Double slashes in file names in object file debugging info
  1115. # mess up M-x gdb in Emacs.
  1116. case $srcdir in
  1117. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1118. esac
  1119. for ac_var in $ac_precious_vars; do
  1120. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1121. eval ac_env_${ac_var}_value=\$${ac_var}
  1122. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1123. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1124. done
  1125. #
  1126. # Report the --help message.
  1127. #
  1128. if test "$ac_init_help" = "long"; then
  1129. # Omit some internal or obsolete options to make the list less imposing.
  1130. # This message is too long to be a string in the A/UX 3.1 sh.
  1131. cat <<_ACEOF
  1132. \`configure' configures bind 10.0.0 to adapt to many kinds of systems.
  1133. Usage: $0 [OPTION]... [VAR=VALUE]...
  1134. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1135. VAR=VALUE. See below for descriptions of some of the useful variables.
  1136. Defaults for the options are specified in brackets.
  1137. Configuration:
  1138. -h, --help display this help and exit
  1139. --help=short display options specific to this package
  1140. --help=recursive display the short help of all the included packages
  1141. -V, --version display version information and exit
  1142. -q, --quiet, --silent do not print \`checking...' messages
  1143. --cache-file=FILE cache test results in FILE [disabled]
  1144. -C, --config-cache alias for \`--cache-file=config.cache'
  1145. -n, --no-create do not create output files
  1146. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1147. Installation directories:
  1148. --prefix=PREFIX install architecture-independent files in PREFIX
  1149. [$ac_default_prefix]
  1150. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1151. [PREFIX]
  1152. By default, \`make install' will install all the files in
  1153. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1154. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1155. for instance \`--prefix=\$HOME'.
  1156. For better control, use the options below.
  1157. Fine tuning of the installation directories:
  1158. --bindir=DIR user executables [EPREFIX/bin]
  1159. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1160. --libexecdir=DIR program executables [EPREFIX/libexec]
  1161. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1162. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1163. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1164. --libdir=DIR object code libraries [EPREFIX/lib]
  1165. --includedir=DIR C header files [PREFIX/include]
  1166. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1167. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1168. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1169. --infodir=DIR info documentation [DATAROOTDIR/info]
  1170. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1171. --mandir=DIR man documentation [DATAROOTDIR/man]
  1172. --docdir=DIR documentation root [DATAROOTDIR/doc/bind]
  1173. --htmldir=DIR html documentation [DOCDIR]
  1174. --dvidir=DIR dvi documentation [DOCDIR]
  1175. --pdfdir=DIR pdf documentation [DOCDIR]
  1176. --psdir=DIR ps documentation [DOCDIR]
  1177. _ACEOF
  1178. cat <<\_ACEOF
  1179. Program names:
  1180. --program-prefix=PREFIX prepend PREFIX to installed program names
  1181. --program-suffix=SUFFIX append SUFFIX to installed program names
  1182. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1183. _ACEOF
  1184. fi
  1185. if test -n "$ac_init_help"; then
  1186. case $ac_init_help in
  1187. short | recursive ) echo "Configuration of bind 10.0.0:";;
  1188. esac
  1189. cat <<\_ACEOF
  1190. Optional Features:
  1191. --disable-option-checking ignore unrecognized --enable/--with options
  1192. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1193. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1194. --disable-dependency-tracking speeds up one-time build
  1195. --enable-dependency-tracking do not reject slow dependency extractors
  1196. Optional Packages:
  1197. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1198. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1199. --with-boost=PATH specify a path to the boost if it's not automatically found
  1200. --with-gtest=PATH specify a path to Gtest header files (PATH/include) and library (PATH/lib)
  1201. Some influential environment variables:
  1202. CXX C++ compiler command
  1203. CXXFLAGS C++ compiler flags
  1204. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1205. nonstandard directory <lib dir>
  1206. LIBS libraries to pass to the linker, e.g. -l<library>
  1207. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1208. you have headers in a nonstandard directory <include dir>
  1209. CC C compiler command
  1210. CFLAGS C compiler flags
  1211. CPP C preprocessor
  1212. Use these variables to override the choices made by `configure' or to help
  1213. it to find libraries and programs with nonstandard names/locations.
  1214. Report bugs to <bind10-bugs@isc.org>.
  1215. _ACEOF
  1216. ac_status=$?
  1217. fi
  1218. if test "$ac_init_help" = "recursive"; then
  1219. # If there are subdirs, report their specific --help.
  1220. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1221. test -d "$ac_dir" ||
  1222. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1223. continue
  1224. ac_builddir=.
  1225. case "$ac_dir" in
  1226. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1227. *)
  1228. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1229. # A ".." for each directory in $ac_dir_suffix.
  1230. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1231. case $ac_top_builddir_sub in
  1232. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1233. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1234. esac ;;
  1235. esac
  1236. ac_abs_top_builddir=$ac_pwd
  1237. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1238. # for backward compatibility:
  1239. ac_top_builddir=$ac_top_build_prefix
  1240. case $srcdir in
  1241. .) # We are building in place.
  1242. ac_srcdir=.
  1243. ac_top_srcdir=$ac_top_builddir_sub
  1244. ac_abs_top_srcdir=$ac_pwd ;;
  1245. [\\/]* | ?:[\\/]* ) # Absolute name.
  1246. ac_srcdir=$srcdir$ac_dir_suffix;
  1247. ac_top_srcdir=$srcdir
  1248. ac_abs_top_srcdir=$srcdir ;;
  1249. *) # Relative name.
  1250. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1251. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1252. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1253. esac
  1254. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1255. cd "$ac_dir" || { ac_status=$?; continue; }
  1256. # Check for guested configure.
  1257. if test -f "$ac_srcdir/configure.gnu"; then
  1258. echo &&
  1259. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1260. elif test -f "$ac_srcdir/configure"; then
  1261. echo &&
  1262. $SHELL "$ac_srcdir/configure" --help=recursive
  1263. else
  1264. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1265. fi || ac_status=$?
  1266. cd "$ac_pwd" || { ac_status=$?; break; }
  1267. done
  1268. fi
  1269. test -n "$ac_init_help" && exit $ac_status
  1270. if $ac_init_version; then
  1271. cat <<\_ACEOF
  1272. bind configure 10.0.0
  1273. generated by GNU Autoconf 2.64
  1274. Copyright (C) 2009 Free Software Foundation, Inc.
  1275. This configure script is free software; the Free Software Foundation
  1276. gives unlimited permission to copy, distribute and modify it.
  1277. _ACEOF
  1278. exit
  1279. fi
  1280. ## ------------------------ ##
  1281. ## Autoconf initialization. ##
  1282. ## ------------------------ ##
  1283. # ac_fn_cxx_try_compile LINENO
  1284. # ----------------------------
  1285. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1286. ac_fn_cxx_try_compile ()
  1287. {
  1288. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1289. rm -f conftest.$ac_objext
  1290. if { { ac_try="$ac_compile"
  1291. case "(($ac_try" in
  1292. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1293. *) ac_try_echo=$ac_try;;
  1294. esac
  1295. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1296. $as_echo "$ac_try_echo"; } >&5
  1297. (eval "$ac_compile") 2>conftest.err
  1298. ac_status=$?
  1299. if test -s conftest.err; then
  1300. grep -v '^ *+' conftest.err >conftest.er1
  1301. cat conftest.er1 >&5
  1302. mv -f conftest.er1 conftest.err
  1303. fi
  1304. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1305. test $ac_status = 0; } && {
  1306. test -z "$ac_cxx_werror_flag" ||
  1307. test ! -s conftest.err
  1308. } && test -s conftest.$ac_objext; then :
  1309. ac_retval=0
  1310. else
  1311. $as_echo "$as_me: failed program was:" >&5
  1312. sed 's/^/| /' conftest.$ac_ext >&5
  1313. ac_retval=1
  1314. fi
  1315. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1316. return $ac_retval
  1317. } # ac_fn_cxx_try_compile
  1318. # ac_fn_c_try_compile LINENO
  1319. # --------------------------
  1320. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1321. ac_fn_c_try_compile ()
  1322. {
  1323. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1324. rm -f conftest.$ac_objext
  1325. if { { ac_try="$ac_compile"
  1326. case "(($ac_try" in
  1327. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1328. *) ac_try_echo=$ac_try;;
  1329. esac
  1330. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1331. $as_echo "$ac_try_echo"; } >&5
  1332. (eval "$ac_compile") 2>conftest.err
  1333. ac_status=$?
  1334. if test -s conftest.err; then
  1335. grep -v '^ *+' conftest.err >conftest.er1
  1336. cat conftest.er1 >&5
  1337. mv -f conftest.er1 conftest.err
  1338. fi
  1339. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1340. test $ac_status = 0; } && {
  1341. test -z "$ac_c_werror_flag" ||
  1342. test ! -s conftest.err
  1343. } && test -s conftest.$ac_objext; then :
  1344. ac_retval=0
  1345. else
  1346. $as_echo "$as_me: failed program was:" >&5
  1347. sed 's/^/| /' conftest.$ac_ext >&5
  1348. ac_retval=1
  1349. fi
  1350. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1351. return $ac_retval
  1352. } # ac_fn_c_try_compile
  1353. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1354. # -------------------------------------------
  1355. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1356. # variable VAR accordingly.
  1357. ac_fn_c_check_type ()
  1358. {
  1359. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1361. $as_echo_n "checking for $2... " >&6; }
  1362. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1363. $as_echo_n "(cached) " >&6
  1364. else
  1365. eval "$3=no"
  1366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1367. /* end confdefs.h. */
  1368. $4
  1369. int
  1370. main ()
  1371. {
  1372. if (sizeof ($2))
  1373. return 0;
  1374. ;
  1375. return 0;
  1376. }
  1377. _ACEOF
  1378. if ac_fn_c_try_compile "$LINENO"; then :
  1379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1380. /* end confdefs.h. */
  1381. $4
  1382. int
  1383. main ()
  1384. {
  1385. if (sizeof (($2)))
  1386. return 0;
  1387. ;
  1388. return 0;
  1389. }
  1390. _ACEOF
  1391. if ac_fn_c_try_compile "$LINENO"; then :
  1392. else
  1393. eval "$3=yes"
  1394. fi
  1395. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1396. fi
  1397. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1398. fi
  1399. eval ac_res=\$$3
  1400. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1401. $as_echo "$ac_res" >&6; }
  1402. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1403. } # ac_fn_c_check_type
  1404. # ac_fn_c_try_cpp LINENO
  1405. # ----------------------
  1406. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1407. ac_fn_c_try_cpp ()
  1408. {
  1409. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1410. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1411. case "(($ac_try" in
  1412. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1413. *) ac_try_echo=$ac_try;;
  1414. esac
  1415. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1416. $as_echo "$ac_try_echo"; } >&5
  1417. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1418. ac_status=$?
  1419. if test -s conftest.err; then
  1420. grep -v '^ *+' conftest.err >conftest.er1
  1421. cat conftest.er1 >&5
  1422. mv -f conftest.er1 conftest.err
  1423. fi
  1424. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1425. test $ac_status = 0; } >/dev/null && {
  1426. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1427. test ! -s conftest.err
  1428. }; then :
  1429. ac_retval=0
  1430. else
  1431. $as_echo "$as_me: failed program was:" >&5
  1432. sed 's/^/| /' conftest.$ac_ext >&5
  1433. ac_retval=1
  1434. fi
  1435. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1436. return $ac_retval
  1437. } # ac_fn_c_try_cpp
  1438. # ac_fn_c_try_run LINENO
  1439. # ----------------------
  1440. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1441. # that executables *can* be run.
  1442. ac_fn_c_try_run ()
  1443. {
  1444. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1445. if { { ac_try="$ac_link"
  1446. case "(($ac_try" in
  1447. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1448. *) ac_try_echo=$ac_try;;
  1449. esac
  1450. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1451. $as_echo "$ac_try_echo"; } >&5
  1452. (eval "$ac_link") 2>&5
  1453. ac_status=$?
  1454. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1455. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1456. { { case "(($ac_try" in
  1457. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1458. *) ac_try_echo=$ac_try;;
  1459. esac
  1460. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1461. $as_echo "$ac_try_echo"; } >&5
  1462. (eval "$ac_try") 2>&5
  1463. ac_status=$?
  1464. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1465. test $ac_status = 0; }; }; then :
  1466. ac_retval=0
  1467. else
  1468. $as_echo "$as_me: program exited with status $ac_status" >&5
  1469. $as_echo "$as_me: failed program was:" >&5
  1470. sed 's/^/| /' conftest.$ac_ext >&5
  1471. ac_retval=$ac_status
  1472. fi
  1473. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1474. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1475. return $ac_retval
  1476. } # ac_fn_c_try_run
  1477. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1478. # -------------------------------------------------------
  1479. # Tests whether HEADER exists and can be compiled using the include files in
  1480. # INCLUDES, setting the cache variable VAR accordingly.
  1481. ac_fn_c_check_header_compile ()
  1482. {
  1483. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1485. $as_echo_n "checking for $2... " >&6; }
  1486. if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1487. $as_echo_n "(cached) " >&6
  1488. else
  1489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1490. /* end confdefs.h. */
  1491. $4
  1492. #include <$2>
  1493. _ACEOF
  1494. if ac_fn_c_try_compile "$LINENO"; then :
  1495. eval "$3=yes"
  1496. else
  1497. eval "$3=no"
  1498. fi
  1499. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1500. fi
  1501. eval ac_res=\$$3
  1502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1503. $as_echo "$ac_res" >&6; }
  1504. eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1505. } # ac_fn_c_check_header_compile
  1506. cat >config.log <<_ACEOF
  1507. This file contains any messages produced by compilers while
  1508. running configure, to aid debugging if configure makes a mistake.
  1509. It was created by bind $as_me 10.0.0, which was
  1510. generated by GNU Autoconf 2.64. Invocation command line was
  1511. $ $0 $@
  1512. _ACEOF
  1513. exec 5>>config.log
  1514. {
  1515. cat <<_ASUNAME
  1516. ## --------- ##
  1517. ## Platform. ##
  1518. ## --------- ##
  1519. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1520. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1521. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1522. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1523. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1524. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1525. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1526. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1527. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1528. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1529. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1530. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1531. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1532. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1533. _ASUNAME
  1534. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1535. for as_dir in $PATH
  1536. do
  1537. IFS=$as_save_IFS
  1538. test -z "$as_dir" && as_dir=.
  1539. $as_echo "PATH: $as_dir"
  1540. done
  1541. IFS=$as_save_IFS
  1542. } >&5
  1543. cat >&5 <<_ACEOF
  1544. ## ----------- ##
  1545. ## Core tests. ##
  1546. ## ----------- ##
  1547. _ACEOF
  1548. # Keep a trace of the command line.
  1549. # Strip out --no-create and --no-recursion so they do not pile up.
  1550. # Strip out --silent because we don't want to record it for future runs.
  1551. # Also quote any args containing shell meta-characters.
  1552. # Make two passes to allow for proper duplicate-argument suppression.
  1553. ac_configure_args=
  1554. ac_configure_args0=
  1555. ac_configure_args1=
  1556. ac_must_keep_next=false
  1557. for ac_pass in 1 2
  1558. do
  1559. for ac_arg
  1560. do
  1561. case $ac_arg in
  1562. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1563. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1564. | -silent | --silent | --silen | --sile | --sil)
  1565. continue ;;
  1566. *\'*)
  1567. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1568. esac
  1569. case $ac_pass in
  1570. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1571. 2)
  1572. as_fn_append ac_configure_args1 " '$ac_arg'"
  1573. if test $ac_must_keep_next = true; then
  1574. ac_must_keep_next=false # Got value, back to normal.
  1575. else
  1576. case $ac_arg in
  1577. *=* | --config-cache | -C | -disable-* | --disable-* \
  1578. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1579. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1580. | -with-* | --with-* | -without-* | --without-* | --x)
  1581. case "$ac_configure_args0 " in
  1582. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1583. esac
  1584. ;;
  1585. -* ) ac_must_keep_next=true ;;
  1586. esac
  1587. fi
  1588. as_fn_append ac_configure_args " '$ac_arg'"
  1589. ;;
  1590. esac
  1591. done
  1592. done
  1593. { ac_configure_args0=; unset ac_configure_args0;}
  1594. { ac_configure_args1=; unset ac_configure_args1;}
  1595. # When interrupted or exit'd, cleanup temporary files, and complete
  1596. # config.log. We remove comments because anyway the quotes in there
  1597. # would cause problems or look ugly.
  1598. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1599. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1600. trap 'exit_status=$?
  1601. # Save into config.log some information that might help in debugging.
  1602. {
  1603. echo
  1604. cat <<\_ASBOX
  1605. ## ---------------- ##
  1606. ## Cache variables. ##
  1607. ## ---------------- ##
  1608. _ASBOX
  1609. echo
  1610. # The following way of writing the cache mishandles newlines in values,
  1611. (
  1612. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1613. eval ac_val=\$$ac_var
  1614. case $ac_val in #(
  1615. *${as_nl}*)
  1616. case $ac_var in #(
  1617. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1618. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1619. esac
  1620. case $ac_var in #(
  1621. _ | IFS | as_nl) ;; #(
  1622. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1623. *) { eval $ac_var=; unset $ac_var;} ;;
  1624. esac ;;
  1625. esac
  1626. done
  1627. (set) 2>&1 |
  1628. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1629. *${as_nl}ac_space=\ *)
  1630. sed -n \
  1631. "s/'\''/'\''\\\\'\'''\''/g;
  1632. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1633. ;; #(
  1634. *)
  1635. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1636. ;;
  1637. esac |
  1638. sort
  1639. )
  1640. echo
  1641. cat <<\_ASBOX
  1642. ## ----------------- ##
  1643. ## Output variables. ##
  1644. ## ----------------- ##
  1645. _ASBOX
  1646. echo
  1647. for ac_var in $ac_subst_vars
  1648. do
  1649. eval ac_val=\$$ac_var
  1650. case $ac_val in
  1651. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1652. esac
  1653. $as_echo "$ac_var='\''$ac_val'\''"
  1654. done | sort
  1655. echo
  1656. if test -n "$ac_subst_files"; then
  1657. cat <<\_ASBOX
  1658. ## ------------------- ##
  1659. ## File substitutions. ##
  1660. ## ------------------- ##
  1661. _ASBOX
  1662. echo
  1663. for ac_var in $ac_subst_files
  1664. do
  1665. eval ac_val=\$$ac_var
  1666. case $ac_val in
  1667. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1668. esac
  1669. $as_echo "$ac_var='\''$ac_val'\''"
  1670. done | sort
  1671. echo
  1672. fi
  1673. if test -s confdefs.h; then
  1674. cat <<\_ASBOX
  1675. ## ----------- ##
  1676. ## confdefs.h. ##
  1677. ## ----------- ##
  1678. _ASBOX
  1679. echo
  1680. cat confdefs.h
  1681. echo
  1682. fi
  1683. test "$ac_signal" != 0 &&
  1684. $as_echo "$as_me: caught signal $ac_signal"
  1685. $as_echo "$as_me: exit $exit_status"
  1686. } >&5
  1687. rm -f core *.core core.conftest.* &&
  1688. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1689. exit $exit_status
  1690. ' 0
  1691. for ac_signal in 1 2 13 15; do
  1692. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1693. done
  1694. ac_signal=0
  1695. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1696. rm -f -r conftest* confdefs.h
  1697. $as_echo "/* confdefs.h */" > confdefs.h
  1698. # Predefined preprocessor variables.
  1699. cat >>confdefs.h <<_ACEOF
  1700. #define PACKAGE_NAME "$PACKAGE_NAME"
  1701. _ACEOF
  1702. cat >>confdefs.h <<_ACEOF
  1703. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1704. _ACEOF
  1705. cat >>confdefs.h <<_ACEOF
  1706. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1707. _ACEOF
  1708. cat >>confdefs.h <<_ACEOF
  1709. #define PACKAGE_STRING "$PACKAGE_STRING"
  1710. _ACEOF
  1711. cat >>confdefs.h <<_ACEOF
  1712. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1713. _ACEOF
  1714. cat >>confdefs.h <<_ACEOF
  1715. #define PACKAGE_URL "$PACKAGE_URL"
  1716. _ACEOF
  1717. # Let the site file select an alternate cache file if it wants to.
  1718. # Prefer an explicitly selected file to automatically selected ones.
  1719. ac_site_file1=NONE
  1720. ac_site_file2=NONE
  1721. if test -n "$CONFIG_SITE"; then
  1722. ac_site_file1=$CONFIG_SITE
  1723. elif test "x$prefix" != xNONE; then
  1724. ac_site_file1=$prefix/share/config.site
  1725. ac_site_file2=$prefix/etc/config.site
  1726. else
  1727. ac_site_file1=$ac_default_prefix/share/config.site
  1728. ac_site_file2=$ac_default_prefix/etc/config.site
  1729. fi
  1730. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1731. do
  1732. test "x$ac_site_file" = xNONE && continue
  1733. if test -r "$ac_site_file"; then
  1734. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1735. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1736. sed 's/^/| /' "$ac_site_file" >&5
  1737. . "$ac_site_file"
  1738. fi
  1739. done
  1740. if test -r "$cache_file"; then
  1741. # Some versions of bash will fail to source /dev/null (special
  1742. # files actually), so we avoid doing that.
  1743. if test -f "$cache_file"; then
  1744. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1745. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1746. case $cache_file in
  1747. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1748. *) . "./$cache_file";;
  1749. esac
  1750. fi
  1751. else
  1752. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1753. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1754. >$cache_file
  1755. fi
  1756. # Check that the precious variables saved in the cache have kept the same
  1757. # value.
  1758. ac_cache_corrupted=false
  1759. for ac_var in $ac_precious_vars; do
  1760. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1761. eval ac_new_set=\$ac_env_${ac_var}_set
  1762. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1763. eval ac_new_val=\$ac_env_${ac_var}_value
  1764. case $ac_old_set,$ac_new_set in
  1765. set,)
  1766. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1767. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1768. ac_cache_corrupted=: ;;
  1769. ,set)
  1770. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1771. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1772. ac_cache_corrupted=: ;;
  1773. ,);;
  1774. *)
  1775. if test "x$ac_old_val" != "x$ac_new_val"; then
  1776. # differences in whitespace do not lead to failure.
  1777. ac_old_val_w=`echo x $ac_old_val`
  1778. ac_new_val_w=`echo x $ac_new_val`
  1779. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1780. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1781. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1782. ac_cache_corrupted=:
  1783. else
  1784. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1785. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1786. eval $ac_var=\$ac_old_val
  1787. fi
  1788. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  1789. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1790. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  1791. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1792. fi;;
  1793. esac
  1794. # Pass precious variables to config.status.
  1795. if test "$ac_new_set" = set; then
  1796. case $ac_new_val in
  1797. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1798. *) ac_arg=$ac_var=$ac_new_val ;;
  1799. esac
  1800. case " $ac_configure_args " in
  1801. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1802. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1803. esac
  1804. fi
  1805. done
  1806. if $ac_cache_corrupted; then
  1807. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1808. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1809. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1810. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1811. as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1812. fi
  1813. ## -------------------- ##
  1814. ## Main body of script. ##
  1815. ## -------------------- ##
  1816. ac_ext=c
  1817. ac_cpp='$CPP $CPPFLAGS'
  1818. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1819. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1820. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1821. am__api_version='1.11'
  1822. ac_aux_dir=
  1823. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1824. for ac_t in install-sh install.sh shtool; do
  1825. if test -f "$ac_dir/$ac_t"; then
  1826. ac_aux_dir=$ac_dir
  1827. ac_install_sh="$ac_aux_dir/$ac_t -c"
  1828. break 2
  1829. fi
  1830. done
  1831. done
  1832. if test -z "$ac_aux_dir"; then
  1833. as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1834. fi
  1835. # These three variables are undocumented and unsupported,
  1836. # and are intended to be withdrawn in a future Autoconf release.
  1837. # They can cause serious problems if a builder's source tree is in a directory
  1838. # whose full name contains unusual characters.
  1839. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1840. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1841. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1842. # Find a good install program. We prefer a C program (faster),
  1843. # so one script is as good as another. But avoid the broken or
  1844. # incompatible versions:
  1845. # SysV /etc/install, /usr/sbin/install
  1846. # SunOS /usr/etc/install
  1847. # IRIX /sbin/install
  1848. # AIX /bin/install
  1849. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1850. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1851. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1852. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1853. # OS/2's system install, which has a completely different semantic
  1854. # ./install, which can be erroneously created by make from ./install.sh.
  1855. # Reject install programs that cannot install multiple files.
  1856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1857. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1858. if test -z "$INSTALL"; then
  1859. if test "${ac_cv_path_install+set}" = set; then :
  1860. $as_echo_n "(cached) " >&6
  1861. else
  1862. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1863. for as_dir in $PATH
  1864. do
  1865. IFS=$as_save_IFS
  1866. test -z "$as_dir" && as_dir=.
  1867. # Account for people who put trailing slashes in PATH elements.
  1868. case $as_dir/ in #((
  1869. ./ | .// | /[cC]/* | \
  1870. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1871. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1872. /usr/ucb/* ) ;;
  1873. *)
  1874. # OSF1 and SCO ODT 3.0 have their own names for install.
  1875. # Don't use installbsd from OSF since it installs stuff as root
  1876. # by default.
  1877. for ac_prog in ginstall scoinst install; do
  1878. for ac_exec_ext in '' $ac_executable_extensions; do
  1879. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1880. if test $ac_prog = install &&
  1881. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1882. # AIX install. It has an incompatible calling convention.
  1883. :
  1884. elif test $ac_prog = install &&
  1885. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1886. # program-specific install script used by HP pwplus--don't use.
  1887. :
  1888. else
  1889. rm -rf conftest.one conftest.two conftest.dir
  1890. echo one > conftest.one
  1891. echo two > conftest.two
  1892. mkdir conftest.dir
  1893. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1894. test -s conftest.one && test -s conftest.two &&
  1895. test -s conftest.dir/conftest.one &&
  1896. test -s conftest.dir/conftest.two
  1897. then
  1898. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1899. break 3
  1900. fi
  1901. fi
  1902. fi
  1903. done
  1904. done
  1905. ;;
  1906. esac
  1907. done
  1908. IFS=$as_save_IFS
  1909. rm -rf conftest.one conftest.two conftest.dir
  1910. fi
  1911. if test "${ac_cv_path_install+set}" = set; then
  1912. INSTALL=$ac_cv_path_install
  1913. else
  1914. # As a last resort, use the slow shell script. Don't cache a
  1915. # value for INSTALL within a source directory, because that will
  1916. # break other packages using the cache if that directory is
  1917. # removed, or if the value is a relative name.
  1918. INSTALL=$ac_install_sh
  1919. fi
  1920. fi
  1921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1922. $as_echo "$INSTALL" >&6; }
  1923. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1924. # It thinks the first close brace ends the variable substitution.
  1925. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1926. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1927. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1929. $as_echo_n "checking whether build environment is sane... " >&6; }
  1930. # Just in case
  1931. sleep 1
  1932. echo timestamp > conftest.file
  1933. # Reject unsafe characters in $srcdir or the absolute working directory
  1934. # name. Accept space and tab only in the latter.
  1935. am_lf='
  1936. '
  1937. case `pwd` in
  1938. *[\\\"\#\$\&\'\`$am_lf]*)
  1939. as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  1940. esac
  1941. case $srcdir in
  1942. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1943. as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  1944. esac
  1945. # Do `set' in a subshell so we don't clobber the current shell's
  1946. # arguments. Must try -L first in case configure is actually a
  1947. # symlink; some systems play weird games with the mod time of symlinks
  1948. # (eg FreeBSD returns the mod time of the symlink's containing
  1949. # directory).
  1950. if (
  1951. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1952. if test "$*" = "X"; then
  1953. # -L didn't work.
  1954. set X `ls -t "$srcdir/configure" conftest.file`
  1955. fi
  1956. rm -f conftest.file
  1957. if test "$*" != "X $srcdir/configure conftest.file" \
  1958. && test "$*" != "X conftest.file $srcdir/configure"; then
  1959. # If neither matched, then we have a broken ls. This can happen
  1960. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1961. # broken ls alias from the environment. This has actually
  1962. # happened. Such a system could not be considered "sane".
  1963. as_fn_error "ls -t appears to fail. Make sure there is not a broken
  1964. alias in your environment" "$LINENO" 5
  1965. fi
  1966. test "$2" = conftest.file
  1967. )
  1968. then
  1969. # Ok.
  1970. :
  1971. else
  1972. as_fn_error "newly created file is older than distributed files!
  1973. Check your system clock" "$LINENO" 5
  1974. fi
  1975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1976. $as_echo "yes" >&6; }
  1977. test "$program_prefix" != NONE &&
  1978. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1979. # Use a double $ so make ignores it.
  1980. test "$program_suffix" != NONE &&
  1981. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1982. # Double any \ or $.
  1983. # By default was `s,x,x', remove it if useless.
  1984. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  1985. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  1986. # expand $ac_aux_dir to an absolute path
  1987. am_aux_dir=`cd $ac_aux_dir && pwd`
  1988. if test x"${MISSING+set}" != xset; then
  1989. case $am_aux_dir in
  1990. *\ * | *\ *)
  1991. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  1992. *)
  1993. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  1994. esac
  1995. fi
  1996. # Use eval to expand $SHELL
  1997. if eval "$MISSING --run true"; then
  1998. am_missing_run="$MISSING --run "
  1999. else
  2000. am_missing_run=
  2001. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  2002. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2003. fi
  2004. if test x"${install_sh}" != xset; then
  2005. case $am_aux_dir in
  2006. *\ * | *\ *)
  2007. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2008. *)
  2009. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2010. esac
  2011. fi
  2012. # Installed binaries are usually stripped using `strip' when the user
  2013. # run `make install-strip'. However `strip' might not be the right
  2014. # tool to use in cross-compilation environments, therefore Automake
  2015. # will honor the `STRIP' environment variable to overrule this program.
  2016. if test "$cross_compiling" != no; then
  2017. if test -n "$ac_tool_prefix"; then
  2018. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2019. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2020. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2021. $as_echo_n "checking for $ac_word... " >&6; }
  2022. if test "${ac_cv_prog_STRIP+set}" = set; then :
  2023. $as_echo_n "(cached) " >&6
  2024. else
  2025. if test -n "$STRIP"; then
  2026. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2027. else
  2028. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2029. for as_dir in $PATH
  2030. do
  2031. IFS=$as_save_IFS
  2032. test -z "$as_dir" && as_dir=.
  2033. for ac_exec_ext in '' $ac_executable_extensions; do
  2034. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2035. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2036. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2037. break 2
  2038. fi
  2039. done
  2040. done
  2041. IFS=$as_save_IFS
  2042. fi
  2043. fi
  2044. STRIP=$ac_cv_prog_STRIP
  2045. if test -n "$STRIP"; then
  2046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2047. $as_echo "$STRIP" >&6; }
  2048. else
  2049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2050. $as_echo "no" >&6; }
  2051. fi
  2052. fi
  2053. if test -z "$ac_cv_prog_STRIP"; then
  2054. ac_ct_STRIP=$STRIP
  2055. # Extract the first word of "strip", so it can be a program name with args.
  2056. set dummy strip; ac_word=$2
  2057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2058. $as_echo_n "checking for $ac_word... " >&6; }
  2059. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2060. $as_echo_n "(cached) " >&6
  2061. else
  2062. if test -n "$ac_ct_STRIP"; then
  2063. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2064. else
  2065. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2066. for as_dir in $PATH
  2067. do
  2068. IFS=$as_save_IFS
  2069. test -z "$as_dir" && as_dir=.
  2070. for ac_exec_ext in '' $ac_executable_extensions; do
  2071. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2072. ac_cv_prog_ac_ct_STRIP="strip"
  2073. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2074. break 2
  2075. fi
  2076. done
  2077. done
  2078. IFS=$as_save_IFS
  2079. fi
  2080. fi
  2081. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2082. if test -n "$ac_ct_STRIP"; then
  2083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2084. $as_echo "$ac_ct_STRIP" >&6; }
  2085. else
  2086. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2087. $as_echo "no" >&6; }
  2088. fi
  2089. if test "x$ac_ct_STRIP" = x; then
  2090. STRIP=":"
  2091. else
  2092. case $cross_compiling:$ac_tool_warned in
  2093. yes:)
  2094. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2095. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2096. ac_tool_warned=yes ;;
  2097. esac
  2098. STRIP=$ac_ct_STRIP
  2099. fi
  2100. else
  2101. STRIP="$ac_cv_prog_STRIP"
  2102. fi
  2103. fi
  2104. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2105. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2106. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2107. if test -z "$MKDIR_P"; then
  2108. if test "${ac_cv_path_mkdir+set}" = set; then :
  2109. $as_echo_n "(cached) " >&6
  2110. else
  2111. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2112. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2113. do
  2114. IFS=$as_save_IFS
  2115. test -z "$as_dir" && as_dir=.
  2116. for ac_prog in mkdir gmkdir; do
  2117. for ac_exec_ext in '' $ac_executable_extensions; do
  2118. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2119. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2120. 'mkdir (GNU coreutils) '* | \
  2121. 'mkdir (coreutils) '* | \
  2122. 'mkdir (fileutils) '4.1*)
  2123. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2124. break 3;;
  2125. esac
  2126. done
  2127. done
  2128. done
  2129. IFS=$as_save_IFS
  2130. fi
  2131. if test "${ac_cv_path_mkdir+set}" = set; then
  2132. MKDIR_P="$ac_cv_path_mkdir -p"
  2133. else
  2134. # As a last resort, use the slow shell script. Don't cache a
  2135. # value for MKDIR_P within a source directory, because that will
  2136. # break other packages using the cache if that directory is
  2137. # removed, or if the value is a relative name.
  2138. test -d ./--version && rmdir ./--version
  2139. MKDIR_P="$ac_install_sh -d"
  2140. fi
  2141. fi
  2142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2143. $as_echo "$MKDIR_P" >&6; }
  2144. mkdir_p="$MKDIR_P"
  2145. case $mkdir_p in
  2146. [\\/$]* | ?:[\\/]*) ;;
  2147. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2148. esac
  2149. for ac_prog in gawk mawk nawk awk
  2150. do
  2151. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2152. set dummy $ac_prog; ac_word=$2
  2153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2154. $as_echo_n "checking for $ac_word... " >&6; }
  2155. if test "${ac_cv_prog_AWK+set}" = set; then :
  2156. $as_echo_n "(cached) " >&6
  2157. else
  2158. if test -n "$AWK"; then
  2159. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2160. else
  2161. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2162. for as_dir in $PATH
  2163. do
  2164. IFS=$as_save_IFS
  2165. test -z "$as_dir" && as_dir=.
  2166. for ac_exec_ext in '' $ac_executable_extensions; do
  2167. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2168. ac_cv_prog_AWK="$ac_prog"
  2169. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2170. break 2
  2171. fi
  2172. done
  2173. done
  2174. IFS=$as_save_IFS
  2175. fi
  2176. fi
  2177. AWK=$ac_cv_prog_AWK
  2178. if test -n "$AWK"; then
  2179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2180. $as_echo "$AWK" >&6; }
  2181. else
  2182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2183. $as_echo "no" >&6; }
  2184. fi
  2185. test -n "$AWK" && break
  2186. done
  2187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2188. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2189. set x ${MAKE-make}
  2190. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2191. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  2192. $as_echo_n "(cached) " >&6
  2193. else
  2194. cat >conftest.make <<\_ACEOF
  2195. SHELL = /bin/sh
  2196. all:
  2197. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2198. _ACEOF
  2199. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2200. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2201. *@@@%%%=?*=@@@%%%*)
  2202. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2203. *)
  2204. eval ac_cv_prog_make_${ac_make}_set=no;;
  2205. esac
  2206. rm -f conftest.make
  2207. fi
  2208. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2210. $as_echo "yes" >&6; }
  2211. SET_MAKE=
  2212. else
  2213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2214. $as_echo "no" >&6; }
  2215. SET_MAKE="MAKE=${MAKE-make}"
  2216. fi
  2217. rm -rf .tst 2>/dev/null
  2218. mkdir .tst 2>/dev/null
  2219. if test -d .tst; then
  2220. am__leading_dot=.
  2221. else
  2222. am__leading_dot=_
  2223. fi
  2224. rmdir .tst 2>/dev/null
  2225. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2226. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2227. # is not polluted with repeated "-I."
  2228. am__isrc=' -I$(srcdir)'
  2229. # test to see if srcdir already configured
  2230. if test -f $srcdir/config.status; then
  2231. as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2232. fi
  2233. fi
  2234. # test whether we have cygpath
  2235. if test -z "$CYGPATH_W"; then
  2236. if (cygpath --version) >/dev/null 2>/dev/null; then
  2237. CYGPATH_W='cygpath -w'
  2238. else
  2239. CYGPATH_W=echo
  2240. fi
  2241. fi
  2242. # Define the identity of the package.
  2243. PACKAGE='bind'
  2244. VERSION='10.0.0'
  2245. cat >>confdefs.h <<_ACEOF
  2246. #define PACKAGE "$PACKAGE"
  2247. _ACEOF
  2248. cat >>confdefs.h <<_ACEOF
  2249. #define VERSION "$VERSION"
  2250. _ACEOF
  2251. # Some tools Automake needs.
  2252. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2253. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2254. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2255. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2256. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2257. # We need awk for the "check" target. The system "awk" is bad on
  2258. # some platforms.
  2259. # Always define AMTAR for backward compatibility.
  2260. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2261. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2262. ac_config_headers="$ac_config_headers config.h"
  2263. # Checks for programs.
  2264. ac_ext=cpp
  2265. ac_cpp='$CXXCPP $CPPFLAGS'
  2266. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2267. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2268. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  2269. if test -z "$CXX"; then
  2270. if test -n "$CCC"; then
  2271. CXX=$CCC
  2272. else
  2273. if test -n "$ac_tool_prefix"; then
  2274. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2275. do
  2276. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2277. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2278. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2279. $as_echo_n "checking for $ac_word... " >&6; }
  2280. if test "${ac_cv_prog_CXX+set}" = set; then :
  2281. $as_echo_n "(cached) " >&6
  2282. else
  2283. if test -n "$CXX"; then
  2284. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  2285. else
  2286. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2287. for as_dir in $PATH
  2288. do
  2289. IFS=$as_save_IFS
  2290. test -z "$as_dir" && as_dir=.
  2291. for ac_exec_ext in '' $ac_executable_extensions; do
  2292. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2293. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  2294. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2295. break 2
  2296. fi
  2297. done
  2298. done
  2299. IFS=$as_save_IFS
  2300. fi
  2301. fi
  2302. CXX=$ac_cv_prog_CXX
  2303. if test -n "$CXX"; then
  2304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  2305. $as_echo "$CXX" >&6; }
  2306. else
  2307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2308. $as_echo "no" >&6; }
  2309. fi
  2310. test -n "$CXX" && break
  2311. done
  2312. fi
  2313. if test -z "$CXX"; then
  2314. ac_ct_CXX=$CXX
  2315. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2316. do
  2317. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2318. set dummy $ac_prog; ac_word=$2
  2319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2320. $as_echo_n "checking for $ac_word... " >&6; }
  2321. if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
  2322. $as_echo_n "(cached) " >&6
  2323. else
  2324. if test -n "$ac_ct_CXX"; then
  2325. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  2326. else
  2327. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2328. for as_dir in $PATH
  2329. do
  2330. IFS=$as_save_IFS
  2331. test -z "$as_dir" && as_dir=.
  2332. for ac_exec_ext in '' $ac_executable_extensions; do
  2333. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2334. ac_cv_prog_ac_ct_CXX="$ac_prog"
  2335. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2336. break 2
  2337. fi
  2338. done
  2339. done
  2340. IFS=$as_save_IFS
  2341. fi
  2342. fi
  2343. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  2344. if test -n "$ac_ct_CXX"; then
  2345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  2346. $as_echo "$ac_ct_CXX" >&6; }
  2347. else
  2348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2349. $as_echo "no" >&6; }
  2350. fi
  2351. test -n "$ac_ct_CXX" && break
  2352. done
  2353. if test "x$ac_ct_CXX" = x; then
  2354. CXX="g++"
  2355. else
  2356. case $cross_compiling:$ac_tool_warned in
  2357. yes:)
  2358. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2359. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2360. ac_tool_warned=yes ;;
  2361. esac
  2362. CXX=$ac_ct_CXX
  2363. fi
  2364. fi
  2365. fi
  2366. fi
  2367. # Provide some information about the compiler.
  2368. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  2369. set X $ac_compile
  2370. ac_compiler=$2
  2371. for ac_option in --version -v -V -qversion; do
  2372. { { ac_try="$ac_compiler $ac_option >&5"
  2373. case "(($ac_try" in
  2374. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2375. *) ac_try_echo=$ac_try;;
  2376. esac
  2377. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2378. $as_echo "$ac_try_echo"; } >&5
  2379. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2380. ac_status=$?
  2381. if test -s conftest.err; then
  2382. sed '10a\
  2383. ... rest of stderr output deleted ...
  2384. 10q' conftest.err >conftest.er1
  2385. cat conftest.er1 >&5
  2386. rm -f conftest.er1 conftest.err
  2387. fi
  2388. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2389. test $ac_status = 0; }
  2390. done
  2391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2392. /* end confdefs.h. */
  2393. #include <stdio.h>
  2394. int
  2395. main ()
  2396. {
  2397. FILE *f = fopen ("conftest.out", "w");
  2398. return ferror (f) || fclose (f) != 0;
  2399. ;
  2400. return 0;
  2401. }
  2402. _ACEOF
  2403. ac_clean_files_save=$ac_clean_files
  2404. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
  2405. # Try to create an executable without -o first, disregard a.out.
  2406. # It will help us diagnose broken compilers, and finding out an intuition
  2407. # of exeext.
  2408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  2409. $as_echo_n "checking for C++ compiler default output file name... " >&6; }
  2410. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2411. # The possible output files:
  2412. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2413. ac_rmfiles=
  2414. for ac_file in $ac_files
  2415. do
  2416. case $ac_file in
  2417. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2418. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2419. esac
  2420. done
  2421. rm -f $ac_rmfiles
  2422. if { { ac_try="$ac_link_default"
  2423. case "(($ac_try" in
  2424. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2425. *) ac_try_echo=$ac_try;;
  2426. esac
  2427. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2428. $as_echo "$ac_try_echo"; } >&5
  2429. (eval "$ac_link_default") 2>&5
  2430. ac_status=$?
  2431. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2432. test $ac_status = 0; }; then :
  2433. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2434. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2435. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2436. # so that the user can short-circuit this test for compilers unknown to
  2437. # Autoconf.
  2438. for ac_file in $ac_files ''
  2439. do
  2440. test -f "$ac_file" || continue
  2441. case $ac_file in
  2442. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2443. ;;
  2444. [ab].out )
  2445. # We found the default executable, but exeext='' is most
  2446. # certainly right.
  2447. break;;
  2448. *.* )
  2449. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2450. then :; else
  2451. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2452. fi
  2453. # We set ac_cv_exeext here because the later test for it is not
  2454. # safe: cross compilers may not add the suffix if given an `-o'
  2455. # argument, so we may need to know it at that point already.
  2456. # Even if this section looks crufty: it has the advantage of
  2457. # actually working.
  2458. break;;
  2459. * )
  2460. break;;
  2461. esac
  2462. done
  2463. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2464. else
  2465. ac_file=''
  2466. fi
  2467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2468. $as_echo "$ac_file" >&6; }
  2469. if test -z "$ac_file"; then :
  2470. $as_echo "$as_me: failed program was:" >&5
  2471. sed 's/^/| /' conftest.$ac_ext >&5
  2472. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2473. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2474. { as_fn_set_status 77
  2475. as_fn_error "C++ compiler cannot create executables
  2476. See \`config.log' for more details." "$LINENO" 5; }; }
  2477. fi
  2478. ac_exeext=$ac_cv_exeext
  2479. # Check that the compiler produces executables we can run. If not, either
  2480. # the compiler is broken, or we cross compile.
  2481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  2482. $as_echo_n "checking whether the C++ compiler works... " >&6; }
  2483. # If not cross compiling, check that we can run a simple program.
  2484. if test "$cross_compiling" != yes; then
  2485. if { ac_try='./$ac_file'
  2486. { { case "(($ac_try" in
  2487. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2488. *) ac_try_echo=$ac_try;;
  2489. esac
  2490. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2491. $as_echo "$ac_try_echo"; } >&5
  2492. (eval "$ac_try") 2>&5
  2493. ac_status=$?
  2494. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2495. test $ac_status = 0; }; }; then
  2496. cross_compiling=no
  2497. else
  2498. if test "$cross_compiling" = maybe; then
  2499. cross_compiling=yes
  2500. else
  2501. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2502. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2503. as_fn_error "cannot run C++ compiled programs.
  2504. If you meant to cross compile, use \`--host'.
  2505. See \`config.log' for more details." "$LINENO" 5; }
  2506. fi
  2507. fi
  2508. fi
  2509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2510. $as_echo "yes" >&6; }
  2511. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
  2512. ac_clean_files=$ac_clean_files_save
  2513. # Check that the compiler produces executables we can run. If not, either
  2514. # the compiler is broken, or we cross compile.
  2515. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2516. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2518. $as_echo "$cross_compiling" >&6; }
  2519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2520. $as_echo_n "checking for suffix of executables... " >&6; }
  2521. if { { ac_try="$ac_link"
  2522. case "(($ac_try" in
  2523. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2524. *) ac_try_echo=$ac_try;;
  2525. esac
  2526. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2527. $as_echo "$ac_try_echo"; } >&5
  2528. (eval "$ac_link") 2>&5
  2529. ac_status=$?
  2530. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2531. test $ac_status = 0; }; then :
  2532. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2533. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2534. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2535. # `rm'.
  2536. for ac_file in conftest.exe conftest conftest.*; do
  2537. test -f "$ac_file" || continue
  2538. case $ac_file in
  2539. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2540. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2541. break;;
  2542. * ) break;;
  2543. esac
  2544. done
  2545. else
  2546. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2547. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2548. as_fn_error "cannot compute suffix of executables: cannot compile and link
  2549. See \`config.log' for more details." "$LINENO" 5; }
  2550. fi
  2551. rm -f conftest$ac_cv_exeext
  2552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2553. $as_echo "$ac_cv_exeext" >&6; }
  2554. rm -f conftest.$ac_ext
  2555. EXEEXT=$ac_cv_exeext
  2556. ac_exeext=$EXEEXT
  2557. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2558. $as_echo_n "checking for suffix of object files... " >&6; }
  2559. if test "${ac_cv_objext+set}" = set; then :
  2560. $as_echo_n "(cached) " >&6
  2561. else
  2562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2563. /* end confdefs.h. */
  2564. int
  2565. main ()
  2566. {
  2567. ;
  2568. return 0;
  2569. }
  2570. _ACEOF
  2571. rm -f conftest.o conftest.obj
  2572. if { { ac_try="$ac_compile"
  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_compile") 2>&5
  2580. ac_status=$?
  2581. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2582. test $ac_status = 0; }; then :
  2583. for ac_file in conftest.o conftest.obj conftest.*; do
  2584. test -f "$ac_file" || continue;
  2585. case $ac_file in
  2586. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2587. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2588. break;;
  2589. esac
  2590. done
  2591. else
  2592. $as_echo "$as_me: failed program was:" >&5
  2593. sed 's/^/| /' conftest.$ac_ext >&5
  2594. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2595. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2596. as_fn_error "cannot compute suffix of object files: cannot compile
  2597. See \`config.log' for more details." "$LINENO" 5; }
  2598. fi
  2599. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2600. fi
  2601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2602. $as_echo "$ac_cv_objext" >&6; }
  2603. OBJEXT=$ac_cv_objext
  2604. ac_objext=$OBJEXT
  2605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  2606. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  2607. if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
  2608. $as_echo_n "(cached) " >&6
  2609. else
  2610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2611. /* end confdefs.h. */
  2612. int
  2613. main ()
  2614. {
  2615. #ifndef __GNUC__
  2616. choke me
  2617. #endif
  2618. ;
  2619. return 0;
  2620. }
  2621. _ACEOF
  2622. if ac_fn_cxx_try_compile "$LINENO"; then :
  2623. ac_compiler_gnu=yes
  2624. else
  2625. ac_compiler_gnu=no
  2626. fi
  2627. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2628. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  2629. fi
  2630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  2631. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  2632. if test $ac_compiler_gnu = yes; then
  2633. GXX=yes
  2634. else
  2635. GXX=
  2636. fi
  2637. ac_test_CXXFLAGS=${CXXFLAGS+set}
  2638. ac_save_CXXFLAGS=$CXXFLAGS
  2639. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  2640. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  2641. if test "${ac_cv_prog_cxx_g+set}" = set; then :
  2642. $as_echo_n "(cached) " >&6
  2643. else
  2644. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  2645. ac_cxx_werror_flag=yes
  2646. ac_cv_prog_cxx_g=no
  2647. CXXFLAGS="-g"
  2648. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2649. /* end confdefs.h. */
  2650. int
  2651. main ()
  2652. {
  2653. ;
  2654. return 0;
  2655. }
  2656. _ACEOF
  2657. if ac_fn_cxx_try_compile "$LINENO"; then :
  2658. ac_cv_prog_cxx_g=yes
  2659. else
  2660. CXXFLAGS=""
  2661. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2662. /* end confdefs.h. */
  2663. int
  2664. main ()
  2665. {
  2666. ;
  2667. return 0;
  2668. }
  2669. _ACEOF
  2670. if ac_fn_cxx_try_compile "$LINENO"; then :
  2671. else
  2672. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  2673. CXXFLAGS="-g"
  2674. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2675. /* end confdefs.h. */
  2676. int
  2677. main ()
  2678. {
  2679. ;
  2680. return 0;
  2681. }
  2682. _ACEOF
  2683. if ac_fn_cxx_try_compile "$LINENO"; then :
  2684. ac_cv_prog_cxx_g=yes
  2685. fi
  2686. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2687. fi
  2688. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2689. fi
  2690. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2691. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  2692. fi
  2693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  2694. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  2695. if test "$ac_test_CXXFLAGS" = set; then
  2696. CXXFLAGS=$ac_save_CXXFLAGS
  2697. elif test $ac_cv_prog_cxx_g = yes; then
  2698. if test "$GXX" = yes; then
  2699. CXXFLAGS="-g -O2"
  2700. else
  2701. CXXFLAGS="-g"
  2702. fi
  2703. else
  2704. if test "$GXX" = yes; then
  2705. CXXFLAGS="-O2"
  2706. else
  2707. CXXFLAGS=
  2708. fi
  2709. fi
  2710. ac_ext=c
  2711. ac_cpp='$CPP $CPPFLAGS'
  2712. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2713. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2714. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2715. DEPDIR="${am__leading_dot}deps"
  2716. ac_config_commands="$ac_config_commands depfiles"
  2717. am_make=${MAKE-make}
  2718. cat > confinc << 'END'
  2719. am__doit:
  2720. @echo this is the am__doit target
  2721. .PHONY: am__doit
  2722. END
  2723. # If we don't find an include directive, just comment out the code.
  2724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  2725. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2726. am__include="#"
  2727. am__quote=
  2728. _am_result=none
  2729. # First try GNU make style include.
  2730. echo "include confinc" > confmf
  2731. # Ignore all kinds of additional output from `make'.
  2732. case `$am_make -s -f confmf 2> /dev/null` in #(
  2733. *the\ am__doit\ target*)
  2734. am__include=include
  2735. am__quote=
  2736. _am_result=GNU
  2737. ;;
  2738. esac
  2739. # Now try BSD make style include.
  2740. if test "$am__include" = "#"; then
  2741. echo '.include "confinc"' > confmf
  2742. case `$am_make -s -f confmf 2> /dev/null` in #(
  2743. *the\ am__doit\ target*)
  2744. am__include=.include
  2745. am__quote="\""
  2746. _am_result=BSD
  2747. ;;
  2748. esac
  2749. fi
  2750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  2751. $as_echo "$_am_result" >&6; }
  2752. rm -f confinc confmf
  2753. # Check whether --enable-dependency-tracking was given.
  2754. if test "${enable_dependency_tracking+set}" = set; then :
  2755. enableval=$enable_dependency_tracking;
  2756. fi
  2757. if test "x$enable_dependency_tracking" != xno; then
  2758. am_depcomp="$ac_aux_dir/depcomp"
  2759. AMDEPBACKSLASH='\'
  2760. fi
  2761. if test "x$enable_dependency_tracking" != xno; then
  2762. AMDEP_TRUE=
  2763. AMDEP_FALSE='#'
  2764. else
  2765. AMDEP_TRUE='#'
  2766. AMDEP_FALSE=
  2767. fi
  2768. depcc="$CXX" am_compiler_list=
  2769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  2770. $as_echo_n "checking dependency style of $depcc... " >&6; }
  2771. if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
  2772. $as_echo_n "(cached) " >&6
  2773. else
  2774. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  2775. # We make a subdir and do the tests there. Otherwise we can end up
  2776. # making bogus files that we don't know about and never remove. For
  2777. # instance it was reported that on HP-UX the gcc test will end up
  2778. # making a dummy file named `D' -- because `-MD' means `put the output
  2779. # in D'.
  2780. mkdir conftest.dir
  2781. # Copy depcomp to subdir because otherwise we won't find it if we're
  2782. # using a relative directory.
  2783. cp "$am_depcomp" conftest.dir
  2784. cd conftest.dir
  2785. # We will build objects and dependencies in a subdirectory because
  2786. # it helps to detect inapplicable dependency modes. For instance
  2787. # both Tru64's cc and ICC support -MD to output dependencies as a
  2788. # side effect of compilation, but ICC will put the dependencies in
  2789. # the current directory while Tru64 will put them in the object
  2790. # directory.
  2791. mkdir sub
  2792. am_cv_CXX_dependencies_compiler_type=none
  2793. if test "$am_compiler_list" = ""; then
  2794. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  2795. fi
  2796. am__universal=false
  2797. case " $depcc " in #(
  2798. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  2799. esac
  2800. for depmode in $am_compiler_list; do
  2801. # Setup a source with many dependencies, because some compilers
  2802. # like to wrap large dependency lists on column 80 (with \), and
  2803. # we should not choose a depcomp mode which is confused by this.
  2804. #
  2805. # We need to recreate these files for each test, as the compiler may
  2806. # overwrite some of them when testing with obscure command lines.
  2807. # This happens at least with the AIX C compiler.
  2808. : > sub/conftest.c
  2809. for i in 1 2 3 4 5 6; do
  2810. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2811. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2812. # Solaris 8's {/usr,}/bin/sh.
  2813. touch sub/conftst$i.h
  2814. done
  2815. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2816. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2817. # mode. It turns out that the SunPro C++ compiler does not properly
  2818. # handle `-M -o', and we need to detect this. Also, some Intel
  2819. # versions had trouble with output in subdirs
  2820. am__obj=sub/conftest.${OBJEXT-o}
  2821. am__minus_obj="-o $am__obj"
  2822. case $depmode in
  2823. gcc)
  2824. # This depmode causes a compiler race in universal mode.
  2825. test "$am__universal" = false || continue
  2826. ;;
  2827. nosideeffect)
  2828. # after this tag, mechanisms are not by side-effect, so they'll
  2829. # only be used when explicitly requested
  2830. if test "x$enable_dependency_tracking" = xyes; then
  2831. continue
  2832. else
  2833. break
  2834. fi
  2835. ;;
  2836. msvisualcpp | msvcmsys)
  2837. # This compiler won't grok `-c -o', but also, the minuso test has
  2838. # not run yet. These depmodes are late enough in the game, and
  2839. # so weak that their functioning should not be impacted.
  2840. am__obj=conftest.${OBJEXT-o}
  2841. am__minus_obj=
  2842. ;;
  2843. none) break ;;
  2844. esac
  2845. if depmode=$depmode \
  2846. source=sub/conftest.c object=$am__obj \
  2847. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  2848. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  2849. >/dev/null 2>conftest.err &&
  2850. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  2851. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  2852. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  2853. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  2854. # icc doesn't choke on unknown options, it will just issue warnings
  2855. # or remarks (even with -Werror). So we grep stderr for any message
  2856. # that says an option was ignored or not supported.
  2857. # When given -MP, icc 7.0 and 7.1 complain thusly:
  2858. # icc: Command line warning: ignoring option '-M'; no argument required
  2859. # The diagnosis changed in icc 8.0:
  2860. # icc: Command line remark: option '-MP' not supported
  2861. if (grep 'ignoring option' conftest.err ||
  2862. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  2863. am_cv_CXX_dependencies_compiler_type=$depmode
  2864. break
  2865. fi
  2866. fi
  2867. done
  2868. cd ..
  2869. rm -rf conftest.dir
  2870. else
  2871. am_cv_CXX_dependencies_compiler_type=none
  2872. fi
  2873. fi
  2874. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  2875. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  2876. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  2877. if
  2878. test "x$enable_dependency_tracking" != xno \
  2879. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  2880. am__fastdepCXX_TRUE=
  2881. am__fastdepCXX_FALSE='#'
  2882. else
  2883. am__fastdepCXX_TRUE='#'
  2884. am__fastdepCXX_FALSE=
  2885. fi
  2886. ac_ext=c
  2887. ac_cpp='$CPP $CPPFLAGS'
  2888. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2889. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2890. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2891. if test -n "$ac_tool_prefix"; then
  2892. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2893. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2895. $as_echo_n "checking for $ac_word... " >&6; }
  2896. if test "${ac_cv_prog_CC+set}" = set; then :
  2897. $as_echo_n "(cached) " >&6
  2898. else
  2899. if test -n "$CC"; then
  2900. ac_cv_prog_CC="$CC" # Let the user override the test.
  2901. else
  2902. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2903. for as_dir in $PATH
  2904. do
  2905. IFS=$as_save_IFS
  2906. test -z "$as_dir" && as_dir=.
  2907. for ac_exec_ext in '' $ac_executable_extensions; do
  2908. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2909. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2910. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2911. break 2
  2912. fi
  2913. done
  2914. done
  2915. IFS=$as_save_IFS
  2916. fi
  2917. fi
  2918. CC=$ac_cv_prog_CC
  2919. if test -n "$CC"; then
  2920. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2921. $as_echo "$CC" >&6; }
  2922. else
  2923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2924. $as_echo "no" >&6; }
  2925. fi
  2926. fi
  2927. if test -z "$ac_cv_prog_CC"; then
  2928. ac_ct_CC=$CC
  2929. # Extract the first word of "gcc", so it can be a program name with args.
  2930. set dummy gcc; ac_word=$2
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2932. $as_echo_n "checking for $ac_word... " >&6; }
  2933. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  2934. $as_echo_n "(cached) " >&6
  2935. else
  2936. if test -n "$ac_ct_CC"; then
  2937. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2938. else
  2939. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2940. for as_dir in $PATH
  2941. do
  2942. IFS=$as_save_IFS
  2943. test -z "$as_dir" && as_dir=.
  2944. for ac_exec_ext in '' $ac_executable_extensions; do
  2945. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2946. ac_cv_prog_ac_ct_CC="gcc"
  2947. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2948. break 2
  2949. fi
  2950. done
  2951. done
  2952. IFS=$as_save_IFS
  2953. fi
  2954. fi
  2955. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2956. if test -n "$ac_ct_CC"; then
  2957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2958. $as_echo "$ac_ct_CC" >&6; }
  2959. else
  2960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2961. $as_echo "no" >&6; }
  2962. fi
  2963. if test "x$ac_ct_CC" = x; then
  2964. CC=""
  2965. else
  2966. case $cross_compiling:$ac_tool_warned in
  2967. yes:)
  2968. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2969. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2970. ac_tool_warned=yes ;;
  2971. esac
  2972. CC=$ac_ct_CC
  2973. fi
  2974. else
  2975. CC="$ac_cv_prog_CC"
  2976. fi
  2977. if test -z "$CC"; then
  2978. if test -n "$ac_tool_prefix"; then
  2979. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2980. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2982. $as_echo_n "checking for $ac_word... " >&6; }
  2983. if test "${ac_cv_prog_CC+set}" = set; then :
  2984. $as_echo_n "(cached) " >&6
  2985. else
  2986. if test -n "$CC"; then
  2987. ac_cv_prog_CC="$CC" # Let the user override the test.
  2988. else
  2989. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2990. for as_dir in $PATH
  2991. do
  2992. IFS=$as_save_IFS
  2993. test -z "$as_dir" && as_dir=.
  2994. for ac_exec_ext in '' $ac_executable_extensions; do
  2995. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2996. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2997. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2998. break 2
  2999. fi
  3000. done
  3001. done
  3002. IFS=$as_save_IFS
  3003. fi
  3004. fi
  3005. CC=$ac_cv_prog_CC
  3006. if test -n "$CC"; then
  3007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3008. $as_echo "$CC" >&6; }
  3009. else
  3010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3011. $as_echo "no" >&6; }
  3012. fi
  3013. fi
  3014. fi
  3015. if test -z "$CC"; then
  3016. # Extract the first word of "cc", so it can be a program name with args.
  3017. set dummy cc; ac_word=$2
  3018. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3019. $as_echo_n "checking for $ac_word... " >&6; }
  3020. if test "${ac_cv_prog_CC+set}" = set; then :
  3021. $as_echo_n "(cached) " >&6
  3022. else
  3023. if test -n "$CC"; then
  3024. ac_cv_prog_CC="$CC" # Let the user override the test.
  3025. else
  3026. ac_prog_rejected=no
  3027. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3028. for as_dir in $PATH
  3029. do
  3030. IFS=$as_save_IFS
  3031. test -z "$as_dir" && as_dir=.
  3032. for ac_exec_ext in '' $ac_executable_extensions; do
  3033. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3034. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3035. ac_prog_rejected=yes
  3036. continue
  3037. fi
  3038. ac_cv_prog_CC="cc"
  3039. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3040. break 2
  3041. fi
  3042. done
  3043. done
  3044. IFS=$as_save_IFS
  3045. if test $ac_prog_rejected = yes; then
  3046. # We found a bogon in the path, so make sure we never use it.
  3047. set dummy $ac_cv_prog_CC
  3048. shift
  3049. if test $# != 0; then
  3050. # We chose a different compiler from the bogus one.
  3051. # However, it has the same basename, so the bogon will be chosen
  3052. # first if we set CC to just the basename; use the full file name.
  3053. shift
  3054. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3055. fi
  3056. fi
  3057. fi
  3058. fi
  3059. CC=$ac_cv_prog_CC
  3060. if test -n "$CC"; then
  3061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3062. $as_echo "$CC" >&6; }
  3063. else
  3064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3065. $as_echo "no" >&6; }
  3066. fi
  3067. fi
  3068. if test -z "$CC"; then
  3069. if test -n "$ac_tool_prefix"; then
  3070. for ac_prog in cl.exe
  3071. do
  3072. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3073. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3075. $as_echo_n "checking for $ac_word... " >&6; }
  3076. if test "${ac_cv_prog_CC+set}" = set; then :
  3077. $as_echo_n "(cached) " >&6
  3078. else
  3079. if test -n "$CC"; then
  3080. ac_cv_prog_CC="$CC" # Let the user override the test.
  3081. else
  3082. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3083. for as_dir in $PATH
  3084. do
  3085. IFS=$as_save_IFS
  3086. test -z "$as_dir" && as_dir=.
  3087. for ac_exec_ext in '' $ac_executable_extensions; do
  3088. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3089. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3090. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3091. break 2
  3092. fi
  3093. done
  3094. done
  3095. IFS=$as_save_IFS
  3096. fi
  3097. fi
  3098. CC=$ac_cv_prog_CC
  3099. if test -n "$CC"; then
  3100. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3101. $as_echo "$CC" >&6; }
  3102. else
  3103. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3104. $as_echo "no" >&6; }
  3105. fi
  3106. test -n "$CC" && break
  3107. done
  3108. fi
  3109. if test -z "$CC"; then
  3110. ac_ct_CC=$CC
  3111. for ac_prog in cl.exe
  3112. do
  3113. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3114. set dummy $ac_prog; ac_word=$2
  3115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3116. $as_echo_n "checking for $ac_word... " >&6; }
  3117. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3118. $as_echo_n "(cached) " >&6
  3119. else
  3120. if test -n "$ac_ct_CC"; then
  3121. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3122. else
  3123. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3124. for as_dir in $PATH
  3125. do
  3126. IFS=$as_save_IFS
  3127. test -z "$as_dir" && as_dir=.
  3128. for ac_exec_ext in '' $ac_executable_extensions; do
  3129. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3130. ac_cv_prog_ac_ct_CC="$ac_prog"
  3131. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3132. break 2
  3133. fi
  3134. done
  3135. done
  3136. IFS=$as_save_IFS
  3137. fi
  3138. fi
  3139. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3140. if test -n "$ac_ct_CC"; then
  3141. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3142. $as_echo "$ac_ct_CC" >&6; }
  3143. else
  3144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3145. $as_echo "no" >&6; }
  3146. fi
  3147. test -n "$ac_ct_CC" && break
  3148. done
  3149. if test "x$ac_ct_CC" = x; then
  3150. CC=""
  3151. else
  3152. case $cross_compiling:$ac_tool_warned in
  3153. yes:)
  3154. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3155. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3156. ac_tool_warned=yes ;;
  3157. esac
  3158. CC=$ac_ct_CC
  3159. fi
  3160. fi
  3161. fi
  3162. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3163. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3164. as_fn_error "no acceptable C compiler found in \$PATH
  3165. See \`config.log' for more details." "$LINENO" 5; }
  3166. # Provide some information about the compiler.
  3167. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3168. set X $ac_compile
  3169. ac_compiler=$2
  3170. for ac_option in --version -v -V -qversion; do
  3171. { { ac_try="$ac_compiler $ac_option >&5"
  3172. case "(($ac_try" in
  3173. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3174. *) ac_try_echo=$ac_try;;
  3175. esac
  3176. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3177. $as_echo "$ac_try_echo"; } >&5
  3178. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3179. ac_status=$?
  3180. if test -s conftest.err; then
  3181. sed '10a\
  3182. ... rest of stderr output deleted ...
  3183. 10q' conftest.err >conftest.er1
  3184. cat conftest.er1 >&5
  3185. rm -f conftest.er1 conftest.err
  3186. fi
  3187. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3188. test $ac_status = 0; }
  3189. done
  3190. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3191. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3192. if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3193. $as_echo_n "(cached) " >&6
  3194. else
  3195. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3196. /* end confdefs.h. */
  3197. int
  3198. main ()
  3199. {
  3200. #ifndef __GNUC__
  3201. choke me
  3202. #endif
  3203. ;
  3204. return 0;
  3205. }
  3206. _ACEOF
  3207. if ac_fn_c_try_compile "$LINENO"; then :
  3208. ac_compiler_gnu=yes
  3209. else
  3210. ac_compiler_gnu=no
  3211. fi
  3212. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3213. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3214. fi
  3215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3216. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3217. if test $ac_compiler_gnu = yes; then
  3218. GCC=yes
  3219. else
  3220. GCC=
  3221. fi
  3222. ac_test_CFLAGS=${CFLAGS+set}
  3223. ac_save_CFLAGS=$CFLAGS
  3224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3225. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3226. if test "${ac_cv_prog_cc_g+set}" = set; then :
  3227. $as_echo_n "(cached) " >&6
  3228. else
  3229. ac_save_c_werror_flag=$ac_c_werror_flag
  3230. ac_c_werror_flag=yes
  3231. ac_cv_prog_cc_g=no
  3232. CFLAGS="-g"
  3233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3234. /* end confdefs.h. */
  3235. int
  3236. main ()
  3237. {
  3238. ;
  3239. return 0;
  3240. }
  3241. _ACEOF
  3242. if ac_fn_c_try_compile "$LINENO"; then :
  3243. ac_cv_prog_cc_g=yes
  3244. else
  3245. CFLAGS=""
  3246. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3247. /* end confdefs.h. */
  3248. int
  3249. main ()
  3250. {
  3251. ;
  3252. return 0;
  3253. }
  3254. _ACEOF
  3255. if ac_fn_c_try_compile "$LINENO"; then :
  3256. else
  3257. ac_c_werror_flag=$ac_save_c_werror_flag
  3258. CFLAGS="-g"
  3259. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3260. /* end confdefs.h. */
  3261. int
  3262. main ()
  3263. {
  3264. ;
  3265. return 0;
  3266. }
  3267. _ACEOF
  3268. if ac_fn_c_try_compile "$LINENO"; then :
  3269. ac_cv_prog_cc_g=yes
  3270. fi
  3271. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3272. fi
  3273. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3274. fi
  3275. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3276. ac_c_werror_flag=$ac_save_c_werror_flag
  3277. fi
  3278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3279. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3280. if test "$ac_test_CFLAGS" = set; then
  3281. CFLAGS=$ac_save_CFLAGS
  3282. elif test $ac_cv_prog_cc_g = yes; then
  3283. if test "$GCC" = yes; then
  3284. CFLAGS="-g -O2"
  3285. else
  3286. CFLAGS="-g"
  3287. fi
  3288. else
  3289. if test "$GCC" = yes; then
  3290. CFLAGS="-O2"
  3291. else
  3292. CFLAGS=
  3293. fi
  3294. fi
  3295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3296. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3297. if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3298. $as_echo_n "(cached) " >&6
  3299. else
  3300. ac_cv_prog_cc_c89=no
  3301. ac_save_CC=$CC
  3302. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3303. /* end confdefs.h. */
  3304. #include <stdarg.h>
  3305. #include <stdio.h>
  3306. #include <sys/types.h>
  3307. #include <sys/stat.h>
  3308. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3309. struct buf { int x; };
  3310. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3311. static char *e (p, i)
  3312. char **p;
  3313. int i;
  3314. {
  3315. return p[i];
  3316. }
  3317. static char *f (char * (*g) (char **, int), char **p, ...)
  3318. {
  3319. char *s;
  3320. va_list v;
  3321. va_start (v,p);
  3322. s = g (p, va_arg (v,int));
  3323. va_end (v);
  3324. return s;
  3325. }
  3326. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3327. function prototypes and stuff, but not '\xHH' hex character constants.
  3328. These don't provoke an error unfortunately, instead are silently treated
  3329. as 'x'. The following induces an error, until -std is added to get
  3330. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3331. array size at least. It's necessary to write '\x00'==0 to get something
  3332. that's true only with -std. */
  3333. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3334. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3335. inside strings and character constants. */
  3336. #define FOO(x) 'x'
  3337. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3338. int test (int i, double x);
  3339. struct s1 {int (*f) (int a);};
  3340. struct s2 {int (*f) (double a);};
  3341. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3342. int argc;
  3343. char **argv;
  3344. int
  3345. main ()
  3346. {
  3347. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3348. ;
  3349. return 0;
  3350. }
  3351. _ACEOF
  3352. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3353. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3354. do
  3355. CC="$ac_save_CC $ac_arg"
  3356. if ac_fn_c_try_compile "$LINENO"; then :
  3357. ac_cv_prog_cc_c89=$ac_arg
  3358. fi
  3359. rm -f core conftest.err conftest.$ac_objext
  3360. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3361. done
  3362. rm -f conftest.$ac_ext
  3363. CC=$ac_save_CC
  3364. fi
  3365. # AC_CACHE_VAL
  3366. case "x$ac_cv_prog_cc_c89" in
  3367. x)
  3368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3369. $as_echo "none needed" >&6; } ;;
  3370. xno)
  3371. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3372. $as_echo "unsupported" >&6; } ;;
  3373. *)
  3374. CC="$CC $ac_cv_prog_cc_c89"
  3375. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3376. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3377. esac
  3378. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3379. fi
  3380. ac_ext=c
  3381. ac_cpp='$CPP $CPPFLAGS'
  3382. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3383. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3384. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3385. depcc="$CC" am_compiler_list=
  3386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3387. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3388. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  3389. $as_echo_n "(cached) " >&6
  3390. else
  3391. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3392. # We make a subdir and do the tests there. Otherwise we can end up
  3393. # making bogus files that we don't know about and never remove. For
  3394. # instance it was reported that on HP-UX the gcc test will end up
  3395. # making a dummy file named `D' -- because `-MD' means `put the output
  3396. # in D'.
  3397. mkdir conftest.dir
  3398. # Copy depcomp to subdir because otherwise we won't find it if we're
  3399. # using a relative directory.
  3400. cp "$am_depcomp" conftest.dir
  3401. cd conftest.dir
  3402. # We will build objects and dependencies in a subdirectory because
  3403. # it helps to detect inapplicable dependency modes. For instance
  3404. # both Tru64's cc and ICC support -MD to output dependencies as a
  3405. # side effect of compilation, but ICC will put the dependencies in
  3406. # the current directory while Tru64 will put them in the object
  3407. # directory.
  3408. mkdir sub
  3409. am_cv_CC_dependencies_compiler_type=none
  3410. if test "$am_compiler_list" = ""; then
  3411. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3412. fi
  3413. am__universal=false
  3414. case " $depcc " in #(
  3415. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3416. esac
  3417. for depmode in $am_compiler_list; do
  3418. # Setup a source with many dependencies, because some compilers
  3419. # like to wrap large dependency lists on column 80 (with \), and
  3420. # we should not choose a depcomp mode which is confused by this.
  3421. #
  3422. # We need to recreate these files for each test, as the compiler may
  3423. # overwrite some of them when testing with obscure command lines.
  3424. # This happens at least with the AIX C compiler.
  3425. : > sub/conftest.c
  3426. for i in 1 2 3 4 5 6; do
  3427. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3428. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3429. # Solaris 8's {/usr,}/bin/sh.
  3430. touch sub/conftst$i.h
  3431. done
  3432. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3433. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3434. # mode. It turns out that the SunPro C++ compiler does not properly
  3435. # handle `-M -o', and we need to detect this. Also, some Intel
  3436. # versions had trouble with output in subdirs
  3437. am__obj=sub/conftest.${OBJEXT-o}
  3438. am__minus_obj="-o $am__obj"
  3439. case $depmode in
  3440. gcc)
  3441. # This depmode causes a compiler race in universal mode.
  3442. test "$am__universal" = false || continue
  3443. ;;
  3444. nosideeffect)
  3445. # after this tag, mechanisms are not by side-effect, so they'll
  3446. # only be used when explicitly requested
  3447. if test "x$enable_dependency_tracking" = xyes; then
  3448. continue
  3449. else
  3450. break
  3451. fi
  3452. ;;
  3453. msvisualcpp | msvcmsys)
  3454. # This compiler won't grok `-c -o', but also, the minuso test has
  3455. # not run yet. These depmodes are late enough in the game, and
  3456. # so weak that their functioning should not be impacted.
  3457. am__obj=conftest.${OBJEXT-o}
  3458. am__minus_obj=
  3459. ;;
  3460. none) break ;;
  3461. esac
  3462. if depmode=$depmode \
  3463. source=sub/conftest.c object=$am__obj \
  3464. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3465. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3466. >/dev/null 2>conftest.err &&
  3467. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3468. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3469. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3470. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3471. # icc doesn't choke on unknown options, it will just issue warnings
  3472. # or remarks (even with -Werror). So we grep stderr for any message
  3473. # that says an option was ignored or not supported.
  3474. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3475. # icc: Command line warning: ignoring option '-M'; no argument required
  3476. # The diagnosis changed in icc 8.0:
  3477. # icc: Command line remark: option '-MP' not supported
  3478. if (grep 'ignoring option' conftest.err ||
  3479. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3480. am_cv_CC_dependencies_compiler_type=$depmode
  3481. break
  3482. fi
  3483. fi
  3484. done
  3485. cd ..
  3486. rm -rf conftest.dir
  3487. else
  3488. am_cv_CC_dependencies_compiler_type=none
  3489. fi
  3490. fi
  3491. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3492. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3493. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3494. if
  3495. test "x$enable_dependency_tracking" != xno \
  3496. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3497. am__fastdepCC_TRUE=
  3498. am__fastdepCC_FALSE='#'
  3499. else
  3500. am__fastdepCC_TRUE='#'
  3501. am__fastdepCC_FALSE=
  3502. fi
  3503. if test -n "$ac_tool_prefix"; then
  3504. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  3505. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  3506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3507. $as_echo_n "checking for $ac_word... " >&6; }
  3508. if test "${ac_cv_prog_RANLIB+set}" = set; then :
  3509. $as_echo_n "(cached) " >&6
  3510. else
  3511. if test -n "$RANLIB"; then
  3512. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  3513. else
  3514. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3515. for as_dir in $PATH
  3516. do
  3517. IFS=$as_save_IFS
  3518. test -z "$as_dir" && as_dir=.
  3519. for ac_exec_ext in '' $ac_executable_extensions; do
  3520. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3521. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  3522. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3523. break 2
  3524. fi
  3525. done
  3526. done
  3527. IFS=$as_save_IFS
  3528. fi
  3529. fi
  3530. RANLIB=$ac_cv_prog_RANLIB
  3531. if test -n "$RANLIB"; then
  3532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  3533. $as_echo "$RANLIB" >&6; }
  3534. else
  3535. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3536. $as_echo "no" >&6; }
  3537. fi
  3538. fi
  3539. if test -z "$ac_cv_prog_RANLIB"; then
  3540. ac_ct_RANLIB=$RANLIB
  3541. # Extract the first word of "ranlib", so it can be a program name with args.
  3542. set dummy ranlib; ac_word=$2
  3543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3544. $as_echo_n "checking for $ac_word... " >&6; }
  3545. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  3546. $as_echo_n "(cached) " >&6
  3547. else
  3548. if test -n "$ac_ct_RANLIB"; then
  3549. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  3550. else
  3551. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3552. for as_dir in $PATH
  3553. do
  3554. IFS=$as_save_IFS
  3555. test -z "$as_dir" && as_dir=.
  3556. for ac_exec_ext in '' $ac_executable_extensions; do
  3557. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3558. ac_cv_prog_ac_ct_RANLIB="ranlib"
  3559. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3560. break 2
  3561. fi
  3562. done
  3563. done
  3564. IFS=$as_save_IFS
  3565. fi
  3566. fi
  3567. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  3568. if test -n "$ac_ct_RANLIB"; then
  3569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  3570. $as_echo "$ac_ct_RANLIB" >&6; }
  3571. else
  3572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3573. $as_echo "no" >&6; }
  3574. fi
  3575. if test "x$ac_ct_RANLIB" = x; then
  3576. RANLIB=":"
  3577. else
  3578. case $cross_compiling:$ac_tool_warned in
  3579. yes:)
  3580. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3581. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3582. ac_tool_warned=yes ;;
  3583. esac
  3584. RANLIB=$ac_ct_RANLIB
  3585. fi
  3586. else
  3587. RANLIB="$ac_cv_prog_RANLIB"
  3588. fi
  3589. # Checks for libraries.
  3590. # Checks for header files.
  3591. # Checks for typedefs, structures, and compiler characteristics.
  3592. ac_ext=c
  3593. ac_cpp='$CPP $CPPFLAGS'
  3594. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3595. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3596. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3598. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3599. # On Suns, sometimes $CPP names a directory.
  3600. if test -n "$CPP" && test -d "$CPP"; then
  3601. CPP=
  3602. fi
  3603. if test -z "$CPP"; then
  3604. if test "${ac_cv_prog_CPP+set}" = set; then :
  3605. $as_echo_n "(cached) " >&6
  3606. else
  3607. # Double quotes because CPP needs to be expanded
  3608. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3609. do
  3610. ac_preproc_ok=false
  3611. for ac_c_preproc_warn_flag in '' yes
  3612. do
  3613. # Use a header file that comes with gcc, so configuring glibc
  3614. # with a fresh cross-compiler works.
  3615. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3616. # <limits.h> exists even on freestanding compilers.
  3617. # On the NeXT, cc -E runs the code through the compiler's parser,
  3618. # not just through cpp. "Syntax error" is here to catch this case.
  3619. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3620. /* end confdefs.h. */
  3621. #ifdef __STDC__
  3622. # include <limits.h>
  3623. #else
  3624. # include <assert.h>
  3625. #endif
  3626. Syntax error
  3627. _ACEOF
  3628. if ac_fn_c_try_cpp "$LINENO"; then :
  3629. else
  3630. # Broken: fails on valid input.
  3631. continue
  3632. fi
  3633. rm -f conftest.err conftest.$ac_ext
  3634. # OK, works on sane cases. Now check whether nonexistent headers
  3635. # can be detected and how.
  3636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3637. /* end confdefs.h. */
  3638. #include <ac_nonexistent.h>
  3639. _ACEOF
  3640. if ac_fn_c_try_cpp "$LINENO"; then :
  3641. # Broken: success on invalid input.
  3642. continue
  3643. else
  3644. # Passes both tests.
  3645. ac_preproc_ok=:
  3646. break
  3647. fi
  3648. rm -f conftest.err conftest.$ac_ext
  3649. done
  3650. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3651. rm -f conftest.err conftest.$ac_ext
  3652. if $ac_preproc_ok; then :
  3653. break
  3654. fi
  3655. done
  3656. ac_cv_prog_CPP=$CPP
  3657. fi
  3658. CPP=$ac_cv_prog_CPP
  3659. else
  3660. ac_cv_prog_CPP=$CPP
  3661. fi
  3662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3663. $as_echo "$CPP" >&6; }
  3664. ac_preproc_ok=false
  3665. for ac_c_preproc_warn_flag in '' yes
  3666. do
  3667. # Use a header file that comes with gcc, so configuring glibc
  3668. # with a fresh cross-compiler works.
  3669. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3670. # <limits.h> exists even on freestanding compilers.
  3671. # On the NeXT, cc -E runs the code through the compiler's parser,
  3672. # not just through cpp. "Syntax error" is here to catch this case.
  3673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3674. /* end confdefs.h. */
  3675. #ifdef __STDC__
  3676. # include <limits.h>
  3677. #else
  3678. # include <assert.h>
  3679. #endif
  3680. Syntax error
  3681. _ACEOF
  3682. if ac_fn_c_try_cpp "$LINENO"; then :
  3683. else
  3684. # Broken: fails on valid input.
  3685. continue
  3686. fi
  3687. rm -f conftest.err conftest.$ac_ext
  3688. # OK, works on sane cases. Now check whether nonexistent headers
  3689. # can be detected and how.
  3690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3691. /* end confdefs.h. */
  3692. #include <ac_nonexistent.h>
  3693. _ACEOF
  3694. if ac_fn_c_try_cpp "$LINENO"; then :
  3695. # Broken: success on invalid input.
  3696. continue
  3697. else
  3698. # Passes both tests.
  3699. ac_preproc_ok=:
  3700. break
  3701. fi
  3702. rm -f conftest.err conftest.$ac_ext
  3703. done
  3704. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3705. rm -f conftest.err conftest.$ac_ext
  3706. if $ac_preproc_ok; then :
  3707. else
  3708. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3709. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3710. as_fn_error "C preprocessor \"$CPP\" fails sanity check
  3711. See \`config.log' for more details." "$LINENO" 5; }
  3712. fi
  3713. ac_ext=c
  3714. ac_cpp='$CPP $CPPFLAGS'
  3715. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3716. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3717. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3719. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3720. if test "${ac_cv_path_GREP+set}" = set; then :
  3721. $as_echo_n "(cached) " >&6
  3722. else
  3723. if test -z "$GREP"; then
  3724. ac_path_GREP_found=false
  3725. # Loop through the user's path and test for each of PROGNAME-LIST
  3726. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3727. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3728. do
  3729. IFS=$as_save_IFS
  3730. test -z "$as_dir" && as_dir=.
  3731. for ac_prog in grep ggrep; do
  3732. for ac_exec_ext in '' $ac_executable_extensions; do
  3733. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3734. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3735. # Check for GNU ac_path_GREP and select it if it is found.
  3736. # Check for GNU $ac_path_GREP
  3737. case `"$ac_path_GREP" --version 2>&1` in
  3738. *GNU*)
  3739. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3740. *)
  3741. ac_count=0
  3742. $as_echo_n 0123456789 >"conftest.in"
  3743. while :
  3744. do
  3745. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3746. mv "conftest.tmp" "conftest.in"
  3747. cp "conftest.in" "conftest.nl"
  3748. $as_echo 'GREP' >> "conftest.nl"
  3749. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3750. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3751. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3752. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3753. # Best one so far, save it but keep looking for a better one
  3754. ac_cv_path_GREP="$ac_path_GREP"
  3755. ac_path_GREP_max=$ac_count
  3756. fi
  3757. # 10*(2^10) chars as input seems more than enough
  3758. test $ac_count -gt 10 && break
  3759. done
  3760. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3761. esac
  3762. $ac_path_GREP_found && break 3
  3763. done
  3764. done
  3765. done
  3766. IFS=$as_save_IFS
  3767. if test -z "$ac_cv_path_GREP"; then
  3768. as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3769. fi
  3770. else
  3771. ac_cv_path_GREP=$GREP
  3772. fi
  3773. fi
  3774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3775. $as_echo "$ac_cv_path_GREP" >&6; }
  3776. GREP="$ac_cv_path_GREP"
  3777. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3778. $as_echo_n "checking for egrep... " >&6; }
  3779. if test "${ac_cv_path_EGREP+set}" = set; then :
  3780. $as_echo_n "(cached) " >&6
  3781. else
  3782. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3783. then ac_cv_path_EGREP="$GREP -E"
  3784. else
  3785. if test -z "$EGREP"; then
  3786. ac_path_EGREP_found=false
  3787. # Loop through the user's path and test for each of PROGNAME-LIST
  3788. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3789. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3790. do
  3791. IFS=$as_save_IFS
  3792. test -z "$as_dir" && as_dir=.
  3793. for ac_prog in egrep; do
  3794. for ac_exec_ext in '' $ac_executable_extensions; do
  3795. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3796. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3797. # Check for GNU ac_path_EGREP and select it if it is found.
  3798. # Check for GNU $ac_path_EGREP
  3799. case `"$ac_path_EGREP" --version 2>&1` in
  3800. *GNU*)
  3801. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3802. *)
  3803. ac_count=0
  3804. $as_echo_n 0123456789 >"conftest.in"
  3805. while :
  3806. do
  3807. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3808. mv "conftest.tmp" "conftest.in"
  3809. cp "conftest.in" "conftest.nl"
  3810. $as_echo 'EGREP' >> "conftest.nl"
  3811. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3812. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3813. as_fn_arith $ac_count + 1 && ac_count=$as_val
  3814. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3815. # Best one so far, save it but keep looking for a better one
  3816. ac_cv_path_EGREP="$ac_path_EGREP"
  3817. ac_path_EGREP_max=$ac_count
  3818. fi
  3819. # 10*(2^10) chars as input seems more than enough
  3820. test $ac_count -gt 10 && break
  3821. done
  3822. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3823. esac
  3824. $ac_path_EGREP_found && break 3
  3825. done
  3826. done
  3827. done
  3828. IFS=$as_save_IFS
  3829. if test -z "$ac_cv_path_EGREP"; then
  3830. as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3831. fi
  3832. else
  3833. ac_cv_path_EGREP=$EGREP
  3834. fi
  3835. fi
  3836. fi
  3837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3838. $as_echo "$ac_cv_path_EGREP" >&6; }
  3839. EGREP="$ac_cv_path_EGREP"
  3840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  3841. $as_echo_n "checking for ANSI C header files... " >&6; }
  3842. if test "${ac_cv_header_stdc+set}" = set; then :
  3843. $as_echo_n "(cached) " >&6
  3844. else
  3845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3846. /* end confdefs.h. */
  3847. #include <stdlib.h>
  3848. #include <stdarg.h>
  3849. #include <string.h>
  3850. #include <float.h>
  3851. int
  3852. main ()
  3853. {
  3854. ;
  3855. return 0;
  3856. }
  3857. _ACEOF
  3858. if ac_fn_c_try_compile "$LINENO"; then :
  3859. ac_cv_header_stdc=yes
  3860. else
  3861. ac_cv_header_stdc=no
  3862. fi
  3863. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3864. if test $ac_cv_header_stdc = yes; then
  3865. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3866. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3867. /* end confdefs.h. */
  3868. #include <string.h>
  3869. _ACEOF
  3870. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3871. $EGREP "memchr" >/dev/null 2>&1; then :
  3872. else
  3873. ac_cv_header_stdc=no
  3874. fi
  3875. rm -f conftest*
  3876. fi
  3877. if test $ac_cv_header_stdc = yes; then
  3878. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3879. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3880. /* end confdefs.h. */
  3881. #include <stdlib.h>
  3882. _ACEOF
  3883. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3884. $EGREP "free" >/dev/null 2>&1; then :
  3885. else
  3886. ac_cv_header_stdc=no
  3887. fi
  3888. rm -f conftest*
  3889. fi
  3890. if test $ac_cv_header_stdc = yes; then
  3891. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3892. if test "$cross_compiling" = yes; then :
  3893. :
  3894. else
  3895. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3896. /* end confdefs.h. */
  3897. #include <ctype.h>
  3898. #include <stdlib.h>
  3899. #if ((' ' & 0x0FF) == 0x020)
  3900. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3901. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3902. #else
  3903. # define ISLOWER(c) \
  3904. (('a' <= (c) && (c) <= 'i') \
  3905. || ('j' <= (c) && (c) <= 'r') \
  3906. || ('s' <= (c) && (c) <= 'z'))
  3907. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3908. #endif
  3909. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3910. int
  3911. main ()
  3912. {
  3913. int i;
  3914. for (i = 0; i < 256; i++)
  3915. if (XOR (islower (i), ISLOWER (i))
  3916. || toupper (i) != TOUPPER (i))
  3917. return 2;
  3918. return 0;
  3919. }
  3920. _ACEOF
  3921. if ac_fn_c_try_run "$LINENO"; then :
  3922. else
  3923. ac_cv_header_stdc=no
  3924. fi
  3925. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3926. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3927. fi
  3928. fi
  3929. fi
  3930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  3931. $as_echo "$ac_cv_header_stdc" >&6; }
  3932. if test $ac_cv_header_stdc = yes; then
  3933. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  3934. fi
  3935. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3936. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3937. inttypes.h stdint.h unistd.h
  3938. do :
  3939. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3940. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  3941. "
  3942. eval as_val=\$$as_ac_Header
  3943. if test "x$as_val" = x""yes; then :
  3944. cat >>confdefs.h <<_ACEOF
  3945. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3946. _ACEOF
  3947. fi
  3948. done
  3949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  3950. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  3951. if test "${ac_cv_header_stdbool_h+set}" = set; then :
  3952. $as_echo_n "(cached) " >&6
  3953. else
  3954. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3955. /* end confdefs.h. */
  3956. #include <stdbool.h>
  3957. #ifndef bool
  3958. "error: bool is not defined"
  3959. #endif
  3960. #ifndef false
  3961. "error: false is not defined"
  3962. #endif
  3963. #if false
  3964. "error: false is not 0"
  3965. #endif
  3966. #ifndef true
  3967. "error: true is not defined"
  3968. #endif
  3969. #if true != 1
  3970. "error: true is not 1"
  3971. #endif
  3972. #ifndef __bool_true_false_are_defined
  3973. "error: __bool_true_false_are_defined is not defined"
  3974. #endif
  3975. struct s { _Bool s: 1; _Bool t; } s;
  3976. char a[true == 1 ? 1 : -1];
  3977. char b[false == 0 ? 1 : -1];
  3978. char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  3979. char d[(bool) 0.5 == true ? 1 : -1];
  3980. bool e = &s;
  3981. char f[(_Bool) 0.0 == false ? 1 : -1];
  3982. char g[true];
  3983. char h[sizeof (_Bool)];
  3984. char i[sizeof s.t];
  3985. enum { j = false, k = true, l = false * true, m = true * 256 };
  3986. /* The following fails for
  3987. HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  3988. _Bool n[m];
  3989. char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  3990. char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  3991. # if defined __xlc__ || defined __GNUC__
  3992. /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
  3993. reported by James Lemley on 2005-10-05; see
  3994. http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
  3995. This test is not quite right, since xlc is allowed to
  3996. reject this program, as the initializer for xlcbug is
  3997. not one of the forms that C requires support for.
  3998. However, doing the test right would require a runtime
  3999. test, and that would make cross-compilation harder.
  4000. Let us hope that IBM fixes the xlc bug, and also adds
  4001. support for this kind of constant expression. In the
  4002. meantime, this test will reject xlc, which is OK, since
  4003. our stdbool.h substitute should suffice. We also test
  4004. this with GCC, where it should work, to detect more
  4005. quickly whether someone messes up the test in the
  4006. future. */
  4007. char digs[] = "0123456789";
  4008. int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
  4009. # endif
  4010. /* Catch a bug in an HP-UX C compiler. See
  4011. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  4012. http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  4013. */
  4014. _Bool q = true;
  4015. _Bool *pq = &q;
  4016. int
  4017. main ()
  4018. {
  4019. *pq |= q;
  4020. *pq |= ! q;
  4021. /* Refer to every declared value, to avoid compiler optimizations. */
  4022. return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  4023. + !m + !n + !o + !p + !q + !pq);
  4024. ;
  4025. return 0;
  4026. }
  4027. _ACEOF
  4028. if ac_fn_c_try_compile "$LINENO"; then :
  4029. ac_cv_header_stdbool_h=yes
  4030. else
  4031. ac_cv_header_stdbool_h=no
  4032. fi
  4033. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4034. fi
  4035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  4036. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  4037. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  4038. if test "x$ac_cv_type__Bool" = x""yes; then :
  4039. cat >>confdefs.h <<_ACEOF
  4040. #define HAVE__BOOL 1
  4041. _ACEOF
  4042. fi
  4043. if test $ac_cv_header_stdbool_h = yes; then
  4044. $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
  4045. fi
  4046. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  4047. if test "x$ac_cv_type_size_t" = x""yes; then :
  4048. else
  4049. cat >>confdefs.h <<_ACEOF
  4050. #define size_t unsigned int
  4051. _ACEOF
  4052. fi
  4053. #
  4054. # Check availablity of boost
  4055. #
  4056. # Check whether --with-boost was given.
  4057. if test "${with_boost+set}" = set; then :
  4058. withval=$with_boost; boost_path="$withval"
  4059. else
  4060. boost_path="no"
  4061. fi
  4062. if test "$boost_path" != "no"
  4063. then
  4064. CPPFLAGS="$CPPFLAGS -I$boost_path"
  4065. fi
  4066. #
  4067. # Check availablity of gtest, which might be used for unit tests.
  4068. #
  4069. # Check whether --with-gtest was given.
  4070. if test "${with_gtest+set}" = set; then :
  4071. withval=$with_gtest; gtest_path="$withval"
  4072. else
  4073. gtest_path="no"
  4074. fi
  4075. if test "$gtest_path" != "no"
  4076. then
  4077. GTEST_INCLUDES="-I${gtest_path}/include"
  4078. GTEST_LDFLAGS="-L${gtest_path}/lib"
  4079. GTEST_LDADD="-lgtest"
  4080. else
  4081. GTEST_INCLUDES=
  4082. GTEST_LDFLAGS=
  4083. GTEST_LDADD=
  4084. fi
  4085. if test $gtest_path != "no"; then
  4086. HAVE_GTEST_TRUE=
  4087. HAVE_GTEST_FALSE='#'
  4088. else
  4089. HAVE_GTEST_TRUE='#'
  4090. HAVE_GTEST_FALSE=
  4091. fi
  4092. # Checks for library functions.
  4093. ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/lib/dns/Makefile"
  4094. cat >confcache <<\_ACEOF
  4095. # This file is a shell script that caches the results of configure
  4096. # tests run on this system so they can be shared between configure
  4097. # scripts and configure runs, see configure's option --config-cache.
  4098. # It is not useful on other systems. If it contains results you don't
  4099. # want to keep, you may remove or edit it.
  4100. #
  4101. # config.status only pays attention to the cache file if you give it
  4102. # the --recheck option to rerun configure.
  4103. #
  4104. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  4105. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  4106. # following values.
  4107. _ACEOF
  4108. # The following way of writing the cache mishandles newlines in values,
  4109. # but we know of no workaround that is simple, portable, and efficient.
  4110. # So, we kill variables containing newlines.
  4111. # Ultrix sh set writes to stderr and can't be redirected directly,
  4112. # and sets the high bit in the cache file unless we assign to the vars.
  4113. (
  4114. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  4115. eval ac_val=\$$ac_var
  4116. case $ac_val in #(
  4117. *${as_nl}*)
  4118. case $ac_var in #(
  4119. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4120. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4121. esac
  4122. case $ac_var in #(
  4123. _ | IFS | as_nl) ;; #(
  4124. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4125. *) { eval $ac_var=; unset $ac_var;} ;;
  4126. esac ;;
  4127. esac
  4128. done
  4129. (set) 2>&1 |
  4130. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  4131. *${as_nl}ac_space=\ *)
  4132. # `set' does not quote correctly, so add quotes: double-quote
  4133. # substitution turns \\\\ into \\, and sed turns \\ into \.
  4134. sed -n \
  4135. "s/'/'\\\\''/g;
  4136. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4137. ;; #(
  4138. *)
  4139. # `set' quotes correctly as required by POSIX, so do not add quotes.
  4140. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  4141. ;;
  4142. esac |
  4143. sort
  4144. ) |
  4145. sed '
  4146. /^ac_cv_env_/b end
  4147. t clear
  4148. :clear
  4149. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4150. t end
  4151. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4152. :end' >>confcache
  4153. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  4154. if test -w "$cache_file"; then
  4155. test "x$cache_file" != "x/dev/null" &&
  4156. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  4157. $as_echo "$as_me: updating cache $cache_file" >&6;}
  4158. cat confcache >$cache_file
  4159. else
  4160. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  4161. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4162. fi
  4163. fi
  4164. rm -f confcache
  4165. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4166. # Let make expand exec_prefix.
  4167. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4168. DEFS=-DHAVE_CONFIG_H
  4169. ac_libobjs=
  4170. ac_ltlibobjs=
  4171. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4172. # 1. Remove the extension, and $U if already installed.
  4173. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4174. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4175. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  4176. # will be set to the directory where LIBOBJS objects are built.
  4177. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4178. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4179. done
  4180. LIBOBJS=$ac_libobjs
  4181. LTLIBOBJS=$ac_ltlibobjs
  4182. if test -n "$EXEEXT"; then
  4183. am__EXEEXT_TRUE=
  4184. am__EXEEXT_FALSE='#'
  4185. else
  4186. am__EXEEXT_TRUE='#'
  4187. am__EXEEXT_FALSE=
  4188. fi
  4189. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  4190. as_fn_error "conditional \"AMDEP\" was never defined.
  4191. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4192. fi
  4193. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  4194. as_fn_error "conditional \"am__fastdepCXX\" was never defined.
  4195. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4196. fi
  4197. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  4198. as_fn_error "conditional \"am__fastdepCC\" was never defined.
  4199. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4200. fi
  4201. if test -z "${HAVE_GTEST_TRUE}" && test -z "${HAVE_GTEST_FALSE}"; then
  4202. as_fn_error "conditional \"HAVE_GTEST\" was never defined.
  4203. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4204. fi
  4205. : ${CONFIG_STATUS=./config.status}
  4206. ac_write_fail=0
  4207. ac_clean_files_save=$ac_clean_files
  4208. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4209. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4210. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4211. as_write_fail=0
  4212. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4213. #! $SHELL
  4214. # Generated by $as_me.
  4215. # Run this file to recreate the current configuration.
  4216. # Compiler output produced by configure, useful for debugging
  4217. # configure, is in config.log if it exists.
  4218. debug=false
  4219. ac_cs_recheck=false
  4220. ac_cs_silent=false
  4221. SHELL=\${CONFIG_SHELL-$SHELL}
  4222. export SHELL
  4223. _ASEOF
  4224. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4225. ## -------------------- ##
  4226. ## M4sh Initialization. ##
  4227. ## -------------------- ##
  4228. # Be more Bourne compatible
  4229. DUALCASE=1; export DUALCASE # for MKS sh
  4230. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4231. emulate sh
  4232. NULLCMD=:
  4233. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4234. # is contrary to our usage. Disable this feature.
  4235. alias -g '${1+"$@"}'='"$@"'
  4236. setopt NO_GLOB_SUBST
  4237. else
  4238. case `(set -o) 2>/dev/null` in #(
  4239. *posix*) :
  4240. set -o posix ;; #(
  4241. *) :
  4242. ;;
  4243. esac
  4244. fi
  4245. as_nl='
  4246. '
  4247. export as_nl
  4248. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  4249. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4250. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4251. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4252. # Prefer a ksh shell builtin over an external printf program on Solaris,
  4253. # but without wasting forks for bash or zsh.
  4254. if test -z "$BASH_VERSION$ZSH_VERSION" \
  4255. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4256. as_echo='print -r --'
  4257. as_echo_n='print -rn --'
  4258. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4259. as_echo='printf %s\n'
  4260. as_echo_n='printf %s'
  4261. else
  4262. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4263. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4264. as_echo_n='/usr/ucb/echo -n'
  4265. else
  4266. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4267. as_echo_n_body='eval
  4268. arg=$1;
  4269. case $arg in #(
  4270. *"$as_nl"*)
  4271. expr "X$arg" : "X\\(.*\\)$as_nl";
  4272. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4273. esac;
  4274. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4275. '
  4276. export as_echo_n_body
  4277. as_echo_n='sh -c $as_echo_n_body as_echo'
  4278. fi
  4279. export as_echo_body
  4280. as_echo='sh -c $as_echo_body as_echo'
  4281. fi
  4282. # The user is always right.
  4283. if test "${PATH_SEPARATOR+set}" != set; then
  4284. PATH_SEPARATOR=:
  4285. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4286. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4287. PATH_SEPARATOR=';'
  4288. }
  4289. fi
  4290. # IFS
  4291. # We need space, tab and new line, in precisely that order. Quoting is
  4292. # there to prevent editors from complaining about space-tab.
  4293. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4294. # splitting by setting IFS to empty value.)
  4295. IFS=" "" $as_nl"
  4296. # Find who we are. Look in the path if we contain no directory separator.
  4297. case $0 in #((
  4298. *[\\/]* ) as_myself=$0 ;;
  4299. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4300. for as_dir in $PATH
  4301. do
  4302. IFS=$as_save_IFS
  4303. test -z "$as_dir" && as_dir=.
  4304. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4305. done
  4306. IFS=$as_save_IFS
  4307. ;;
  4308. esac
  4309. # We did not find ourselves, most probably we were run as `sh COMMAND'
  4310. # in which case we are not to be found in the path.
  4311. if test "x$as_myself" = x; then
  4312. as_myself=$0
  4313. fi
  4314. if test ! -f "$as_myself"; then
  4315. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4316. exit 1
  4317. fi
  4318. # Unset variables that we do not need and which cause bugs (e.g. in
  4319. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4320. # suppresses any "Segmentation fault" message there. '((' could
  4321. # trigger a bug in pdksh 5.2.14.
  4322. for as_var in BASH_ENV ENV MAIL MAILPATH
  4323. do eval test x\${$as_var+set} = xset \
  4324. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4325. done
  4326. PS1='$ '
  4327. PS2='> '
  4328. PS4='+ '
  4329. # NLS nuisances.
  4330. LC_ALL=C
  4331. export LC_ALL
  4332. LANGUAGE=C
  4333. export LANGUAGE
  4334. # CDPATH.
  4335. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4336. # as_fn_error ERROR [LINENO LOG_FD]
  4337. # ---------------------------------
  4338. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4339. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4340. # script with status $?, using 1 if that was 0.
  4341. as_fn_error ()
  4342. {
  4343. as_status=$?; test $as_status -eq 0 && as_status=1
  4344. if test "$3"; then
  4345. as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4346. $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
  4347. fi
  4348. $as_echo "$as_me: error: $1" >&2
  4349. as_fn_exit $as_status
  4350. } # as_fn_error
  4351. # as_fn_set_status STATUS
  4352. # -----------------------
  4353. # Set $? to STATUS, without forking.
  4354. as_fn_set_status ()
  4355. {
  4356. return $1
  4357. } # as_fn_set_status
  4358. # as_fn_exit STATUS
  4359. # -----------------
  4360. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4361. as_fn_exit ()
  4362. {
  4363. set +e
  4364. as_fn_set_status $1
  4365. exit $1
  4366. } # as_fn_exit
  4367. # as_fn_unset VAR
  4368. # ---------------
  4369. # Portably unset VAR.
  4370. as_fn_unset ()
  4371. {
  4372. { eval $1=; unset $1;}
  4373. }
  4374. as_unset=as_fn_unset
  4375. # as_fn_append VAR VALUE
  4376. # ----------------------
  4377. # Append the text in VALUE to the end of the definition contained in VAR. Take
  4378. # advantage of any shell optimizations that allow amortized linear growth over
  4379. # repeated appends, instead of the typical quadratic growth present in naive
  4380. # implementations.
  4381. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4382. eval 'as_fn_append ()
  4383. {
  4384. eval $1+=\$2
  4385. }'
  4386. else
  4387. as_fn_append ()
  4388. {
  4389. eval $1=\$$1\$2
  4390. }
  4391. fi # as_fn_append
  4392. # as_fn_arith ARG...
  4393. # ------------------
  4394. # Perform arithmetic evaluation on the ARGs, and store the result in the
  4395. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  4396. # must be portable across $(()) and expr.
  4397. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4398. eval 'as_fn_arith ()
  4399. {
  4400. as_val=$(( $* ))
  4401. }'
  4402. else
  4403. as_fn_arith ()
  4404. {
  4405. as_val=`expr "$@" || test $? -eq 1`
  4406. }
  4407. fi # as_fn_arith
  4408. if expr a : '\(a\)' >/dev/null 2>&1 &&
  4409. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4410. as_expr=expr
  4411. else
  4412. as_expr=false
  4413. fi
  4414. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4415. as_basename=basename
  4416. else
  4417. as_basename=false
  4418. fi
  4419. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4420. as_dirname=dirname
  4421. else
  4422. as_dirname=false
  4423. fi
  4424. as_me=`$as_basename -- "$0" ||
  4425. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4426. X"$0" : 'X\(//\)$' \| \
  4427. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4428. $as_echo X/"$0" |
  4429. sed '/^.*\/\([^/][^/]*\)\/*$/{
  4430. s//\1/
  4431. q
  4432. }
  4433. /^X\/\(\/\/\)$/{
  4434. s//\1/
  4435. q
  4436. }
  4437. /^X\/\(\/\).*/{
  4438. s//\1/
  4439. q
  4440. }
  4441. s/.*/./; q'`
  4442. # Avoid depending upon Character Ranges.
  4443. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4444. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4445. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4446. as_cr_digits='0123456789'
  4447. as_cr_alnum=$as_cr_Letters$as_cr_digits
  4448. ECHO_C= ECHO_N= ECHO_T=
  4449. case `echo -n x` in #(((((
  4450. -n*)
  4451. case `echo 'xy\c'` in
  4452. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  4453. xy) ECHO_C='\c';;
  4454. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4455. ECHO_T=' ';;
  4456. esac;;
  4457. *)
  4458. ECHO_N='-n';;
  4459. esac
  4460. rm -f conf$$ conf$$.exe conf$$.file
  4461. if test -d conf$$.dir; then
  4462. rm -f conf$$.dir/conf$$.file
  4463. else
  4464. rm -f conf$$.dir
  4465. mkdir conf$$.dir 2>/dev/null
  4466. fi
  4467. if (echo >conf$$.file) 2>/dev/null; then
  4468. if ln -s conf$$.file conf$$ 2>/dev/null; then
  4469. as_ln_s='ln -s'
  4470. # ... but there are two gotchas:
  4471. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4472. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4473. # In both cases, we have to default to `cp -p'.
  4474. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4475. as_ln_s='cp -p'
  4476. elif ln conf$$.file conf$$ 2>/dev/null; then
  4477. as_ln_s=ln
  4478. else
  4479. as_ln_s='cp -p'
  4480. fi
  4481. else
  4482. as_ln_s='cp -p'
  4483. fi
  4484. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4485. rmdir conf$$.dir 2>/dev/null
  4486. # as_fn_mkdir_p
  4487. # -------------
  4488. # Create "$as_dir" as a directory, including parents if necessary.
  4489. as_fn_mkdir_p ()
  4490. {
  4491. case $as_dir in #(
  4492. -*) as_dir=./$as_dir;;
  4493. esac
  4494. test -d "$as_dir" || eval $as_mkdir_p || {
  4495. as_dirs=
  4496. while :; do
  4497. case $as_dir in #(
  4498. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4499. *) as_qdir=$as_dir;;
  4500. esac
  4501. as_dirs="'$as_qdir' $as_dirs"
  4502. as_dir=`$as_dirname -- "$as_dir" ||
  4503. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4504. X"$as_dir" : 'X\(//\)[^/]' \| \
  4505. X"$as_dir" : 'X\(//\)$' \| \
  4506. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4507. $as_echo X"$as_dir" |
  4508. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4509. s//\1/
  4510. q
  4511. }
  4512. /^X\(\/\/\)[^/].*/{
  4513. s//\1/
  4514. q
  4515. }
  4516. /^X\(\/\/\)$/{
  4517. s//\1/
  4518. q
  4519. }
  4520. /^X\(\/\).*/{
  4521. s//\1/
  4522. q
  4523. }
  4524. s/.*/./; q'`
  4525. test -d "$as_dir" && break
  4526. done
  4527. test -z "$as_dirs" || eval "mkdir $as_dirs"
  4528. } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
  4529. } # as_fn_mkdir_p
  4530. if mkdir -p . 2>/dev/null; then
  4531. as_mkdir_p='mkdir -p "$as_dir"'
  4532. else
  4533. test -d ./-p && rmdir ./-p
  4534. as_mkdir_p=false
  4535. fi
  4536. if test -x / >/dev/null 2>&1; then
  4537. as_test_x='test -x'
  4538. else
  4539. if ls -dL / >/dev/null 2>&1; then
  4540. as_ls_L_option=L
  4541. else
  4542. as_ls_L_option=
  4543. fi
  4544. as_test_x='
  4545. eval sh -c '\''
  4546. if test -d "$1"; then
  4547. test -d "$1/.";
  4548. else
  4549. case $1 in #(
  4550. -*)set "./$1";;
  4551. esac;
  4552. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  4553. ???[sx]*):;;*)false;;esac;fi
  4554. '\'' sh
  4555. '
  4556. fi
  4557. as_executable_p=$as_test_x
  4558. # Sed expression to map a string onto a valid CPP name.
  4559. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  4560. # Sed expression to map a string onto a valid variable name.
  4561. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  4562. exec 6>&1
  4563. ## ----------------------------------- ##
  4564. ## Main body of $CONFIG_STATUS script. ##
  4565. ## ----------------------------------- ##
  4566. _ASEOF
  4567. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  4568. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4569. # Save the log message, to keep $0 and so on meaningful, and to
  4570. # report actual input values of CONFIG_FILES etc. instead of their
  4571. # values after options handling.
  4572. ac_log="
  4573. This file was extended by bind $as_me 10.0.0, which was
  4574. generated by GNU Autoconf 2.64. Invocation command line was
  4575. CONFIG_FILES = $CONFIG_FILES
  4576. CONFIG_HEADERS = $CONFIG_HEADERS
  4577. CONFIG_LINKS = $CONFIG_LINKS
  4578. CONFIG_COMMANDS = $CONFIG_COMMANDS
  4579. $ $0 $@
  4580. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  4581. "
  4582. _ACEOF
  4583. case $ac_config_files in *"
  4584. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  4585. esac
  4586. case $ac_config_headers in *"
  4587. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  4588. esac
  4589. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4590. # Files that config.status was made for.
  4591. config_files="$ac_config_files"
  4592. config_headers="$ac_config_headers"
  4593. config_commands="$ac_config_commands"
  4594. _ACEOF
  4595. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4596. ac_cs_usage="\
  4597. \`$as_me' instantiates files and other configuration actions
  4598. from templates according to the current configuration. Unless the files
  4599. and actions are specified as TAGs, all are instantiated by default.
  4600. Usage: $0 [OPTION]... [TAG]...
  4601. -h, --help print this help, then exit
  4602. -V, --version print version number and configuration settings, then exit
  4603. -q, --quiet, --silent
  4604. do not print progress messages
  4605. -d, --debug don't remove temporary files
  4606. --recheck update $as_me by reconfiguring in the same conditions
  4607. --file=FILE[:TEMPLATE]
  4608. instantiate the configuration file FILE
  4609. --header=FILE[:TEMPLATE]
  4610. instantiate the configuration header FILE
  4611. Configuration files:
  4612. $config_files
  4613. Configuration headers:
  4614. $config_headers
  4615. Configuration commands:
  4616. $config_commands
  4617. Report bugs to <bind10-bugs@isc.org>."
  4618. _ACEOF
  4619. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4620. ac_cs_version="\\
  4621. bind config.status 10.0.0
  4622. configured by $0, generated by GNU Autoconf 2.64,
  4623. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  4624. Copyright (C) 2009 Free Software Foundation, Inc.
  4625. This config.status script is free software; the Free Software Foundation
  4626. gives unlimited permission to copy, distribute and modify it."
  4627. ac_pwd='$ac_pwd'
  4628. srcdir='$srcdir'
  4629. INSTALL='$INSTALL'
  4630. MKDIR_P='$MKDIR_P'
  4631. AWK='$AWK'
  4632. test -n "\$AWK" || AWK=awk
  4633. _ACEOF
  4634. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4635. # The default lists apply if the user does not specify any file.
  4636. ac_need_defaults=:
  4637. while test $# != 0
  4638. do
  4639. case $1 in
  4640. --*=*)
  4641. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  4642. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  4643. ac_shift=:
  4644. ;;
  4645. *)
  4646. ac_option=$1
  4647. ac_optarg=$2
  4648. ac_shift=shift
  4649. ;;
  4650. esac
  4651. case $ac_option in
  4652. # Handling of the options.
  4653. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  4654. ac_cs_recheck=: ;;
  4655. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  4656. $as_echo "$ac_cs_version"; exit ;;
  4657. --debug | --debu | --deb | --de | --d | -d )
  4658. debug=: ;;
  4659. --file | --fil | --fi | --f )
  4660. $ac_shift
  4661. case $ac_optarg in
  4662. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4663. esac
  4664. as_fn_append CONFIG_FILES " '$ac_optarg'"
  4665. ac_need_defaults=false;;
  4666. --header | --heade | --head | --hea )
  4667. $ac_shift
  4668. case $ac_optarg in
  4669. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  4670. esac
  4671. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  4672. ac_need_defaults=false;;
  4673. --he | --h)
  4674. # Conflict between --help and --header
  4675. as_fn_error "ambiguous option: \`$1'
  4676. Try \`$0 --help' for more information.";;
  4677. --help | --hel | -h )
  4678. $as_echo "$ac_cs_usage"; exit ;;
  4679. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  4680. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  4681. ac_cs_silent=: ;;
  4682. # This is an error.
  4683. -*) as_fn_error "unrecognized option: \`$1'
  4684. Try \`$0 --help' for more information." ;;
  4685. *) as_fn_append ac_config_targets " $1"
  4686. ac_need_defaults=false ;;
  4687. esac
  4688. shift
  4689. done
  4690. ac_configure_extra_args=
  4691. if $ac_cs_silent; then
  4692. exec 6>/dev/null
  4693. ac_configure_extra_args="$ac_configure_extra_args --silent"
  4694. fi
  4695. _ACEOF
  4696. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4697. if \$ac_cs_recheck; then
  4698. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  4699. shift
  4700. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  4701. CONFIG_SHELL='$SHELL'
  4702. export CONFIG_SHELL
  4703. exec "\$@"
  4704. fi
  4705. _ACEOF
  4706. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4707. exec 5>>config.log
  4708. {
  4709. echo
  4710. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  4711. ## Running $as_me. ##
  4712. _ASBOX
  4713. $as_echo "$ac_log"
  4714. } >&5
  4715. _ACEOF
  4716. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4717. #
  4718. # INIT-COMMANDS
  4719. #
  4720. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  4721. _ACEOF
  4722. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4723. # Handling of arguments.
  4724. for ac_config_target in $ac_config_targets
  4725. do
  4726. case $ac_config_target in
  4727. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  4728. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  4729. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  4730. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  4731. "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
  4732. "src/lib/dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/dns/Makefile" ;;
  4733. *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  4734. esac
  4735. done
  4736. # If the user did not use the arguments to specify the items to instantiate,
  4737. # then the envvar interface is used. Set only those that are not.
  4738. # We use the long form for the default assignment because of an extremely
  4739. # bizarre bug on SunOS 4.1.3.
  4740. if $ac_need_defaults; then
  4741. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  4742. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  4743. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  4744. fi
  4745. # Have a temporary directory for convenience. Make it in the build tree
  4746. # simply because there is no reason against having it here, and in addition,
  4747. # creating and moving files from /tmp can sometimes cause problems.
  4748. # Hook for its removal unless debugging.
  4749. # Note that there is a small window in which the directory will not be cleaned:
  4750. # after its creation but before its name has been assigned to `$tmp'.
  4751. $debug ||
  4752. {
  4753. tmp=
  4754. trap 'exit_status=$?
  4755. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  4756. ' 0
  4757. trap 'as_fn_exit 1' 1 2 13 15
  4758. }
  4759. # Create a (secure) tmp directory for tmp files.
  4760. {
  4761. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  4762. test -n "$tmp" && test -d "$tmp"
  4763. } ||
  4764. {
  4765. tmp=./conf$$-$RANDOM
  4766. (umask 077 && mkdir "$tmp")
  4767. } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
  4768. # Set up the scripts for CONFIG_FILES section.
  4769. # No need to generate them if there are no CONFIG_FILES.
  4770. # This happens for instance with `./config.status config.h'.
  4771. if test -n "$CONFIG_FILES"; then
  4772. ac_cr=`echo X | tr X '\015'`
  4773. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  4774. # But we know of no other shell where ac_cr would be empty at this
  4775. # point, so we can use a bashism as a fallback.
  4776. if test "x$ac_cr" = x; then
  4777. eval ac_cr=\$\'\\r\'
  4778. fi
  4779. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  4780. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  4781. ac_cs_awk_cr='\r'
  4782. else
  4783. ac_cs_awk_cr=$ac_cr
  4784. fi
  4785. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  4786. _ACEOF
  4787. {
  4788. echo "cat >conf$$subs.awk <<_ACEOF" &&
  4789. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  4790. echo "_ACEOF"
  4791. } >conf$$subs.sh ||
  4792. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4793. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  4794. ac_delim='%!_!# '
  4795. for ac_last_try in false false false false false :; do
  4796. . ./conf$$subs.sh ||
  4797. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4798. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  4799. if test $ac_delim_n = $ac_delim_num; then
  4800. break
  4801. elif $ac_last_try; then
  4802. as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
  4803. else
  4804. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4805. fi
  4806. done
  4807. rm -f conf$$subs.sh
  4808. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4809. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  4810. _ACEOF
  4811. sed -n '
  4812. h
  4813. s/^/S["/; s/!.*/"]=/
  4814. p
  4815. g
  4816. s/^[^!]*!//
  4817. :repl
  4818. t repl
  4819. s/'"$ac_delim"'$//
  4820. t delim
  4821. :nl
  4822. h
  4823. s/\(.\{148\}\).*/\1/
  4824. t more1
  4825. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  4826. p
  4827. n
  4828. b repl
  4829. :more1
  4830. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4831. p
  4832. g
  4833. s/.\{148\}//
  4834. t nl
  4835. :delim
  4836. h
  4837. s/\(.\{148\}\).*/\1/
  4838. t more2
  4839. s/["\\]/\\&/g; s/^/"/; s/$/"/
  4840. p
  4841. b
  4842. :more2
  4843. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  4844. p
  4845. g
  4846. s/.\{148\}//
  4847. t delim
  4848. ' <conf$$subs.awk | sed '
  4849. /^[^""]/{
  4850. N
  4851. s/\n//
  4852. }
  4853. ' >>$CONFIG_STATUS || ac_write_fail=1
  4854. rm -f conf$$subs.awk
  4855. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4856. _ACAWK
  4857. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  4858. for (key in S) S_is_set[key] = 1
  4859. FS = ""
  4860. }
  4861. {
  4862. line = $ 0
  4863. nfields = split(line, field, "@")
  4864. substed = 0
  4865. len = length(field[1])
  4866. for (i = 2; i < nfields; i++) {
  4867. key = field[i]
  4868. keylen = length(key)
  4869. if (S_is_set[key]) {
  4870. value = S[key]
  4871. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  4872. len += length(value) + length(field[++i])
  4873. substed = 1
  4874. } else
  4875. len += 1 + keylen
  4876. }
  4877. print line
  4878. }
  4879. _ACAWK
  4880. _ACEOF
  4881. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4882. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  4883. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  4884. else
  4885. cat
  4886. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  4887. || as_fn_error "could not setup config files machinery" "$LINENO" 5
  4888. _ACEOF
  4889. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  4890. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4891. # trailing colons and then remove the whole line if VPATH becomes empty
  4892. # (actually we leave an empty line to preserve line numbers).
  4893. if test "x$srcdir" = x.; then
  4894. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  4895. s/:*\$(srcdir):*/:/
  4896. s/:*\${srcdir}:*/:/
  4897. s/:*@srcdir@:*/:/
  4898. s/^\([^=]*=[ ]*\):*/\1/
  4899. s/:*$//
  4900. s/^[^=]*=[ ]*$//
  4901. }'
  4902. fi
  4903. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  4904. fi # test -n "$CONFIG_FILES"
  4905. # Set up the scripts for CONFIG_HEADERS section.
  4906. # No need to generate them if there are no CONFIG_HEADERS.
  4907. # This happens for instance with `./config.status Makefile'.
  4908. if test -n "$CONFIG_HEADERS"; then
  4909. cat >"$tmp/defines.awk" <<\_ACAWK ||
  4910. BEGIN {
  4911. _ACEOF
  4912. # Transform confdefs.h into an awk script `defines.awk', embedded as
  4913. # here-document in config.status, that substitutes the proper values into
  4914. # config.h.in to produce config.h.
  4915. # Create a delimiter string that does not exist in confdefs.h, to ease
  4916. # handling of long lines.
  4917. ac_delim='%!_!# '
  4918. for ac_last_try in false false :; do
  4919. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  4920. if test -z "$ac_t"; then
  4921. break
  4922. elif $ac_last_try; then
  4923. as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
  4924. else
  4925. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  4926. fi
  4927. done
  4928. # For the awk script, D is an array of macro values keyed by name,
  4929. # likewise P contains macro parameters if any. Preserve backslash
  4930. # newline sequences.
  4931. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  4932. sed -n '
  4933. s/.\{148\}/&'"$ac_delim"'/g
  4934. t rset
  4935. :rset
  4936. s/^[ ]*#[ ]*define[ ][ ]*/ /
  4937. t def
  4938. d
  4939. :def
  4940. s/\\$//
  4941. t bsnl
  4942. s/["\\]/\\&/g
  4943. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  4944. D["\1"]=" \3"/p
  4945. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  4946. d
  4947. :bsnl
  4948. s/["\\]/\\&/g
  4949. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  4950. D["\1"]=" \3\\\\\\n"\\/p
  4951. t cont
  4952. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  4953. t cont
  4954. d
  4955. :cont
  4956. n
  4957. s/.\{148\}/&'"$ac_delim"'/g
  4958. t clear
  4959. :clear
  4960. s/\\$//
  4961. t bsnlc
  4962. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  4963. d
  4964. :bsnlc
  4965. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  4966. b cont
  4967. ' <confdefs.h | sed '
  4968. s/'"$ac_delim"'/"\\\
  4969. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  4970. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  4971. for (key in D) D_is_set[key] = 1
  4972. FS = ""
  4973. }
  4974. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  4975. line = \$ 0
  4976. split(line, arg, " ")
  4977. if (arg[1] == "#") {
  4978. defundef = arg[2]
  4979. mac1 = arg[3]
  4980. } else {
  4981. defundef = substr(arg[1], 2)
  4982. mac1 = arg[2]
  4983. }
  4984. split(mac1, mac2, "(") #)
  4985. macro = mac2[1]
  4986. prefix = substr(line, 1, index(line, defundef) - 1)
  4987. if (D_is_set[macro]) {
  4988. # Preserve the white space surrounding the "#".
  4989. print prefix "define", macro P[macro] D[macro]
  4990. next
  4991. } else {
  4992. # Replace #undef with comments. This is necessary, for example,
  4993. # in the case of _POSIX_SOURCE, which is predefined and required
  4994. # on some systems where configure will not decide to define it.
  4995. if (defundef == "undef") {
  4996. print "/*", prefix defundef, macro, "*/"
  4997. next
  4998. }
  4999. }
  5000. }
  5001. { print }
  5002. _ACAWK
  5003. _ACEOF
  5004. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5005. as_fn_error "could not setup config headers machinery" "$LINENO" 5
  5006. fi # test -n "$CONFIG_HEADERS"
  5007. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  5008. shift
  5009. for ac_tag
  5010. do
  5011. case $ac_tag in
  5012. :[FHLC]) ac_mode=$ac_tag; continue;;
  5013. esac
  5014. case $ac_mode$ac_tag in
  5015. :[FHL]*:*);;
  5016. :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
  5017. :[FH]-) ac_tag=-:-;;
  5018. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  5019. esac
  5020. ac_save_IFS=$IFS
  5021. IFS=:
  5022. set x $ac_tag
  5023. IFS=$ac_save_IFS
  5024. shift
  5025. ac_file=$1
  5026. shift
  5027. case $ac_mode in
  5028. :L) ac_source=$1;;
  5029. :[FH])
  5030. ac_file_inputs=
  5031. for ac_f
  5032. do
  5033. case $ac_f in
  5034. -) ac_f="$tmp/stdin";;
  5035. *) # Look for the file first in the build tree, then in the source tree
  5036. # (if the path is not absolute). The absolute path cannot be DOS-style,
  5037. # because $ac_f cannot contain `:'.
  5038. test -f "$ac_f" ||
  5039. case $ac_f in
  5040. [\\/$]*) false;;
  5041. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  5042. esac ||
  5043. as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  5044. esac
  5045. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  5046. as_fn_append ac_file_inputs " '$ac_f'"
  5047. done
  5048. # Let's still pretend it is `configure' which instantiates (i.e., don't
  5049. # use $as_me), people would be surprised to read:
  5050. # /* config.h. Generated by config.status. */
  5051. configure_input='Generated from '`
  5052. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  5053. `' by configure.'
  5054. if test x"$ac_file" != x-; then
  5055. configure_input="$ac_file. $configure_input"
  5056. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  5057. $as_echo "$as_me: creating $ac_file" >&6;}
  5058. fi
  5059. # Neutralize special characters interpreted by sed in replacement strings.
  5060. case $configure_input in #(
  5061. *\&* | *\|* | *\\* )
  5062. ac_sed_conf_input=`$as_echo "$configure_input" |
  5063. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  5064. *) ac_sed_conf_input=$configure_input;;
  5065. esac
  5066. case $ac_tag in
  5067. *:-:* | *:-) cat >"$tmp/stdin" \
  5068. || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
  5069. esac
  5070. ;;
  5071. esac
  5072. ac_dir=`$as_dirname -- "$ac_file" ||
  5073. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5074. X"$ac_file" : 'X\(//\)[^/]' \| \
  5075. X"$ac_file" : 'X\(//\)$' \| \
  5076. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  5077. $as_echo X"$ac_file" |
  5078. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5079. s//\1/
  5080. q
  5081. }
  5082. /^X\(\/\/\)[^/].*/{
  5083. s//\1/
  5084. q
  5085. }
  5086. /^X\(\/\/\)$/{
  5087. s//\1/
  5088. q
  5089. }
  5090. /^X\(\/\).*/{
  5091. s//\1/
  5092. q
  5093. }
  5094. s/.*/./; q'`
  5095. as_dir="$ac_dir"; as_fn_mkdir_p
  5096. ac_builddir=.
  5097. case "$ac_dir" in
  5098. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5099. *)
  5100. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  5101. # A ".." for each directory in $ac_dir_suffix.
  5102. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  5103. case $ac_top_builddir_sub in
  5104. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5105. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  5106. esac ;;
  5107. esac
  5108. ac_abs_top_builddir=$ac_pwd
  5109. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  5110. # for backward compatibility:
  5111. ac_top_builddir=$ac_top_build_prefix
  5112. case $srcdir in
  5113. .) # We are building in place.
  5114. ac_srcdir=.
  5115. ac_top_srcdir=$ac_top_builddir_sub
  5116. ac_abs_top_srcdir=$ac_pwd ;;
  5117. [\\/]* | ?:[\\/]* ) # Absolute name.
  5118. ac_srcdir=$srcdir$ac_dir_suffix;
  5119. ac_top_srcdir=$srcdir
  5120. ac_abs_top_srcdir=$srcdir ;;
  5121. *) # Relative name.
  5122. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  5123. ac_top_srcdir=$ac_top_build_prefix$srcdir
  5124. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5125. esac
  5126. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5127. case $ac_mode in
  5128. :F)
  5129. #
  5130. # CONFIG_FILE
  5131. #
  5132. case $INSTALL in
  5133. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5134. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  5135. esac
  5136. ac_MKDIR_P=$MKDIR_P
  5137. case $MKDIR_P in
  5138. [\\/$]* | ?:[\\/]* ) ;;
  5139. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  5140. esac
  5141. _ACEOF
  5142. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5143. # If the template does not know about datarootdir, expand it.
  5144. # FIXME: This hack should be removed a few years after 2.60.
  5145. ac_datarootdir_hack=; ac_datarootdir_seen=
  5146. ac_sed_dataroot='
  5147. /datarootdir/ {
  5148. p
  5149. q
  5150. }
  5151. /@datadir@/p
  5152. /@docdir@/p
  5153. /@infodir@/p
  5154. /@localedir@/p
  5155. /@mandir@/p'
  5156. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5157. *datarootdir*) ac_datarootdir_seen=yes;;
  5158. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5159. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5160. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5161. _ACEOF
  5162. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5163. ac_datarootdir_hack='
  5164. s&@datadir@&$datadir&g
  5165. s&@docdir@&$docdir&g
  5166. s&@infodir@&$infodir&g
  5167. s&@localedir@&$localedir&g
  5168. s&@mandir@&$mandir&g
  5169. s&\\\${datarootdir}&$datarootdir&g' ;;
  5170. esac
  5171. _ACEOF
  5172. # Neutralize VPATH when `$srcdir' = `.'.
  5173. # Shell code in configure.ac might set extrasub.
  5174. # FIXME: do we really want to maintain this feature?
  5175. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5176. ac_sed_extra="$ac_vpsub
  5177. $extrasub
  5178. _ACEOF
  5179. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5180. :t
  5181. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5182. s|@configure_input@|$ac_sed_conf_input|;t t
  5183. s&@top_builddir@&$ac_top_builddir_sub&;t t
  5184. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  5185. s&@srcdir@&$ac_srcdir&;t t
  5186. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  5187. s&@top_srcdir@&$ac_top_srcdir&;t t
  5188. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  5189. s&@builddir@&$ac_builddir&;t t
  5190. s&@abs_builddir@&$ac_abs_builddir&;t t
  5191. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  5192. s&@INSTALL@&$ac_INSTALL&;t t
  5193. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  5194. $ac_datarootdir_hack
  5195. "
  5196. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  5197. || as_fn_error "could not create $ac_file" "$LINENO" 5
  5198. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5199. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  5200. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  5201. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5202. which seems to be undefined. Please make sure it is defined." >&5
  5203. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5204. which seems to be undefined. Please make sure it is defined." >&2;}
  5205. rm -f "$tmp/stdin"
  5206. case $ac_file in
  5207. -) cat "$tmp/out" && rm -f "$tmp/out";;
  5208. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  5209. esac \
  5210. || as_fn_error "could not create $ac_file" "$LINENO" 5
  5211. ;;
  5212. :H)
  5213. #
  5214. # CONFIG_HEADER
  5215. #
  5216. if test x"$ac_file" != x-; then
  5217. {
  5218. $as_echo "/* $configure_input */" \
  5219. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  5220. } >"$tmp/config.h" \
  5221. || as_fn_error "could not create $ac_file" "$LINENO" 5
  5222. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  5223. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  5224. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  5225. else
  5226. rm -f "$ac_file"
  5227. mv "$tmp/config.h" "$ac_file" \
  5228. || as_fn_error "could not create $ac_file" "$LINENO" 5
  5229. fi
  5230. else
  5231. $as_echo "/* $configure_input */" \
  5232. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  5233. || as_fn_error "could not create -" "$LINENO" 5
  5234. fi
  5235. # Compute "$ac_file"'s index in $config_headers.
  5236. _am_arg="$ac_file"
  5237. _am_stamp_count=1
  5238. for _am_header in $config_headers :; do
  5239. case $_am_header in
  5240. $_am_arg | $_am_arg:* )
  5241. break ;;
  5242. * )
  5243. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  5244. esac
  5245. done
  5246. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  5247. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5248. X"$_am_arg" : 'X\(//\)[^/]' \| \
  5249. X"$_am_arg" : 'X\(//\)$' \| \
  5250. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  5251. $as_echo X"$_am_arg" |
  5252. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5253. s//\1/
  5254. q
  5255. }
  5256. /^X\(\/\/\)[^/].*/{
  5257. s//\1/
  5258. q
  5259. }
  5260. /^X\(\/\/\)$/{
  5261. s//\1/
  5262. q
  5263. }
  5264. /^X\(\/\).*/{
  5265. s//\1/
  5266. q
  5267. }
  5268. s/.*/./; q'`/stamp-h$_am_stamp_count
  5269. ;;
  5270. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  5271. $as_echo "$as_me: executing $ac_file commands" >&6;}
  5272. ;;
  5273. esac
  5274. case $ac_file$ac_mode in
  5275. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  5276. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  5277. # are listed without --file. Let's play safe and only enable the eval
  5278. # if we detect the quoting.
  5279. case $CONFIG_FILES in
  5280. *\'*) eval set x "$CONFIG_FILES" ;;
  5281. *) set x $CONFIG_FILES ;;
  5282. esac
  5283. shift
  5284. for mf
  5285. do
  5286. # Strip MF so we end up with the name of the file.
  5287. mf=`echo "$mf" | sed -e 's/:.*$//'`
  5288. # Check whether this is an Automake generated Makefile or not.
  5289. # We used to match only the files named `Makefile.in', but
  5290. # some people rename them; so instead we look at the file content.
  5291. # Grep'ing the first line is not enough: some people post-process
  5292. # each Makefile.in and add a new line on top of each file to say so.
  5293. # Grep'ing the whole file is not good either: AIX grep has a line
  5294. # limit of 2048, but all sed's we know have understand at least 4000.
  5295. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  5296. dirpart=`$as_dirname -- "$mf" ||
  5297. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5298. X"$mf" : 'X\(//\)[^/]' \| \
  5299. X"$mf" : 'X\(//\)$' \| \
  5300. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  5301. $as_echo X"$mf" |
  5302. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5303. s//\1/
  5304. q
  5305. }
  5306. /^X\(\/\/\)[^/].*/{
  5307. s//\1/
  5308. q
  5309. }
  5310. /^X\(\/\/\)$/{
  5311. s//\1/
  5312. q
  5313. }
  5314. /^X\(\/\).*/{
  5315. s//\1/
  5316. q
  5317. }
  5318. s/.*/./; q'`
  5319. else
  5320. continue
  5321. fi
  5322. # Extract the definition of DEPDIR, am__include, and am__quote
  5323. # from the Makefile without running `make'.
  5324. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  5325. test -z "$DEPDIR" && continue
  5326. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  5327. test -z "am__include" && continue
  5328. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  5329. # When using ansi2knr, U may be empty or an underscore; expand it
  5330. U=`sed -n 's/^U = //p' < "$mf"`
  5331. # Find all dependency output files, they are included files with
  5332. # $(DEPDIR) in their names. We invoke sed twice because it is the
  5333. # simplest approach to changing $(DEPDIR) to its actual value in the
  5334. # expansion.
  5335. for file in `sed -n "
  5336. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  5337. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  5338. # Make sure the directory exists.
  5339. test -f "$dirpart/$file" && continue
  5340. fdir=`$as_dirname -- "$file" ||
  5341. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5342. X"$file" : 'X\(//\)[^/]' \| \
  5343. X"$file" : 'X\(//\)$' \| \
  5344. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  5345. $as_echo X"$file" |
  5346. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5347. s//\1/
  5348. q
  5349. }
  5350. /^X\(\/\/\)[^/].*/{
  5351. s//\1/
  5352. q
  5353. }
  5354. /^X\(\/\/\)$/{
  5355. s//\1/
  5356. q
  5357. }
  5358. /^X\(\/\).*/{
  5359. s//\1/
  5360. q
  5361. }
  5362. s/.*/./; q'`
  5363. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  5364. # echo "creating $dirpart/$file"
  5365. echo '# dummy' > "$dirpart/$file"
  5366. done
  5367. done
  5368. }
  5369. ;;
  5370. esac
  5371. done # for ac_tag
  5372. as_fn_exit 0
  5373. _ACEOF
  5374. ac_clean_files=$ac_clean_files_save
  5375. test $ac_write_fail = 0 ||
  5376. as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
  5377. # configure is writing to config.log, and then calls config.status.
  5378. # config.status does its own redirection, appending to config.log.
  5379. # Unfortunately, on DOS this fails, as config.log is still kept open
  5380. # by configure, so config.status won't be able to write to it; its
  5381. # output is simply discarded. So we exec the FD to /dev/null,
  5382. # effectively closing config.log, so it can be properly (re)opened and
  5383. # appended to by config.status. When coming back to configure, we
  5384. # need to make the FD available again.
  5385. if test "$no_create" != yes; then
  5386. ac_cs_success=:
  5387. ac_config_status_args=
  5388. test "$silent" = yes &&
  5389. ac_config_status_args="$ac_config_status_args --quiet"
  5390. exec 5>/dev/null
  5391. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  5392. exec 5>>config.log
  5393. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5394. # would make configure fail if this is the last instruction.
  5395. $ac_cs_success || as_fn_exit $?
  5396. fi
  5397. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  5398. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  5399. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  5400. fi