configure 170 KB

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