configure 169 KB

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