configure 186 KB

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