output.0 424 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112
  1. @%:@! /bin/sh
  2. @%:@ Guess values for system-dependent variables and create Makefiles.
  3. @%:@ Generated by GNU Autoconf 2.69 for strongSwan 5.8.1.
  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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  362. @%:@ must be portable across @S|@(()) 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 @S|@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. LIB@&t@OBJS=
  525. cross_compiling=no
  526. subdirs=
  527. MFLAGS=
  528. MAKEFLAGS=
  529. # Identity of this package.
  530. PACKAGE_NAME='strongSwan'
  531. PACKAGE_TARNAME='strongswan'
  532. PACKAGE_VERSION='5.8.1'
  533. PACKAGE_STRING='strongSwan 5.8.1'
  534. PACKAGE_BUGREPORT=''
  535. PACKAGE_URL=''
  536. # Factoring default headers for most tests.
  537. ac_includes_default="\
  538. #include <stdio.h>
  539. #ifdef HAVE_SYS_TYPES_H
  540. # include <sys/types.h>
  541. #endif
  542. #ifdef HAVE_SYS_STAT_H
  543. # include <sys/stat.h>
  544. #endif
  545. #ifdef STDC_HEADERS
  546. # include <stdlib.h>
  547. # include <stddef.h>
  548. #else
  549. # ifdef HAVE_STDLIB_H
  550. # include <stdlib.h>
  551. # endif
  552. #endif
  553. #ifdef HAVE_STRING_H
  554. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  555. # include <memory.h>
  556. # endif
  557. # include <string.h>
  558. #endif
  559. #ifdef HAVE_STRINGS_H
  560. # include <strings.h>
  561. #endif
  562. #ifdef HAVE_INTTYPES_H
  563. # include <inttypes.h>
  564. #endif
  565. #ifdef HAVE_STDINT_H
  566. # include <stdint.h>
  567. #endif
  568. #ifdef HAVE_UNISTD_H
  569. # include <unistd.h>
  570. #endif"
  571. ac_subst_vars='LTLIBOBJS
  572. LIB@&t@OBJS
  573. strongswan_options
  574. t_plugins
  575. s_plugins
  576. p_plugins
  577. c_plugins
  578. aikgen_plugins
  579. cmd_plugins
  580. nm_plugins
  581. medsrv_plugins
  582. manager_plugins
  583. fuzz_plugins
  584. scripts_plugins
  585. pki_plugins
  586. scepclient_plugins
  587. attest_plugins
  588. pool_plugins
  589. starter_plugins
  590. charon_plugins
  591. PY_TEST
  592. PYTHONEGGINSTALLDIR
  593. EASY_INSTALL
  594. PYTHON_PACKAGE_VERSION
  595. RUBYGEMDIR
  596. GEM
  597. FUZZING_LDFLAGS
  598. FUZZING_CFLAGS
  599. COVERAGE_LDFLAGS
  600. COVERAGE_CFLAGS
  601. GENHTML
  602. LCOV
  603. GPRBUILD
  604. dev_headers
  605. UNWINDLIB
  606. BFDLIB
  607. libiptc_LIBS
  608. libiptc_CFLAGS
  609. nm_LIBS
  610. nm_CFLAGS
  611. pcsclite_LIBS
  612. pcsclite_CFLAGS
  613. botan_LIBS
  614. botan_CFLAGS
  615. WOLFSSL_LIB
  616. OPENSSL_LIB
  617. MYSQLCFLAG
  618. MYSQLCONFIG
  619. MYSQLLIB
  620. clearsilver_LIBS
  621. json_LIBS
  622. json_CFLAGS
  623. tss2_LIBS
  624. tss2_CFLAGS
  625. xml_LIBS
  626. xml_CFLAGS
  627. soup_LIBS
  628. soup_CFLAGS
  629. RTLIB
  630. ATOMICLIB
  631. PTHREADLIB
  632. SOCKLIB
  633. BTLIB
  634. DLLIB
  635. ALLOCA
  636. GPERF_LEN_TYPE
  637. GPERF
  638. PERL
  639. YFLAGS
  640. YACC
  641. LEXLIB
  642. LEX_OUTPUT_ROOT
  643. LEX
  644. AWK
  645. INSTALL_DATA
  646. INSTALL_SCRIPT
  647. INSTALL_PROGRAM
  648. EGREP
  649. GREP
  650. CPP
  651. OBJEXT
  652. EXEEXT
  653. ac_ct_CC
  654. CPPFLAGS
  655. LDFLAGS
  656. CFLAGS
  657. CC
  658. PLUGIN_CFLAGS
  659. ipsec_script_upper
  660. charon_natt_port
  661. charon_udp_port
  662. ipsecgroup
  663. ipsecuser
  664. systemdsystemunitdir
  665. libfuzzer
  666. fips_mode
  667. ipsec_script
  668. routing_table_prio
  669. routing_table
  670. linux_headers
  671. swanctldir
  672. nm_ca_dir
  673. imcvdir
  674. plugindir
  675. ipseclibdir
  676. ipsecdir
  677. piddir
  678. resolv_conf
  679. strongswan_conf
  680. urandom_device
  681. random_device
  682. PACKAGE_VERSION_REVIEW
  683. PACKAGE_VERSION_BUILD
  684. PACKAGE_VERSION_MINOR
  685. PACKAGE_VERSION_MAJOR
  686. SED
  687. target_alias
  688. host_alias
  689. build_alias
  690. LIBS
  691. ECHO_T
  692. ECHO_N
  693. ECHO_C
  694. DEFS
  695. mandir
  696. localedir
  697. libdir
  698. psdir
  699. pdfdir
  700. dvidir
  701. htmldir
  702. infodir
  703. docdir
  704. oldincludedir
  705. includedir
  706. runstatedir
  707. localstatedir
  708. sharedstatedir
  709. sysconfdir
  710. datadir
  711. datarootdir
  712. libexecdir
  713. sbindir
  714. bindir
  715. program_transform_name
  716. prefix
  717. exec_prefix
  718. PACKAGE_URL
  719. PACKAGE_BUGREPORT
  720. PACKAGE_STRING
  721. PACKAGE_VERSION
  722. PACKAGE_TARNAME
  723. PACKAGE_NAME
  724. PATH_SEPARATOR
  725. SHELL'
  726. ac_subst_files=''
  727. ac_user_opts='
  728. enable_option_checking
  729. with_random_device
  730. with_urandom_device
  731. with_strongswan_conf
  732. with_resolv_conf
  733. with_piddir
  734. with_ipsecdir
  735. with_ipseclibdir
  736. with_plugindir
  737. with_imcvdir
  738. with_nm_ca_dir
  739. with_swanctldir
  740. with_linux_headers
  741. with_routing_table
  742. with_routing_table_prio
  743. with_ipsec_script
  744. with_fips_mode
  745. with_libfuzzer
  746. with_capabilities
  747. with_mpz_powm_sec
  748. with_dev_headers
  749. with_printf_hooks
  750. with_rubygemdir
  751. with_pythoneggdir
  752. with_systemdsystemunitdir
  753. with_user
  754. with_group
  755. with_charon_udp_port
  756. with_charon_natt_port
  757. enable_aes
  758. enable_af_alg
  759. enable_bliss
  760. enable_blowfish
  761. enable_botan
  762. enable_ccm
  763. enable_chapoly
  764. enable_cmac
  765. enable_ctr
  766. enable_des
  767. enable_fips_prf
  768. enable_gcm
  769. enable_gcrypt
  770. enable_gmp
  771. enable_curve25519
  772. enable_hmac
  773. enable_md4
  774. enable_md5
  775. enable_mgf1
  776. enable_newhope
  777. enable_nonce
  778. enable_ntru
  779. enable_openssl
  780. enable_wolfssl
  781. enable_padlock
  782. enable_random
  783. enable_rc2
  784. enable_rdrand
  785. enable_aesni
  786. enable_sha1
  787. enable_sha2
  788. enable_sha3
  789. enable_xcbc
  790. enable_dnskey
  791. enable_pem
  792. enable_pgp
  793. enable_pkcs1
  794. enable_pkcs7
  795. enable_pkcs8
  796. enable_pkcs12
  797. enable_pubkey
  798. enable_sshkey
  799. enable_x509
  800. enable_curl
  801. enable_files
  802. enable_ldap
  803. enable_soup
  804. enable_unbound
  805. enable_winhttp
  806. enable_mysql
  807. enable_sqlite
  808. enable_addrblock
  809. enable_acert
  810. enable_agent
  811. enable_constraints
  812. enable_coupling
  813. enable_dnscert
  814. enable_eap_sim
  815. enable_eap_sim_file
  816. enable_eap_sim_pcsc
  817. enable_eap_aka
  818. enable_eap_aka_3gpp
  819. enable_eap_aka_3gpp2
  820. enable_eap_simaka_sql
  821. enable_eap_simaka_pseudonym
  822. enable_eap_simaka_reauth
  823. enable_eap_identity
  824. enable_eap_md5
  825. enable_eap_gtc
  826. enable_eap_mschapv2
  827. enable_eap_tls
  828. enable_eap_ttls
  829. enable_eap_peap
  830. enable_eap_tnc
  831. enable_eap_dynamic
  832. enable_eap_radius
  833. enable_ext_auth
  834. enable_ipseckey
  835. enable_keychain
  836. enable_pkcs11
  837. enable_tpm
  838. enable_revocation
  839. enable_whitelist
  840. enable_xauth_generic
  841. enable_xauth_eap
  842. enable_xauth_pam
  843. enable_xauth_noauth
  844. enable_kernel_netlink
  845. enable_kernel_pfkey
  846. enable_kernel_pfroute
  847. enable_kernel_iph
  848. enable_kernel_libipsec
  849. enable_kernel_wfp
  850. enable_socket_default
  851. enable_socket_dynamic
  852. enable_socket_win
  853. enable_stroke
  854. enable_smp
  855. enable_sql
  856. enable_uci
  857. enable_vici
  858. enable_android_dns
  859. enable_attr
  860. enable_attr_sql
  861. enable_dhcp
  862. enable_osx_attr
  863. enable_p_cscf
  864. enable_resolve
  865. enable_unity
  866. enable_imc_test
  867. enable_imv_test
  868. enable_imc_scanner
  869. enable_imv_scanner
  870. enable_imc_os
  871. enable_imv_os
  872. enable_imc_attestation
  873. enable_imv_attestation
  874. enable_imc_swima
  875. enable_imv_swima
  876. enable_imc_hcd
  877. enable_imv_hcd
  878. enable_tnc_ifmap
  879. enable_tnc_imc
  880. enable_tnc_imv
  881. enable_tnc_pdp
  882. enable_tnccs_11
  883. enable_tnccs_20
  884. enable_tnccs_dynamic
  885. enable_android_log
  886. enable_bypass_lan
  887. enable_certexpire
  888. enable_connmark
  889. enable_counters
  890. enable_forecast
  891. enable_duplicheck
  892. enable_error_notify
  893. enable_farp
  894. enable_ha
  895. enable_led
  896. enable_load_tester
  897. enable_lookip
  898. enable_radattr
  899. enable_save_keys
  900. enable_systime_fix
  901. enable_test_vectors
  902. enable_updown
  903. enable_aikgen
  904. enable_charon
  905. enable_cmd
  906. enable_conftest
  907. enable_fast
  908. enable_fuzzing
  909. enable_libipsec
  910. enable_manager
  911. enable_medcli
  912. enable_medsrv
  913. enable_nm
  914. enable_pki
  915. enable_scepclient
  916. enable_scripts
  917. enable_svc
  918. enable_systemd
  919. enable_swanctl
  920. enable_tkm
  921. enable_bfd_backtraces
  922. enable_dbghelp_backtraces
  923. enable_ikev1
  924. enable_ikev2
  925. enable_integrity_test
  926. enable_load_warning
  927. enable_mediation
  928. enable_unwind_backtraces
  929. enable_ruby_gems
  930. enable_ruby_gems_install
  931. enable_python_eggs
  932. enable_python_eggs_install
  933. enable_perl_cpan
  934. enable_perl_cpan_install
  935. enable_tss_trousers
  936. enable_tss_tss2
  937. enable_coverage
  938. enable_leak_detective
  939. enable_lock_profiler
  940. enable_log_thread_ids
  941. enable_monolithic
  942. enable_defaults
  943. enable_all
  944. '
  945. ac_precious_vars='build_alias
  946. host_alias
  947. target_alias
  948. CC
  949. CFLAGS
  950. LDFLAGS
  951. LIBS
  952. CPPFLAGS
  953. CPP
  954. YACC
  955. YFLAGS'
  956. # Initialize some variables set by options.
  957. ac_init_help=
  958. ac_init_version=false
  959. ac_unrecognized_opts=
  960. ac_unrecognized_sep=
  961. # The variables have the same names as the options, with
  962. # dashes changed to underlines.
  963. cache_file=/dev/null
  964. exec_prefix=NONE
  965. no_create=
  966. no_recursion=
  967. prefix=NONE
  968. program_prefix=NONE
  969. program_suffix=NONE
  970. program_transform_name=s,x,x,
  971. silent=
  972. site=
  973. srcdir=
  974. verbose=
  975. x_includes=NONE
  976. x_libraries=NONE
  977. # Installation directory options.
  978. # These are left unexpanded so users can "make install exec_prefix=/foo"
  979. # and all the variables that are supposed to be based on exec_prefix
  980. # by default will actually change.
  981. # Use braces instead of parens because sh, perl, etc. also accept them.
  982. # (The list follows the same order as the GNU Coding Standards.)
  983. bindir='${exec_prefix}/bin'
  984. sbindir='${exec_prefix}/sbin'
  985. libexecdir='${exec_prefix}/libexec'
  986. datarootdir='${prefix}/share'
  987. datadir='${datarootdir}'
  988. sysconfdir='${prefix}/etc'
  989. sharedstatedir='${prefix}/com'
  990. localstatedir='${prefix}/var'
  991. runstatedir='${localstatedir}/run'
  992. includedir='${prefix}/include'
  993. oldincludedir='/usr/include'
  994. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  995. infodir='${datarootdir}/info'
  996. htmldir='${docdir}'
  997. dvidir='${docdir}'
  998. pdfdir='${docdir}'
  999. psdir='${docdir}'
  1000. libdir='${exec_prefix}/lib'
  1001. localedir='${datarootdir}/locale'
  1002. mandir='${datarootdir}/man'
  1003. ac_prev=
  1004. ac_dashdash=
  1005. for ac_option
  1006. do
  1007. # If the previous option needs an argument, assign it.
  1008. if test -n "$ac_prev"; then
  1009. eval $ac_prev=\$ac_option
  1010. ac_prev=
  1011. continue
  1012. fi
  1013. case $ac_option in
  1014. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1015. *=) ac_optarg= ;;
  1016. *) ac_optarg=yes ;;
  1017. esac
  1018. # Accept the important Cygnus configure options, so we can diagnose typos.
  1019. case $ac_dashdash$ac_option in
  1020. --)
  1021. ac_dashdash=yes ;;
  1022. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1023. ac_prev=bindir ;;
  1024. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1025. bindir=$ac_optarg ;;
  1026. -build | --build | --buil | --bui | --bu)
  1027. ac_prev=build_alias ;;
  1028. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1029. build_alias=$ac_optarg ;;
  1030. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1031. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1032. ac_prev=cache_file ;;
  1033. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1034. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1035. cache_file=$ac_optarg ;;
  1036. --config-cache | -C)
  1037. cache_file=config.cache ;;
  1038. -datadir | --datadir | --datadi | --datad)
  1039. ac_prev=datadir ;;
  1040. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1041. datadir=$ac_optarg ;;
  1042. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1043. | --dataroo | --dataro | --datar)
  1044. ac_prev=datarootdir ;;
  1045. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1046. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1047. datarootdir=$ac_optarg ;;
  1048. -disable-* | --disable-*)
  1049. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1050. # Reject names that are not valid shell variable names.
  1051. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1052. as_fn_error $? "invalid feature name: $ac_useropt"
  1053. ac_useropt_orig=$ac_useropt
  1054. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1055. case $ac_user_opts in
  1056. *"
  1057. "enable_$ac_useropt"
  1058. "*) ;;
  1059. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1060. ac_unrecognized_sep=', ';;
  1061. esac
  1062. eval enable_$ac_useropt=no ;;
  1063. -docdir | --docdir | --docdi | --doc | --do)
  1064. ac_prev=docdir ;;
  1065. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1066. docdir=$ac_optarg ;;
  1067. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1068. ac_prev=dvidir ;;
  1069. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1070. dvidir=$ac_optarg ;;
  1071. -enable-* | --enable-*)
  1072. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1073. # Reject names that are not valid shell variable names.
  1074. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1075. as_fn_error $? "invalid feature name: $ac_useropt"
  1076. ac_useropt_orig=$ac_useropt
  1077. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1078. case $ac_user_opts in
  1079. *"
  1080. "enable_$ac_useropt"
  1081. "*) ;;
  1082. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1083. ac_unrecognized_sep=', ';;
  1084. esac
  1085. eval enable_$ac_useropt=\$ac_optarg ;;
  1086. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1087. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1088. | --exec | --exe | --ex)
  1089. ac_prev=exec_prefix ;;
  1090. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1091. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1092. | --exec=* | --exe=* | --ex=*)
  1093. exec_prefix=$ac_optarg ;;
  1094. -gas | --gas | --ga | --g)
  1095. # Obsolete; use --with-gas.
  1096. with_gas=yes ;;
  1097. -help | --help | --hel | --he | -h)
  1098. ac_init_help=long ;;
  1099. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1100. ac_init_help=recursive ;;
  1101. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1102. ac_init_help=short ;;
  1103. -host | --host | --hos | --ho)
  1104. ac_prev=host_alias ;;
  1105. -host=* | --host=* | --hos=* | --ho=*)
  1106. host_alias=$ac_optarg ;;
  1107. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1108. ac_prev=htmldir ;;
  1109. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1110. | --ht=*)
  1111. htmldir=$ac_optarg ;;
  1112. -includedir | --includedir | --includedi | --included | --include \
  1113. | --includ | --inclu | --incl | --inc)
  1114. ac_prev=includedir ;;
  1115. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1116. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1117. includedir=$ac_optarg ;;
  1118. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1119. ac_prev=infodir ;;
  1120. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1121. infodir=$ac_optarg ;;
  1122. -libdir | --libdir | --libdi | --libd)
  1123. ac_prev=libdir ;;
  1124. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1125. libdir=$ac_optarg ;;
  1126. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1127. | --libexe | --libex | --libe)
  1128. ac_prev=libexecdir ;;
  1129. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1130. | --libexe=* | --libex=* | --libe=*)
  1131. libexecdir=$ac_optarg ;;
  1132. -localedir | --localedir | --localedi | --localed | --locale)
  1133. ac_prev=localedir ;;
  1134. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1135. localedir=$ac_optarg ;;
  1136. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1137. | --localstate | --localstat | --localsta | --localst | --locals)
  1138. ac_prev=localstatedir ;;
  1139. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1140. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1141. localstatedir=$ac_optarg ;;
  1142. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1143. ac_prev=mandir ;;
  1144. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1145. mandir=$ac_optarg ;;
  1146. -nfp | --nfp | --nf)
  1147. # Obsolete; use --without-fp.
  1148. with_fp=no ;;
  1149. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1150. | --no-cr | --no-c | -n)
  1151. no_create=yes ;;
  1152. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1153. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1154. no_recursion=yes ;;
  1155. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1156. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1157. | --oldin | --oldi | --old | --ol | --o)
  1158. ac_prev=oldincludedir ;;
  1159. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1160. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1161. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1162. oldincludedir=$ac_optarg ;;
  1163. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1164. ac_prev=prefix ;;
  1165. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1166. prefix=$ac_optarg ;;
  1167. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1168. | --program-pre | --program-pr | --program-p)
  1169. ac_prev=program_prefix ;;
  1170. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1171. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1172. program_prefix=$ac_optarg ;;
  1173. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1174. | --program-suf | --program-su | --program-s)
  1175. ac_prev=program_suffix ;;
  1176. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1177. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1178. program_suffix=$ac_optarg ;;
  1179. -program-transform-name | --program-transform-name \
  1180. | --program-transform-nam | --program-transform-na \
  1181. | --program-transform-n | --program-transform- \
  1182. | --program-transform | --program-transfor \
  1183. | --program-transfo | --program-transf \
  1184. | --program-trans | --program-tran \
  1185. | --progr-tra | --program-tr | --program-t)
  1186. ac_prev=program_transform_name ;;
  1187. -program-transform-name=* | --program-transform-name=* \
  1188. | --program-transform-nam=* | --program-transform-na=* \
  1189. | --program-transform-n=* | --program-transform-=* \
  1190. | --program-transform=* | --program-transfor=* \
  1191. | --program-transfo=* | --program-transf=* \
  1192. | --program-trans=* | --program-tran=* \
  1193. | --progr-tra=* | --program-tr=* | --program-t=*)
  1194. program_transform_name=$ac_optarg ;;
  1195. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1196. ac_prev=pdfdir ;;
  1197. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1198. pdfdir=$ac_optarg ;;
  1199. -psdir | --psdir | --psdi | --psd | --ps)
  1200. ac_prev=psdir ;;
  1201. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1202. psdir=$ac_optarg ;;
  1203. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1204. | -silent | --silent | --silen | --sile | --sil)
  1205. silent=yes ;;
  1206. -runstatedir | --runstatedir | --runstatedi | --runstated \
  1207. | --runstate | --runstat | --runsta | --runst | --runs \
  1208. | --run | --ru | --r)
  1209. ac_prev=runstatedir ;;
  1210. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1211. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1212. | --run=* | --ru=* | --r=*)
  1213. runstatedir=$ac_optarg ;;
  1214. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1215. ac_prev=sbindir ;;
  1216. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1217. | --sbi=* | --sb=*)
  1218. sbindir=$ac_optarg ;;
  1219. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1220. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1221. | --sharedst | --shareds | --shared | --share | --shar \
  1222. | --sha | --sh)
  1223. ac_prev=sharedstatedir ;;
  1224. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1225. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1226. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1227. | --sha=* | --sh=*)
  1228. sharedstatedir=$ac_optarg ;;
  1229. -site | --site | --sit)
  1230. ac_prev=site ;;
  1231. -site=* | --site=* | --sit=*)
  1232. site=$ac_optarg ;;
  1233. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1234. ac_prev=srcdir ;;
  1235. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1236. srcdir=$ac_optarg ;;
  1237. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1238. | --syscon | --sysco | --sysc | --sys | --sy)
  1239. ac_prev=sysconfdir ;;
  1240. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1241. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1242. sysconfdir=$ac_optarg ;;
  1243. -target | --target | --targe | --targ | --tar | --ta | --t)
  1244. ac_prev=target_alias ;;
  1245. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1246. target_alias=$ac_optarg ;;
  1247. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1248. verbose=yes ;;
  1249. -version | --version | --versio | --versi | --vers | -V)
  1250. ac_init_version=: ;;
  1251. -with-* | --with-*)
  1252. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1253. # Reject names that are not valid shell variable names.
  1254. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1255. as_fn_error $? "invalid package name: $ac_useropt"
  1256. ac_useropt_orig=$ac_useropt
  1257. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1258. case $ac_user_opts in
  1259. *"
  1260. "with_$ac_useropt"
  1261. "*) ;;
  1262. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1263. ac_unrecognized_sep=', ';;
  1264. esac
  1265. eval with_$ac_useropt=\$ac_optarg ;;
  1266. -without-* | --without-*)
  1267. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1268. # Reject names that are not valid shell variable names.
  1269. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1270. as_fn_error $? "invalid package name: $ac_useropt"
  1271. ac_useropt_orig=$ac_useropt
  1272. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1273. case $ac_user_opts in
  1274. *"
  1275. "with_$ac_useropt"
  1276. "*) ;;
  1277. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1278. ac_unrecognized_sep=', ';;
  1279. esac
  1280. eval with_$ac_useropt=no ;;
  1281. --x)
  1282. # Obsolete; use --with-x.
  1283. with_x=yes ;;
  1284. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1285. | --x-incl | --x-inc | --x-in | --x-i)
  1286. ac_prev=x_includes ;;
  1287. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1288. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1289. x_includes=$ac_optarg ;;
  1290. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1291. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1292. ac_prev=x_libraries ;;
  1293. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1294. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1295. x_libraries=$ac_optarg ;;
  1296. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1297. Try \`$0 --help' for more information"
  1298. ;;
  1299. *=*)
  1300. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1301. # Reject names that are not valid shell variable names.
  1302. case $ac_envvar in #(
  1303. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1304. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1305. esac
  1306. eval $ac_envvar=\$ac_optarg
  1307. export $ac_envvar ;;
  1308. *)
  1309. # FIXME: should be removed in autoconf 3.0.
  1310. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1311. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1312. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1313. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1314. ;;
  1315. esac
  1316. done
  1317. if test -n "$ac_prev"; then
  1318. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1319. as_fn_error $? "missing argument to $ac_option"
  1320. fi
  1321. if test -n "$ac_unrecognized_opts"; then
  1322. case $enable_option_checking in
  1323. no) ;;
  1324. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1325. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1326. esac
  1327. fi
  1328. # Check all directory arguments for consistency.
  1329. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1330. datadir sysconfdir sharedstatedir localstatedir includedir \
  1331. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1332. libdir localedir mandir runstatedir
  1333. do
  1334. eval ac_val=\$$ac_var
  1335. # Remove trailing slashes.
  1336. case $ac_val in
  1337. */ )
  1338. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1339. eval $ac_var=\$ac_val;;
  1340. esac
  1341. # Be sure to have absolute directory names.
  1342. case $ac_val in
  1343. [\\/$]* | ?:[\\/]* ) continue;;
  1344. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1345. esac
  1346. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1347. done
  1348. # There might be people who depend on the old broken behavior: `$host'
  1349. # used to hold the argument of --host etc.
  1350. # FIXME: To remove some day.
  1351. build=$build_alias
  1352. host=$host_alias
  1353. target=$target_alias
  1354. # FIXME: To remove some day.
  1355. if test "x$host_alias" != x; then
  1356. if test "x$build_alias" = x; then
  1357. cross_compiling=maybe
  1358. elif test "x$build_alias" != "x$host_alias"; then
  1359. cross_compiling=yes
  1360. fi
  1361. fi
  1362. ac_tool_prefix=
  1363. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1364. test "$silent" = yes && exec 6>/dev/null
  1365. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1366. ac_ls_di=`ls -di .` &&
  1367. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1368. as_fn_error $? "working directory cannot be determined"
  1369. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1370. as_fn_error $? "pwd does not report name of working directory"
  1371. # Find the source files, if location was not specified.
  1372. if test -z "$srcdir"; then
  1373. ac_srcdir_defaulted=yes
  1374. # Try the directory containing this script, then the parent directory.
  1375. ac_confdir=`$as_dirname -- "$as_myself" ||
  1376. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1377. X"$as_myself" : 'X\(//\)[^/]' \| \
  1378. X"$as_myself" : 'X\(//\)$' \| \
  1379. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1380. $as_echo X"$as_myself" |
  1381. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1382. s//\1/
  1383. q
  1384. }
  1385. /^X\(\/\/\)[^/].*/{
  1386. s//\1/
  1387. q
  1388. }
  1389. /^X\(\/\/\)$/{
  1390. s//\1/
  1391. q
  1392. }
  1393. /^X\(\/\).*/{
  1394. s//\1/
  1395. q
  1396. }
  1397. s/.*/./; q'`
  1398. srcdir=$ac_confdir
  1399. if test ! -r "$srcdir/$ac_unique_file"; then
  1400. srcdir=..
  1401. fi
  1402. else
  1403. ac_srcdir_defaulted=no
  1404. fi
  1405. if test ! -r "$srcdir/$ac_unique_file"; then
  1406. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1407. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1408. fi
  1409. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1410. ac_abs_confdir=`(
  1411. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1412. pwd)`
  1413. # When building in place, set srcdir=.
  1414. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1415. srcdir=.
  1416. fi
  1417. # Remove unnecessary trailing slashes from srcdir.
  1418. # Double slashes in file names in object file debugging info
  1419. # mess up M-x gdb in Emacs.
  1420. case $srcdir in
  1421. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1422. esac
  1423. for ac_var in $ac_precious_vars; do
  1424. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1425. eval ac_env_${ac_var}_value=\$${ac_var}
  1426. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1427. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1428. done
  1429. #
  1430. # Report the --help message.
  1431. #
  1432. if test "$ac_init_help" = "long"; then
  1433. # Omit some internal or obsolete options to make the list less imposing.
  1434. # This message is too long to be a string in the A/UX 3.1 sh.
  1435. cat <<_ACEOF
  1436. \`configure' configures strongSwan 5.8.1 to adapt to many kinds of systems.
  1437. Usage: $0 [OPTION]... [VAR=VALUE]...
  1438. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1439. VAR=VALUE. See below for descriptions of some of the useful variables.
  1440. Defaults for the options are specified in brackets.
  1441. Configuration:
  1442. -h, --help display this help and exit
  1443. --help=short display options specific to this package
  1444. --help=recursive display the short help of all the included packages
  1445. -V, --version display version information and exit
  1446. -q, --quiet, --silent do not print \`checking ...' messages
  1447. --cache-file=FILE cache test results in FILE [disabled]
  1448. -C, --config-cache alias for \`--cache-file=config.cache'
  1449. -n, --no-create do not create output files
  1450. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1451. Installation directories:
  1452. --prefix=PREFIX install architecture-independent files in PREFIX
  1453. @<:@@S|@ac_default_prefix@:>@
  1454. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1455. @<:@PREFIX@:>@
  1456. By default, \`make install' will install all the files in
  1457. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1458. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1459. for instance \`--prefix=\$HOME'.
  1460. For better control, use the options below.
  1461. Fine tuning of the installation directories:
  1462. --bindir=DIR user executables [EPREFIX/bin]
  1463. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1464. --libexecdir=DIR program executables [EPREFIX/libexec]
  1465. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1466. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1467. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1468. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  1469. --libdir=DIR object code libraries [EPREFIX/lib]
  1470. --includedir=DIR C header files [PREFIX/include]
  1471. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1472. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1473. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1474. --infodir=DIR info documentation [DATAROOTDIR/info]
  1475. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1476. --mandir=DIR man documentation [DATAROOTDIR/man]
  1477. --docdir=DIR documentation root @<:@DATAROOTDIR/doc/strongswan@:>@
  1478. --htmldir=DIR html documentation [DOCDIR]
  1479. --dvidir=DIR dvi documentation [DOCDIR]
  1480. --pdfdir=DIR pdf documentation [DOCDIR]
  1481. --psdir=DIR ps documentation [DOCDIR]
  1482. _ACEOF
  1483. cat <<\_ACEOF
  1484. _ACEOF
  1485. fi
  1486. if test -n "$ac_init_help"; then
  1487. case $ac_init_help in
  1488. short | recursive ) echo "Configuration of strongSwan 5.8.1:";;
  1489. esac
  1490. cat <<\_ACEOF
  1491. Optional Features:
  1492. --disable-option-checking ignore unrecognized --enable/--with options
  1493. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1494. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1495. --disable-aes disable AES software implementation plugin.
  1496. --enable-af-alg enable AF_ALG crypto interface to Linux Crypto API.
  1497. --enable-bliss enable BLISS software implementation plugin.
  1498. --enable-blowfish enable Blowfish software implementation plugin.
  1499. --enable-botan enables the Botan crypto plugin.
  1500. --enable-ccm enables the CCM AEAD wrapper crypto plugin.
  1501. --enable-chapoly enables the ChaCha20/Poly1305 AEAD plugin.
  1502. --disable-cmac disable CMAC crypto implementation plugin.
  1503. --enable-ctr enables the Counter Mode wrapper crypto plugin.
  1504. --disable-des disable DES/3DES software implementation plugin.
  1505. --disable-fips-prf disable FIPS PRF software implementation plugin.
  1506. --enable-gcm enables the GCM AEAD wrapper crypto plugin.
  1507. --enable-gcrypt enables the libgcrypt plugin.
  1508. --disable-gmp disable GNU MP (libgmp) based crypto implementation
  1509. plugin.
  1510. --disable-curve25519 disable Curve25519 Diffie-Hellman plugin.
  1511. --disable-hmac disable HMAC crypto implementation plugin.
  1512. --enable-md4 enable MD4 software implementation plugin.
  1513. --disable-md5 disable MD5 software implementation plugin.
  1514. --enable-mgf1 enable the MGF1 software implementation plugin.
  1515. --enable-newhope enable New Hope crypto plugin.
  1516. --disable-nonce disable nonce generation plugin.
  1517. --enable-ntru enables the NTRU crypto plugin.
  1518. --enable-openssl enables the OpenSSL crypto plugin.
  1519. --enable-wolfssl enables the wolfSSL crypto plugin.
  1520. --enable-padlock enables VIA Padlock crypto plugin.
  1521. --disable-random disable RNG implementation on top of /dev/(u)random.
  1522. --disable-rc2 disable RC2 software implementation plugin.
  1523. --enable-rdrand enable Intel RDRAND random generator plugin.
  1524. --enable-aesni enable Intel AES-NI crypto plugin.
  1525. --disable-sha1 disable SHA1 software implementation plugin.
  1526. --disable-sha2 disable SHA256/SHA384/SHA512 software implementation
  1527. plugin.
  1528. --enable-sha3 enable SHA3_224/SHA3_256/SHA3_384/SHA3_512 software
  1529. implementation plugin.
  1530. --disable-xcbc disable xcbc crypto implementation plugin.
  1531. --disable-dnskey disable DNS RR key decoding plugin.
  1532. --disable-pem disable PEM decoding plugin.
  1533. --disable-pgp disable PGP key decoding plugin.
  1534. --disable-pkcs1 disable PKCS1 key decoding plugin.
  1535. --disable-pkcs7 disable PKCS7 container support plugin.
  1536. --disable-pkcs8 disable PKCS8 private key decoding plugin.
  1537. --disable-pkcs12 disable PKCS12 container support plugin.
  1538. --disable-pubkey disable RAW public key support plugin.
  1539. --disable-sshkey disable SSH key decoding plugin.
  1540. --disable-x509 disable X509 certificate implementation plugin.
  1541. --enable-curl enable CURL fetcher plugin to fetch files via
  1542. libcurl. Requires libcurl.
  1543. --enable-files enable simple file:// URI fetcher.
  1544. --enable-ldap enable LDAP fetching plugin to fetch files via
  1545. libldap. Requires openLDAP.
  1546. --enable-soup enable soup fetcher plugin to fetch from HTTP via
  1547. libsoup. Requires libsoup.
  1548. --enable-unbound enable UNBOUND resolver plugin to perform DNS
  1549. queries via libunbound. Requires libldns and
  1550. libunbound.
  1551. --enable-winhttp enable WinHTTP based HTTP/HTTPS fetching plugin.
  1552. --enable-mysql enable MySQL database support. Requires
  1553. libmysqlclient_r.
  1554. --enable-sqlite enable SQLite database support. Requires libsqlite3.
  1555. --enable-addrblock enables RFC 3779 address block constraint support.
  1556. --enable-acert enable X509 attribute certificate checking plugin.
  1557. --enable-agent enables the ssh-agent signing plugin.
  1558. --disable-constraints disable advanced X509 constraint checking plugin.
  1559. --enable-coupling enable IKEv2 plugin to couple peer certificates
  1560. permanently to authentication.
  1561. --enable-dnscert enable DNSCERT authentication plugin.
  1562. --enable-eap-sim enable SIM authentication module for EAP.
  1563. --enable-eap-sim-file enable EAP-SIM backend based on a triplet file.
  1564. --enable-eap-sim-pcsc enable EAP-SIM backend based on a smartcard reader.
  1565. Requires libpcsclite.
  1566. --enable-eap-aka enable EAP AKA authentication module.
  1567. --enable-eap-aka-3gpp enable EAP AKA backend implementing 3GPP MILENAGE
  1568. algorithms in software.
  1569. --enable-eap-aka-3gpp2 enable EAP AKA backend implementing 3GPP2 algorithms
  1570. in software. Requires libgmp.
  1571. --enable-eap-simaka-sql enable EAP-SIM/AKA backend based on a
  1572. triplet/quintuplet SQL database.
  1573. --enable-eap-simaka-pseudonym
  1574. enable EAP-SIM/AKA pseudonym storage plugin.
  1575. --enable-eap-simaka-reauth
  1576. enable EAP-SIM/AKA reauthentication data storage
  1577. plugin.
  1578. --enable-eap-identity enable EAP module providing EAP-Identity helper.
  1579. --enable-eap-md5 enable EAP MD5 (CHAP) authentication module.
  1580. --enable-eap-gtc enable EAP GTC authentication module.
  1581. --enable-eap-mschapv2 enable EAP MS-CHAPv2 authentication module.
  1582. --enable-eap-tls enable EAP TLS authentication module.
  1583. --enable-eap-ttls enable EAP TTLS authentication module.
  1584. --enable-eap-peap enable EAP PEAP authentication module.
  1585. --enable-eap-tnc enable EAP TNC trusted network connect module.
  1586. --enable-eap-dynamic enable dynamic EAP proxy module.
  1587. --enable-eap-radius enable RADIUS proxy authentication module.
  1588. --enable-ext-auth enable plugin calling an external authorization
  1589. script.
  1590. --enable-ipseckey enable IPSECKEY authentication plugin.
  1591. --enable-keychain enables OS X Keychain Services credential set.
  1592. --enable-pkcs11 enables the PKCS11 token support plugin.
  1593. --enable-tpm enables the TPM plugin.
  1594. --disable-revocation disable X509 CRL/OCSP revocation check plugin.
  1595. --enable-whitelist enable peer identity whitelisting plugin.
  1596. --disable-xauth-generic disable generic XAuth backend.
  1597. --enable-xauth-eap enable XAuth backend using EAP methods to verify
  1598. passwords.
  1599. --enable-xauth-pam enable XAuth backend using PAM to verify passwords.
  1600. --enable-xauth-noauth enable XAuth pseudo-backend that does not actually
  1601. verify or even request any credentials.
  1602. --disable-kernel-netlink
  1603. disable the netlink kernel interface.
  1604. --enable-kernel-pfkey enable the PF_KEY kernel interface.
  1605. --enable-kernel-pfroute enable the PF_ROUTE kernel interface.
  1606. --enable-kernel-iph enable the Windows IP Helper based networking
  1607. backend.
  1608. --enable-kernel-libipsec
  1609. enable the libipsec kernel interface.
  1610. --enable-kernel-wfp enable the Windows Filtering Platform IPsec backend.
  1611. --disable-socket-default
  1612. disable default socket implementation for charon.
  1613. --enable-socket-dynamic enable dynamic socket implementation for charon
  1614. --enable-socket-win enable Winsock2 based socket implementation for
  1615. charon
  1616. --disable-stroke disable charons stroke configuration backend.
  1617. --enable-smp enable SMP configuration and control interface.
  1618. Requires libxml.
  1619. --enable-sql enable SQL database configuration backend.
  1620. --enable-uci enable OpenWRT UCI configuration plugin.
  1621. --disable-vici disable strongSwan IKE generic IPC interface plugin.
  1622. --enable-android-dns enable Android specific DNS handler.
  1623. --disable-attr disable strongswan.conf based configuration
  1624. attribute plugin.
  1625. --enable-attr-sql enable SQL based configuration attribute plugin.
  1626. --enable-dhcp enable DHCP based attribute provider plugin.
  1627. --enable-osx-attr enable OS X SystemConfiguration attribute handler.
  1628. --enable-p-cscf enable plugin to request P-CSCF server addresses
  1629. from an ePDG.
  1630. --disable-resolve disable resolve DNS handler plugin.
  1631. --enable-unity enables Cisco Unity extension plugin.
  1632. --enable-imc-test enable IMC test module.
  1633. --enable-imv-test enable IMV test module.
  1634. --enable-imc-scanner enable IMC port scanner module.
  1635. --enable-imv-scanner enable IMV port scanner module.
  1636. --enable-imc-os enable IMC operating system module.
  1637. --enable-imv-os enable IMV operating system module.
  1638. --enable-imc-attestation
  1639. enable IMC attestation module.
  1640. --enable-imv-attestation
  1641. enable IMV attestation module.
  1642. --enable-imc-swima enable IMC swima module.
  1643. --enable-imv-swima enable IMV swima module.
  1644. --enable-imc-hcd enable IMC hcd module.
  1645. --enable-imv-hcd enable IMV hcd module.
  1646. --enable-tnc-ifmap enable TNC IF-MAP module. Requires libxml
  1647. --enable-tnc-imc enable TNC IMC module.
  1648. --enable-tnc-imv enable TNC IMV module.
  1649. --enable-tnc-pdp enable TNC policy decision point module.
  1650. --enable-tnccs-11 enable TNCCS 1.1 protocol module. Requires libxml
  1651. --enable-tnccs-20 enable TNCCS 2.0 protocol module.
  1652. --enable-tnccs-dynamic enable dynamic TNCCS protocol discovery module.
  1653. --enable-android-log enable Android specific logger plugin.
  1654. --enable-bypass-lan enable plugin to install bypass policies for local
  1655. subnets.
  1656. --enable-certexpire enable CSV export of expiration dates of used
  1657. certificates.
  1658. --enable-connmark enable connmark plugin using conntrack based marks
  1659. to select return path SA.
  1660. --enable-counters enable plugin that collects several performance
  1661. counters.
  1662. --enable-forecast enable forecast plugin forwarding
  1663. broadcast/multicast messages.
  1664. --enable-duplicheck advanced duplicate checking plugin using liveness
  1665. checks.
  1666. --enable-error-notify enable error notification plugin.
  1667. --enable-farp enable ARP faking plugin that responds to ARP
  1668. requests to peers virtual IP
  1669. --enable-ha enable high availability cluster plugin.
  1670. --enable-led enable plugin to control LEDs on IKEv2 activity
  1671. using the Linux kernel LED subsystem.
  1672. --enable-load-tester enable load testing plugin for IKEv2 daemon.
  1673. --enable-lookip enable fast virtual IP lookup and notification
  1674. plugin.
  1675. --enable-radattr enable plugin to inject and process custom RADIUS
  1676. attributes as IKEv2 client.
  1677. --enable-save-keys enable development/debugging plugin that saves IKE
  1678. and ESP keys in Wireshark format.
  1679. --enable-systime-fix enable plugin to handle cert lifetimes with invalid
  1680. system time gracefully.
  1681. --enable-test-vectors enable plugin providing crypto test vectors.
  1682. --disable-updown disable updown firewall script plugin.
  1683. --enable-aikgen enable AIK generator for TPM 1.2.
  1684. --disable-charon disable the IKEv1/IKEv2 keying daemon charon.
  1685. --enable-cmd enable the command line IKE client charon-cmd.
  1686. --enable-conftest enforce Suite B conformance test framework.
  1687. --enable-fast enable libfast (FastCGI Application Server w/
  1688. templates.
  1689. --enable-fuzzing enable fuzzing scripts (found in directory fuzz).
  1690. --enable-libipsec enable user space IPsec implementation.
  1691. --enable-manager enable web management console (proof of concept).
  1692. --enable-medcli enable mediation client configuration database
  1693. plugin.
  1694. --enable-medsrv enable mediation server web frontend and daemon
  1695. plugin.
  1696. --enable-nm enable NetworkManager backend.
  1697. --disable-pki disable pki certificate utility.
  1698. --disable-scepclient disable SCEP client tool.
  1699. --disable-scripts disable additional utilities (found in directory
  1700. scripts).
  1701. --enable-svc enable charon Windows service.
  1702. --enable-systemd enable systemd specific IKE daemon charon-systemd.
  1703. --disable-swanctl disable swanctl configuration and control tool.
  1704. --enable-tkm enable Trusted Key Manager support.
  1705. --enable-bfd-backtraces use binutils libbfd to resolve backtraces for memory
  1706. leaks and segfaults.
  1707. --enable-dbghelp-backtraces
  1708. use dbghlp.dll on Windows to create and print
  1709. backtraces for memory leaks and segfaults.
  1710. --disable-ikev1 disable IKEv1 protocol support in charon.
  1711. --disable-ikev2 disable IKEv2 protocol support in charon.
  1712. --enable-integrity-test enable integrity testing of libstrongswan and
  1713. plugins.
  1714. --disable-load-warning disable the charon plugin load option warning in
  1715. starter.
  1716. --enable-mediation enable IKEv2 Mediation Extension.
  1717. --enable-unwind-backtraces
  1718. use libunwind to create backtraces for memory leaks
  1719. and segfaults.
  1720. --enable-ruby-gems enable build of provided ruby gems.
  1721. --enable-ruby-gems-install
  1722. enable installation of provided ruby gems.
  1723. --enable-python-eggs enable build of provided python eggs.
  1724. --enable-python-eggs-install
  1725. enable installation of provided python eggs.
  1726. --enable-perl-cpan enable build of provided perl CPAN module.
  1727. --enable-perl-cpan-install
  1728. enable installation of provided CPAN module.
  1729. --enable-tss-trousers enable the use of the TrouSerS Trusted Software
  1730. Stack
  1731. --enable-tss-tss2 enable the use of the TSS 2.0 Trusted Software Stack
  1732. --enable-coverage enable lcov coverage report generation.
  1733. --enable-leak-detective enable malloc hooks to find memory leaks.
  1734. --enable-lock-profiler enable lock/mutex profiling code.
  1735. --enable-log-thread-ids use thread ID, if available, instead of an
  1736. incremented value starting from 1, to identify
  1737. threads.
  1738. --enable-monolithic build monolithic version of libstrongswan that
  1739. includes all enabled plugins. Similarly, the plugins
  1740. of charon are assembled in libcharon.
  1741. --disable-defaults disable all default plugins (they can be enabled
  1742. with their respective --enable options)
  1743. --enable-all enable all plugins and features (they can be
  1744. disabled with their respective --disable options).
  1745. Mainly for testing.
  1746. Optional Packages:
  1747. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1748. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1749. --with-random-device=arg
  1750. set the device to read real random data from
  1751. (default: /dev/random).
  1752. --with-urandom-device=arg
  1753. set the device to read pseudo random data from
  1754. (default: /dev/urandom).
  1755. --with-strongswan-conf=arg
  1756. set the strongswan.conf file location (default:
  1757. @S|@{sysconfdir}/strongswan.conf).
  1758. --with-resolv-conf=arg set the file to use in DNS handler plugin (default:
  1759. @S|@{sysconfdir}/resolv.conf).
  1760. --with-piddir=arg set path for PID and UNIX socket files (default:
  1761. /var/run).
  1762. --with-ipsecdir=arg set installation path for ipsec tools (default:
  1763. @S|@{libexecdir%/}/ipsec).
  1764. --with-ipseclibdir=arg set installation path for ipsec libraries (default:
  1765. @S|@{libdir%/}/ipsec).
  1766. --with-plugindir=arg set the installation path of plugins (default:
  1767. @S|@{ipseclibdir%/}/plugins).
  1768. --with-imcvdir=arg set the installation path of IMC and IMV dynamic
  1769. librariers (default: @S|@{ipseclibdir%/}/imcvs).
  1770. --with-nm-ca-dir=arg directory the NM backend uses to look up trusted
  1771. root certificates (default:
  1772. /usr/share/ca-certificates).
  1773. --with-swanctldir=arg base directory for swanctl configuration files and
  1774. credentials (default: @S|@{sysconfdir}/swanctl).
  1775. --with-linux-headers=arg
  1776. set directory of linux header files to use (default:
  1777. \@S|@{top_srcdir}/src/include).
  1778. --with-routing-table=arg
  1779. set routing table to use for IPsec routes (default:
  1780. 220).
  1781. --with-routing-table-prio=arg
  1782. set priority for IPsec routing table (default: 220).
  1783. --with-ipsec-script=arg change the name of the ipsec script (default:
  1784. ipsec).
  1785. --with-fips-mode=arg set openssl FIPS mode: disabled(0), enabled(1),
  1786. Suite B enabled(2) (default: 0).
  1787. --with-libfuzzer=arg -fsanitize=fuzzer or path to libFuzzer.a, a local
  1788. driver is used if not specified (default: ).
  1789. --with-capabilities=arg set capability dropping library. Currently supported
  1790. values are "libcap" and "native" (default: no).
  1791. --with-mpz_powm_sec=arg use the more side-channel resistant mpz_powm_sec in
  1792. libgmp, if available (default: yes).
  1793. --with-dev-headers=arg install strongSwan development headers to directory.
  1794. (default: no).
  1795. --with-printf-hooks=arg force the use of a specific printf hook
  1796. implementation (auto, builtin, glibc, vstr).
  1797. (default: auto).
  1798. --with-rubygemdir=arg path to install ruby gems to (default: "gem
  1799. environment gemdir").
  1800. --with-pythoneggdir=arg path to install python eggs to to (default: "main
  1801. site-packages directory").
  1802. --with-systemdsystemunitdir=arg
  1803. directory for systemd service files (default:
  1804. @S|@systemdsystemunitdir_default).
  1805. --with-user=user change user of the daemons to "user" after startup
  1806. (default is "root").
  1807. --with-group=group change group of the daemons to "group" after startup
  1808. (default is "root").
  1809. --with-charon-udp-port=port
  1810. UDP port used by charon locally (default 500). Set
  1811. to 0 to allocate randomly.
  1812. --with-charon-natt-port=port
  1813. UDP port used by charon locally in case a NAT is
  1814. detected (must be different from charon-udp-port,
  1815. default 4500). Set to 0 to allocate randomly.
  1816. Some influential environment variables:
  1817. CC C compiler command
  1818. CFLAGS C compiler flags
  1819. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1820. nonstandard directory <lib dir>
  1821. LIBS libraries to pass to the linker, e.g. -l<library>
  1822. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1823. you have headers in a nonstandard directory <include dir>
  1824. CPP C preprocessor
  1825. YACC The `Yet Another Compiler Compiler' implementation to use.
  1826. Defaults to the first program found out of: `bison -y', `byacc',
  1827. `yacc'.
  1828. YFLAGS The list of arguments that will be passed by default to @S|@YACC.
  1829. This script will default YFLAGS to the empty string to avoid a
  1830. default value of `-d' given by some make applications.
  1831. Use these variables to override the choices made by `configure' or to help
  1832. it to find libraries and programs with nonstandard names/locations.
  1833. Report bugs to the package provider.
  1834. _ACEOF
  1835. ac_status=$?
  1836. fi
  1837. if test "$ac_init_help" = "recursive"; then
  1838. # If there are subdirs, report their specific --help.
  1839. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1840. test -d "$ac_dir" ||
  1841. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1842. continue
  1843. ac_builddir=.
  1844. case "$ac_dir" in
  1845. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1846. *)
  1847. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1848. # A ".." for each directory in $ac_dir_suffix.
  1849. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1850. case $ac_top_builddir_sub in
  1851. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1852. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1853. esac ;;
  1854. esac
  1855. ac_abs_top_builddir=$ac_pwd
  1856. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1857. # for backward compatibility:
  1858. ac_top_builddir=$ac_top_build_prefix
  1859. case $srcdir in
  1860. .) # We are building in place.
  1861. ac_srcdir=.
  1862. ac_top_srcdir=$ac_top_builddir_sub
  1863. ac_abs_top_srcdir=$ac_pwd ;;
  1864. [\\/]* | ?:[\\/]* ) # Absolute name.
  1865. ac_srcdir=$srcdir$ac_dir_suffix;
  1866. ac_top_srcdir=$srcdir
  1867. ac_abs_top_srcdir=$srcdir ;;
  1868. *) # Relative name.
  1869. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1870. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1871. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1872. esac
  1873. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1874. cd "$ac_dir" || { ac_status=$?; continue; }
  1875. # Check for guested configure.
  1876. if test -f "$ac_srcdir/configure.gnu"; then
  1877. echo &&
  1878. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1879. elif test -f "$ac_srcdir/configure"; then
  1880. echo &&
  1881. $SHELL "$ac_srcdir/configure" --help=recursive
  1882. else
  1883. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1884. fi || ac_status=$?
  1885. cd "$ac_pwd" || { ac_status=$?; break; }
  1886. done
  1887. fi
  1888. test -n "$ac_init_help" && exit $ac_status
  1889. if $ac_init_version; then
  1890. cat <<\_ACEOF
  1891. strongSwan configure 5.8.1
  1892. generated by GNU Autoconf 2.69
  1893. Copyright (C) 2012 Free Software Foundation, Inc.
  1894. This configure script is free software; the Free Software Foundation
  1895. gives unlimited permission to copy, distribute and modify it.
  1896. _ACEOF
  1897. exit
  1898. fi
  1899. ## ------------------------ ##
  1900. ## Autoconf initialization. ##
  1901. ## ------------------------ ##
  1902. @%:@ ac_fn_c_try_compile LINENO
  1903. @%:@ --------------------------
  1904. @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  1905. ac_fn_c_try_compile ()
  1906. {
  1907. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1908. rm -f conftest.$ac_objext
  1909. if { { ac_try="$ac_compile"
  1910. case "(($ac_try" in
  1911. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1912. *) ac_try_echo=$ac_try;;
  1913. esac
  1914. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1915. $as_echo "$ac_try_echo"; } >&5
  1916. (eval "$ac_compile") 2>conftest.err
  1917. ac_status=$?
  1918. if test -s conftest.err; then
  1919. grep -v '^ *+' conftest.err >conftest.er1
  1920. cat conftest.er1 >&5
  1921. mv -f conftest.er1 conftest.err
  1922. fi
  1923. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1924. test $ac_status = 0; } && {
  1925. test -z "$ac_c_werror_flag" ||
  1926. test ! -s conftest.err
  1927. } && test -s conftest.$ac_objext; then :
  1928. ac_retval=0
  1929. else
  1930. $as_echo "$as_me: failed program was:" >&5
  1931. sed 's/^/| /' conftest.$ac_ext >&5
  1932. ac_retval=1
  1933. fi
  1934. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1935. as_fn_set_status $ac_retval
  1936. } @%:@ ac_fn_c_try_compile
  1937. @%:@ ac_fn_c_try_run LINENO
  1938. @%:@ ----------------------
  1939. @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  1940. @%:@ that executables *can* be run.
  1941. ac_fn_c_try_run ()
  1942. {
  1943. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1944. if { { ac_try="$ac_link"
  1945. case "(($ac_try" in
  1946. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1947. *) ac_try_echo=$ac_try;;
  1948. esac
  1949. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1950. $as_echo "$ac_try_echo"; } >&5
  1951. (eval "$ac_link") 2>&5
  1952. ac_status=$?
  1953. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1954. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1955. { { case "(($ac_try" in
  1956. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1957. *) ac_try_echo=$ac_try;;
  1958. esac
  1959. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1960. $as_echo "$ac_try_echo"; } >&5
  1961. (eval "$ac_try") 2>&5
  1962. ac_status=$?
  1963. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1964. test $ac_status = 0; }; }; then :
  1965. ac_retval=0
  1966. else
  1967. $as_echo "$as_me: program exited with status $ac_status" >&5
  1968. $as_echo "$as_me: failed program was:" >&5
  1969. sed 's/^/| /' conftest.$ac_ext >&5
  1970. ac_retval=$ac_status
  1971. fi
  1972. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1973. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1974. as_fn_set_status $ac_retval
  1975. } @%:@ ac_fn_c_try_run
  1976. @%:@ ac_fn_c_try_cpp LINENO
  1977. @%:@ ----------------------
  1978. @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  1979. ac_fn_c_try_cpp ()
  1980. {
  1981. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1982. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1983. case "(($ac_try" in
  1984. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1985. *) ac_try_echo=$ac_try;;
  1986. esac
  1987. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1988. $as_echo "$ac_try_echo"; } >&5
  1989. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1990. ac_status=$?
  1991. if test -s conftest.err; then
  1992. grep -v '^ *+' conftest.err >conftest.er1
  1993. cat conftest.er1 >&5
  1994. mv -f conftest.er1 conftest.err
  1995. fi
  1996. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1997. test $ac_status = 0; } > conftest.i && {
  1998. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1999. test ! -s conftest.err
  2000. }; then :
  2001. ac_retval=0
  2002. else
  2003. $as_echo "$as_me: failed program was:" >&5
  2004. sed 's/^/| /' conftest.$ac_ext >&5
  2005. ac_retval=1
  2006. fi
  2007. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2008. as_fn_set_status $ac_retval
  2009. } @%:@ ac_fn_c_try_cpp
  2010. @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2011. @%:@ -------------------------------------------------------
  2012. @%:@ Tests whether HEADER exists and can be compiled using the include files in
  2013. @%:@ INCLUDES, setting the cache variable VAR accordingly.
  2014. ac_fn_c_check_header_compile ()
  2015. {
  2016. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2017. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2018. $as_echo_n "checking for $2... " >&6; }
  2019. if eval \${$3+:} false; then :
  2020. $as_echo_n "(cached) " >&6
  2021. else
  2022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2023. /* end confdefs.h. */
  2024. $4
  2025. @%:@include <$2>
  2026. _ACEOF
  2027. if ac_fn_c_try_compile "$LINENO"; then :
  2028. eval "$3=yes"
  2029. else
  2030. eval "$3=no"
  2031. fi
  2032. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2033. fi
  2034. eval ac_res=\$$3
  2035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2036. $as_echo "$ac_res" >&6; }
  2037. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2038. } @%:@ ac_fn_c_check_header_compile
  2039. @%:@ ac_fn_c_try_link LINENO
  2040. @%:@ -----------------------
  2041. @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  2042. ac_fn_c_try_link ()
  2043. {
  2044. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2045. rm -f conftest.$ac_objext conftest$ac_exeext
  2046. if { { ac_try="$ac_link"
  2047. case "(($ac_try" in
  2048. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2049. *) ac_try_echo=$ac_try;;
  2050. esac
  2051. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2052. $as_echo "$ac_try_echo"; } >&5
  2053. (eval "$ac_link") 2>conftest.err
  2054. ac_status=$?
  2055. if test -s conftest.err; then
  2056. grep -v '^ *+' conftest.err >conftest.er1
  2057. cat conftest.er1 >&5
  2058. mv -f conftest.er1 conftest.err
  2059. fi
  2060. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2061. test $ac_status = 0; } && {
  2062. test -z "$ac_c_werror_flag" ||
  2063. test ! -s conftest.err
  2064. } && test -s conftest$ac_exeext && {
  2065. test "$cross_compiling" = yes ||
  2066. test -x conftest$ac_exeext
  2067. }; then :
  2068. ac_retval=0
  2069. else
  2070. $as_echo "$as_me: failed program was:" >&5
  2071. sed 's/^/| /' conftest.$ac_ext >&5
  2072. ac_retval=1
  2073. fi
  2074. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2075. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2076. # interfere with the next link command; also delete a directory that is
  2077. # left behind by Apple's compiler. We do this before executing the actions.
  2078. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2079. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2080. as_fn_set_status $ac_retval
  2081. } @%:@ ac_fn_c_try_link
  2082. @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2083. @%:@ -------------------------------------------
  2084. @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  2085. @%:@ variable VAR accordingly.
  2086. ac_fn_c_check_type ()
  2087. {
  2088. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2090. $as_echo_n "checking for $2... " >&6; }
  2091. if eval \${$3+:} false; then :
  2092. $as_echo_n "(cached) " >&6
  2093. else
  2094. eval "$3=no"
  2095. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2096. /* end confdefs.h. */
  2097. $4
  2098. int
  2099. main ()
  2100. {
  2101. if (sizeof ($2))
  2102. return 0;
  2103. ;
  2104. return 0;
  2105. }
  2106. _ACEOF
  2107. if ac_fn_c_try_compile "$LINENO"; then :
  2108. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2109. /* end confdefs.h. */
  2110. $4
  2111. int
  2112. main ()
  2113. {
  2114. if (sizeof (($2)))
  2115. return 0;
  2116. ;
  2117. return 0;
  2118. }
  2119. _ACEOF
  2120. if ac_fn_c_try_compile "$LINENO"; then :
  2121. else
  2122. eval "$3=yes"
  2123. fi
  2124. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2125. fi
  2126. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2127. fi
  2128. eval ac_res=\$$3
  2129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2130. $as_echo "$ac_res" >&6; }
  2131. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2132. } @%:@ ac_fn_c_check_type
  2133. @%:@ ac_fn_c_check_func LINENO FUNC VAR
  2134. @%:@ ----------------------------------
  2135. @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  2136. ac_fn_c_check_func ()
  2137. {
  2138. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2139. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2140. $as_echo_n "checking for $2... " >&6; }
  2141. if eval \${$3+:} false; then :
  2142. $as_echo_n "(cached) " >&6
  2143. else
  2144. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2145. /* end confdefs.h. */
  2146. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2147. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2148. #define $2 innocuous_$2
  2149. /* System header to define __stub macros and hopefully few prototypes,
  2150. which can conflict with char $2 (); below.
  2151. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2152. <limits.h> exists even on freestanding compilers. */
  2153. #ifdef __STDC__
  2154. # include <limits.h>
  2155. #else
  2156. # include <assert.h>
  2157. #endif
  2158. #undef $2
  2159. /* Override any GCC internal prototype to avoid an error.
  2160. Use char because int might match the return type of a GCC
  2161. builtin and then its argument prototype would still apply. */
  2162. #ifdef __cplusplus
  2163. extern "C"
  2164. #endif
  2165. char $2 ();
  2166. /* The GNU C library defines this for functions which it implements
  2167. to always fail with ENOSYS. Some functions are actually named
  2168. something starting with __ and the normal name is an alias. */
  2169. #if defined __stub_$2 || defined __stub___$2
  2170. choke me
  2171. #endif
  2172. int
  2173. main ()
  2174. {
  2175. return $2 ();
  2176. ;
  2177. return 0;
  2178. }
  2179. _ACEOF
  2180. if ac_fn_c_try_link "$LINENO"; then :
  2181. eval "$3=yes"
  2182. else
  2183. eval "$3=no"
  2184. fi
  2185. rm -f core conftest.err conftest.$ac_objext \
  2186. conftest$ac_exeext conftest.$ac_ext
  2187. fi
  2188. eval ac_res=\$$3
  2189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2190. $as_echo "$ac_res" >&6; }
  2191. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2192. } @%:@ ac_fn_c_check_func
  2193. @%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  2194. @%:@ ---------------------------------------------
  2195. @%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  2196. @%:@ accordingly.
  2197. ac_fn_c_check_decl ()
  2198. {
  2199. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2200. as_decl_name=`echo $2|sed 's/ *(.*//'`
  2201. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  2202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  2203. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  2204. if eval \${$3+:} false; then :
  2205. $as_echo_n "(cached) " >&6
  2206. else
  2207. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2208. /* end confdefs.h. */
  2209. $4
  2210. int
  2211. main ()
  2212. {
  2213. @%:@ifndef $as_decl_name
  2214. @%:@ifdef __cplusplus
  2215. (void) $as_decl_use;
  2216. @%:@else
  2217. (void) $as_decl_name;
  2218. @%:@endif
  2219. @%:@endif
  2220. ;
  2221. return 0;
  2222. }
  2223. _ACEOF
  2224. if ac_fn_c_try_compile "$LINENO"; then :
  2225. eval "$3=yes"
  2226. else
  2227. eval "$3=no"
  2228. fi
  2229. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2230. fi
  2231. eval ac_res=\$$3
  2232. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2233. $as_echo "$ac_res" >&6; }
  2234. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2235. } @%:@ ac_fn_c_check_decl
  2236. @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2237. @%:@ -------------------------------------------------------
  2238. @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2239. @%:@ the include files in INCLUDES and setting the cache variable VAR
  2240. @%:@ accordingly.
  2241. ac_fn_c_check_header_mongrel ()
  2242. {
  2243. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2244. if eval \${$3+:} false; then :
  2245. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2246. $as_echo_n "checking for $2... " >&6; }
  2247. if eval \${$3+:} false; then :
  2248. $as_echo_n "(cached) " >&6
  2249. fi
  2250. eval ac_res=\$$3
  2251. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2252. $as_echo "$ac_res" >&6; }
  2253. else
  2254. # Is the header compilable?
  2255. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2256. $as_echo_n "checking $2 usability... " >&6; }
  2257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2258. /* end confdefs.h. */
  2259. $4
  2260. @%:@include <$2>
  2261. _ACEOF
  2262. if ac_fn_c_try_compile "$LINENO"; then :
  2263. ac_header_compiler=yes
  2264. else
  2265. ac_header_compiler=no
  2266. fi
  2267. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2269. $as_echo "$ac_header_compiler" >&6; }
  2270. # Is the header present?
  2271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2272. $as_echo_n "checking $2 presence... " >&6; }
  2273. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2274. /* end confdefs.h. */
  2275. @%:@include <$2>
  2276. _ACEOF
  2277. if ac_fn_c_try_cpp "$LINENO"; then :
  2278. ac_header_preproc=yes
  2279. else
  2280. ac_header_preproc=no
  2281. fi
  2282. rm -f conftest.err conftest.i conftest.$ac_ext
  2283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2284. $as_echo "$ac_header_preproc" >&6; }
  2285. # So? What about this header?
  2286. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2287. yes:no: )
  2288. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2289. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2290. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2291. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2292. ;;
  2293. no:yes:* )
  2294. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2295. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2296. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2297. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2298. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2299. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2300. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2301. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2302. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2303. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2304. ;;
  2305. esac
  2306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2307. $as_echo_n "checking for $2... " >&6; }
  2308. if eval \${$3+:} false; then :
  2309. $as_echo_n "(cached) " >&6
  2310. else
  2311. eval "$3=\$ac_header_compiler"
  2312. fi
  2313. eval ac_res=\$$3
  2314. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2315. $as_echo "$ac_res" >&6; }
  2316. fi
  2317. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2318. } @%:@ ac_fn_c_check_header_mongrel
  2319. @%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2320. @%:@ ----------------------------------------------------
  2321. @%:@ Tries to find if the field MEMBER exists in type AGGR, after including
  2322. @%:@ INCLUDES, setting cache variable VAR accordingly.
  2323. ac_fn_c_check_member ()
  2324. {
  2325. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2327. $as_echo_n "checking for $2.$3... " >&6; }
  2328. if eval \${$4+:} false; then :
  2329. $as_echo_n "(cached) " >&6
  2330. else
  2331. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2332. /* end confdefs.h. */
  2333. $5
  2334. int
  2335. main ()
  2336. {
  2337. static $2 ac_aggr;
  2338. if (ac_aggr.$3)
  2339. return 0;
  2340. ;
  2341. return 0;
  2342. }
  2343. _ACEOF
  2344. if ac_fn_c_try_compile "$LINENO"; then :
  2345. eval "$4=yes"
  2346. else
  2347. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2348. /* end confdefs.h. */
  2349. $5
  2350. int
  2351. main ()
  2352. {
  2353. static $2 ac_aggr;
  2354. if (sizeof ac_aggr.$3)
  2355. return 0;
  2356. ;
  2357. return 0;
  2358. }
  2359. _ACEOF
  2360. if ac_fn_c_try_compile "$LINENO"; then :
  2361. eval "$4=yes"
  2362. else
  2363. eval "$4=no"
  2364. fi
  2365. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2366. fi
  2367. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2368. fi
  2369. eval ac_res=\$$4
  2370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2371. $as_echo "$ac_res" >&6; }
  2372. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2373. } @%:@ ac_fn_c_check_member
  2374. cat >config.log <<_ACEOF
  2375. This file contains any messages produced by compilers while
  2376. running configure, to aid debugging if configure makes a mistake.
  2377. It was created by strongSwan $as_me 5.8.1, which was
  2378. generated by GNU Autoconf 2.69. Invocation command line was
  2379. $ $0 $@
  2380. _ACEOF
  2381. exec 5>>config.log
  2382. {
  2383. cat <<_ASUNAME
  2384. ## --------- ##
  2385. ## Platform. ##
  2386. ## --------- ##
  2387. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2388. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2389. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2390. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2391. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2392. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2393. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2394. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2395. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2396. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2397. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2398. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2399. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2400. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2401. _ASUNAME
  2402. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2403. for as_dir in $PATH
  2404. do
  2405. IFS=$as_save_IFS
  2406. test -z "$as_dir" && as_dir=.
  2407. $as_echo "PATH: $as_dir"
  2408. done
  2409. IFS=$as_save_IFS
  2410. } >&5
  2411. cat >&5 <<_ACEOF
  2412. ## ----------- ##
  2413. ## Core tests. ##
  2414. ## ----------- ##
  2415. _ACEOF
  2416. # Keep a trace of the command line.
  2417. # Strip out --no-create and --no-recursion so they do not pile up.
  2418. # Strip out --silent because we don't want to record it for future runs.
  2419. # Also quote any args containing shell meta-characters.
  2420. # Make two passes to allow for proper duplicate-argument suppression.
  2421. ac_configure_args=
  2422. ac_configure_args0=
  2423. ac_configure_args1=
  2424. ac_must_keep_next=false
  2425. for ac_pass in 1 2
  2426. do
  2427. for ac_arg
  2428. do
  2429. case $ac_arg in
  2430. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2431. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2432. | -silent | --silent | --silen | --sile | --sil)
  2433. continue ;;
  2434. *\'*)
  2435. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2436. esac
  2437. case $ac_pass in
  2438. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2439. 2)
  2440. as_fn_append ac_configure_args1 " '$ac_arg'"
  2441. if test $ac_must_keep_next = true; then
  2442. ac_must_keep_next=false # Got value, back to normal.
  2443. else
  2444. case $ac_arg in
  2445. *=* | --config-cache | -C | -disable-* | --disable-* \
  2446. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2447. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2448. | -with-* | --with-* | -without-* | --without-* | --x)
  2449. case "$ac_configure_args0 " in
  2450. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2451. esac
  2452. ;;
  2453. -* ) ac_must_keep_next=true ;;
  2454. esac
  2455. fi
  2456. as_fn_append ac_configure_args " '$ac_arg'"
  2457. ;;
  2458. esac
  2459. done
  2460. done
  2461. { ac_configure_args0=; unset ac_configure_args0;}
  2462. { ac_configure_args1=; unset ac_configure_args1;}
  2463. # When interrupted or exit'd, cleanup temporary files, and complete
  2464. # config.log. We remove comments because anyway the quotes in there
  2465. # would cause problems or look ugly.
  2466. # WARNING: Use '\'' to represent an apostrophe within the trap.
  2467. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2468. trap 'exit_status=$?
  2469. # Save into config.log some information that might help in debugging.
  2470. {
  2471. echo
  2472. $as_echo "## ---------------- ##
  2473. ## Cache variables. ##
  2474. ## ---------------- ##"
  2475. echo
  2476. # The following way of writing the cache mishandles newlines in values,
  2477. (
  2478. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2479. eval ac_val=\$$ac_var
  2480. case $ac_val in #(
  2481. *${as_nl}*)
  2482. case $ac_var in #(
  2483. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2484. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2485. esac
  2486. case $ac_var in #(
  2487. _ | IFS | as_nl) ;; #(
  2488. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2489. *) { eval $ac_var=; unset $ac_var;} ;;
  2490. esac ;;
  2491. esac
  2492. done
  2493. (set) 2>&1 |
  2494. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2495. *${as_nl}ac_space=\ *)
  2496. sed -n \
  2497. "s/'\''/'\''\\\\'\'''\''/g;
  2498. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2499. ;; #(
  2500. *)
  2501. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2502. ;;
  2503. esac |
  2504. sort
  2505. )
  2506. echo
  2507. $as_echo "## ----------------- ##
  2508. ## Output variables. ##
  2509. ## ----------------- ##"
  2510. echo
  2511. for ac_var in $ac_subst_vars
  2512. do
  2513. eval ac_val=\$$ac_var
  2514. case $ac_val in
  2515. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2516. esac
  2517. $as_echo "$ac_var='\''$ac_val'\''"
  2518. done | sort
  2519. echo
  2520. if test -n "$ac_subst_files"; then
  2521. $as_echo "## ------------------- ##
  2522. ## File substitutions. ##
  2523. ## ------------------- ##"
  2524. echo
  2525. for ac_var in $ac_subst_files
  2526. do
  2527. eval ac_val=\$$ac_var
  2528. case $ac_val in
  2529. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2530. esac
  2531. $as_echo "$ac_var='\''$ac_val'\''"
  2532. done | sort
  2533. echo
  2534. fi
  2535. if test -s confdefs.h; then
  2536. $as_echo "## ----------- ##
  2537. ## confdefs.h. ##
  2538. ## ----------- ##"
  2539. echo
  2540. cat confdefs.h
  2541. echo
  2542. fi
  2543. test "$ac_signal" != 0 &&
  2544. $as_echo "$as_me: caught signal $ac_signal"
  2545. $as_echo "$as_me: exit $exit_status"
  2546. } >&5
  2547. rm -f core *.core core.conftest.* &&
  2548. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2549. exit $exit_status
  2550. ' 0
  2551. for ac_signal in 1 2 13 15; do
  2552. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2553. done
  2554. ac_signal=0
  2555. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2556. rm -f -r conftest* confdefs.h
  2557. $as_echo "/* confdefs.h */" > confdefs.h
  2558. # Predefined preprocessor variables.
  2559. cat >>confdefs.h <<_ACEOF
  2560. @%:@define PACKAGE_NAME "$PACKAGE_NAME"
  2561. _ACEOF
  2562. cat >>confdefs.h <<_ACEOF
  2563. @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2564. _ACEOF
  2565. cat >>confdefs.h <<_ACEOF
  2566. @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  2567. _ACEOF
  2568. cat >>confdefs.h <<_ACEOF
  2569. @%:@define PACKAGE_STRING "$PACKAGE_STRING"
  2570. _ACEOF
  2571. cat >>confdefs.h <<_ACEOF
  2572. @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2573. _ACEOF
  2574. cat >>confdefs.h <<_ACEOF
  2575. @%:@define PACKAGE_URL "$PACKAGE_URL"
  2576. _ACEOF
  2577. # Let the site file select an alternate cache file if it wants to.
  2578. # Prefer an explicitly selected file to automatically selected ones.
  2579. ac_site_file1=NONE
  2580. ac_site_file2=NONE
  2581. if test -n "$CONFIG_SITE"; then
  2582. # We do not want a PATH search for config.site.
  2583. case $CONFIG_SITE in @%:@((
  2584. -*) ac_site_file1=./$CONFIG_SITE;;
  2585. */*) ac_site_file1=$CONFIG_SITE;;
  2586. *) ac_site_file1=./$CONFIG_SITE;;
  2587. esac
  2588. elif test "x$prefix" != xNONE; then
  2589. ac_site_file1=$prefix/share/config.site
  2590. ac_site_file2=$prefix/etc/config.site
  2591. else
  2592. ac_site_file1=$ac_default_prefix/share/config.site
  2593. ac_site_file2=$ac_default_prefix/etc/config.site
  2594. fi
  2595. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2596. do
  2597. test "x$ac_site_file" = xNONE && continue
  2598. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2599. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2600. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2601. sed 's/^/| /' "$ac_site_file" >&5
  2602. . "$ac_site_file" \
  2603. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2604. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2605. as_fn_error $? "failed to load site script $ac_site_file
  2606. See \`config.log' for more details" "$LINENO" 5; }
  2607. fi
  2608. done
  2609. if test -r "$cache_file"; then
  2610. # Some versions of bash will fail to source /dev/null (special files
  2611. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2612. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2613. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2614. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2615. case $cache_file in
  2616. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2617. *) . "./$cache_file";;
  2618. esac
  2619. fi
  2620. else
  2621. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2622. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2623. >$cache_file
  2624. fi
  2625. # Check that the precious variables saved in the cache have kept the same
  2626. # value.
  2627. ac_cache_corrupted=false
  2628. for ac_var in $ac_precious_vars; do
  2629. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2630. eval ac_new_set=\$ac_env_${ac_var}_set
  2631. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2632. eval ac_new_val=\$ac_env_${ac_var}_value
  2633. case $ac_old_set,$ac_new_set in
  2634. set,)
  2635. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2636. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2637. ac_cache_corrupted=: ;;
  2638. ,set)
  2639. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2640. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2641. ac_cache_corrupted=: ;;
  2642. ,);;
  2643. *)
  2644. if test "x$ac_old_val" != "x$ac_new_val"; then
  2645. # differences in whitespace do not lead to failure.
  2646. ac_old_val_w=`echo x $ac_old_val`
  2647. ac_new_val_w=`echo x $ac_new_val`
  2648. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2649. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2650. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2651. ac_cache_corrupted=:
  2652. else
  2653. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2654. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2655. eval $ac_var=\$ac_old_val
  2656. fi
  2657. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2658. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2659. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2660. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2661. fi;;
  2662. esac
  2663. # Pass precious variables to config.status.
  2664. if test "$ac_new_set" = set; then
  2665. case $ac_new_val in
  2666. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2667. *) ac_arg=$ac_var=$ac_new_val ;;
  2668. esac
  2669. case " $ac_configure_args " in
  2670. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2671. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2672. esac
  2673. fi
  2674. done
  2675. if $ac_cache_corrupted; then
  2676. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2677. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2678. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2679. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2680. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2681. fi
  2682. ## -------------------- ##
  2683. ## Main body of script. ##
  2684. ## -------------------- ##
  2685. ac_ext=c
  2686. ac_cpp='$CPP $CPPFLAGS'
  2687. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2688. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2689. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2690. AM_INIT_AUTOMAKE(tar-ustar
  2691. subdir-objects
  2692. serial-tests
  2693. )
  2694. ac_config_headers="$ac_config_headers config.h"
  2695. $as_echo "@%:@define CONFIG_H_INCLUDED /**/" >>confdefs.h
  2696. AC_DISABLE_STATIC
  2697. PKG_PROG_PKG_CONFIG
  2698. # SPLIT_PACKAGE_VERSION
  2699. # ---------------------------
  2700. # Split package version in four parts
  2701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  2702. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  2703. if ${ac_cv_path_SED+:} false; then :
  2704. $as_echo_n "(cached) " >&6
  2705. else
  2706. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  2707. for ac_i in 1 2 3 4 5 6 7; do
  2708. ac_script="$ac_script$as_nl$ac_script"
  2709. done
  2710. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  2711. { ac_script=; unset ac_script;}
  2712. if test -z "$SED"; then
  2713. ac_path_SED_found=false
  2714. # Loop through the user's path and test for each of PROGNAME-LIST
  2715. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2716. for as_dir in $PATH
  2717. do
  2718. IFS=$as_save_IFS
  2719. test -z "$as_dir" && as_dir=.
  2720. for ac_prog in sed gsed; do
  2721. for ac_exec_ext in '' $ac_executable_extensions; do
  2722. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  2723. as_fn_executable_p "$ac_path_SED" || continue
  2724. # Check for GNU ac_path_SED and select it if it is found.
  2725. # Check for GNU $ac_path_SED
  2726. case `"$ac_path_SED" --version 2>&1` in
  2727. *GNU*)
  2728. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  2729. *)
  2730. ac_count=0
  2731. $as_echo_n 0123456789 >"conftest.in"
  2732. while :
  2733. do
  2734. cat "conftest.in" "conftest.in" >"conftest.tmp"
  2735. mv "conftest.tmp" "conftest.in"
  2736. cp "conftest.in" "conftest.nl"
  2737. $as_echo '' >> "conftest.nl"
  2738. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  2739. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  2740. as_fn_arith $ac_count + 1 && ac_count=$as_val
  2741. if test $ac_count -gt ${ac_path_SED_max-0}; then
  2742. # Best one so far, save it but keep looking for a better one
  2743. ac_cv_path_SED="$ac_path_SED"
  2744. ac_path_SED_max=$ac_count
  2745. fi
  2746. # 10*(2^10) chars as input seems more than enough
  2747. test $ac_count -gt 10 && break
  2748. done
  2749. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  2750. esac
  2751. $ac_path_SED_found && break 3
  2752. done
  2753. done
  2754. done
  2755. IFS=$as_save_IFS
  2756. if test -z "$ac_cv_path_SED"; then
  2757. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  2758. fi
  2759. else
  2760. ac_cv_path_SED=$SED
  2761. fi
  2762. fi
  2763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  2764. $as_echo "$ac_cv_path_SED" >&6; }
  2765. SED="$ac_cv_path_SED"
  2766. rm -f conftest.sed
  2767. PACKAGE_VERSION_MAJOR=`echo "$PACKAGE_VERSION" | $SED 's/\([0-9]\+\).*/\1/'`
  2768. PACKAGE_VERSION_MINOR=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.\([0-9]\+\).*/\1/'`
  2769. PACKAGE_VERSION_BUILD=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.\([0-9]\+\).*/\1/'`
  2770. PACKAGE_VERSION_REVIEW=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`
  2771. # =================================
  2772. # check --enable-xxx & --with-xxx
  2773. # =================================
  2774. # ARG_WITH_SUBST(option, default, help)
  2775. # -----------------------------------
  2776. # Create a --with-$1 option with helptext, AC_SUBST($1) to $withval/default
  2777. # ARG_WITH_SET(option, default, help)
  2778. # -----------------------------------
  2779. # Create a --with-$1 option with helptext, set a variable $1 to $withval/default
  2780. @%:@ Check whether --with-random-device was given.
  2781. if test "${with_random_device+set}" = set; then :
  2782. withval=$with_random_device; random_device="$withval"
  2783. else
  2784. random_device="/dev/random"
  2785. fi
  2786. @%:@ Check whether --with-urandom-device was given.
  2787. if test "${with_urandom_device+set}" = set; then :
  2788. withval=$with_urandom_device; urandom_device="$withval"
  2789. else
  2790. urandom_device="/dev/urandom"
  2791. fi
  2792. @%:@ Check whether --with-strongswan-conf was given.
  2793. if test "${with_strongswan_conf+set}" = set; then :
  2794. withval=$with_strongswan_conf; strongswan_conf="$withval"
  2795. else
  2796. strongswan_conf="${sysconfdir}/strongswan.conf"
  2797. fi
  2798. @%:@ Check whether --with-resolv-conf was given.
  2799. if test "${with_resolv_conf+set}" = set; then :
  2800. withval=$with_resolv_conf; resolv_conf="$withval"
  2801. else
  2802. resolv_conf="${sysconfdir}/resolv.conf"
  2803. fi
  2804. @%:@ Check whether --with-piddir was given.
  2805. if test "${with_piddir+set}" = set; then :
  2806. withval=$with_piddir; piddir="$withval"
  2807. else
  2808. piddir="/var/run"
  2809. fi
  2810. @%:@ Check whether --with-ipsecdir was given.
  2811. if test "${with_ipsecdir+set}" = set; then :
  2812. withval=$with_ipsecdir; ipsecdir="$withval"
  2813. else
  2814. ipsecdir="${libexecdir%/}/ipsec"
  2815. fi
  2816. @%:@ Check whether --with-ipseclibdir was given.
  2817. if test "${with_ipseclibdir+set}" = set; then :
  2818. withval=$with_ipseclibdir; ipseclibdir="$withval"
  2819. else
  2820. ipseclibdir="${libdir%/}/ipsec"
  2821. fi
  2822. @%:@ Check whether --with-plugindir was given.
  2823. if test "${with_plugindir+set}" = set; then :
  2824. withval=$with_plugindir; plugindir="$withval"
  2825. else
  2826. plugindir="${ipseclibdir%/}/plugins"
  2827. fi
  2828. @%:@ Check whether --with-imcvdir was given.
  2829. if test "${with_imcvdir+set}" = set; then :
  2830. withval=$with_imcvdir; imcvdir="$withval"
  2831. else
  2832. imcvdir="${ipseclibdir%/}/imcvs"
  2833. fi
  2834. @%:@ Check whether --with-nm-ca-dir was given.
  2835. if test "${with_nm_ca_dir+set}" = set; then :
  2836. withval=$with_nm_ca_dir; nm_ca_dir="$withval"
  2837. else
  2838. nm_ca_dir="/usr/share/ca-certificates"
  2839. fi
  2840. @%:@ Check whether --with-swanctldir was given.
  2841. if test "${with_swanctldir+set}" = set; then :
  2842. withval=$with_swanctldir; swanctldir="$withval"
  2843. else
  2844. swanctldir="${sysconfdir}/swanctl"
  2845. fi
  2846. @%:@ Check whether --with-linux-headers was given.
  2847. if test "${with_linux_headers+set}" = set; then :
  2848. withval=$with_linux_headers; linux_headers="$withval"
  2849. else
  2850. linux_headers="\${top_srcdir}/src/include"
  2851. fi
  2852. @%:@ Check whether --with-routing-table was given.
  2853. if test "${with_routing_table+set}" = set; then :
  2854. withval=$with_routing_table; routing_table="$withval"
  2855. else
  2856. routing_table="220"
  2857. fi
  2858. @%:@ Check whether --with-routing-table-prio was given.
  2859. if test "${with_routing_table_prio+set}" = set; then :
  2860. withval=$with_routing_table_prio; routing_table_prio="$withval"
  2861. else
  2862. routing_table_prio="220"
  2863. fi
  2864. @%:@ Check whether --with-ipsec-script was given.
  2865. if test "${with_ipsec_script+set}" = set; then :
  2866. withval=$with_ipsec_script; ipsec_script="$withval"
  2867. else
  2868. ipsec_script="ipsec"
  2869. fi
  2870. @%:@ Check whether --with-fips-mode was given.
  2871. if test "${with_fips_mode+set}" = set; then :
  2872. withval=$with_fips_mode; fips_mode="$withval"
  2873. else
  2874. fips_mode="0"
  2875. fi
  2876. @%:@ Check whether --with-libfuzzer was given.
  2877. if test "${with_libfuzzer+set}" = set; then :
  2878. withval=$with_libfuzzer; libfuzzer="$withval"
  2879. else
  2880. libfuzzer=""
  2881. fi
  2882. @%:@ Check whether --with-capabilities was given.
  2883. if test "${with_capabilities+set}" = set; then :
  2884. withval=$with_capabilities; capabilities="$withval"
  2885. else
  2886. capabilities=no
  2887. fi
  2888. @%:@ Check whether --with-mpz_powm_sec was given.
  2889. if test "${with_mpz_powm_sec+set}" = set; then :
  2890. withval=$with_mpz_powm_sec; mpz_powm_sec="$withval"
  2891. else
  2892. mpz_powm_sec=yes
  2893. fi
  2894. @%:@ Check whether --with-dev-headers was given.
  2895. if test "${with_dev_headers+set}" = set; then :
  2896. withval=$with_dev_headers; dev_headers="$withval"
  2897. else
  2898. dev_headers=no
  2899. fi
  2900. @%:@ Check whether --with-printf-hooks was given.
  2901. if test "${with_printf_hooks+set}" = set; then :
  2902. withval=$with_printf_hooks; printf_hooks="$withval"
  2903. else
  2904. printf_hooks=auto
  2905. fi
  2906. @%:@ Check whether --with-rubygemdir was given.
  2907. if test "${with_rubygemdir+set}" = set; then :
  2908. withval=$with_rubygemdir; rubygemdir="$withval"
  2909. else
  2910. rubygemdir="gem environment gemdir"
  2911. fi
  2912. @%:@ Check whether --with-pythoneggdir was given.
  2913. if test "${with_pythoneggdir+set}" = set; then :
  2914. withval=$with_pythoneggdir; pythoneggdir="$withval"
  2915. else
  2916. pythoneggdir="main site-packages directory"
  2917. fi
  2918. if test -n "$PKG_CONFIG"; then
  2919. systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
  2920. fi
  2921. @%:@ Check whether --with-systemdsystemunitdir was given.
  2922. if test "${with_systemdsystemunitdir+set}" = set; then :
  2923. withval=$with_systemdsystemunitdir; systemdsystemunitdir="$withval"
  2924. else
  2925. systemdsystemunitdir=$systemdsystemunitdir_default
  2926. fi
  2927. @%:@ Check whether --with-user was given.
  2928. if test "${with_user+set}" = set; then :
  2929. withval=$with_user;
  2930. cat >>confdefs.h <<_ACEOF
  2931. @%:@define IPSEC_USER "$withval"
  2932. _ACEOF
  2933. ipsecuser="$withval"
  2934. else
  2935. ipsecuser="root"
  2936. fi
  2937. @%:@ Check whether --with-group was given.
  2938. if test "${with_group+set}" = set; then :
  2939. withval=$with_group;
  2940. cat >>confdefs.h <<_ACEOF
  2941. @%:@define IPSEC_GROUP "$withval"
  2942. _ACEOF
  2943. ipsecgroup="$withval"
  2944. else
  2945. ipsecgroup="root"
  2946. fi
  2947. @%:@ Check whether --with-charon-udp-port was given.
  2948. if test "${with_charon_udp_port+set}" = set; then :
  2949. withval=$with_charon_udp_port;
  2950. cat >>confdefs.h <<_ACEOF
  2951. @%:@define CHARON_UDP_PORT $withval
  2952. _ACEOF
  2953. charon_udp_port=$withval
  2954. else
  2955. charon_udp_port=500
  2956. fi
  2957. @%:@ Check whether --with-charon-natt-port was given.
  2958. if test "${with_charon_natt_port+set}" = set; then :
  2959. withval=$with_charon_natt_port;
  2960. cat >>confdefs.h <<_ACEOF
  2961. @%:@define CHARON_NATT_PORT $withval
  2962. _ACEOF
  2963. charon_natt_port=$withval
  2964. else
  2965. charon_natt_port=4500
  2966. fi
  2967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured UDP ports ($charon_udp_port, $charon_natt_port)" >&5
  2968. $as_echo_n "checking configured UDP ports ($charon_udp_port, $charon_natt_port)... " >&6; }
  2969. if test x$charon_udp_port != x0 -a x$charon_udp_port = x$charon_natt_port; then
  2970. as_fn_error $? "the ports have to be different" "$LINENO" 5
  2971. else
  2972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  2973. $as_echo "ok" >&6; }
  2974. fi
  2975. # convert script name to uppercase
  2976. ipsec_script_upper=`echo -n "$ipsec_script" | tr a-z A-Z`
  2977. # ARG_ENABL_SET(option, help)
  2978. # ---------------------------
  2979. # Create a --enable-$1 option with helptext, set a variable $1 to true/false
  2980. # All $1 are collected in the variable $disabled_by_default
  2981. # ARG_DISBL_SET(option, help)
  2982. # ---------------------------
  2983. # Create a --disable-$1 option with helptext, set a variable $1 to true/false
  2984. # All $1 are collected in the variable $enabled_by_default
  2985. # crypto plugins
  2986. @%:@ Check whether --enable-aes was given.
  2987. if test "${enable_aes+set}" = set; then :
  2988. enableval=$enable_aes; aes_given=true
  2989. if test x$enableval = xyes; then
  2990. aes=true
  2991. else
  2992. aes=false
  2993. fi
  2994. else
  2995. aes=true
  2996. aes_given=false
  2997. fi
  2998. enabled_by_default=${enabled_by_default}" aes"
  2999. @%:@ Check whether --enable-af-alg was given.
  3000. if test "${enable_af_alg+set}" = set; then :
  3001. enableval=$enable_af_alg; af_alg_given=true
  3002. if test x$enableval = xyes; then
  3003. af_alg=true
  3004. else
  3005. af_alg=false
  3006. fi
  3007. else
  3008. af_alg=false
  3009. af_alg_given=false
  3010. fi
  3011. disabled_by_default=${disabled_by_default}" af_alg"
  3012. @%:@ Check whether --enable-bliss was given.
  3013. if test "${enable_bliss+set}" = set; then :
  3014. enableval=$enable_bliss; bliss_given=true
  3015. if test x$enableval = xyes; then
  3016. bliss=true
  3017. else
  3018. bliss=false
  3019. fi
  3020. else
  3021. bliss=false
  3022. bliss_given=false
  3023. fi
  3024. disabled_by_default=${disabled_by_default}" bliss"
  3025. @%:@ Check whether --enable-blowfish was given.
  3026. if test "${enable_blowfish+set}" = set; then :
  3027. enableval=$enable_blowfish; blowfish_given=true
  3028. if test x$enableval = xyes; then
  3029. blowfish=true
  3030. else
  3031. blowfish=false
  3032. fi
  3033. else
  3034. blowfish=false
  3035. blowfish_given=false
  3036. fi
  3037. disabled_by_default=${disabled_by_default}" blowfish"
  3038. @%:@ Check whether --enable-botan was given.
  3039. if test "${enable_botan+set}" = set; then :
  3040. enableval=$enable_botan; botan_given=true
  3041. if test x$enableval = xyes; then
  3042. botan=true
  3043. else
  3044. botan=false
  3045. fi
  3046. else
  3047. botan=false
  3048. botan_given=false
  3049. fi
  3050. disabled_by_default=${disabled_by_default}" botan"
  3051. @%:@ Check whether --enable-ccm was given.
  3052. if test "${enable_ccm+set}" = set; then :
  3053. enableval=$enable_ccm; ccm_given=true
  3054. if test x$enableval = xyes; then
  3055. ccm=true
  3056. else
  3057. ccm=false
  3058. fi
  3059. else
  3060. ccm=false
  3061. ccm_given=false
  3062. fi
  3063. disabled_by_default=${disabled_by_default}" ccm"
  3064. @%:@ Check whether --enable-chapoly was given.
  3065. if test "${enable_chapoly+set}" = set; then :
  3066. enableval=$enable_chapoly; chapoly_given=true
  3067. if test x$enableval = xyes; then
  3068. chapoly=true
  3069. else
  3070. chapoly=false
  3071. fi
  3072. else
  3073. chapoly=false
  3074. chapoly_given=false
  3075. fi
  3076. disabled_by_default=${disabled_by_default}" chapoly"
  3077. @%:@ Check whether --enable-cmac was given.
  3078. if test "${enable_cmac+set}" = set; then :
  3079. enableval=$enable_cmac; cmac_given=true
  3080. if test x$enableval = xyes; then
  3081. cmac=true
  3082. else
  3083. cmac=false
  3084. fi
  3085. else
  3086. cmac=true
  3087. cmac_given=false
  3088. fi
  3089. enabled_by_default=${enabled_by_default}" cmac"
  3090. @%:@ Check whether --enable-ctr was given.
  3091. if test "${enable_ctr+set}" = set; then :
  3092. enableval=$enable_ctr; ctr_given=true
  3093. if test x$enableval = xyes; then
  3094. ctr=true
  3095. else
  3096. ctr=false
  3097. fi
  3098. else
  3099. ctr=false
  3100. ctr_given=false
  3101. fi
  3102. disabled_by_default=${disabled_by_default}" ctr"
  3103. @%:@ Check whether --enable-des was given.
  3104. if test "${enable_des+set}" = set; then :
  3105. enableval=$enable_des; des_given=true
  3106. if test x$enableval = xyes; then
  3107. des=true
  3108. else
  3109. des=false
  3110. fi
  3111. else
  3112. des=true
  3113. des_given=false
  3114. fi
  3115. enabled_by_default=${enabled_by_default}" des"
  3116. @%:@ Check whether --enable-fips-prf was given.
  3117. if test "${enable_fips_prf+set}" = set; then :
  3118. enableval=$enable_fips_prf; fips_prf_given=true
  3119. if test x$enableval = xyes; then
  3120. fips_prf=true
  3121. else
  3122. fips_prf=false
  3123. fi
  3124. else
  3125. fips_prf=true
  3126. fips_prf_given=false
  3127. fi
  3128. enabled_by_default=${enabled_by_default}" fips_prf"
  3129. @%:@ Check whether --enable-gcm was given.
  3130. if test "${enable_gcm+set}" = set; then :
  3131. enableval=$enable_gcm; gcm_given=true
  3132. if test x$enableval = xyes; then
  3133. gcm=true
  3134. else
  3135. gcm=false
  3136. fi
  3137. else
  3138. gcm=false
  3139. gcm_given=false
  3140. fi
  3141. disabled_by_default=${disabled_by_default}" gcm"
  3142. @%:@ Check whether --enable-gcrypt was given.
  3143. if test "${enable_gcrypt+set}" = set; then :
  3144. enableval=$enable_gcrypt; gcrypt_given=true
  3145. if test x$enableval = xyes; then
  3146. gcrypt=true
  3147. else
  3148. gcrypt=false
  3149. fi
  3150. else
  3151. gcrypt=false
  3152. gcrypt_given=false
  3153. fi
  3154. disabled_by_default=${disabled_by_default}" gcrypt"
  3155. @%:@ Check whether --enable-gmp was given.
  3156. if test "${enable_gmp+set}" = set; then :
  3157. enableval=$enable_gmp; gmp_given=true
  3158. if test x$enableval = xyes; then
  3159. gmp=true
  3160. else
  3161. gmp=false
  3162. fi
  3163. else
  3164. gmp=true
  3165. gmp_given=false
  3166. fi
  3167. enabled_by_default=${enabled_by_default}" gmp"
  3168. @%:@ Check whether --enable-curve25519 was given.
  3169. if test "${enable_curve25519+set}" = set; then :
  3170. enableval=$enable_curve25519; curve25519_given=true
  3171. if test x$enableval = xyes; then
  3172. curve25519=true
  3173. else
  3174. curve25519=false
  3175. fi
  3176. else
  3177. curve25519=true
  3178. curve25519_given=false
  3179. fi
  3180. enabled_by_default=${enabled_by_default}" curve25519"
  3181. @%:@ Check whether --enable-hmac was given.
  3182. if test "${enable_hmac+set}" = set; then :
  3183. enableval=$enable_hmac; hmac_given=true
  3184. if test x$enableval = xyes; then
  3185. hmac=true
  3186. else
  3187. hmac=false
  3188. fi
  3189. else
  3190. hmac=true
  3191. hmac_given=false
  3192. fi
  3193. enabled_by_default=${enabled_by_default}" hmac"
  3194. @%:@ Check whether --enable-md4 was given.
  3195. if test "${enable_md4+set}" = set; then :
  3196. enableval=$enable_md4; md4_given=true
  3197. if test x$enableval = xyes; then
  3198. md4=true
  3199. else
  3200. md4=false
  3201. fi
  3202. else
  3203. md4=false
  3204. md4_given=false
  3205. fi
  3206. disabled_by_default=${disabled_by_default}" md4"
  3207. @%:@ Check whether --enable-md5 was given.
  3208. if test "${enable_md5+set}" = set; then :
  3209. enableval=$enable_md5; md5_given=true
  3210. if test x$enableval = xyes; then
  3211. md5=true
  3212. else
  3213. md5=false
  3214. fi
  3215. else
  3216. md5=true
  3217. md5_given=false
  3218. fi
  3219. enabled_by_default=${enabled_by_default}" md5"
  3220. @%:@ Check whether --enable-mgf1 was given.
  3221. if test "${enable_mgf1+set}" = set; then :
  3222. enableval=$enable_mgf1; mgf1_given=true
  3223. if test x$enableval = xyes; then
  3224. mgf1=true
  3225. else
  3226. mgf1=false
  3227. fi
  3228. else
  3229. mgf1=false
  3230. mgf1_given=false
  3231. fi
  3232. disabled_by_default=${disabled_by_default}" mgf1"
  3233. @%:@ Check whether --enable-newhope was given.
  3234. if test "${enable_newhope+set}" = set; then :
  3235. enableval=$enable_newhope; newhope_given=true
  3236. if test x$enableval = xyes; then
  3237. newhope=true
  3238. else
  3239. newhope=false
  3240. fi
  3241. else
  3242. newhope=false
  3243. newhope_given=false
  3244. fi
  3245. disabled_by_default=${disabled_by_default}" newhope"
  3246. @%:@ Check whether --enable-nonce was given.
  3247. if test "${enable_nonce+set}" = set; then :
  3248. enableval=$enable_nonce; nonce_given=true
  3249. if test x$enableval = xyes; then
  3250. nonce=true
  3251. else
  3252. nonce=false
  3253. fi
  3254. else
  3255. nonce=true
  3256. nonce_given=false
  3257. fi
  3258. enabled_by_default=${enabled_by_default}" nonce"
  3259. @%:@ Check whether --enable-ntru was given.
  3260. if test "${enable_ntru+set}" = set; then :
  3261. enableval=$enable_ntru; ntru_given=true
  3262. if test x$enableval = xyes; then
  3263. ntru=true
  3264. else
  3265. ntru=false
  3266. fi
  3267. else
  3268. ntru=false
  3269. ntru_given=false
  3270. fi
  3271. disabled_by_default=${disabled_by_default}" ntru"
  3272. @%:@ Check whether --enable-openssl was given.
  3273. if test "${enable_openssl+set}" = set; then :
  3274. enableval=$enable_openssl; openssl_given=true
  3275. if test x$enableval = xyes; then
  3276. openssl=true
  3277. else
  3278. openssl=false
  3279. fi
  3280. else
  3281. openssl=false
  3282. openssl_given=false
  3283. fi
  3284. disabled_by_default=${disabled_by_default}" openssl"
  3285. @%:@ Check whether --enable-wolfssl was given.
  3286. if test "${enable_wolfssl+set}" = set; then :
  3287. enableval=$enable_wolfssl; wolfssl_given=true
  3288. if test x$enableval = xyes; then
  3289. wolfssl=true
  3290. else
  3291. wolfssl=false
  3292. fi
  3293. else
  3294. wolfssl=false
  3295. wolfssl_given=false
  3296. fi
  3297. disabled_by_default=${disabled_by_default}" wolfssl"
  3298. @%:@ Check whether --enable-padlock was given.
  3299. if test "${enable_padlock+set}" = set; then :
  3300. enableval=$enable_padlock; padlock_given=true
  3301. if test x$enableval = xyes; then
  3302. padlock=true
  3303. else
  3304. padlock=false
  3305. fi
  3306. else
  3307. padlock=false
  3308. padlock_given=false
  3309. fi
  3310. disabled_by_default=${disabled_by_default}" padlock"
  3311. @%:@ Check whether --enable-random was given.
  3312. if test "${enable_random+set}" = set; then :
  3313. enableval=$enable_random; random_given=true
  3314. if test x$enableval = xyes; then
  3315. random=true
  3316. else
  3317. random=false
  3318. fi
  3319. else
  3320. random=true
  3321. random_given=false
  3322. fi
  3323. enabled_by_default=${enabled_by_default}" random"
  3324. @%:@ Check whether --enable-rc2 was given.
  3325. if test "${enable_rc2+set}" = set; then :
  3326. enableval=$enable_rc2; rc2_given=true
  3327. if test x$enableval = xyes; then
  3328. rc2=true
  3329. else
  3330. rc2=false
  3331. fi
  3332. else
  3333. rc2=true
  3334. rc2_given=false
  3335. fi
  3336. enabled_by_default=${enabled_by_default}" rc2"
  3337. @%:@ Check whether --enable-rdrand was given.
  3338. if test "${enable_rdrand+set}" = set; then :
  3339. enableval=$enable_rdrand; rdrand_given=true
  3340. if test x$enableval = xyes; then
  3341. rdrand=true
  3342. else
  3343. rdrand=false
  3344. fi
  3345. else
  3346. rdrand=false
  3347. rdrand_given=false
  3348. fi
  3349. disabled_by_default=${disabled_by_default}" rdrand"
  3350. @%:@ Check whether --enable-aesni was given.
  3351. if test "${enable_aesni+set}" = set; then :
  3352. enableval=$enable_aesni; aesni_given=true
  3353. if test x$enableval = xyes; then
  3354. aesni=true
  3355. else
  3356. aesni=false
  3357. fi
  3358. else
  3359. aesni=false
  3360. aesni_given=false
  3361. fi
  3362. disabled_by_default=${disabled_by_default}" aesni"
  3363. @%:@ Check whether --enable-sha1 was given.
  3364. if test "${enable_sha1+set}" = set; then :
  3365. enableval=$enable_sha1; sha1_given=true
  3366. if test x$enableval = xyes; then
  3367. sha1=true
  3368. else
  3369. sha1=false
  3370. fi
  3371. else
  3372. sha1=true
  3373. sha1_given=false
  3374. fi
  3375. enabled_by_default=${enabled_by_default}" sha1"
  3376. @%:@ Check whether --enable-sha2 was given.
  3377. if test "${enable_sha2+set}" = set; then :
  3378. enableval=$enable_sha2; sha2_given=true
  3379. if test x$enableval = xyes; then
  3380. sha2=true
  3381. else
  3382. sha2=false
  3383. fi
  3384. else
  3385. sha2=true
  3386. sha2_given=false
  3387. fi
  3388. enabled_by_default=${enabled_by_default}" sha2"
  3389. @%:@ Check whether --enable-sha3 was given.
  3390. if test "${enable_sha3+set}" = set; then :
  3391. enableval=$enable_sha3; sha3_given=true
  3392. if test x$enableval = xyes; then
  3393. sha3=true
  3394. else
  3395. sha3=false
  3396. fi
  3397. else
  3398. sha3=false
  3399. sha3_given=false
  3400. fi
  3401. disabled_by_default=${disabled_by_default}" sha3"
  3402. @%:@ Check whether --enable-xcbc was given.
  3403. if test "${enable_xcbc+set}" = set; then :
  3404. enableval=$enable_xcbc; xcbc_given=true
  3405. if test x$enableval = xyes; then
  3406. xcbc=true
  3407. else
  3408. xcbc=false
  3409. fi
  3410. else
  3411. xcbc=true
  3412. xcbc_given=false
  3413. fi
  3414. enabled_by_default=${enabled_by_default}" xcbc"
  3415. # encoding/decoding plugins
  3416. @%:@ Check whether --enable-dnskey was given.
  3417. if test "${enable_dnskey+set}" = set; then :
  3418. enableval=$enable_dnskey; dnskey_given=true
  3419. if test x$enableval = xyes; then
  3420. dnskey=true
  3421. else
  3422. dnskey=false
  3423. fi
  3424. else
  3425. dnskey=true
  3426. dnskey_given=false
  3427. fi
  3428. enabled_by_default=${enabled_by_default}" dnskey"
  3429. @%:@ Check whether --enable-pem was given.
  3430. if test "${enable_pem+set}" = set; then :
  3431. enableval=$enable_pem; pem_given=true
  3432. if test x$enableval = xyes; then
  3433. pem=true
  3434. else
  3435. pem=false
  3436. fi
  3437. else
  3438. pem=true
  3439. pem_given=false
  3440. fi
  3441. enabled_by_default=${enabled_by_default}" pem"
  3442. @%:@ Check whether --enable-pgp was given.
  3443. if test "${enable_pgp+set}" = set; then :
  3444. enableval=$enable_pgp; pgp_given=true
  3445. if test x$enableval = xyes; then
  3446. pgp=true
  3447. else
  3448. pgp=false
  3449. fi
  3450. else
  3451. pgp=true
  3452. pgp_given=false
  3453. fi
  3454. enabled_by_default=${enabled_by_default}" pgp"
  3455. @%:@ Check whether --enable-pkcs1 was given.
  3456. if test "${enable_pkcs1+set}" = set; then :
  3457. enableval=$enable_pkcs1; pkcs1_given=true
  3458. if test x$enableval = xyes; then
  3459. pkcs1=true
  3460. else
  3461. pkcs1=false
  3462. fi
  3463. else
  3464. pkcs1=true
  3465. pkcs1_given=false
  3466. fi
  3467. enabled_by_default=${enabled_by_default}" pkcs1"
  3468. @%:@ Check whether --enable-pkcs7 was given.
  3469. if test "${enable_pkcs7+set}" = set; then :
  3470. enableval=$enable_pkcs7; pkcs7_given=true
  3471. if test x$enableval = xyes; then
  3472. pkcs7=true
  3473. else
  3474. pkcs7=false
  3475. fi
  3476. else
  3477. pkcs7=true
  3478. pkcs7_given=false
  3479. fi
  3480. enabled_by_default=${enabled_by_default}" pkcs7"
  3481. @%:@ Check whether --enable-pkcs8 was given.
  3482. if test "${enable_pkcs8+set}" = set; then :
  3483. enableval=$enable_pkcs8; pkcs8_given=true
  3484. if test x$enableval = xyes; then
  3485. pkcs8=true
  3486. else
  3487. pkcs8=false
  3488. fi
  3489. else
  3490. pkcs8=true
  3491. pkcs8_given=false
  3492. fi
  3493. enabled_by_default=${enabled_by_default}" pkcs8"
  3494. @%:@ Check whether --enable-pkcs12 was given.
  3495. if test "${enable_pkcs12+set}" = set; then :
  3496. enableval=$enable_pkcs12; pkcs12_given=true
  3497. if test x$enableval = xyes; then
  3498. pkcs12=true
  3499. else
  3500. pkcs12=false
  3501. fi
  3502. else
  3503. pkcs12=true
  3504. pkcs12_given=false
  3505. fi
  3506. enabled_by_default=${enabled_by_default}" pkcs12"
  3507. @%:@ Check whether --enable-pubkey was given.
  3508. if test "${enable_pubkey+set}" = set; then :
  3509. enableval=$enable_pubkey; pubkey_given=true
  3510. if test x$enableval = xyes; then
  3511. pubkey=true
  3512. else
  3513. pubkey=false
  3514. fi
  3515. else
  3516. pubkey=true
  3517. pubkey_given=false
  3518. fi
  3519. enabled_by_default=${enabled_by_default}" pubkey"
  3520. @%:@ Check whether --enable-sshkey was given.
  3521. if test "${enable_sshkey+set}" = set; then :
  3522. enableval=$enable_sshkey; sshkey_given=true
  3523. if test x$enableval = xyes; then
  3524. sshkey=true
  3525. else
  3526. sshkey=false
  3527. fi
  3528. else
  3529. sshkey=true
  3530. sshkey_given=false
  3531. fi
  3532. enabled_by_default=${enabled_by_default}" sshkey"
  3533. @%:@ Check whether --enable-x509 was given.
  3534. if test "${enable_x509+set}" = set; then :
  3535. enableval=$enable_x509; x509_given=true
  3536. if test x$enableval = xyes; then
  3537. x509=true
  3538. else
  3539. x509=false
  3540. fi
  3541. else
  3542. x509=true
  3543. x509_given=false
  3544. fi
  3545. enabled_by_default=${enabled_by_default}" x509"
  3546. # fetcher/resolver plugins
  3547. @%:@ Check whether --enable-curl was given.
  3548. if test "${enable_curl+set}" = set; then :
  3549. enableval=$enable_curl; curl_given=true
  3550. if test x$enableval = xyes; then
  3551. curl=true
  3552. else
  3553. curl=false
  3554. fi
  3555. else
  3556. curl=false
  3557. curl_given=false
  3558. fi
  3559. disabled_by_default=${disabled_by_default}" curl"
  3560. @%:@ Check whether --enable-files was given.
  3561. if test "${enable_files+set}" = set; then :
  3562. enableval=$enable_files; files_given=true
  3563. if test x$enableval = xyes; then
  3564. files=true
  3565. else
  3566. files=false
  3567. fi
  3568. else
  3569. files=false
  3570. files_given=false
  3571. fi
  3572. disabled_by_default=${disabled_by_default}" files"
  3573. @%:@ Check whether --enable-ldap was given.
  3574. if test "${enable_ldap+set}" = set; then :
  3575. enableval=$enable_ldap; ldap_given=true
  3576. if test x$enableval = xyes; then
  3577. ldap=true
  3578. else
  3579. ldap=false
  3580. fi
  3581. else
  3582. ldap=false
  3583. ldap_given=false
  3584. fi
  3585. disabled_by_default=${disabled_by_default}" ldap"
  3586. @%:@ Check whether --enable-soup was given.
  3587. if test "${enable_soup+set}" = set; then :
  3588. enableval=$enable_soup; soup_given=true
  3589. if test x$enableval = xyes; then
  3590. soup=true
  3591. else
  3592. soup=false
  3593. fi
  3594. else
  3595. soup=false
  3596. soup_given=false
  3597. fi
  3598. disabled_by_default=${disabled_by_default}" soup"
  3599. @%:@ Check whether --enable-unbound was given.
  3600. if test "${enable_unbound+set}" = set; then :
  3601. enableval=$enable_unbound; unbound_given=true
  3602. if test x$enableval = xyes; then
  3603. unbound=true
  3604. else
  3605. unbound=false
  3606. fi
  3607. else
  3608. unbound=false
  3609. unbound_given=false
  3610. fi
  3611. disabled_by_default=${disabled_by_default}" unbound"
  3612. @%:@ Check whether --enable-winhttp was given.
  3613. if test "${enable_winhttp+set}" = set; then :
  3614. enableval=$enable_winhttp; winhttp_given=true
  3615. if test x$enableval = xyes; then
  3616. winhttp=true
  3617. else
  3618. winhttp=false
  3619. fi
  3620. else
  3621. winhttp=false
  3622. winhttp_given=false
  3623. fi
  3624. disabled_by_default=${disabled_by_default}" winhttp"
  3625. # database plugins
  3626. @%:@ Check whether --enable-mysql was given.
  3627. if test "${enable_mysql+set}" = set; then :
  3628. enableval=$enable_mysql; mysql_given=true
  3629. if test x$enableval = xyes; then
  3630. mysql=true
  3631. else
  3632. mysql=false
  3633. fi
  3634. else
  3635. mysql=false
  3636. mysql_given=false
  3637. fi
  3638. disabled_by_default=${disabled_by_default}" mysql"
  3639. @%:@ Check whether --enable-sqlite was given.
  3640. if test "${enable_sqlite+set}" = set; then :
  3641. enableval=$enable_sqlite; sqlite_given=true
  3642. if test x$enableval = xyes; then
  3643. sqlite=true
  3644. else
  3645. sqlite=false
  3646. fi
  3647. else
  3648. sqlite=false
  3649. sqlite_given=false
  3650. fi
  3651. disabled_by_default=${disabled_by_default}" sqlite"
  3652. # authentication/credential plugins
  3653. @%:@ Check whether --enable-addrblock was given.
  3654. if test "${enable_addrblock+set}" = set; then :
  3655. enableval=$enable_addrblock; addrblock_given=true
  3656. if test x$enableval = xyes; then
  3657. addrblock=true
  3658. else
  3659. addrblock=false
  3660. fi
  3661. else
  3662. addrblock=false
  3663. addrblock_given=false
  3664. fi
  3665. disabled_by_default=${disabled_by_default}" addrblock"
  3666. @%:@ Check whether --enable-acert was given.
  3667. if test "${enable_acert+set}" = set; then :
  3668. enableval=$enable_acert; acert_given=true
  3669. if test x$enableval = xyes; then
  3670. acert=true
  3671. else
  3672. acert=false
  3673. fi
  3674. else
  3675. acert=false
  3676. acert_given=false
  3677. fi
  3678. disabled_by_default=${disabled_by_default}" acert"
  3679. @%:@ Check whether --enable-agent was given.
  3680. if test "${enable_agent+set}" = set; then :
  3681. enableval=$enable_agent; agent_given=true
  3682. if test x$enableval = xyes; then
  3683. agent=true
  3684. else
  3685. agent=false
  3686. fi
  3687. else
  3688. agent=false
  3689. agent_given=false
  3690. fi
  3691. disabled_by_default=${disabled_by_default}" agent"
  3692. @%:@ Check whether --enable-constraints was given.
  3693. if test "${enable_constraints+set}" = set; then :
  3694. enableval=$enable_constraints; constraints_given=true
  3695. if test x$enableval = xyes; then
  3696. constraints=true
  3697. else
  3698. constraints=false
  3699. fi
  3700. else
  3701. constraints=true
  3702. constraints_given=false
  3703. fi
  3704. enabled_by_default=${enabled_by_default}" constraints"
  3705. @%:@ Check whether --enable-coupling was given.
  3706. if test "${enable_coupling+set}" = set; then :
  3707. enableval=$enable_coupling; coupling_given=true
  3708. if test x$enableval = xyes; then
  3709. coupling=true
  3710. else
  3711. coupling=false
  3712. fi
  3713. else
  3714. coupling=false
  3715. coupling_given=false
  3716. fi
  3717. disabled_by_default=${disabled_by_default}" coupling"
  3718. @%:@ Check whether --enable-dnscert was given.
  3719. if test "${enable_dnscert+set}" = set; then :
  3720. enableval=$enable_dnscert; dnscert_given=true
  3721. if test x$enableval = xyes; then
  3722. dnscert=true
  3723. else
  3724. dnscert=false
  3725. fi
  3726. else
  3727. dnscert=false
  3728. dnscert_given=false
  3729. fi
  3730. disabled_by_default=${disabled_by_default}" dnscert"
  3731. @%:@ Check whether --enable-eap-sim was given.
  3732. if test "${enable_eap_sim+set}" = set; then :
  3733. enableval=$enable_eap_sim; eap_sim_given=true
  3734. if test x$enableval = xyes; then
  3735. eap_sim=true
  3736. else
  3737. eap_sim=false
  3738. fi
  3739. else
  3740. eap_sim=false
  3741. eap_sim_given=false
  3742. fi
  3743. disabled_by_default=${disabled_by_default}" eap_sim"
  3744. @%:@ Check whether --enable-eap-sim-file was given.
  3745. if test "${enable_eap_sim_file+set}" = set; then :
  3746. enableval=$enable_eap_sim_file; eap_sim_file_given=true
  3747. if test x$enableval = xyes; then
  3748. eap_sim_file=true
  3749. else
  3750. eap_sim_file=false
  3751. fi
  3752. else
  3753. eap_sim_file=false
  3754. eap_sim_file_given=false
  3755. fi
  3756. disabled_by_default=${disabled_by_default}" eap_sim_file"
  3757. @%:@ Check whether --enable-eap-sim-pcsc was given.
  3758. if test "${enable_eap_sim_pcsc+set}" = set; then :
  3759. enableval=$enable_eap_sim_pcsc; eap_sim_pcsc_given=true
  3760. if test x$enableval = xyes; then
  3761. eap_sim_pcsc=true
  3762. else
  3763. eap_sim_pcsc=false
  3764. fi
  3765. else
  3766. eap_sim_pcsc=false
  3767. eap_sim_pcsc_given=false
  3768. fi
  3769. disabled_by_default=${disabled_by_default}" eap_sim_pcsc"
  3770. @%:@ Check whether --enable-eap-aka was given.
  3771. if test "${enable_eap_aka+set}" = set; then :
  3772. enableval=$enable_eap_aka; eap_aka_given=true
  3773. if test x$enableval = xyes; then
  3774. eap_aka=true
  3775. else
  3776. eap_aka=false
  3777. fi
  3778. else
  3779. eap_aka=false
  3780. eap_aka_given=false
  3781. fi
  3782. disabled_by_default=${disabled_by_default}" eap_aka"
  3783. @%:@ Check whether --enable-eap-aka-3gpp was given.
  3784. if test "${enable_eap_aka_3gpp+set}" = set; then :
  3785. enableval=$enable_eap_aka_3gpp; eap_aka_3gpp_given=true
  3786. if test x$enableval = xyes; then
  3787. eap_aka_3gpp=true
  3788. else
  3789. eap_aka_3gpp=false
  3790. fi
  3791. else
  3792. eap_aka_3gpp=false
  3793. eap_aka_3gpp_given=false
  3794. fi
  3795. disabled_by_default=${disabled_by_default}" eap_aka_3gpp"
  3796. @%:@ Check whether --enable-eap-aka-3gpp2 was given.
  3797. if test "${enable_eap_aka_3gpp2+set}" = set; then :
  3798. enableval=$enable_eap_aka_3gpp2; eap_aka_3gpp2_given=true
  3799. if test x$enableval = xyes; then
  3800. eap_aka_3gpp2=true
  3801. else
  3802. eap_aka_3gpp2=false
  3803. fi
  3804. else
  3805. eap_aka_3gpp2=false
  3806. eap_aka_3gpp2_given=false
  3807. fi
  3808. disabled_by_default=${disabled_by_default}" eap_aka_3gpp2"
  3809. @%:@ Check whether --enable-eap-simaka-sql was given.
  3810. if test "${enable_eap_simaka_sql+set}" = set; then :
  3811. enableval=$enable_eap_simaka_sql; eap_simaka_sql_given=true
  3812. if test x$enableval = xyes; then
  3813. eap_simaka_sql=true
  3814. else
  3815. eap_simaka_sql=false
  3816. fi
  3817. else
  3818. eap_simaka_sql=false
  3819. eap_simaka_sql_given=false
  3820. fi
  3821. disabled_by_default=${disabled_by_default}" eap_simaka_sql"
  3822. @%:@ Check whether --enable-eap-simaka-pseudonym was given.
  3823. if test "${enable_eap_simaka_pseudonym+set}" = set; then :
  3824. enableval=$enable_eap_simaka_pseudonym; eap_simaka_pseudonym_given=true
  3825. if test x$enableval = xyes; then
  3826. eap_simaka_pseudonym=true
  3827. else
  3828. eap_simaka_pseudonym=false
  3829. fi
  3830. else
  3831. eap_simaka_pseudonym=false
  3832. eap_simaka_pseudonym_given=false
  3833. fi
  3834. disabled_by_default=${disabled_by_default}" eap_simaka_pseudonym"
  3835. @%:@ Check whether --enable-eap-simaka-reauth was given.
  3836. if test "${enable_eap_simaka_reauth+set}" = set; then :
  3837. enableval=$enable_eap_simaka_reauth; eap_simaka_reauth_given=true
  3838. if test x$enableval = xyes; then
  3839. eap_simaka_reauth=true
  3840. else
  3841. eap_simaka_reauth=false
  3842. fi
  3843. else
  3844. eap_simaka_reauth=false
  3845. eap_simaka_reauth_given=false
  3846. fi
  3847. disabled_by_default=${disabled_by_default}" eap_simaka_reauth"
  3848. @%:@ Check whether --enable-eap-identity was given.
  3849. if test "${enable_eap_identity+set}" = set; then :
  3850. enableval=$enable_eap_identity; eap_identity_given=true
  3851. if test x$enableval = xyes; then
  3852. eap_identity=true
  3853. else
  3854. eap_identity=false
  3855. fi
  3856. else
  3857. eap_identity=false
  3858. eap_identity_given=false
  3859. fi
  3860. disabled_by_default=${disabled_by_default}" eap_identity"
  3861. @%:@ Check whether --enable-eap-md5 was given.
  3862. if test "${enable_eap_md5+set}" = set; then :
  3863. enableval=$enable_eap_md5; eap_md5_given=true
  3864. if test x$enableval = xyes; then
  3865. eap_md5=true
  3866. else
  3867. eap_md5=false
  3868. fi
  3869. else
  3870. eap_md5=false
  3871. eap_md5_given=false
  3872. fi
  3873. disabled_by_default=${disabled_by_default}" eap_md5"
  3874. @%:@ Check whether --enable-eap-gtc was given.
  3875. if test "${enable_eap_gtc+set}" = set; then :
  3876. enableval=$enable_eap_gtc; eap_gtc_given=true
  3877. if test x$enableval = xyes; then
  3878. eap_gtc=true
  3879. else
  3880. eap_gtc=false
  3881. fi
  3882. else
  3883. eap_gtc=false
  3884. eap_gtc_given=false
  3885. fi
  3886. disabled_by_default=${disabled_by_default}" eap_gtc"
  3887. @%:@ Check whether --enable-eap-mschapv2 was given.
  3888. if test "${enable_eap_mschapv2+set}" = set; then :
  3889. enableval=$enable_eap_mschapv2; eap_mschapv2_given=true
  3890. if test x$enableval = xyes; then
  3891. eap_mschapv2=true
  3892. else
  3893. eap_mschapv2=false
  3894. fi
  3895. else
  3896. eap_mschapv2=false
  3897. eap_mschapv2_given=false
  3898. fi
  3899. disabled_by_default=${disabled_by_default}" eap_mschapv2"
  3900. @%:@ Check whether --enable-eap-tls was given.
  3901. if test "${enable_eap_tls+set}" = set; then :
  3902. enableval=$enable_eap_tls; eap_tls_given=true
  3903. if test x$enableval = xyes; then
  3904. eap_tls=true
  3905. else
  3906. eap_tls=false
  3907. fi
  3908. else
  3909. eap_tls=false
  3910. eap_tls_given=false
  3911. fi
  3912. disabled_by_default=${disabled_by_default}" eap_tls"
  3913. @%:@ Check whether --enable-eap-ttls was given.
  3914. if test "${enable_eap_ttls+set}" = set; then :
  3915. enableval=$enable_eap_ttls; eap_ttls_given=true
  3916. if test x$enableval = xyes; then
  3917. eap_ttls=true
  3918. else
  3919. eap_ttls=false
  3920. fi
  3921. else
  3922. eap_ttls=false
  3923. eap_ttls_given=false
  3924. fi
  3925. disabled_by_default=${disabled_by_default}" eap_ttls"
  3926. @%:@ Check whether --enable-eap-peap was given.
  3927. if test "${enable_eap_peap+set}" = set; then :
  3928. enableval=$enable_eap_peap; eap_peap_given=true
  3929. if test x$enableval = xyes; then
  3930. eap_peap=true
  3931. else
  3932. eap_peap=false
  3933. fi
  3934. else
  3935. eap_peap=false
  3936. eap_peap_given=false
  3937. fi
  3938. disabled_by_default=${disabled_by_default}" eap_peap"
  3939. @%:@ Check whether --enable-eap-tnc was given.
  3940. if test "${enable_eap_tnc+set}" = set; then :
  3941. enableval=$enable_eap_tnc; eap_tnc_given=true
  3942. if test x$enableval = xyes; then
  3943. eap_tnc=true
  3944. else
  3945. eap_tnc=false
  3946. fi
  3947. else
  3948. eap_tnc=false
  3949. eap_tnc_given=false
  3950. fi
  3951. disabled_by_default=${disabled_by_default}" eap_tnc"
  3952. @%:@ Check whether --enable-eap-dynamic was given.
  3953. if test "${enable_eap_dynamic+set}" = set; then :
  3954. enableval=$enable_eap_dynamic; eap_dynamic_given=true
  3955. if test x$enableval = xyes; then
  3956. eap_dynamic=true
  3957. else
  3958. eap_dynamic=false
  3959. fi
  3960. else
  3961. eap_dynamic=false
  3962. eap_dynamic_given=false
  3963. fi
  3964. disabled_by_default=${disabled_by_default}" eap_dynamic"
  3965. @%:@ Check whether --enable-eap-radius was given.
  3966. if test "${enable_eap_radius+set}" = set; then :
  3967. enableval=$enable_eap_radius; eap_radius_given=true
  3968. if test x$enableval = xyes; then
  3969. eap_radius=true
  3970. else
  3971. eap_radius=false
  3972. fi
  3973. else
  3974. eap_radius=false
  3975. eap_radius_given=false
  3976. fi
  3977. disabled_by_default=${disabled_by_default}" eap_radius"
  3978. @%:@ Check whether --enable-ext-auth was given.
  3979. if test "${enable_ext_auth+set}" = set; then :
  3980. enableval=$enable_ext_auth; ext_auth_given=true
  3981. if test x$enableval = xyes; then
  3982. ext_auth=true
  3983. else
  3984. ext_auth=false
  3985. fi
  3986. else
  3987. ext_auth=false
  3988. ext_auth_given=false
  3989. fi
  3990. disabled_by_default=${disabled_by_default}" ext_auth"
  3991. @%:@ Check whether --enable-ipseckey was given.
  3992. if test "${enable_ipseckey+set}" = set; then :
  3993. enableval=$enable_ipseckey; ipseckey_given=true
  3994. if test x$enableval = xyes; then
  3995. ipseckey=true
  3996. else
  3997. ipseckey=false
  3998. fi
  3999. else
  4000. ipseckey=false
  4001. ipseckey_given=false
  4002. fi
  4003. disabled_by_default=${disabled_by_default}" ipseckey"
  4004. @%:@ Check whether --enable-keychain was given.
  4005. if test "${enable_keychain+set}" = set; then :
  4006. enableval=$enable_keychain; keychain_given=true
  4007. if test x$enableval = xyes; then
  4008. keychain=true
  4009. else
  4010. keychain=false
  4011. fi
  4012. else
  4013. keychain=false
  4014. keychain_given=false
  4015. fi
  4016. disabled_by_default=${disabled_by_default}" keychain"
  4017. @%:@ Check whether --enable-pkcs11 was given.
  4018. if test "${enable_pkcs11+set}" = set; then :
  4019. enableval=$enable_pkcs11; pkcs11_given=true
  4020. if test x$enableval = xyes; then
  4021. pkcs11=true
  4022. else
  4023. pkcs11=false
  4024. fi
  4025. else
  4026. pkcs11=false
  4027. pkcs11_given=false
  4028. fi
  4029. disabled_by_default=${disabled_by_default}" pkcs11"
  4030. @%:@ Check whether --enable-tpm was given.
  4031. if test "${enable_tpm+set}" = set; then :
  4032. enableval=$enable_tpm; tpm_given=true
  4033. if test x$enableval = xyes; then
  4034. tpm=true
  4035. else
  4036. tpm=false
  4037. fi
  4038. else
  4039. tpm=false
  4040. tpm_given=false
  4041. fi
  4042. disabled_by_default=${disabled_by_default}" tpm"
  4043. @%:@ Check whether --enable-revocation was given.
  4044. if test "${enable_revocation+set}" = set; then :
  4045. enableval=$enable_revocation; revocation_given=true
  4046. if test x$enableval = xyes; then
  4047. revocation=true
  4048. else
  4049. revocation=false
  4050. fi
  4051. else
  4052. revocation=true
  4053. revocation_given=false
  4054. fi
  4055. enabled_by_default=${enabled_by_default}" revocation"
  4056. @%:@ Check whether --enable-whitelist was given.
  4057. if test "${enable_whitelist+set}" = set; then :
  4058. enableval=$enable_whitelist; whitelist_given=true
  4059. if test x$enableval = xyes; then
  4060. whitelist=true
  4061. else
  4062. whitelist=false
  4063. fi
  4064. else
  4065. whitelist=false
  4066. whitelist_given=false
  4067. fi
  4068. disabled_by_default=${disabled_by_default}" whitelist"
  4069. @%:@ Check whether --enable-xauth-generic was given.
  4070. if test "${enable_xauth_generic+set}" = set; then :
  4071. enableval=$enable_xauth_generic; xauth_generic_given=true
  4072. if test x$enableval = xyes; then
  4073. xauth_generic=true
  4074. else
  4075. xauth_generic=false
  4076. fi
  4077. else
  4078. xauth_generic=true
  4079. xauth_generic_given=false
  4080. fi
  4081. enabled_by_default=${enabled_by_default}" xauth_generic"
  4082. @%:@ Check whether --enable-xauth-eap was given.
  4083. if test "${enable_xauth_eap+set}" = set; then :
  4084. enableval=$enable_xauth_eap; xauth_eap_given=true
  4085. if test x$enableval = xyes; then
  4086. xauth_eap=true
  4087. else
  4088. xauth_eap=false
  4089. fi
  4090. else
  4091. xauth_eap=false
  4092. xauth_eap_given=false
  4093. fi
  4094. disabled_by_default=${disabled_by_default}" xauth_eap"
  4095. @%:@ Check whether --enable-xauth-pam was given.
  4096. if test "${enable_xauth_pam+set}" = set; then :
  4097. enableval=$enable_xauth_pam; xauth_pam_given=true
  4098. if test x$enableval = xyes; then
  4099. xauth_pam=true
  4100. else
  4101. xauth_pam=false
  4102. fi
  4103. else
  4104. xauth_pam=false
  4105. xauth_pam_given=false
  4106. fi
  4107. disabled_by_default=${disabled_by_default}" xauth_pam"
  4108. @%:@ Check whether --enable-xauth-noauth was given.
  4109. if test "${enable_xauth_noauth+set}" = set; then :
  4110. enableval=$enable_xauth_noauth; xauth_noauth_given=true
  4111. if test x$enableval = xyes; then
  4112. xauth_noauth=true
  4113. else
  4114. xauth_noauth=false
  4115. fi
  4116. else
  4117. xauth_noauth=false
  4118. xauth_noauth_given=false
  4119. fi
  4120. disabled_by_default=${disabled_by_default}" xauth_noauth"
  4121. # kernel interfaces / sockets
  4122. @%:@ Check whether --enable-kernel-netlink was given.
  4123. if test "${enable_kernel_netlink+set}" = set; then :
  4124. enableval=$enable_kernel_netlink; kernel_netlink_given=true
  4125. if test x$enableval = xyes; then
  4126. kernel_netlink=true
  4127. else
  4128. kernel_netlink=false
  4129. fi
  4130. else
  4131. kernel_netlink=true
  4132. kernel_netlink_given=false
  4133. fi
  4134. enabled_by_default=${enabled_by_default}" kernel_netlink"
  4135. @%:@ Check whether --enable-kernel-pfkey was given.
  4136. if test "${enable_kernel_pfkey+set}" = set; then :
  4137. enableval=$enable_kernel_pfkey; kernel_pfkey_given=true
  4138. if test x$enableval = xyes; then
  4139. kernel_pfkey=true
  4140. else
  4141. kernel_pfkey=false
  4142. fi
  4143. else
  4144. kernel_pfkey=false
  4145. kernel_pfkey_given=false
  4146. fi
  4147. disabled_by_default=${disabled_by_default}" kernel_pfkey"
  4148. @%:@ Check whether --enable-kernel-pfroute was given.
  4149. if test "${enable_kernel_pfroute+set}" = set; then :
  4150. enableval=$enable_kernel_pfroute; kernel_pfroute_given=true
  4151. if test x$enableval = xyes; then
  4152. kernel_pfroute=true
  4153. else
  4154. kernel_pfroute=false
  4155. fi
  4156. else
  4157. kernel_pfroute=false
  4158. kernel_pfroute_given=false
  4159. fi
  4160. disabled_by_default=${disabled_by_default}" kernel_pfroute"
  4161. @%:@ Check whether --enable-kernel-iph was given.
  4162. if test "${enable_kernel_iph+set}" = set; then :
  4163. enableval=$enable_kernel_iph; kernel_iph_given=true
  4164. if test x$enableval = xyes; then
  4165. kernel_iph=true
  4166. else
  4167. kernel_iph=false
  4168. fi
  4169. else
  4170. kernel_iph=false
  4171. kernel_iph_given=false
  4172. fi
  4173. disabled_by_default=${disabled_by_default}" kernel_iph"
  4174. @%:@ Check whether --enable-kernel-libipsec was given.
  4175. if test "${enable_kernel_libipsec+set}" = set; then :
  4176. enableval=$enable_kernel_libipsec; kernel_libipsec_given=true
  4177. if test x$enableval = xyes; then
  4178. kernel_libipsec=true
  4179. else
  4180. kernel_libipsec=false
  4181. fi
  4182. else
  4183. kernel_libipsec=false
  4184. kernel_libipsec_given=false
  4185. fi
  4186. disabled_by_default=${disabled_by_default}" kernel_libipsec"
  4187. @%:@ Check whether --enable-kernel-wfp was given.
  4188. if test "${enable_kernel_wfp+set}" = set; then :
  4189. enableval=$enable_kernel_wfp; kernel_wfp_given=true
  4190. if test x$enableval = xyes; then
  4191. kernel_wfp=true
  4192. else
  4193. kernel_wfp=false
  4194. fi
  4195. else
  4196. kernel_wfp=false
  4197. kernel_wfp_given=false
  4198. fi
  4199. disabled_by_default=${disabled_by_default}" kernel_wfp"
  4200. @%:@ Check whether --enable-socket-default was given.
  4201. if test "${enable_socket_default+set}" = set; then :
  4202. enableval=$enable_socket_default; socket_default_given=true
  4203. if test x$enableval = xyes; then
  4204. socket_default=true
  4205. else
  4206. socket_default=false
  4207. fi
  4208. else
  4209. socket_default=true
  4210. socket_default_given=false
  4211. fi
  4212. enabled_by_default=${enabled_by_default}" socket_default"
  4213. @%:@ Check whether --enable-socket-dynamic was given.
  4214. if test "${enable_socket_dynamic+set}" = set; then :
  4215. enableval=$enable_socket_dynamic; socket_dynamic_given=true
  4216. if test x$enableval = xyes; then
  4217. socket_dynamic=true
  4218. else
  4219. socket_dynamic=false
  4220. fi
  4221. else
  4222. socket_dynamic=false
  4223. socket_dynamic_given=false
  4224. fi
  4225. disabled_by_default=${disabled_by_default}" socket_dynamic"
  4226. @%:@ Check whether --enable-socket-win was given.
  4227. if test "${enable_socket_win+set}" = set; then :
  4228. enableval=$enable_socket_win; socket_win_given=true
  4229. if test x$enableval = xyes; then
  4230. socket_win=true
  4231. else
  4232. socket_win=false
  4233. fi
  4234. else
  4235. socket_win=false
  4236. socket_win_given=false
  4237. fi
  4238. disabled_by_default=${disabled_by_default}" socket_win"
  4239. # configuration/control plugins
  4240. @%:@ Check whether --enable-stroke was given.
  4241. if test "${enable_stroke+set}" = set; then :
  4242. enableval=$enable_stroke; stroke_given=true
  4243. if test x$enableval = xyes; then
  4244. stroke=true
  4245. else
  4246. stroke=false
  4247. fi
  4248. else
  4249. stroke=true
  4250. stroke_given=false
  4251. fi
  4252. enabled_by_default=${enabled_by_default}" stroke"
  4253. @%:@ Check whether --enable-smp was given.
  4254. if test "${enable_smp+set}" = set; then :
  4255. enableval=$enable_smp; smp_given=true
  4256. if test x$enableval = xyes; then
  4257. smp=true
  4258. else
  4259. smp=false
  4260. fi
  4261. else
  4262. smp=false
  4263. smp_given=false
  4264. fi
  4265. disabled_by_default=${disabled_by_default}" smp"
  4266. @%:@ Check whether --enable-sql was given.
  4267. if test "${enable_sql+set}" = set; then :
  4268. enableval=$enable_sql; sql_given=true
  4269. if test x$enableval = xyes; then
  4270. sql=true
  4271. else
  4272. sql=false
  4273. fi
  4274. else
  4275. sql=false
  4276. sql_given=false
  4277. fi
  4278. disabled_by_default=${disabled_by_default}" sql"
  4279. @%:@ Check whether --enable-uci was given.
  4280. if test "${enable_uci+set}" = set; then :
  4281. enableval=$enable_uci; uci_given=true
  4282. if test x$enableval = xyes; then
  4283. uci=true
  4284. else
  4285. uci=false
  4286. fi
  4287. else
  4288. uci=false
  4289. uci_given=false
  4290. fi
  4291. disabled_by_default=${disabled_by_default}" uci"
  4292. @%:@ Check whether --enable-vici was given.
  4293. if test "${enable_vici+set}" = set; then :
  4294. enableval=$enable_vici; vici_given=true
  4295. if test x$enableval = xyes; then
  4296. vici=true
  4297. else
  4298. vici=false
  4299. fi
  4300. else
  4301. vici=true
  4302. vici_given=false
  4303. fi
  4304. enabled_by_default=${enabled_by_default}" vici"
  4305. # attribute provider/consumer plugins
  4306. @%:@ Check whether --enable-android-dns was given.
  4307. if test "${enable_android_dns+set}" = set; then :
  4308. enableval=$enable_android_dns; android_dns_given=true
  4309. if test x$enableval = xyes; then
  4310. android_dns=true
  4311. else
  4312. android_dns=false
  4313. fi
  4314. else
  4315. android_dns=false
  4316. android_dns_given=false
  4317. fi
  4318. disabled_by_default=${disabled_by_default}" android_dns"
  4319. @%:@ Check whether --enable-attr was given.
  4320. if test "${enable_attr+set}" = set; then :
  4321. enableval=$enable_attr; attr_given=true
  4322. if test x$enableval = xyes; then
  4323. attr=true
  4324. else
  4325. attr=false
  4326. fi
  4327. else
  4328. attr=true
  4329. attr_given=false
  4330. fi
  4331. enabled_by_default=${enabled_by_default}" attr"
  4332. @%:@ Check whether --enable-attr-sql was given.
  4333. if test "${enable_attr_sql+set}" = set; then :
  4334. enableval=$enable_attr_sql; attr_sql_given=true
  4335. if test x$enableval = xyes; then
  4336. attr_sql=true
  4337. else
  4338. attr_sql=false
  4339. fi
  4340. else
  4341. attr_sql=false
  4342. attr_sql_given=false
  4343. fi
  4344. disabled_by_default=${disabled_by_default}" attr_sql"
  4345. @%:@ Check whether --enable-dhcp was given.
  4346. if test "${enable_dhcp+set}" = set; then :
  4347. enableval=$enable_dhcp; dhcp_given=true
  4348. if test x$enableval = xyes; then
  4349. dhcp=true
  4350. else
  4351. dhcp=false
  4352. fi
  4353. else
  4354. dhcp=false
  4355. dhcp_given=false
  4356. fi
  4357. disabled_by_default=${disabled_by_default}" dhcp"
  4358. @%:@ Check whether --enable-osx-attr was given.
  4359. if test "${enable_osx_attr+set}" = set; then :
  4360. enableval=$enable_osx_attr; osx_attr_given=true
  4361. if test x$enableval = xyes; then
  4362. osx_attr=true
  4363. else
  4364. osx_attr=false
  4365. fi
  4366. else
  4367. osx_attr=false
  4368. osx_attr_given=false
  4369. fi
  4370. disabled_by_default=${disabled_by_default}" osx_attr"
  4371. @%:@ Check whether --enable-p-cscf was given.
  4372. if test "${enable_p_cscf+set}" = set; then :
  4373. enableval=$enable_p_cscf; p_cscf_given=true
  4374. if test x$enableval = xyes; then
  4375. p_cscf=true
  4376. else
  4377. p_cscf=false
  4378. fi
  4379. else
  4380. p_cscf=false
  4381. p_cscf_given=false
  4382. fi
  4383. disabled_by_default=${disabled_by_default}" p_cscf"
  4384. @%:@ Check whether --enable-resolve was given.
  4385. if test "${enable_resolve+set}" = set; then :
  4386. enableval=$enable_resolve; resolve_given=true
  4387. if test x$enableval = xyes; then
  4388. resolve=true
  4389. else
  4390. resolve=false
  4391. fi
  4392. else
  4393. resolve=true
  4394. resolve_given=false
  4395. fi
  4396. enabled_by_default=${enabled_by_default}" resolve"
  4397. @%:@ Check whether --enable-unity was given.
  4398. if test "${enable_unity+set}" = set; then :
  4399. enableval=$enable_unity; unity_given=true
  4400. if test x$enableval = xyes; then
  4401. unity=true
  4402. else
  4403. unity=false
  4404. fi
  4405. else
  4406. unity=false
  4407. unity_given=false
  4408. fi
  4409. disabled_by_default=${disabled_by_default}" unity"
  4410. # TNC modules/plugins
  4411. @%:@ Check whether --enable-imc-test was given.
  4412. if test "${enable_imc_test+set}" = set; then :
  4413. enableval=$enable_imc_test; imc_test_given=true
  4414. if test x$enableval = xyes; then
  4415. imc_test=true
  4416. else
  4417. imc_test=false
  4418. fi
  4419. else
  4420. imc_test=false
  4421. imc_test_given=false
  4422. fi
  4423. disabled_by_default=${disabled_by_default}" imc_test"
  4424. @%:@ Check whether --enable-imv-test was given.
  4425. if test "${enable_imv_test+set}" = set; then :
  4426. enableval=$enable_imv_test; imv_test_given=true
  4427. if test x$enableval = xyes; then
  4428. imv_test=true
  4429. else
  4430. imv_test=false
  4431. fi
  4432. else
  4433. imv_test=false
  4434. imv_test_given=false
  4435. fi
  4436. disabled_by_default=${disabled_by_default}" imv_test"
  4437. @%:@ Check whether --enable-imc-scanner was given.
  4438. if test "${enable_imc_scanner+set}" = set; then :
  4439. enableval=$enable_imc_scanner; imc_scanner_given=true
  4440. if test x$enableval = xyes; then
  4441. imc_scanner=true
  4442. else
  4443. imc_scanner=false
  4444. fi
  4445. else
  4446. imc_scanner=false
  4447. imc_scanner_given=false
  4448. fi
  4449. disabled_by_default=${disabled_by_default}" imc_scanner"
  4450. @%:@ Check whether --enable-imv-scanner was given.
  4451. if test "${enable_imv_scanner+set}" = set; then :
  4452. enableval=$enable_imv_scanner; imv_scanner_given=true
  4453. if test x$enableval = xyes; then
  4454. imv_scanner=true
  4455. else
  4456. imv_scanner=false
  4457. fi
  4458. else
  4459. imv_scanner=false
  4460. imv_scanner_given=false
  4461. fi
  4462. disabled_by_default=${disabled_by_default}" imv_scanner"
  4463. @%:@ Check whether --enable-imc-os was given.
  4464. if test "${enable_imc_os+set}" = set; then :
  4465. enableval=$enable_imc_os; imc_os_given=true
  4466. if test x$enableval = xyes; then
  4467. imc_os=true
  4468. else
  4469. imc_os=false
  4470. fi
  4471. else
  4472. imc_os=false
  4473. imc_os_given=false
  4474. fi
  4475. disabled_by_default=${disabled_by_default}" imc_os"
  4476. @%:@ Check whether --enable-imv-os was given.
  4477. if test "${enable_imv_os+set}" = set; then :
  4478. enableval=$enable_imv_os; imv_os_given=true
  4479. if test x$enableval = xyes; then
  4480. imv_os=true
  4481. else
  4482. imv_os=false
  4483. fi
  4484. else
  4485. imv_os=false
  4486. imv_os_given=false
  4487. fi
  4488. disabled_by_default=${disabled_by_default}" imv_os"
  4489. @%:@ Check whether --enable-imc-attestation was given.
  4490. if test "${enable_imc_attestation+set}" = set; then :
  4491. enableval=$enable_imc_attestation; imc_attestation_given=true
  4492. if test x$enableval = xyes; then
  4493. imc_attestation=true
  4494. else
  4495. imc_attestation=false
  4496. fi
  4497. else
  4498. imc_attestation=false
  4499. imc_attestation_given=false
  4500. fi
  4501. disabled_by_default=${disabled_by_default}" imc_attestation"
  4502. @%:@ Check whether --enable-imv-attestation was given.
  4503. if test "${enable_imv_attestation+set}" = set; then :
  4504. enableval=$enable_imv_attestation; imv_attestation_given=true
  4505. if test x$enableval = xyes; then
  4506. imv_attestation=true
  4507. else
  4508. imv_attestation=false
  4509. fi
  4510. else
  4511. imv_attestation=false
  4512. imv_attestation_given=false
  4513. fi
  4514. disabled_by_default=${disabled_by_default}" imv_attestation"
  4515. @%:@ Check whether --enable-imc-swima was given.
  4516. if test "${enable_imc_swima+set}" = set; then :
  4517. enableval=$enable_imc_swima; imc_swima_given=true
  4518. if test x$enableval = xyes; then
  4519. imc_swima=true
  4520. else
  4521. imc_swima=false
  4522. fi
  4523. else
  4524. imc_swima=false
  4525. imc_swima_given=false
  4526. fi
  4527. disabled_by_default=${disabled_by_default}" imc_swima"
  4528. @%:@ Check whether --enable-imv-swima was given.
  4529. if test "${enable_imv_swima+set}" = set; then :
  4530. enableval=$enable_imv_swima; imv_swima_given=true
  4531. if test x$enableval = xyes; then
  4532. imv_swima=true
  4533. else
  4534. imv_swima=false
  4535. fi
  4536. else
  4537. imv_swima=false
  4538. imv_swima_given=false
  4539. fi
  4540. disabled_by_default=${disabled_by_default}" imv_swima"
  4541. @%:@ Check whether --enable-imc-hcd was given.
  4542. if test "${enable_imc_hcd+set}" = set; then :
  4543. enableval=$enable_imc_hcd; imc_hcd_given=true
  4544. if test x$enableval = xyes; then
  4545. imc_hcd=true
  4546. else
  4547. imc_hcd=false
  4548. fi
  4549. else
  4550. imc_hcd=false
  4551. imc_hcd_given=false
  4552. fi
  4553. disabled_by_default=${disabled_by_default}" imc_hcd"
  4554. @%:@ Check whether --enable-imv-hcd was given.
  4555. if test "${enable_imv_hcd+set}" = set; then :
  4556. enableval=$enable_imv_hcd; imv_hcd_given=true
  4557. if test x$enableval = xyes; then
  4558. imv_hcd=true
  4559. else
  4560. imv_hcd=false
  4561. fi
  4562. else
  4563. imv_hcd=false
  4564. imv_hcd_given=false
  4565. fi
  4566. disabled_by_default=${disabled_by_default}" imv_hcd"
  4567. @%:@ Check whether --enable-tnc-ifmap was given.
  4568. if test "${enable_tnc_ifmap+set}" = set; then :
  4569. enableval=$enable_tnc_ifmap; tnc_ifmap_given=true
  4570. if test x$enableval = xyes; then
  4571. tnc_ifmap=true
  4572. else
  4573. tnc_ifmap=false
  4574. fi
  4575. else
  4576. tnc_ifmap=false
  4577. tnc_ifmap_given=false
  4578. fi
  4579. disabled_by_default=${disabled_by_default}" tnc_ifmap"
  4580. @%:@ Check whether --enable-tnc-imc was given.
  4581. if test "${enable_tnc_imc+set}" = set; then :
  4582. enableval=$enable_tnc_imc; tnc_imc_given=true
  4583. if test x$enableval = xyes; then
  4584. tnc_imc=true
  4585. else
  4586. tnc_imc=false
  4587. fi
  4588. else
  4589. tnc_imc=false
  4590. tnc_imc_given=false
  4591. fi
  4592. disabled_by_default=${disabled_by_default}" tnc_imc"
  4593. @%:@ Check whether --enable-tnc-imv was given.
  4594. if test "${enable_tnc_imv+set}" = set; then :
  4595. enableval=$enable_tnc_imv; tnc_imv_given=true
  4596. if test x$enableval = xyes; then
  4597. tnc_imv=true
  4598. else
  4599. tnc_imv=false
  4600. fi
  4601. else
  4602. tnc_imv=false
  4603. tnc_imv_given=false
  4604. fi
  4605. disabled_by_default=${disabled_by_default}" tnc_imv"
  4606. @%:@ Check whether --enable-tnc-pdp was given.
  4607. if test "${enable_tnc_pdp+set}" = set; then :
  4608. enableval=$enable_tnc_pdp; tnc_pdp_given=true
  4609. if test x$enableval = xyes; then
  4610. tnc_pdp=true
  4611. else
  4612. tnc_pdp=false
  4613. fi
  4614. else
  4615. tnc_pdp=false
  4616. tnc_pdp_given=false
  4617. fi
  4618. disabled_by_default=${disabled_by_default}" tnc_pdp"
  4619. @%:@ Check whether --enable-tnccs-11 was given.
  4620. if test "${enable_tnccs_11+set}" = set; then :
  4621. enableval=$enable_tnccs_11; tnccs_11_given=true
  4622. if test x$enableval = xyes; then
  4623. tnccs_11=true
  4624. else
  4625. tnccs_11=false
  4626. fi
  4627. else
  4628. tnccs_11=false
  4629. tnccs_11_given=false
  4630. fi
  4631. disabled_by_default=${disabled_by_default}" tnccs_11"
  4632. @%:@ Check whether --enable-tnccs-20 was given.
  4633. if test "${enable_tnccs_20+set}" = set; then :
  4634. enableval=$enable_tnccs_20; tnccs_20_given=true
  4635. if test x$enableval = xyes; then
  4636. tnccs_20=true
  4637. else
  4638. tnccs_20=false
  4639. fi
  4640. else
  4641. tnccs_20=false
  4642. tnccs_20_given=false
  4643. fi
  4644. disabled_by_default=${disabled_by_default}" tnccs_20"
  4645. @%:@ Check whether --enable-tnccs-dynamic was given.
  4646. if test "${enable_tnccs_dynamic+set}" = set; then :
  4647. enableval=$enable_tnccs_dynamic; tnccs_dynamic_given=true
  4648. if test x$enableval = xyes; then
  4649. tnccs_dynamic=true
  4650. else
  4651. tnccs_dynamic=false
  4652. fi
  4653. else
  4654. tnccs_dynamic=false
  4655. tnccs_dynamic_given=false
  4656. fi
  4657. disabled_by_default=${disabled_by_default}" tnccs_dynamic"
  4658. # misc plugins
  4659. @%:@ Check whether --enable-android-log was given.
  4660. if test "${enable_android_log+set}" = set; then :
  4661. enableval=$enable_android_log; android_log_given=true
  4662. if test x$enableval = xyes; then
  4663. android_log=true
  4664. else
  4665. android_log=false
  4666. fi
  4667. else
  4668. android_log=false
  4669. android_log_given=false
  4670. fi
  4671. disabled_by_default=${disabled_by_default}" android_log"
  4672. @%:@ Check whether --enable-bypass-lan was given.
  4673. if test "${enable_bypass_lan+set}" = set; then :
  4674. enableval=$enable_bypass_lan; bypass_lan_given=true
  4675. if test x$enableval = xyes; then
  4676. bypass_lan=true
  4677. else
  4678. bypass_lan=false
  4679. fi
  4680. else
  4681. bypass_lan=false
  4682. bypass_lan_given=false
  4683. fi
  4684. disabled_by_default=${disabled_by_default}" bypass_lan"
  4685. @%:@ Check whether --enable-certexpire was given.
  4686. if test "${enable_certexpire+set}" = set; then :
  4687. enableval=$enable_certexpire; certexpire_given=true
  4688. if test x$enableval = xyes; then
  4689. certexpire=true
  4690. else
  4691. certexpire=false
  4692. fi
  4693. else
  4694. certexpire=false
  4695. certexpire_given=false
  4696. fi
  4697. disabled_by_default=${disabled_by_default}" certexpire"
  4698. @%:@ Check whether --enable-connmark was given.
  4699. if test "${enable_connmark+set}" = set; then :
  4700. enableval=$enable_connmark; connmark_given=true
  4701. if test x$enableval = xyes; then
  4702. connmark=true
  4703. else
  4704. connmark=false
  4705. fi
  4706. else
  4707. connmark=false
  4708. connmark_given=false
  4709. fi
  4710. disabled_by_default=${disabled_by_default}" connmark"
  4711. @%:@ Check whether --enable-counters was given.
  4712. if test "${enable_counters+set}" = set; then :
  4713. enableval=$enable_counters; counters_given=true
  4714. if test x$enableval = xyes; then
  4715. counters=true
  4716. else
  4717. counters=false
  4718. fi
  4719. else
  4720. counters=false
  4721. counters_given=false
  4722. fi
  4723. disabled_by_default=${disabled_by_default}" counters"
  4724. @%:@ Check whether --enable-forecast was given.
  4725. if test "${enable_forecast+set}" = set; then :
  4726. enableval=$enable_forecast; forecast_given=true
  4727. if test x$enableval = xyes; then
  4728. forecast=true
  4729. else
  4730. forecast=false
  4731. fi
  4732. else
  4733. forecast=false
  4734. forecast_given=false
  4735. fi
  4736. disabled_by_default=${disabled_by_default}" forecast"
  4737. @%:@ Check whether --enable-duplicheck was given.
  4738. if test "${enable_duplicheck+set}" = set; then :
  4739. enableval=$enable_duplicheck; duplicheck_given=true
  4740. if test x$enableval = xyes; then
  4741. duplicheck=true
  4742. else
  4743. duplicheck=false
  4744. fi
  4745. else
  4746. duplicheck=false
  4747. duplicheck_given=false
  4748. fi
  4749. disabled_by_default=${disabled_by_default}" duplicheck"
  4750. @%:@ Check whether --enable-error-notify was given.
  4751. if test "${enable_error_notify+set}" = set; then :
  4752. enableval=$enable_error_notify; error_notify_given=true
  4753. if test x$enableval = xyes; then
  4754. error_notify=true
  4755. else
  4756. error_notify=false
  4757. fi
  4758. else
  4759. error_notify=false
  4760. error_notify_given=false
  4761. fi
  4762. disabled_by_default=${disabled_by_default}" error_notify"
  4763. @%:@ Check whether --enable-farp was given.
  4764. if test "${enable_farp+set}" = set; then :
  4765. enableval=$enable_farp; farp_given=true
  4766. if test x$enableval = xyes; then
  4767. farp=true
  4768. else
  4769. farp=false
  4770. fi
  4771. else
  4772. farp=false
  4773. farp_given=false
  4774. fi
  4775. disabled_by_default=${disabled_by_default}" farp"
  4776. @%:@ Check whether --enable-ha was given.
  4777. if test "${enable_ha+set}" = set; then :
  4778. enableval=$enable_ha; ha_given=true
  4779. if test x$enableval = xyes; then
  4780. ha=true
  4781. else
  4782. ha=false
  4783. fi
  4784. else
  4785. ha=false
  4786. ha_given=false
  4787. fi
  4788. disabled_by_default=${disabled_by_default}" ha"
  4789. @%:@ Check whether --enable-led was given.
  4790. if test "${enable_led+set}" = set; then :
  4791. enableval=$enable_led; led_given=true
  4792. if test x$enableval = xyes; then
  4793. led=true
  4794. else
  4795. led=false
  4796. fi
  4797. else
  4798. led=false
  4799. led_given=false
  4800. fi
  4801. disabled_by_default=${disabled_by_default}" led"
  4802. @%:@ Check whether --enable-load-tester was given.
  4803. if test "${enable_load_tester+set}" = set; then :
  4804. enableval=$enable_load_tester; load_tester_given=true
  4805. if test x$enableval = xyes; then
  4806. load_tester=true
  4807. else
  4808. load_tester=false
  4809. fi
  4810. else
  4811. load_tester=false
  4812. load_tester_given=false
  4813. fi
  4814. disabled_by_default=${disabled_by_default}" load_tester"
  4815. @%:@ Check whether --enable-lookip was given.
  4816. if test "${enable_lookip+set}" = set; then :
  4817. enableval=$enable_lookip; lookip_given=true
  4818. if test x$enableval = xyes; then
  4819. lookip=true
  4820. else
  4821. lookip=false
  4822. fi
  4823. else
  4824. lookip=false
  4825. lookip_given=false
  4826. fi
  4827. disabled_by_default=${disabled_by_default}" lookip"
  4828. @%:@ Check whether --enable-radattr was given.
  4829. if test "${enable_radattr+set}" = set; then :
  4830. enableval=$enable_radattr; radattr_given=true
  4831. if test x$enableval = xyes; then
  4832. radattr=true
  4833. else
  4834. radattr=false
  4835. fi
  4836. else
  4837. radattr=false
  4838. radattr_given=false
  4839. fi
  4840. disabled_by_default=${disabled_by_default}" radattr"
  4841. @%:@ Check whether --enable-save-keys was given.
  4842. if test "${enable_save_keys+set}" = set; then :
  4843. enableval=$enable_save_keys; save_keys_given=true
  4844. if test x$enableval = xyes; then
  4845. save_keys=true
  4846. else
  4847. save_keys=false
  4848. fi
  4849. else
  4850. save_keys=false
  4851. save_keys_given=false
  4852. fi
  4853. disabled_by_default=${disabled_by_default}" save_keys"
  4854. @%:@ Check whether --enable-systime-fix was given.
  4855. if test "${enable_systime_fix+set}" = set; then :
  4856. enableval=$enable_systime_fix; systime_fix_given=true
  4857. if test x$enableval = xyes; then
  4858. systime_fix=true
  4859. else
  4860. systime_fix=false
  4861. fi
  4862. else
  4863. systime_fix=false
  4864. systime_fix_given=false
  4865. fi
  4866. disabled_by_default=${disabled_by_default}" systime_fix"
  4867. @%:@ Check whether --enable-test-vectors was given.
  4868. if test "${enable_test_vectors+set}" = set; then :
  4869. enableval=$enable_test_vectors; test_vectors_given=true
  4870. if test x$enableval = xyes; then
  4871. test_vectors=true
  4872. else
  4873. test_vectors=false
  4874. fi
  4875. else
  4876. test_vectors=false
  4877. test_vectors_given=false
  4878. fi
  4879. disabled_by_default=${disabled_by_default}" test_vectors"
  4880. @%:@ Check whether --enable-updown was given.
  4881. if test "${enable_updown+set}" = set; then :
  4882. enableval=$enable_updown; updown_given=true
  4883. if test x$enableval = xyes; then
  4884. updown=true
  4885. else
  4886. updown=false
  4887. fi
  4888. else
  4889. updown=true
  4890. updown_given=false
  4891. fi
  4892. enabled_by_default=${enabled_by_default}" updown"
  4893. # programs/components
  4894. @%:@ Check whether --enable-aikgen was given.
  4895. if test "${enable_aikgen+set}" = set; then :
  4896. enableval=$enable_aikgen; aikgen_given=true
  4897. if test x$enableval = xyes; then
  4898. aikgen=true
  4899. else
  4900. aikgen=false
  4901. fi
  4902. else
  4903. aikgen=false
  4904. aikgen_given=false
  4905. fi
  4906. disabled_by_default=${disabled_by_default}" aikgen"
  4907. @%:@ Check whether --enable-charon was given.
  4908. if test "${enable_charon+set}" = set; then :
  4909. enableval=$enable_charon; charon_given=true
  4910. if test x$enableval = xyes; then
  4911. charon=true
  4912. else
  4913. charon=false
  4914. fi
  4915. else
  4916. charon=true
  4917. charon_given=false
  4918. fi
  4919. enabled_by_default=${enabled_by_default}" charon"
  4920. @%:@ Check whether --enable-cmd was given.
  4921. if test "${enable_cmd+set}" = set; then :
  4922. enableval=$enable_cmd; cmd_given=true
  4923. if test x$enableval = xyes; then
  4924. cmd=true
  4925. else
  4926. cmd=false
  4927. fi
  4928. else
  4929. cmd=false
  4930. cmd_given=false
  4931. fi
  4932. disabled_by_default=${disabled_by_default}" cmd"
  4933. @%:@ Check whether --enable-conftest was given.
  4934. if test "${enable_conftest+set}" = set; then :
  4935. enableval=$enable_conftest; conftest_given=true
  4936. if test x$enableval = xyes; then
  4937. conftest=true
  4938. else
  4939. conftest=false
  4940. fi
  4941. else
  4942. conftest=false
  4943. conftest_given=false
  4944. fi
  4945. disabled_by_default=${disabled_by_default}" conftest"
  4946. @%:@ Check whether --enable-fast was given.
  4947. if test "${enable_fast+set}" = set; then :
  4948. enableval=$enable_fast; fast_given=true
  4949. if test x$enableval = xyes; then
  4950. fast=true
  4951. else
  4952. fast=false
  4953. fi
  4954. else
  4955. fast=false
  4956. fast_given=false
  4957. fi
  4958. disabled_by_default=${disabled_by_default}" fast"
  4959. @%:@ Check whether --enable-fuzzing was given.
  4960. if test "${enable_fuzzing+set}" = set; then :
  4961. enableval=$enable_fuzzing; fuzzing_given=true
  4962. if test x$enableval = xyes; then
  4963. fuzzing=true
  4964. else
  4965. fuzzing=false
  4966. fi
  4967. else
  4968. fuzzing=false
  4969. fuzzing_given=false
  4970. fi
  4971. disabled_by_default=${disabled_by_default}" fuzzing"
  4972. @%:@ Check whether --enable-libipsec was given.
  4973. if test "${enable_libipsec+set}" = set; then :
  4974. enableval=$enable_libipsec; libipsec_given=true
  4975. if test x$enableval = xyes; then
  4976. libipsec=true
  4977. else
  4978. libipsec=false
  4979. fi
  4980. else
  4981. libipsec=false
  4982. libipsec_given=false
  4983. fi
  4984. disabled_by_default=${disabled_by_default}" libipsec"
  4985. @%:@ Check whether --enable-manager was given.
  4986. if test "${enable_manager+set}" = set; then :
  4987. enableval=$enable_manager; manager_given=true
  4988. if test x$enableval = xyes; then
  4989. manager=true
  4990. else
  4991. manager=false
  4992. fi
  4993. else
  4994. manager=false
  4995. manager_given=false
  4996. fi
  4997. disabled_by_default=${disabled_by_default}" manager"
  4998. @%:@ Check whether --enable-medcli was given.
  4999. if test "${enable_medcli+set}" = set; then :
  5000. enableval=$enable_medcli; medcli_given=true
  5001. if test x$enableval = xyes; then
  5002. medcli=true
  5003. else
  5004. medcli=false
  5005. fi
  5006. else
  5007. medcli=false
  5008. medcli_given=false
  5009. fi
  5010. disabled_by_default=${disabled_by_default}" medcli"
  5011. @%:@ Check whether --enable-medsrv was given.
  5012. if test "${enable_medsrv+set}" = set; then :
  5013. enableval=$enable_medsrv; medsrv_given=true
  5014. if test x$enableval = xyes; then
  5015. medsrv=true
  5016. else
  5017. medsrv=false
  5018. fi
  5019. else
  5020. medsrv=false
  5021. medsrv_given=false
  5022. fi
  5023. disabled_by_default=${disabled_by_default}" medsrv"
  5024. @%:@ Check whether --enable-nm was given.
  5025. if test "${enable_nm+set}" = set; then :
  5026. enableval=$enable_nm; nm_given=true
  5027. if test x$enableval = xyes; then
  5028. nm=true
  5029. else
  5030. nm=false
  5031. fi
  5032. else
  5033. nm=false
  5034. nm_given=false
  5035. fi
  5036. disabled_by_default=${disabled_by_default}" nm"
  5037. @%:@ Check whether --enable-pki was given.
  5038. if test "${enable_pki+set}" = set; then :
  5039. enableval=$enable_pki; pki_given=true
  5040. if test x$enableval = xyes; then
  5041. pki=true
  5042. else
  5043. pki=false
  5044. fi
  5045. else
  5046. pki=true
  5047. pki_given=false
  5048. fi
  5049. enabled_by_default=${enabled_by_default}" pki"
  5050. @%:@ Check whether --enable-scepclient was given.
  5051. if test "${enable_scepclient+set}" = set; then :
  5052. enableval=$enable_scepclient; scepclient_given=true
  5053. if test x$enableval = xyes; then
  5054. scepclient=true
  5055. else
  5056. scepclient=false
  5057. fi
  5058. else
  5059. scepclient=true
  5060. scepclient_given=false
  5061. fi
  5062. enabled_by_default=${enabled_by_default}" scepclient"
  5063. @%:@ Check whether --enable-scripts was given.
  5064. if test "${enable_scripts+set}" = set; then :
  5065. enableval=$enable_scripts; scripts_given=true
  5066. if test x$enableval = xyes; then
  5067. scripts=true
  5068. else
  5069. scripts=false
  5070. fi
  5071. else
  5072. scripts=true
  5073. scripts_given=false
  5074. fi
  5075. enabled_by_default=${enabled_by_default}" scripts"
  5076. @%:@ Check whether --enable-svc was given.
  5077. if test "${enable_svc+set}" = set; then :
  5078. enableval=$enable_svc; svc_given=true
  5079. if test x$enableval = xyes; then
  5080. svc=true
  5081. else
  5082. svc=false
  5083. fi
  5084. else
  5085. svc=false
  5086. svc_given=false
  5087. fi
  5088. disabled_by_default=${disabled_by_default}" svc"
  5089. @%:@ Check whether --enable-systemd was given.
  5090. if test "${enable_systemd+set}" = set; then :
  5091. enableval=$enable_systemd; systemd_given=true
  5092. if test x$enableval = xyes; then
  5093. systemd=true
  5094. else
  5095. systemd=false
  5096. fi
  5097. else
  5098. systemd=false
  5099. systemd_given=false
  5100. fi
  5101. disabled_by_default=${disabled_by_default}" systemd"
  5102. @%:@ Check whether --enable-swanctl was given.
  5103. if test "${enable_swanctl+set}" = set; then :
  5104. enableval=$enable_swanctl; swanctl_given=true
  5105. if test x$enableval = xyes; then
  5106. swanctl=true
  5107. else
  5108. swanctl=false
  5109. fi
  5110. else
  5111. swanctl=true
  5112. swanctl_given=false
  5113. fi
  5114. enabled_by_default=${enabled_by_default}" swanctl"
  5115. @%:@ Check whether --enable-tkm was given.
  5116. if test "${enable_tkm+set}" = set; then :
  5117. enableval=$enable_tkm; tkm_given=true
  5118. if test x$enableval = xyes; then
  5119. tkm=true
  5120. else
  5121. tkm=false
  5122. fi
  5123. else
  5124. tkm=false
  5125. tkm_given=false
  5126. fi
  5127. disabled_by_default=${disabled_by_default}" tkm"
  5128. # optional features
  5129. @%:@ Check whether --enable-bfd-backtraces was given.
  5130. if test "${enable_bfd_backtraces+set}" = set; then :
  5131. enableval=$enable_bfd_backtraces; bfd_backtraces_given=true
  5132. if test x$enableval = xyes; then
  5133. bfd_backtraces=true
  5134. else
  5135. bfd_backtraces=false
  5136. fi
  5137. else
  5138. bfd_backtraces=false
  5139. bfd_backtraces_given=false
  5140. fi
  5141. disabled_by_default=${disabled_by_default}" bfd_backtraces"
  5142. @%:@ Check whether --enable-dbghelp-backtraces was given.
  5143. if test "${enable_dbghelp_backtraces+set}" = set; then :
  5144. enableval=$enable_dbghelp_backtraces; dbghelp_backtraces_given=true
  5145. if test x$enableval = xyes; then
  5146. dbghelp_backtraces=true
  5147. else
  5148. dbghelp_backtraces=false
  5149. fi
  5150. else
  5151. dbghelp_backtraces=false
  5152. dbghelp_backtraces_given=false
  5153. fi
  5154. disabled_by_default=${disabled_by_default}" dbghelp_backtraces"
  5155. @%:@ Check whether --enable-ikev1 was given.
  5156. if test "${enable_ikev1+set}" = set; then :
  5157. enableval=$enable_ikev1; ikev1_given=true
  5158. if test x$enableval = xyes; then
  5159. ikev1=true
  5160. else
  5161. ikev1=false
  5162. fi
  5163. else
  5164. ikev1=true
  5165. ikev1_given=false
  5166. fi
  5167. enabled_by_default=${enabled_by_default}" ikev1"
  5168. @%:@ Check whether --enable-ikev2 was given.
  5169. if test "${enable_ikev2+set}" = set; then :
  5170. enableval=$enable_ikev2; ikev2_given=true
  5171. if test x$enableval = xyes; then
  5172. ikev2=true
  5173. else
  5174. ikev2=false
  5175. fi
  5176. else
  5177. ikev2=true
  5178. ikev2_given=false
  5179. fi
  5180. enabled_by_default=${enabled_by_default}" ikev2"
  5181. @%:@ Check whether --enable-integrity-test was given.
  5182. if test "${enable_integrity_test+set}" = set; then :
  5183. enableval=$enable_integrity_test; integrity_test_given=true
  5184. if test x$enableval = xyes; then
  5185. integrity_test=true
  5186. else
  5187. integrity_test=false
  5188. fi
  5189. else
  5190. integrity_test=false
  5191. integrity_test_given=false
  5192. fi
  5193. disabled_by_default=${disabled_by_default}" integrity_test"
  5194. @%:@ Check whether --enable-load-warning was given.
  5195. if test "${enable_load_warning+set}" = set; then :
  5196. enableval=$enable_load_warning; load_warning_given=true
  5197. if test x$enableval = xyes; then
  5198. load_warning=true
  5199. else
  5200. load_warning=false
  5201. fi
  5202. else
  5203. load_warning=true
  5204. load_warning_given=false
  5205. fi
  5206. enabled_by_default=${enabled_by_default}" load_warning"
  5207. @%:@ Check whether --enable-mediation was given.
  5208. if test "${enable_mediation+set}" = set; then :
  5209. enableval=$enable_mediation; mediation_given=true
  5210. if test x$enableval = xyes; then
  5211. mediation=true
  5212. else
  5213. mediation=false
  5214. fi
  5215. else
  5216. mediation=false
  5217. mediation_given=false
  5218. fi
  5219. disabled_by_default=${disabled_by_default}" mediation"
  5220. @%:@ Check whether --enable-unwind-backtraces was given.
  5221. if test "${enable_unwind_backtraces+set}" = set; then :
  5222. enableval=$enable_unwind_backtraces; unwind_backtraces_given=true
  5223. if test x$enableval = xyes; then
  5224. unwind_backtraces=true
  5225. else
  5226. unwind_backtraces=false
  5227. fi
  5228. else
  5229. unwind_backtraces=false
  5230. unwind_backtraces_given=false
  5231. fi
  5232. disabled_by_default=${disabled_by_default}" unwind_backtraces"
  5233. @%:@ Check whether --enable-ruby-gems was given.
  5234. if test "${enable_ruby_gems+set}" = set; then :
  5235. enableval=$enable_ruby_gems; ruby_gems_given=true
  5236. if test x$enableval = xyes; then
  5237. ruby_gems=true
  5238. else
  5239. ruby_gems=false
  5240. fi
  5241. else
  5242. ruby_gems=false
  5243. ruby_gems_given=false
  5244. fi
  5245. disabled_by_default=${disabled_by_default}" ruby_gems"
  5246. @%:@ Check whether --enable-ruby-gems-install was given.
  5247. if test "${enable_ruby_gems_install+set}" = set; then :
  5248. enableval=$enable_ruby_gems_install; ruby_gems_install_given=true
  5249. if test x$enableval = xyes; then
  5250. ruby_gems_install=true
  5251. else
  5252. ruby_gems_install=false
  5253. fi
  5254. else
  5255. ruby_gems_install=false
  5256. ruby_gems_install_given=false
  5257. fi
  5258. disabled_by_default=${disabled_by_default}" ruby_gems_install"
  5259. @%:@ Check whether --enable-python-eggs was given.
  5260. if test "${enable_python_eggs+set}" = set; then :
  5261. enableval=$enable_python_eggs; python_eggs_given=true
  5262. if test x$enableval = xyes; then
  5263. python_eggs=true
  5264. else
  5265. python_eggs=false
  5266. fi
  5267. else
  5268. python_eggs=false
  5269. python_eggs_given=false
  5270. fi
  5271. disabled_by_default=${disabled_by_default}" python_eggs"
  5272. @%:@ Check whether --enable-python-eggs-install was given.
  5273. if test "${enable_python_eggs_install+set}" = set; then :
  5274. enableval=$enable_python_eggs_install; python_eggs_install_given=true
  5275. if test x$enableval = xyes; then
  5276. python_eggs_install=true
  5277. else
  5278. python_eggs_install=false
  5279. fi
  5280. else
  5281. python_eggs_install=false
  5282. python_eggs_install_given=false
  5283. fi
  5284. disabled_by_default=${disabled_by_default}" python_eggs_install"
  5285. @%:@ Check whether --enable-perl-cpan was given.
  5286. if test "${enable_perl_cpan+set}" = set; then :
  5287. enableval=$enable_perl_cpan; perl_cpan_given=true
  5288. if test x$enableval = xyes; then
  5289. perl_cpan=true
  5290. else
  5291. perl_cpan=false
  5292. fi
  5293. else
  5294. perl_cpan=false
  5295. perl_cpan_given=false
  5296. fi
  5297. disabled_by_default=${disabled_by_default}" perl_cpan"
  5298. @%:@ Check whether --enable-perl-cpan-install was given.
  5299. if test "${enable_perl_cpan_install+set}" = set; then :
  5300. enableval=$enable_perl_cpan_install; perl_cpan_install_given=true
  5301. if test x$enableval = xyes; then
  5302. perl_cpan_install=true
  5303. else
  5304. perl_cpan_install=false
  5305. fi
  5306. else
  5307. perl_cpan_install=false
  5308. perl_cpan_install_given=false
  5309. fi
  5310. disabled_by_default=${disabled_by_default}" perl_cpan_install"
  5311. @%:@ Check whether --enable-tss-trousers was given.
  5312. if test "${enable_tss_trousers+set}" = set; then :
  5313. enableval=$enable_tss_trousers; tss_trousers_given=true
  5314. if test x$enableval = xyes; then
  5315. tss_trousers=true
  5316. else
  5317. tss_trousers=false
  5318. fi
  5319. else
  5320. tss_trousers=false
  5321. tss_trousers_given=false
  5322. fi
  5323. disabled_by_default=${disabled_by_default}" tss_trousers"
  5324. @%:@ Check whether --enable-tss-tss2 was given.
  5325. if test "${enable_tss_tss2+set}" = set; then :
  5326. enableval=$enable_tss_tss2; tss_tss2_given=true
  5327. if test x$enableval = xyes; then
  5328. tss_tss2=true
  5329. else
  5330. tss_tss2=false
  5331. fi
  5332. else
  5333. tss_tss2=false
  5334. tss_tss2_given=false
  5335. fi
  5336. disabled_by_default=${disabled_by_default}" tss_tss2"
  5337. # compile options
  5338. @%:@ Check whether --enable-coverage was given.
  5339. if test "${enable_coverage+set}" = set; then :
  5340. enableval=$enable_coverage; coverage_given=true
  5341. if test x$enableval = xyes; then
  5342. coverage=true
  5343. else
  5344. coverage=false
  5345. fi
  5346. else
  5347. coverage=false
  5348. coverage_given=false
  5349. fi
  5350. disabled_by_default=${disabled_by_default}" coverage"
  5351. @%:@ Check whether --enable-leak-detective was given.
  5352. if test "${enable_leak_detective+set}" = set; then :
  5353. enableval=$enable_leak_detective; leak_detective_given=true
  5354. if test x$enableval = xyes; then
  5355. leak_detective=true
  5356. else
  5357. leak_detective=false
  5358. fi
  5359. else
  5360. leak_detective=false
  5361. leak_detective_given=false
  5362. fi
  5363. disabled_by_default=${disabled_by_default}" leak_detective"
  5364. @%:@ Check whether --enable-lock-profiler was given.
  5365. if test "${enable_lock_profiler+set}" = set; then :
  5366. enableval=$enable_lock_profiler; lock_profiler_given=true
  5367. if test x$enableval = xyes; then
  5368. lock_profiler=true
  5369. else
  5370. lock_profiler=false
  5371. fi
  5372. else
  5373. lock_profiler=false
  5374. lock_profiler_given=false
  5375. fi
  5376. disabled_by_default=${disabled_by_default}" lock_profiler"
  5377. @%:@ Check whether --enable-log-thread-ids was given.
  5378. if test "${enable_log_thread_ids+set}" = set; then :
  5379. enableval=$enable_log_thread_ids; log_thread_ids_given=true
  5380. if test x$enableval = xyes; then
  5381. log_thread_ids=true
  5382. else
  5383. log_thread_ids=false
  5384. fi
  5385. else
  5386. log_thread_ids=false
  5387. log_thread_ids_given=false
  5388. fi
  5389. disabled_by_default=${disabled_by_default}" log_thread_ids"
  5390. @%:@ Check whether --enable-monolithic was given.
  5391. if test "${enable_monolithic+set}" = set; then :
  5392. enableval=$enable_monolithic; monolithic_given=true
  5393. if test x$enableval = xyes; then
  5394. monolithic=true
  5395. else
  5396. monolithic=false
  5397. fi
  5398. else
  5399. monolithic=false
  5400. monolithic_given=false
  5401. fi
  5402. disabled_by_default=${disabled_by_default}" monolithic"
  5403. # ===================================
  5404. # option to disable default options
  5405. # ===================================
  5406. @%:@ Check whether --enable-defaults was given.
  5407. if test "${enable_defaults+set}" = set; then :
  5408. enableval=$enable_defaults; defaults_given=true
  5409. if test x$enableval = xyes; then
  5410. defaults=true
  5411. else
  5412. defaults=false
  5413. fi
  5414. else
  5415. defaults=true
  5416. defaults_given=false
  5417. fi
  5418. enabled_by_default=${enabled_by_default}" defaults"
  5419. if test x$defaults = xfalse; then
  5420. for option in $enabled_by_default; do
  5421. eval test x\${${option}_given} = xtrue && continue
  5422. eval $option=false
  5423. done
  5424. fi
  5425. # ==============================
  5426. # option to enable all options
  5427. # ==============================
  5428. @%:@ Check whether --enable-all was given.
  5429. if test "${enable_all+set}" = set; then :
  5430. enableval=$enable_all; all_given=true
  5431. if test x$enableval = xyes; then
  5432. all=true
  5433. else
  5434. all=false
  5435. fi
  5436. else
  5437. all=false
  5438. all_given=false
  5439. fi
  5440. disabled_by_default=${disabled_by_default}" all"
  5441. if test x$all_given = xtrue; then
  5442. for option in $disabled_by_default; do
  5443. eval test x\${${option}_given} = xtrue && continue
  5444. eval $option=true
  5445. done
  5446. fi
  5447. # ===========================
  5448. # set up compiler and flags
  5449. # ===========================
  5450. if test -z "$CFLAGS"; then
  5451. CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign"
  5452. fi
  5453. ac_ext=c
  5454. ac_cpp='$CPP $CPPFLAGS'
  5455. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5456. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5457. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5458. if test -n "$ac_tool_prefix"; then
  5459. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5460. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  5461. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5462. $as_echo_n "checking for $ac_word... " >&6; }
  5463. if ${ac_cv_prog_CC+:} false; then :
  5464. $as_echo_n "(cached) " >&6
  5465. else
  5466. if test -n "$CC"; then
  5467. ac_cv_prog_CC="$CC" # Let the user override the test.
  5468. else
  5469. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5470. for as_dir in $PATH
  5471. do
  5472. IFS=$as_save_IFS
  5473. test -z "$as_dir" && as_dir=.
  5474. for ac_exec_ext in '' $ac_executable_extensions; do
  5475. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5476. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  5477. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5478. break 2
  5479. fi
  5480. done
  5481. done
  5482. IFS=$as_save_IFS
  5483. fi
  5484. fi
  5485. CC=$ac_cv_prog_CC
  5486. if test -n "$CC"; then
  5487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5488. $as_echo "$CC" >&6; }
  5489. else
  5490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5491. $as_echo "no" >&6; }
  5492. fi
  5493. fi
  5494. if test -z "$ac_cv_prog_CC"; then
  5495. ac_ct_CC=$CC
  5496. # Extract the first word of "gcc", so it can be a program name with args.
  5497. set dummy gcc; ac_word=$2
  5498. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5499. $as_echo_n "checking for $ac_word... " >&6; }
  5500. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  5501. $as_echo_n "(cached) " >&6
  5502. else
  5503. if test -n "$ac_ct_CC"; then
  5504. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  5505. else
  5506. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5507. for as_dir in $PATH
  5508. do
  5509. IFS=$as_save_IFS
  5510. test -z "$as_dir" && as_dir=.
  5511. for ac_exec_ext in '' $ac_executable_extensions; do
  5512. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5513. ac_cv_prog_ac_ct_CC="gcc"
  5514. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5515. break 2
  5516. fi
  5517. done
  5518. done
  5519. IFS=$as_save_IFS
  5520. fi
  5521. fi
  5522. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  5523. if test -n "$ac_ct_CC"; then
  5524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  5525. $as_echo "$ac_ct_CC" >&6; }
  5526. else
  5527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5528. $as_echo "no" >&6; }
  5529. fi
  5530. if test "x$ac_ct_CC" = x; then
  5531. CC=""
  5532. else
  5533. case $cross_compiling:$ac_tool_warned in
  5534. yes:)
  5535. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5536. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5537. ac_tool_warned=yes ;;
  5538. esac
  5539. CC=$ac_ct_CC
  5540. fi
  5541. else
  5542. CC="$ac_cv_prog_CC"
  5543. fi
  5544. if test -z "$CC"; then
  5545. if test -n "$ac_tool_prefix"; then
  5546. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5547. set dummy ${ac_tool_prefix}cc; ac_word=$2
  5548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5549. $as_echo_n "checking for $ac_word... " >&6; }
  5550. if ${ac_cv_prog_CC+:} false; then :
  5551. $as_echo_n "(cached) " >&6
  5552. else
  5553. if test -n "$CC"; then
  5554. ac_cv_prog_CC="$CC" # Let the user override the test.
  5555. else
  5556. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5557. for as_dir in $PATH
  5558. do
  5559. IFS=$as_save_IFS
  5560. test -z "$as_dir" && as_dir=.
  5561. for ac_exec_ext in '' $ac_executable_extensions; do
  5562. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5563. ac_cv_prog_CC="${ac_tool_prefix}cc"
  5564. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5565. break 2
  5566. fi
  5567. done
  5568. done
  5569. IFS=$as_save_IFS
  5570. fi
  5571. fi
  5572. CC=$ac_cv_prog_CC
  5573. if test -n "$CC"; then
  5574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5575. $as_echo "$CC" >&6; }
  5576. else
  5577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5578. $as_echo "no" >&6; }
  5579. fi
  5580. fi
  5581. fi
  5582. if test -z "$CC"; then
  5583. # Extract the first word of "cc", so it can be a program name with args.
  5584. set dummy cc; ac_word=$2
  5585. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5586. $as_echo_n "checking for $ac_word... " >&6; }
  5587. if ${ac_cv_prog_CC+:} false; then :
  5588. $as_echo_n "(cached) " >&6
  5589. else
  5590. if test -n "$CC"; then
  5591. ac_cv_prog_CC="$CC" # Let the user override the test.
  5592. else
  5593. ac_prog_rejected=no
  5594. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5595. for as_dir in $PATH
  5596. do
  5597. IFS=$as_save_IFS
  5598. test -z "$as_dir" && as_dir=.
  5599. for ac_exec_ext in '' $ac_executable_extensions; do
  5600. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5601. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5602. ac_prog_rejected=yes
  5603. continue
  5604. fi
  5605. ac_cv_prog_CC="cc"
  5606. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5607. break 2
  5608. fi
  5609. done
  5610. done
  5611. IFS=$as_save_IFS
  5612. if test $ac_prog_rejected = yes; then
  5613. # We found a bogon in the path, so make sure we never use it.
  5614. set dummy $ac_cv_prog_CC
  5615. shift
  5616. if test $@%:@ != 0; then
  5617. # We chose a different compiler from the bogus one.
  5618. # However, it has the same basename, so the bogon will be chosen
  5619. # first if we set CC to just the basename; use the full file name.
  5620. shift
  5621. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  5622. fi
  5623. fi
  5624. fi
  5625. fi
  5626. CC=$ac_cv_prog_CC
  5627. if test -n "$CC"; then
  5628. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5629. $as_echo "$CC" >&6; }
  5630. else
  5631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5632. $as_echo "no" >&6; }
  5633. fi
  5634. fi
  5635. if test -z "$CC"; then
  5636. if test -n "$ac_tool_prefix"; then
  5637. for ac_prog in cl.exe
  5638. do
  5639. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5640. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5642. $as_echo_n "checking for $ac_word... " >&6; }
  5643. if ${ac_cv_prog_CC+:} false; then :
  5644. $as_echo_n "(cached) " >&6
  5645. else
  5646. if test -n "$CC"; then
  5647. ac_cv_prog_CC="$CC" # Let the user override the test.
  5648. else
  5649. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5650. for as_dir in $PATH
  5651. do
  5652. IFS=$as_save_IFS
  5653. test -z "$as_dir" && as_dir=.
  5654. for ac_exec_ext in '' $ac_executable_extensions; do
  5655. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5656. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  5657. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5658. break 2
  5659. fi
  5660. done
  5661. done
  5662. IFS=$as_save_IFS
  5663. fi
  5664. fi
  5665. CC=$ac_cv_prog_CC
  5666. if test -n "$CC"; then
  5667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  5668. $as_echo "$CC" >&6; }
  5669. else
  5670. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5671. $as_echo "no" >&6; }
  5672. fi
  5673. test -n "$CC" && break
  5674. done
  5675. fi
  5676. if test -z "$CC"; then
  5677. ac_ct_CC=$CC
  5678. for ac_prog in cl.exe
  5679. do
  5680. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5681. set dummy $ac_prog; ac_word=$2
  5682. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5683. $as_echo_n "checking for $ac_word... " >&6; }
  5684. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  5685. $as_echo_n "(cached) " >&6
  5686. else
  5687. if test -n "$ac_ct_CC"; then
  5688. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  5689. else
  5690. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5691. for as_dir in $PATH
  5692. do
  5693. IFS=$as_save_IFS
  5694. test -z "$as_dir" && as_dir=.
  5695. for ac_exec_ext in '' $ac_executable_extensions; do
  5696. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5697. ac_cv_prog_ac_ct_CC="$ac_prog"
  5698. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5699. break 2
  5700. fi
  5701. done
  5702. done
  5703. IFS=$as_save_IFS
  5704. fi
  5705. fi
  5706. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  5707. if test -n "$ac_ct_CC"; then
  5708. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  5709. $as_echo "$ac_ct_CC" >&6; }
  5710. else
  5711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5712. $as_echo "no" >&6; }
  5713. fi
  5714. test -n "$ac_ct_CC" && break
  5715. done
  5716. if test "x$ac_ct_CC" = x; then
  5717. CC=""
  5718. else
  5719. case $cross_compiling:$ac_tool_warned in
  5720. yes:)
  5721. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5722. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5723. ac_tool_warned=yes ;;
  5724. esac
  5725. CC=$ac_ct_CC
  5726. fi
  5727. fi
  5728. fi
  5729. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5730. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5731. as_fn_error $? "no acceptable C compiler found in \$PATH
  5732. See \`config.log' for more details" "$LINENO" 5; }
  5733. # Provide some information about the compiler.
  5734. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  5735. set X $ac_compile
  5736. ac_compiler=$2
  5737. for ac_option in --version -v -V -qversion; do
  5738. { { ac_try="$ac_compiler $ac_option >&5"
  5739. case "(($ac_try" in
  5740. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5741. *) ac_try_echo=$ac_try;;
  5742. esac
  5743. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5744. $as_echo "$ac_try_echo"; } >&5
  5745. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  5746. ac_status=$?
  5747. if test -s conftest.err; then
  5748. sed '10a\
  5749. ... rest of stderr output deleted ...
  5750. 10q' conftest.err >conftest.er1
  5751. cat conftest.er1 >&5
  5752. fi
  5753. rm -f conftest.er1 conftest.err
  5754. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5755. test $ac_status = 0; }
  5756. done
  5757. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5758. /* end confdefs.h. */
  5759. int
  5760. main ()
  5761. {
  5762. ;
  5763. return 0;
  5764. }
  5765. _ACEOF
  5766. ac_clean_files_save=$ac_clean_files
  5767. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  5768. # Try to create an executable without -o first, disregard a.out.
  5769. # It will help us diagnose broken compilers, and finding out an intuition
  5770. # of exeext.
  5771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  5772. $as_echo_n "checking whether the C compiler works... " >&6; }
  5773. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  5774. # The possible output files:
  5775. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  5776. ac_rmfiles=
  5777. for ac_file in $ac_files
  5778. do
  5779. case $ac_file in
  5780. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  5781. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  5782. esac
  5783. done
  5784. rm -f $ac_rmfiles
  5785. if { { ac_try="$ac_link_default"
  5786. case "(($ac_try" in
  5787. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5788. *) ac_try_echo=$ac_try;;
  5789. esac
  5790. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5791. $as_echo "$ac_try_echo"; } >&5
  5792. (eval "$ac_link_default") 2>&5
  5793. ac_status=$?
  5794. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5795. test $ac_status = 0; }; then :
  5796. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  5797. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  5798. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  5799. # so that the user can short-circuit this test for compilers unknown to
  5800. # Autoconf.
  5801. for ac_file in $ac_files ''
  5802. do
  5803. test -f "$ac_file" || continue
  5804. case $ac_file in
  5805. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  5806. ;;
  5807. [ab].out )
  5808. # We found the default executable, but exeext='' is most
  5809. # certainly right.
  5810. break;;
  5811. *.* )
  5812. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  5813. then :; else
  5814. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  5815. fi
  5816. # We set ac_cv_exeext here because the later test for it is not
  5817. # safe: cross compilers may not add the suffix if given an `-o'
  5818. # argument, so we may need to know it at that point already.
  5819. # Even if this section looks crufty: it has the advantage of
  5820. # actually working.
  5821. break;;
  5822. * )
  5823. break;;
  5824. esac
  5825. done
  5826. test "$ac_cv_exeext" = no && ac_cv_exeext=
  5827. else
  5828. ac_file=''
  5829. fi
  5830. if test -z "$ac_file"; then :
  5831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5832. $as_echo "no" >&6; }
  5833. $as_echo "$as_me: failed program was:" >&5
  5834. sed 's/^/| /' conftest.$ac_ext >&5
  5835. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5836. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5837. as_fn_error 77 "C compiler cannot create executables
  5838. See \`config.log' for more details" "$LINENO" 5; }
  5839. else
  5840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5841. $as_echo "yes" >&6; }
  5842. fi
  5843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  5844. $as_echo_n "checking for C compiler default output file name... " >&6; }
  5845. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  5846. $as_echo "$ac_file" >&6; }
  5847. ac_exeext=$ac_cv_exeext
  5848. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  5849. ac_clean_files=$ac_clean_files_save
  5850. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  5851. $as_echo_n "checking for suffix of executables... " >&6; }
  5852. if { { ac_try="$ac_link"
  5853. case "(($ac_try" in
  5854. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5855. *) ac_try_echo=$ac_try;;
  5856. esac
  5857. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5858. $as_echo "$ac_try_echo"; } >&5
  5859. (eval "$ac_link") 2>&5
  5860. ac_status=$?
  5861. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5862. test $ac_status = 0; }; then :
  5863. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  5864. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  5865. # work properly (i.e., refer to `conftest.exe'), while it won't with
  5866. # `rm'.
  5867. for ac_file in conftest.exe conftest conftest.*; do
  5868. test -f "$ac_file" || continue
  5869. case $ac_file in
  5870. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  5871. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  5872. break;;
  5873. * ) break;;
  5874. esac
  5875. done
  5876. else
  5877. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5878. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5879. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  5880. See \`config.log' for more details" "$LINENO" 5; }
  5881. fi
  5882. rm -f conftest conftest$ac_cv_exeext
  5883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  5884. $as_echo "$ac_cv_exeext" >&6; }
  5885. rm -f conftest.$ac_ext
  5886. EXEEXT=$ac_cv_exeext
  5887. ac_exeext=$EXEEXT
  5888. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5889. /* end confdefs.h. */
  5890. @%:@include <stdio.h>
  5891. int
  5892. main ()
  5893. {
  5894. FILE *f = fopen ("conftest.out", "w");
  5895. return ferror (f) || fclose (f) != 0;
  5896. ;
  5897. return 0;
  5898. }
  5899. _ACEOF
  5900. ac_clean_files="$ac_clean_files conftest.out"
  5901. # Check that the compiler produces executables we can run. If not, either
  5902. # the compiler is broken, or we cross compile.
  5903. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  5904. $as_echo_n "checking whether we are cross compiling... " >&6; }
  5905. if test "$cross_compiling" != yes; then
  5906. { { ac_try="$ac_link"
  5907. case "(($ac_try" in
  5908. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5909. *) ac_try_echo=$ac_try;;
  5910. esac
  5911. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5912. $as_echo "$ac_try_echo"; } >&5
  5913. (eval "$ac_link") 2>&5
  5914. ac_status=$?
  5915. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5916. test $ac_status = 0; }
  5917. if { ac_try='./conftest$ac_cv_exeext'
  5918. { { case "(($ac_try" in
  5919. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5920. *) ac_try_echo=$ac_try;;
  5921. esac
  5922. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5923. $as_echo "$ac_try_echo"; } >&5
  5924. (eval "$ac_try") 2>&5
  5925. ac_status=$?
  5926. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5927. test $ac_status = 0; }; }; then
  5928. cross_compiling=no
  5929. else
  5930. if test "$cross_compiling" = maybe; then
  5931. cross_compiling=yes
  5932. else
  5933. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5934. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5935. as_fn_error $? "cannot run C compiled programs.
  5936. If you meant to cross compile, use \`--host'.
  5937. See \`config.log' for more details" "$LINENO" 5; }
  5938. fi
  5939. fi
  5940. fi
  5941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  5942. $as_echo "$cross_compiling" >&6; }
  5943. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  5944. ac_clean_files=$ac_clean_files_save
  5945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  5946. $as_echo_n "checking for suffix of object files... " >&6; }
  5947. if ${ac_cv_objext+:} false; then :
  5948. $as_echo_n "(cached) " >&6
  5949. else
  5950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5951. /* end confdefs.h. */
  5952. int
  5953. main ()
  5954. {
  5955. ;
  5956. return 0;
  5957. }
  5958. _ACEOF
  5959. rm -f conftest.o conftest.obj
  5960. if { { ac_try="$ac_compile"
  5961. case "(($ac_try" in
  5962. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5963. *) ac_try_echo=$ac_try;;
  5964. esac
  5965. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  5966. $as_echo "$ac_try_echo"; } >&5
  5967. (eval "$ac_compile") 2>&5
  5968. ac_status=$?
  5969. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  5970. test $ac_status = 0; }; then :
  5971. for ac_file in conftest.o conftest.obj conftest.*; do
  5972. test -f "$ac_file" || continue;
  5973. case $ac_file in
  5974. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  5975. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  5976. break;;
  5977. esac
  5978. done
  5979. else
  5980. $as_echo "$as_me: failed program was:" >&5
  5981. sed 's/^/| /' conftest.$ac_ext >&5
  5982. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5983. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5984. as_fn_error $? "cannot compute suffix of object files: cannot compile
  5985. See \`config.log' for more details" "$LINENO" 5; }
  5986. fi
  5987. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  5988. fi
  5989. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  5990. $as_echo "$ac_cv_objext" >&6; }
  5991. OBJEXT=$ac_cv_objext
  5992. ac_objext=$OBJEXT
  5993. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  5994. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  5995. if ${ac_cv_c_compiler_gnu+:} false; then :
  5996. $as_echo_n "(cached) " >&6
  5997. else
  5998. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5999. /* end confdefs.h. */
  6000. int
  6001. main ()
  6002. {
  6003. #ifndef __GNUC__
  6004. choke me
  6005. #endif
  6006. ;
  6007. return 0;
  6008. }
  6009. _ACEOF
  6010. if ac_fn_c_try_compile "$LINENO"; then :
  6011. ac_compiler_gnu=yes
  6012. else
  6013. ac_compiler_gnu=no
  6014. fi
  6015. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6016. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  6017. fi
  6018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  6019. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  6020. if test $ac_compiler_gnu = yes; then
  6021. GCC=yes
  6022. else
  6023. GCC=
  6024. fi
  6025. ac_test_CFLAGS=${CFLAGS+set}
  6026. ac_save_CFLAGS=$CFLAGS
  6027. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  6028. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  6029. if ${ac_cv_prog_cc_g+:} false; then :
  6030. $as_echo_n "(cached) " >&6
  6031. else
  6032. ac_save_c_werror_flag=$ac_c_werror_flag
  6033. ac_c_werror_flag=yes
  6034. ac_cv_prog_cc_g=no
  6035. CFLAGS="-g"
  6036. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6037. /* end confdefs.h. */
  6038. int
  6039. main ()
  6040. {
  6041. ;
  6042. return 0;
  6043. }
  6044. _ACEOF
  6045. if ac_fn_c_try_compile "$LINENO"; then :
  6046. ac_cv_prog_cc_g=yes
  6047. else
  6048. CFLAGS=""
  6049. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6050. /* end confdefs.h. */
  6051. int
  6052. main ()
  6053. {
  6054. ;
  6055. return 0;
  6056. }
  6057. _ACEOF
  6058. if ac_fn_c_try_compile "$LINENO"; then :
  6059. else
  6060. ac_c_werror_flag=$ac_save_c_werror_flag
  6061. CFLAGS="-g"
  6062. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6063. /* end confdefs.h. */
  6064. int
  6065. main ()
  6066. {
  6067. ;
  6068. return 0;
  6069. }
  6070. _ACEOF
  6071. if ac_fn_c_try_compile "$LINENO"; then :
  6072. ac_cv_prog_cc_g=yes
  6073. fi
  6074. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6075. fi
  6076. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6077. fi
  6078. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6079. ac_c_werror_flag=$ac_save_c_werror_flag
  6080. fi
  6081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  6082. $as_echo "$ac_cv_prog_cc_g" >&6; }
  6083. if test "$ac_test_CFLAGS" = set; then
  6084. CFLAGS=$ac_save_CFLAGS
  6085. elif test $ac_cv_prog_cc_g = yes; then
  6086. if test "$GCC" = yes; then
  6087. CFLAGS="-g -O2"
  6088. else
  6089. CFLAGS="-g"
  6090. fi
  6091. else
  6092. if test "$GCC" = yes; then
  6093. CFLAGS="-O2"
  6094. else
  6095. CFLAGS=
  6096. fi
  6097. fi
  6098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  6099. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  6100. if ${ac_cv_prog_cc_c89+:} false; then :
  6101. $as_echo_n "(cached) " >&6
  6102. else
  6103. ac_cv_prog_cc_c89=no
  6104. ac_save_CC=$CC
  6105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6106. /* end confdefs.h. */
  6107. #include <stdarg.h>
  6108. #include <stdio.h>
  6109. struct stat;
  6110. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  6111. struct buf { int x; };
  6112. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6113. static char *e (p, i)
  6114. char **p;
  6115. int i;
  6116. {
  6117. return p[i];
  6118. }
  6119. static char *f (char * (*g) (char **, int), char **p, ...)
  6120. {
  6121. char *s;
  6122. va_list v;
  6123. va_start (v,p);
  6124. s = g (p, va_arg (v,int));
  6125. va_end (v);
  6126. return s;
  6127. }
  6128. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  6129. function prototypes and stuff, but not '\xHH' hex character constants.
  6130. These don't provoke an error unfortunately, instead are silently treated
  6131. as 'x'. The following induces an error, until -std is added to get
  6132. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  6133. array size at least. It's necessary to write '\x00'==0 to get something
  6134. that's true only with -std. */
  6135. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6136. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6137. inside strings and character constants. */
  6138. #define FOO(x) 'x'
  6139. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6140. int test (int i, double x);
  6141. struct s1 {int (*f) (int a);};
  6142. struct s2 {int (*f) (double a);};
  6143. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6144. int argc;
  6145. char **argv;
  6146. int
  6147. main ()
  6148. {
  6149. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  6150. ;
  6151. return 0;
  6152. }
  6153. _ACEOF
  6154. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6155. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6156. do
  6157. CC="$ac_save_CC $ac_arg"
  6158. if ac_fn_c_try_compile "$LINENO"; then :
  6159. ac_cv_prog_cc_c89=$ac_arg
  6160. fi
  6161. rm -f core conftest.err conftest.$ac_objext
  6162. test "x$ac_cv_prog_cc_c89" != "xno" && break
  6163. done
  6164. rm -f conftest.$ac_ext
  6165. CC=$ac_save_CC
  6166. fi
  6167. # AC_CACHE_VAL
  6168. case "x$ac_cv_prog_cc_c89" in
  6169. x)
  6170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  6171. $as_echo "none needed" >&6; } ;;
  6172. xno)
  6173. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  6174. $as_echo "unsupported" >&6; } ;;
  6175. *)
  6176. CC="$CC $ac_cv_prog_cc_c89"
  6177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  6178. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  6179. esac
  6180. if test "x$ac_cv_prog_cc_c89" != xno; then :
  6181. fi
  6182. ac_ext=c
  6183. ac_cpp='$CPP $CPPFLAGS'
  6184. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6185. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6186. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6187. AM_PROG_CC_C_O
  6188. AC_LIB_PREFIX
  6189. ac_ext=c
  6190. ac_cpp='$CPP $CPPFLAGS'
  6191. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6192. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6193. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6195. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6196. # On Suns, sometimes $CPP names a directory.
  6197. if test -n "$CPP" && test -d "$CPP"; then
  6198. CPP=
  6199. fi
  6200. if test -z "$CPP"; then
  6201. if ${ac_cv_prog_CPP+:} false; then :
  6202. $as_echo_n "(cached) " >&6
  6203. else
  6204. # Double quotes because CPP needs to be expanded
  6205. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6206. do
  6207. ac_preproc_ok=false
  6208. for ac_c_preproc_warn_flag in '' yes
  6209. do
  6210. # Use a header file that comes with gcc, so configuring glibc
  6211. # with a fresh cross-compiler works.
  6212. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6213. # <limits.h> exists even on freestanding compilers.
  6214. # On the NeXT, cc -E runs the code through the compiler's parser,
  6215. # not just through cpp. "Syntax error" is here to catch this case.
  6216. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6217. /* end confdefs.h. */
  6218. @%:@ifdef __STDC__
  6219. @%:@ include <limits.h>
  6220. @%:@else
  6221. @%:@ include <assert.h>
  6222. @%:@endif
  6223. Syntax error
  6224. _ACEOF
  6225. if ac_fn_c_try_cpp "$LINENO"; then :
  6226. else
  6227. # Broken: fails on valid input.
  6228. continue
  6229. fi
  6230. rm -f conftest.err conftest.i conftest.$ac_ext
  6231. # OK, works on sane cases. Now check whether nonexistent headers
  6232. # can be detected and how.
  6233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6234. /* end confdefs.h. */
  6235. @%:@include <ac_nonexistent.h>
  6236. _ACEOF
  6237. if ac_fn_c_try_cpp "$LINENO"; then :
  6238. # Broken: success on invalid input.
  6239. continue
  6240. else
  6241. # Passes both tests.
  6242. ac_preproc_ok=:
  6243. break
  6244. fi
  6245. rm -f conftest.err conftest.i conftest.$ac_ext
  6246. done
  6247. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6248. rm -f conftest.i conftest.err conftest.$ac_ext
  6249. if $ac_preproc_ok; then :
  6250. break
  6251. fi
  6252. done
  6253. ac_cv_prog_CPP=$CPP
  6254. fi
  6255. CPP=$ac_cv_prog_CPP
  6256. else
  6257. ac_cv_prog_CPP=$CPP
  6258. fi
  6259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6260. $as_echo "$CPP" >&6; }
  6261. ac_preproc_ok=false
  6262. for ac_c_preproc_warn_flag in '' yes
  6263. do
  6264. # Use a header file that comes with gcc, so configuring glibc
  6265. # with a fresh cross-compiler works.
  6266. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6267. # <limits.h> exists even on freestanding compilers.
  6268. # On the NeXT, cc -E runs the code through the compiler's parser,
  6269. # not just through cpp. "Syntax error" is here to catch this case.
  6270. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6271. /* end confdefs.h. */
  6272. @%:@ifdef __STDC__
  6273. @%:@ include <limits.h>
  6274. @%:@else
  6275. @%:@ include <assert.h>
  6276. @%:@endif
  6277. Syntax error
  6278. _ACEOF
  6279. if ac_fn_c_try_cpp "$LINENO"; then :
  6280. else
  6281. # Broken: fails on valid input.
  6282. continue
  6283. fi
  6284. rm -f conftest.err conftest.i conftest.$ac_ext
  6285. # OK, works on sane cases. Now check whether nonexistent headers
  6286. # can be detected and how.
  6287. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6288. /* end confdefs.h. */
  6289. @%:@include <ac_nonexistent.h>
  6290. _ACEOF
  6291. if ac_fn_c_try_cpp "$LINENO"; then :
  6292. # Broken: success on invalid input.
  6293. continue
  6294. else
  6295. # Passes both tests.
  6296. ac_preproc_ok=:
  6297. break
  6298. fi
  6299. rm -f conftest.err conftest.i conftest.$ac_ext
  6300. done
  6301. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6302. rm -f conftest.i conftest.err conftest.$ac_ext
  6303. if $ac_preproc_ok; then :
  6304. else
  6305. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6306. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6307. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6308. See \`config.log' for more details" "$LINENO" 5; }
  6309. fi
  6310. ac_ext=c
  6311. ac_cpp='$CPP $CPPFLAGS'
  6312. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6313. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6314. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  6316. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  6317. if ${ac_cv_path_GREP+:} false; then :
  6318. $as_echo_n "(cached) " >&6
  6319. else
  6320. if test -z "$GREP"; then
  6321. ac_path_GREP_found=false
  6322. # Loop through the user's path and test for each of PROGNAME-LIST
  6323. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6324. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6325. do
  6326. IFS=$as_save_IFS
  6327. test -z "$as_dir" && as_dir=.
  6328. for ac_prog in grep ggrep; do
  6329. for ac_exec_ext in '' $ac_executable_extensions; do
  6330. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  6331. as_fn_executable_p "$ac_path_GREP" || continue
  6332. # Check for GNU ac_path_GREP and select it if it is found.
  6333. # Check for GNU $ac_path_GREP
  6334. case `"$ac_path_GREP" --version 2>&1` in
  6335. *GNU*)
  6336. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  6337. *)
  6338. ac_count=0
  6339. $as_echo_n 0123456789 >"conftest.in"
  6340. while :
  6341. do
  6342. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6343. mv "conftest.tmp" "conftest.in"
  6344. cp "conftest.in" "conftest.nl"
  6345. $as_echo 'GREP' >> "conftest.nl"
  6346. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6347. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6348. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6349. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  6350. # Best one so far, save it but keep looking for a better one
  6351. ac_cv_path_GREP="$ac_path_GREP"
  6352. ac_path_GREP_max=$ac_count
  6353. fi
  6354. # 10*(2^10) chars as input seems more than enough
  6355. test $ac_count -gt 10 && break
  6356. done
  6357. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6358. esac
  6359. $ac_path_GREP_found && break 3
  6360. done
  6361. done
  6362. done
  6363. IFS=$as_save_IFS
  6364. if test -z "$ac_cv_path_GREP"; then
  6365. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6366. fi
  6367. else
  6368. ac_cv_path_GREP=$GREP
  6369. fi
  6370. fi
  6371. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  6372. $as_echo "$ac_cv_path_GREP" >&6; }
  6373. GREP="$ac_cv_path_GREP"
  6374. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6375. $as_echo_n "checking for egrep... " >&6; }
  6376. if ${ac_cv_path_EGREP+:} false; then :
  6377. $as_echo_n "(cached) " >&6
  6378. else
  6379. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6380. then ac_cv_path_EGREP="$GREP -E"
  6381. else
  6382. if test -z "$EGREP"; then
  6383. ac_path_EGREP_found=false
  6384. # Loop through the user's path and test for each of PROGNAME-LIST
  6385. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6386. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6387. do
  6388. IFS=$as_save_IFS
  6389. test -z "$as_dir" && as_dir=.
  6390. for ac_prog in egrep; do
  6391. for ac_exec_ext in '' $ac_executable_extensions; do
  6392. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6393. as_fn_executable_p "$ac_path_EGREP" || continue
  6394. # Check for GNU ac_path_EGREP and select it if it is found.
  6395. # Check for GNU $ac_path_EGREP
  6396. case `"$ac_path_EGREP" --version 2>&1` in
  6397. *GNU*)
  6398. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6399. *)
  6400. ac_count=0
  6401. $as_echo_n 0123456789 >"conftest.in"
  6402. while :
  6403. do
  6404. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6405. mv "conftest.tmp" "conftest.in"
  6406. cp "conftest.in" "conftest.nl"
  6407. $as_echo 'EGREP' >> "conftest.nl"
  6408. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6409. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6410. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6411. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6412. # Best one so far, save it but keep looking for a better one
  6413. ac_cv_path_EGREP="$ac_path_EGREP"
  6414. ac_path_EGREP_max=$ac_count
  6415. fi
  6416. # 10*(2^10) chars as input seems more than enough
  6417. test $ac_count -gt 10 && break
  6418. done
  6419. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6420. esac
  6421. $ac_path_EGREP_found && break 3
  6422. done
  6423. done
  6424. done
  6425. IFS=$as_save_IFS
  6426. if test -z "$ac_cv_path_EGREP"; then
  6427. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6428. fi
  6429. else
  6430. ac_cv_path_EGREP=$EGREP
  6431. fi
  6432. fi
  6433. fi
  6434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  6435. $as_echo "$ac_cv_path_EGREP" >&6; }
  6436. EGREP="$ac_cv_path_EGREP"
  6437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6438. $as_echo_n "checking for ANSI C header files... " >&6; }
  6439. if ${ac_cv_header_stdc+:} false; then :
  6440. $as_echo_n "(cached) " >&6
  6441. else
  6442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6443. /* end confdefs.h. */
  6444. #include <stdlib.h>
  6445. #include <stdarg.h>
  6446. #include <string.h>
  6447. #include <float.h>
  6448. int
  6449. main ()
  6450. {
  6451. ;
  6452. return 0;
  6453. }
  6454. _ACEOF
  6455. if ac_fn_c_try_compile "$LINENO"; then :
  6456. ac_cv_header_stdc=yes
  6457. else
  6458. ac_cv_header_stdc=no
  6459. fi
  6460. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6461. if test $ac_cv_header_stdc = yes; then
  6462. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6463. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6464. /* end confdefs.h. */
  6465. #include <string.h>
  6466. _ACEOF
  6467. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6468. $EGREP "memchr" >/dev/null 2>&1; then :
  6469. else
  6470. ac_cv_header_stdc=no
  6471. fi
  6472. rm -f conftest*
  6473. fi
  6474. if test $ac_cv_header_stdc = yes; then
  6475. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6476. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6477. /* end confdefs.h. */
  6478. #include <stdlib.h>
  6479. _ACEOF
  6480. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6481. $EGREP "free" >/dev/null 2>&1; then :
  6482. else
  6483. ac_cv_header_stdc=no
  6484. fi
  6485. rm -f conftest*
  6486. fi
  6487. if test $ac_cv_header_stdc = yes; then
  6488. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6489. if test "$cross_compiling" = yes; then :
  6490. :
  6491. else
  6492. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6493. /* end confdefs.h. */
  6494. #include <ctype.h>
  6495. #include <stdlib.h>
  6496. #if ((' ' & 0x0FF) == 0x020)
  6497. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6498. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6499. #else
  6500. # define ISLOWER(c) \
  6501. (('a' <= (c) && (c) <= 'i') \
  6502. || ('j' <= (c) && (c) <= 'r') \
  6503. || ('s' <= (c) && (c) <= 'z'))
  6504. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6505. #endif
  6506. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6507. int
  6508. main ()
  6509. {
  6510. int i;
  6511. for (i = 0; i < 256; i++)
  6512. if (XOR (islower (i), ISLOWER (i))
  6513. || toupper (i) != TOUPPER (i))
  6514. return 2;
  6515. return 0;
  6516. }
  6517. _ACEOF
  6518. if ac_fn_c_try_run "$LINENO"; then :
  6519. else
  6520. ac_cv_header_stdc=no
  6521. fi
  6522. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6523. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6524. fi
  6525. fi
  6526. fi
  6527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6528. $as_echo "$ac_cv_header_stdc" >&6; }
  6529. if test $ac_cv_header_stdc = yes; then
  6530. $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  6531. fi
  6532. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6533. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6534. inttypes.h stdint.h unistd.h
  6535. do :
  6536. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6537. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6538. "
  6539. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6540. cat >>confdefs.h <<_ACEOF
  6541. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6542. _ACEOF
  6543. fi
  6544. done
  6545. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  6546. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  6547. if ${ac_cv_c_bigendian+:} false; then :
  6548. $as_echo_n "(cached) " >&6
  6549. else
  6550. ac_cv_c_bigendian=unknown
  6551. # See if we're dealing with a universal compiler.
  6552. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6553. /* end confdefs.h. */
  6554. #ifndef __APPLE_CC__
  6555. not a universal capable compiler
  6556. #endif
  6557. typedef int dummy;
  6558. _ACEOF
  6559. if ac_fn_c_try_compile "$LINENO"; then :
  6560. # Check for potential -arch flags. It is not universal unless
  6561. # there are at least two -arch flags with different values.
  6562. ac_arch=
  6563. ac_prev=
  6564. for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  6565. if test -n "$ac_prev"; then
  6566. case $ac_word in
  6567. i?86 | x86_64 | ppc | ppc64)
  6568. if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  6569. ac_arch=$ac_word
  6570. else
  6571. ac_cv_c_bigendian=universal
  6572. break
  6573. fi
  6574. ;;
  6575. esac
  6576. ac_prev=
  6577. elif test "x$ac_word" = "x-arch"; then
  6578. ac_prev=arch
  6579. fi
  6580. done
  6581. fi
  6582. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6583. if test $ac_cv_c_bigendian = unknown; then
  6584. # See if sys/param.h defines the BYTE_ORDER macro.
  6585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6586. /* end confdefs.h. */
  6587. #include <sys/types.h>
  6588. #include <sys/param.h>
  6589. int
  6590. main ()
  6591. {
  6592. #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  6593. && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  6594. && LITTLE_ENDIAN)
  6595. bogus endian macros
  6596. #endif
  6597. ;
  6598. return 0;
  6599. }
  6600. _ACEOF
  6601. if ac_fn_c_try_compile "$LINENO"; then :
  6602. # It does; now see whether it defined to BIG_ENDIAN or not.
  6603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6604. /* end confdefs.h. */
  6605. #include <sys/types.h>
  6606. #include <sys/param.h>
  6607. int
  6608. main ()
  6609. {
  6610. #if BYTE_ORDER != BIG_ENDIAN
  6611. not big endian
  6612. #endif
  6613. ;
  6614. return 0;
  6615. }
  6616. _ACEOF
  6617. if ac_fn_c_try_compile "$LINENO"; then :
  6618. ac_cv_c_bigendian=yes
  6619. else
  6620. ac_cv_c_bigendian=no
  6621. fi
  6622. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6623. fi
  6624. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6625. fi
  6626. if test $ac_cv_c_bigendian = unknown; then
  6627. # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  6628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6629. /* end confdefs.h. */
  6630. #include <limits.h>
  6631. int
  6632. main ()
  6633. {
  6634. #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  6635. bogus endian macros
  6636. #endif
  6637. ;
  6638. return 0;
  6639. }
  6640. _ACEOF
  6641. if ac_fn_c_try_compile "$LINENO"; then :
  6642. # It does; now see whether it defined to _BIG_ENDIAN or not.
  6643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6644. /* end confdefs.h. */
  6645. #include <limits.h>
  6646. int
  6647. main ()
  6648. {
  6649. #ifndef _BIG_ENDIAN
  6650. not big endian
  6651. #endif
  6652. ;
  6653. return 0;
  6654. }
  6655. _ACEOF
  6656. if ac_fn_c_try_compile "$LINENO"; then :
  6657. ac_cv_c_bigendian=yes
  6658. else
  6659. ac_cv_c_bigendian=no
  6660. fi
  6661. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6662. fi
  6663. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6664. fi
  6665. if test $ac_cv_c_bigendian = unknown; then
  6666. # Compile a test program.
  6667. if test "$cross_compiling" = yes; then :
  6668. # Try to guess by grepping values from an object file.
  6669. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6670. /* end confdefs.h. */
  6671. short int ascii_mm[] =
  6672. { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  6673. short int ascii_ii[] =
  6674. { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  6675. int use_ascii (int i) {
  6676. return ascii_mm[i] + ascii_ii[i];
  6677. }
  6678. short int ebcdic_ii[] =
  6679. { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  6680. short int ebcdic_mm[] =
  6681. { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  6682. int use_ebcdic (int i) {
  6683. return ebcdic_mm[i] + ebcdic_ii[i];
  6684. }
  6685. extern int foo;
  6686. int
  6687. main ()
  6688. {
  6689. return use_ascii (foo) == use_ebcdic (foo);
  6690. ;
  6691. return 0;
  6692. }
  6693. _ACEOF
  6694. if ac_fn_c_try_compile "$LINENO"; then :
  6695. if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  6696. ac_cv_c_bigendian=yes
  6697. fi
  6698. if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  6699. if test "$ac_cv_c_bigendian" = unknown; then
  6700. ac_cv_c_bigendian=no
  6701. else
  6702. # finding both strings is unlikely to happen, but who knows?
  6703. ac_cv_c_bigendian=unknown
  6704. fi
  6705. fi
  6706. fi
  6707. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6708. else
  6709. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6710. /* end confdefs.h. */
  6711. $ac_includes_default
  6712. int
  6713. main ()
  6714. {
  6715. /* Are we little or big endian? From Harbison&Steele. */
  6716. union
  6717. {
  6718. long int l;
  6719. char c[sizeof (long int)];
  6720. } u;
  6721. u.l = 1;
  6722. return u.c[sizeof (long int) - 1] == 1;
  6723. ;
  6724. return 0;
  6725. }
  6726. _ACEOF
  6727. if ac_fn_c_try_run "$LINENO"; then :
  6728. ac_cv_c_bigendian=no
  6729. else
  6730. ac_cv_c_bigendian=yes
  6731. fi
  6732. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6733. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6734. fi
  6735. fi
  6736. fi
  6737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  6738. $as_echo "$ac_cv_c_bigendian" >&6; }
  6739. case $ac_cv_c_bigendian in #(
  6740. yes)
  6741. $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  6742. ;; #(
  6743. no)
  6744. ;; #(
  6745. universal)
  6746. $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  6747. ;; #(
  6748. *)
  6749. as_fn_error $? "unknown endianness
  6750. presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  6751. esac
  6752. # =========================
  6753. # check required programs
  6754. # =========================
  6755. LT_INIT
  6756. ac_aux_dir=
  6757. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  6758. if test -f "$ac_dir/install-sh"; then
  6759. ac_aux_dir=$ac_dir
  6760. ac_install_sh="$ac_aux_dir/install-sh -c"
  6761. break
  6762. elif test -f "$ac_dir/install.sh"; then
  6763. ac_aux_dir=$ac_dir
  6764. ac_install_sh="$ac_aux_dir/install.sh -c"
  6765. break
  6766. elif test -f "$ac_dir/shtool"; then
  6767. ac_aux_dir=$ac_dir
  6768. ac_install_sh="$ac_aux_dir/shtool install -c"
  6769. break
  6770. fi
  6771. done
  6772. if test -z "$ac_aux_dir"; then
  6773. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  6774. fi
  6775. # These three variables are undocumented and unsupported,
  6776. # and are intended to be withdrawn in a future Autoconf release.
  6777. # They can cause serious problems if a builder's source tree is in a directory
  6778. # whose full name contains unusual characters.
  6779. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  6780. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  6781. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  6782. # Find a good install program. We prefer a C program (faster),
  6783. # so one script is as good as another. But avoid the broken or
  6784. # incompatible versions:
  6785. # SysV /etc/install, /usr/sbin/install
  6786. # SunOS /usr/etc/install
  6787. # IRIX /sbin/install
  6788. # AIX /bin/install
  6789. # AmigaOS /C/install, which installs bootblocks on floppy discs
  6790. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  6791. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  6792. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  6793. # OS/2's system install, which has a completely different semantic
  6794. # ./install, which can be erroneously created by make from ./install.sh.
  6795. # Reject install programs that cannot install multiple files.
  6796. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  6797. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  6798. if test -z "$INSTALL"; then
  6799. if ${ac_cv_path_install+:} false; then :
  6800. $as_echo_n "(cached) " >&6
  6801. else
  6802. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6803. for as_dir in $PATH
  6804. do
  6805. IFS=$as_save_IFS
  6806. test -z "$as_dir" && as_dir=.
  6807. # Account for people who put trailing slashes in PATH elements.
  6808. case $as_dir/ in @%:@((
  6809. ./ | .// | /[cC]/* | \
  6810. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  6811. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  6812. /usr/ucb/* ) ;;
  6813. *)
  6814. # OSF1 and SCO ODT 3.0 have their own names for install.
  6815. # Don't use installbsd from OSF since it installs stuff as root
  6816. # by default.
  6817. for ac_prog in ginstall scoinst install; do
  6818. for ac_exec_ext in '' $ac_executable_extensions; do
  6819. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  6820. if test $ac_prog = install &&
  6821. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  6822. # AIX install. It has an incompatible calling convention.
  6823. :
  6824. elif test $ac_prog = install &&
  6825. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  6826. # program-specific install script used by HP pwplus--don't use.
  6827. :
  6828. else
  6829. rm -rf conftest.one conftest.two conftest.dir
  6830. echo one > conftest.one
  6831. echo two > conftest.two
  6832. mkdir conftest.dir
  6833. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  6834. test -s conftest.one && test -s conftest.two &&
  6835. test -s conftest.dir/conftest.one &&
  6836. test -s conftest.dir/conftest.two
  6837. then
  6838. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  6839. break 3
  6840. fi
  6841. fi
  6842. fi
  6843. done
  6844. done
  6845. ;;
  6846. esac
  6847. done
  6848. IFS=$as_save_IFS
  6849. rm -rf conftest.one conftest.two conftest.dir
  6850. fi
  6851. if test "${ac_cv_path_install+set}" = set; then
  6852. INSTALL=$ac_cv_path_install
  6853. else
  6854. # As a last resort, use the slow shell script. Don't cache a
  6855. # value for INSTALL within a source directory, because that will
  6856. # break other packages using the cache if that directory is
  6857. # removed, or if the value is a relative name.
  6858. INSTALL=$ac_install_sh
  6859. fi
  6860. fi
  6861. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  6862. $as_echo "$INSTALL" >&6; }
  6863. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  6864. # It thinks the first close brace ends the variable substitution.
  6865. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  6866. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  6867. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  6868. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  6869. $as_echo_n "checking for egrep... " >&6; }
  6870. if ${ac_cv_path_EGREP+:} false; then :
  6871. $as_echo_n "(cached) " >&6
  6872. else
  6873. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6874. then ac_cv_path_EGREP="$GREP -E"
  6875. else
  6876. if test -z "$EGREP"; then
  6877. ac_path_EGREP_found=false
  6878. # Loop through the user's path and test for each of PROGNAME-LIST
  6879. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6880. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6881. do
  6882. IFS=$as_save_IFS
  6883. test -z "$as_dir" && as_dir=.
  6884. for ac_prog in egrep; do
  6885. for ac_exec_ext in '' $ac_executable_extensions; do
  6886. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6887. as_fn_executable_p "$ac_path_EGREP" || continue
  6888. # Check for GNU ac_path_EGREP and select it if it is found.
  6889. # Check for GNU $ac_path_EGREP
  6890. case `"$ac_path_EGREP" --version 2>&1` in
  6891. *GNU*)
  6892. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6893. *)
  6894. ac_count=0
  6895. $as_echo_n 0123456789 >"conftest.in"
  6896. while :
  6897. do
  6898. cat "conftest.in" "conftest.in" >"conftest.tmp"
  6899. mv "conftest.tmp" "conftest.in"
  6900. cp "conftest.in" "conftest.nl"
  6901. $as_echo 'EGREP' >> "conftest.nl"
  6902. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6903. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6904. as_fn_arith $ac_count + 1 && ac_count=$as_val
  6905. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6906. # Best one so far, save it but keep looking for a better one
  6907. ac_cv_path_EGREP="$ac_path_EGREP"
  6908. ac_path_EGREP_max=$ac_count
  6909. fi
  6910. # 10*(2^10) chars as input seems more than enough
  6911. test $ac_count -gt 10 && break
  6912. done
  6913. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6914. esac
  6915. $ac_path_EGREP_found && break 3
  6916. done
  6917. done
  6918. done
  6919. IFS=$as_save_IFS
  6920. if test -z "$ac_cv_path_EGREP"; then
  6921. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  6922. fi
  6923. else
  6924. ac_cv_path_EGREP=$EGREP
  6925. fi
  6926. fi
  6927. fi
  6928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  6929. $as_echo "$ac_cv_path_EGREP" >&6; }
  6930. EGREP="$ac_cv_path_EGREP"
  6931. for ac_prog in gawk mawk nawk awk
  6932. do
  6933. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6934. set dummy $ac_prog; ac_word=$2
  6935. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6936. $as_echo_n "checking for $ac_word... " >&6; }
  6937. if ${ac_cv_prog_AWK+:} false; then :
  6938. $as_echo_n "(cached) " >&6
  6939. else
  6940. if test -n "$AWK"; then
  6941. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  6942. else
  6943. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6944. for as_dir in $PATH
  6945. do
  6946. IFS=$as_save_IFS
  6947. test -z "$as_dir" && as_dir=.
  6948. for ac_exec_ext in '' $ac_executable_extensions; do
  6949. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6950. ac_cv_prog_AWK="$ac_prog"
  6951. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6952. break 2
  6953. fi
  6954. done
  6955. done
  6956. IFS=$as_save_IFS
  6957. fi
  6958. fi
  6959. AWK=$ac_cv_prog_AWK
  6960. if test -n "$AWK"; then
  6961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  6962. $as_echo "$AWK" >&6; }
  6963. else
  6964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6965. $as_echo "no" >&6; }
  6966. fi
  6967. test -n "$AWK" && break
  6968. done
  6969. for ac_prog in flex lex
  6970. do
  6971. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6972. set dummy $ac_prog; ac_word=$2
  6973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6974. $as_echo_n "checking for $ac_word... " >&6; }
  6975. if ${ac_cv_prog_LEX+:} false; then :
  6976. $as_echo_n "(cached) " >&6
  6977. else
  6978. if test -n "$LEX"; then
  6979. ac_cv_prog_LEX="$LEX" # Let the user override the test.
  6980. else
  6981. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6982. for as_dir in $PATH
  6983. do
  6984. IFS=$as_save_IFS
  6985. test -z "$as_dir" && as_dir=.
  6986. for ac_exec_ext in '' $ac_executable_extensions; do
  6987. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6988. ac_cv_prog_LEX="$ac_prog"
  6989. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6990. break 2
  6991. fi
  6992. done
  6993. done
  6994. IFS=$as_save_IFS
  6995. fi
  6996. fi
  6997. LEX=$ac_cv_prog_LEX
  6998. if test -n "$LEX"; then
  6999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  7000. $as_echo "$LEX" >&6; }
  7001. else
  7002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7003. $as_echo "no" >&6; }
  7004. fi
  7005. test -n "$LEX" && break
  7006. done
  7007. test -n "$LEX" || LEX=":"
  7008. if test "x$LEX" != "x:"; then
  7009. cat >conftest.l <<_ACEOF
  7010. %%
  7011. a { ECHO; }
  7012. b { REJECT; }
  7013. c { yymore (); }
  7014. d { yyless (1); }
  7015. e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  7016. yyless ((input () != 0)); }
  7017. f { unput (yytext[0]); }
  7018. . { BEGIN INITIAL; }
  7019. %%
  7020. #ifdef YYTEXT_POINTER
  7021. extern char *yytext;
  7022. #endif
  7023. int
  7024. main (void)
  7025. {
  7026. return ! yylex () + ! yywrap ();
  7027. }
  7028. _ACEOF
  7029. { { ac_try="$LEX conftest.l"
  7030. case "(($ac_try" in
  7031. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7032. *) ac_try_echo=$ac_try;;
  7033. esac
  7034. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7035. $as_echo "$ac_try_echo"; } >&5
  7036. (eval "$LEX conftest.l") 2>&5
  7037. ac_status=$?
  7038. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7039. test $ac_status = 0; }
  7040. { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  7041. $as_echo_n "checking lex output file root... " >&6; }
  7042. if ${ac_cv_prog_lex_root+:} false; then :
  7043. $as_echo_n "(cached) " >&6
  7044. else
  7045. if test -f lex.yy.c; then
  7046. ac_cv_prog_lex_root=lex.yy
  7047. elif test -f lexyy.c; then
  7048. ac_cv_prog_lex_root=lexyy
  7049. else
  7050. as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
  7051. fi
  7052. fi
  7053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  7054. $as_echo "$ac_cv_prog_lex_root" >&6; }
  7055. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  7056. if test -z "${LEXLIB+set}"; then
  7057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  7058. $as_echo_n "checking lex library... " >&6; }
  7059. if ${ac_cv_lib_lex+:} false; then :
  7060. $as_echo_n "(cached) " >&6
  7061. else
  7062. ac_save_LIBS=$LIBS
  7063. ac_cv_lib_lex='none needed'
  7064. for ac_lib in '' -lfl -ll; do
  7065. LIBS="$ac_lib $ac_save_LIBS"
  7066. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7067. /* end confdefs.h. */
  7068. `cat $LEX_OUTPUT_ROOT.c`
  7069. _ACEOF
  7070. if ac_fn_c_try_link "$LINENO"; then :
  7071. ac_cv_lib_lex=$ac_lib
  7072. fi
  7073. rm -f core conftest.err conftest.$ac_objext \
  7074. conftest$ac_exeext conftest.$ac_ext
  7075. test "$ac_cv_lib_lex" != 'none needed' && break
  7076. done
  7077. LIBS=$ac_save_LIBS
  7078. fi
  7079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  7080. $as_echo "$ac_cv_lib_lex" >&6; }
  7081. test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  7082. fi
  7083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  7084. $as_echo_n "checking whether yytext is a pointer... " >&6; }
  7085. if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
  7086. $as_echo_n "(cached) " >&6
  7087. else
  7088. # POSIX says lex can declare yytext either as a pointer or an array; the
  7089. # default is implementation-dependent. Figure out which it is, since
  7090. # not all implementations provide the %pointer and %array declarations.
  7091. ac_cv_prog_lex_yytext_pointer=no
  7092. ac_save_LIBS=$LIBS
  7093. LIBS="$LEXLIB $ac_save_LIBS"
  7094. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7095. /* end confdefs.h. */
  7096. #define YYTEXT_POINTER 1
  7097. `cat $LEX_OUTPUT_ROOT.c`
  7098. _ACEOF
  7099. if ac_fn_c_try_link "$LINENO"; then :
  7100. ac_cv_prog_lex_yytext_pointer=yes
  7101. fi
  7102. rm -f core conftest.err conftest.$ac_objext \
  7103. conftest$ac_exeext conftest.$ac_ext
  7104. LIBS=$ac_save_LIBS
  7105. fi
  7106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  7107. $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  7108. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  7109. $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
  7110. fi
  7111. rm -f conftest.l $LEX_OUTPUT_ROOT.c
  7112. fi
  7113. for ac_prog in 'bison -y' byacc
  7114. do
  7115. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7116. set dummy $ac_prog; ac_word=$2
  7117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7118. $as_echo_n "checking for $ac_word... " >&6; }
  7119. if ${ac_cv_prog_YACC+:} false; then :
  7120. $as_echo_n "(cached) " >&6
  7121. else
  7122. if test -n "$YACC"; then
  7123. ac_cv_prog_YACC="$YACC" # Let the user override the test.
  7124. else
  7125. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7126. for as_dir in $PATH
  7127. do
  7128. IFS=$as_save_IFS
  7129. test -z "$as_dir" && as_dir=.
  7130. for ac_exec_ext in '' $ac_executable_extensions; do
  7131. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7132. ac_cv_prog_YACC="$ac_prog"
  7133. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7134. break 2
  7135. fi
  7136. done
  7137. done
  7138. IFS=$as_save_IFS
  7139. fi
  7140. fi
  7141. YACC=$ac_cv_prog_YACC
  7142. if test -n "$YACC"; then
  7143. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  7144. $as_echo "$YACC" >&6; }
  7145. else
  7146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7147. $as_echo "no" >&6; }
  7148. fi
  7149. test -n "$YACC" && break
  7150. done
  7151. test -n "$YACC" || YACC="yacc"
  7152. AM_PATH_PYTHON(,,:)
  7153. # Extract the first word of "perl", so it can be a program name with args.
  7154. set dummy perl; ac_word=$2
  7155. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7156. $as_echo_n "checking for $ac_word... " >&6; }
  7157. if ${ac_cv_path_PERL+:} false; then :
  7158. $as_echo_n "(cached) " >&6
  7159. else
  7160. case $PERL in
  7161. [\\/]* | ?:[\\/]*)
  7162. ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  7163. ;;
  7164. *)
  7165. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7166. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  7167. for as_dir in $as_dummy
  7168. do
  7169. IFS=$as_save_IFS
  7170. test -z "$as_dir" && as_dir=.
  7171. for ac_exec_ext in '' $ac_executable_extensions; do
  7172. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7173. ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  7174. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7175. break 2
  7176. fi
  7177. done
  7178. done
  7179. IFS=$as_save_IFS
  7180. ;;
  7181. esac
  7182. fi
  7183. PERL=$ac_cv_path_PERL
  7184. if test -n "$PERL"; then
  7185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  7186. $as_echo "$PERL" >&6; }
  7187. else
  7188. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7189. $as_echo "no" >&6; }
  7190. fi
  7191. # Extract the first word of "gperf", so it can be a program name with args.
  7192. set dummy gperf; ac_word=$2
  7193. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7194. $as_echo_n "checking for $ac_word... " >&6; }
  7195. if ${ac_cv_path_GPERF+:} false; then :
  7196. $as_echo_n "(cached) " >&6
  7197. else
  7198. case $GPERF in
  7199. [\\/]* | ?:[\\/]*)
  7200. ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
  7201. ;;
  7202. *)
  7203. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7204. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  7205. for as_dir in $as_dummy
  7206. do
  7207. IFS=$as_save_IFS
  7208. test -z "$as_dir" && as_dir=.
  7209. for ac_exec_ext in '' $ac_executable_extensions; do
  7210. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7211. ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
  7212. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7213. break 2
  7214. fi
  7215. done
  7216. done
  7217. IFS=$as_save_IFS
  7218. ;;
  7219. esac
  7220. fi
  7221. GPERF=$ac_cv_path_GPERF
  7222. if test -n "$GPERF"; then
  7223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
  7224. $as_echo "$GPERF" >&6; }
  7225. else
  7226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7227. $as_echo "no" >&6; }
  7228. fi
  7229. # because gperf is not needed by end-users we just report it but do not abort on failure
  7230. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gperf version >= 3.0.0" >&5
  7231. $as_echo_n "checking gperf version >= 3.0.0... " >&6; }
  7232. if test -x "$GPERF"; then
  7233. if test "`$GPERF --version | $AWK -F' ' '/^GNU gperf/ { print $3 }' | $AWK -F. '{ print $1 }'`" -ge "3"; then
  7234. GPERF_OUTPUT="`echo foo | ${GPERF}`"
  7235. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7236. /* end confdefs.h. */
  7237. #include <string.h>
  7238. const char *in_word_set(const char*, size_t); $GPERF_OUTPUT
  7239. int
  7240. main ()
  7241. {
  7242. ;
  7243. return 0;
  7244. }
  7245. _ACEOF
  7246. if ac_fn_c_try_compile "$LINENO"; then :
  7247. GPERF_LEN_TYPE=size_t
  7248. else
  7249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7250. /* end confdefs.h. */
  7251. #include <string.h>
  7252. const char *in_word_set(const char*, unsigned); $GPERF_OUTPUT
  7253. int
  7254. main ()
  7255. {
  7256. ;
  7257. return 0;
  7258. }
  7259. _ACEOF
  7260. if ac_fn_c_try_compile "$LINENO"; then :
  7261. GPERF_LEN_TYPE=unsigned
  7262. else
  7263. as_fn_error $? "unable to determine gperf len type" "$LINENO" 5
  7264. fi
  7265. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7266. fi
  7267. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7269. $as_echo "yes" >&6; }
  7270. else
  7271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7272. $as_echo "no" >&6; }
  7273. fi
  7274. else
  7275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  7276. $as_echo "not found" >&6; }
  7277. fi
  7278. # ========================
  7279. # dependency calculation
  7280. # ========================
  7281. if test x$xauth_generic_given = xfalse -a x$ikev1 = xfalse; then
  7282. xauth_generic=false;
  7283. fi
  7284. if test x$kernel_libipsec = xtrue; then
  7285. libipsec=true;
  7286. fi
  7287. if test x$eap_aka_3gpp2 = xtrue; then
  7288. gmp=true;
  7289. fi
  7290. if test x$eap_aka = xtrue; then
  7291. fips_prf=true;
  7292. simaka=true;
  7293. fi
  7294. if test x$eap_sim = xtrue; then
  7295. fips_prf=true;
  7296. simaka=true;
  7297. fi
  7298. if test x$eap_radius = xtrue -o x$radattr = xtrue -o x$tnc_pdp = xtrue; then
  7299. radius=true;
  7300. fi
  7301. if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_20 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
  7302. tnc_tnccs=true;
  7303. fi
  7304. if test x$eap_tls = xtrue -o x$eap_ttls = xtrue -o x$eap_peap = xtrue -o x$tnc_tnccs = xtrue; then
  7305. tls=true;
  7306. fi
  7307. if test x$imc_test = xtrue -o x$imv_test = xtrue -o x$imc_scanner = xtrue -o x$imv_scanner = xtrue -o x$imc_os = xtrue -o x$imv_os = xtrue -o x$imc_attestation = xtrue -o x$imv_attestation = xtrue -o x$imc_swima = xtrue -o x$imv_swima = xtrue -o x$imc_hcd = xtrue -o x$imv_hcd = xtrue; then
  7308. imcv=true;
  7309. fi
  7310. if test x$fips_prf = xtrue; then
  7311. if test x$openssl = xfalse -a x$wolfssl = xfalse; then
  7312. sha1=true;
  7313. fi
  7314. fi
  7315. if test x$swanctl = xtrue; then
  7316. vici=true
  7317. fi
  7318. if test x$smp = xtrue -o x$tnccs_11 = xtrue -o x$tnc_ifmap = xtrue; then
  7319. xml=true
  7320. fi
  7321. if test x$manager = xtrue; then
  7322. fast=true
  7323. fi
  7324. if test x$medsrv = xtrue; then
  7325. mediation=true
  7326. fast=true
  7327. fi
  7328. if test x$medcli = xtrue; then
  7329. mediation=true
  7330. fi
  7331. if test x$ruby_gems_install = xtrue; then
  7332. ruby_gems=true
  7333. fi
  7334. if test x$python_eggs_install = xtrue; then
  7335. python_eggs=true
  7336. fi
  7337. if test x$perl_cpan_install = xtrue; then
  7338. perl_cpan=true
  7339. fi
  7340. if test x$aikgen = xtrue; then
  7341. tss_trousers=true
  7342. fi
  7343. if test x$gmp = xtrue -o x$ntru = xtrue -o x$bliss = xtrue; then
  7344. mgf1=true
  7345. fi
  7346. if test x$stroke = xtrue; then
  7347. counters=true
  7348. fi
  7349. # ===========================================
  7350. # check required libraries and header files
  7351. # ===========================================
  7352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  7353. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  7354. if ${ac_cv_header_stdbool_h+:} false; then :
  7355. $as_echo_n "(cached) " >&6
  7356. else
  7357. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7358. /* end confdefs.h. */
  7359. #include <stdbool.h>
  7360. #ifndef bool
  7361. "error: bool is not defined"
  7362. #endif
  7363. #ifndef false
  7364. "error: false is not defined"
  7365. #endif
  7366. #if false
  7367. "error: false is not 0"
  7368. #endif
  7369. #ifndef true
  7370. "error: true is not defined"
  7371. #endif
  7372. #if true != 1
  7373. "error: true is not 1"
  7374. #endif
  7375. #ifndef __bool_true_false_are_defined
  7376. "error: __bool_true_false_are_defined is not defined"
  7377. #endif
  7378. struct s { _Bool s: 1; _Bool t; } s;
  7379. char a[true == 1 ? 1 : -1];
  7380. char b[false == 0 ? 1 : -1];
  7381. char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  7382. char d[(bool) 0.5 == true ? 1 : -1];
  7383. /* See body of main program for 'e'. */
  7384. char f[(_Bool) 0.0 == false ? 1 : -1];
  7385. char g[true];
  7386. char h[sizeof (_Bool)];
  7387. char i[sizeof s.t];
  7388. enum { j = false, k = true, l = false * true, m = true * 256 };
  7389. /* The following fails for
  7390. HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  7391. _Bool n[m];
  7392. char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  7393. char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  7394. /* Catch a bug in an HP-UX C compiler. See
  7395. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  7396. http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  7397. */
  7398. _Bool q = true;
  7399. _Bool *pq = &q;
  7400. int
  7401. main ()
  7402. {
  7403. bool e = &s;
  7404. *pq |= q;
  7405. *pq |= ! q;
  7406. /* Refer to every declared value, to avoid compiler optimizations. */
  7407. return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  7408. + !m + !n + !o + !p + !q + !pq);
  7409. ;
  7410. return 0;
  7411. }
  7412. _ACEOF
  7413. if ac_fn_c_try_compile "$LINENO"; then :
  7414. ac_cv_header_stdbool_h=yes
  7415. else
  7416. ac_cv_header_stdbool_h=no
  7417. fi
  7418. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7419. fi
  7420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  7421. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  7422. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  7423. if test "x$ac_cv_type__Bool" = xyes; then :
  7424. cat >>confdefs.h <<_ACEOF
  7425. @%:@define HAVE__BOOL 1
  7426. _ACEOF
  7427. fi
  7428. if test $ac_cv_header_stdbool_h = yes; then
  7429. $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
  7430. fi
  7431. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  7432. if test "x$ac_cv_type_size_t" = xyes; then :
  7433. else
  7434. cat >>confdefs.h <<_ACEOF
  7435. @%:@define size_t unsigned int
  7436. _ACEOF
  7437. fi
  7438. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  7439. # for constant arguments. Useless!
  7440. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  7441. $as_echo_n "checking for working alloca.h... " >&6; }
  7442. if ${ac_cv_working_alloca_h+:} false; then :
  7443. $as_echo_n "(cached) " >&6
  7444. else
  7445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7446. /* end confdefs.h. */
  7447. @%:@include <alloca.h>
  7448. int
  7449. main ()
  7450. {
  7451. char *p = (char *) alloca (2 * sizeof (int));
  7452. if (p) return 0;
  7453. ;
  7454. return 0;
  7455. }
  7456. _ACEOF
  7457. if ac_fn_c_try_link "$LINENO"; then :
  7458. ac_cv_working_alloca_h=yes
  7459. else
  7460. ac_cv_working_alloca_h=no
  7461. fi
  7462. rm -f core conftest.err conftest.$ac_objext \
  7463. conftest$ac_exeext conftest.$ac_ext
  7464. fi
  7465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  7466. $as_echo "$ac_cv_working_alloca_h" >&6; }
  7467. if test $ac_cv_working_alloca_h = yes; then
  7468. $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
  7469. fi
  7470. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  7471. $as_echo_n "checking for alloca... " >&6; }
  7472. if ${ac_cv_func_alloca_works+:} false; then :
  7473. $as_echo_n "(cached) " >&6
  7474. else
  7475. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7476. /* end confdefs.h. */
  7477. #ifdef __GNUC__
  7478. # define alloca __builtin_alloca
  7479. #else
  7480. # ifdef _MSC_VER
  7481. # include <malloc.h>
  7482. # define alloca _alloca
  7483. # else
  7484. # ifdef HAVE_ALLOCA_H
  7485. # include <alloca.h>
  7486. # else
  7487. # ifdef _AIX
  7488. #pragma alloca
  7489. # else
  7490. # ifndef alloca /* predefined by HP cc +Olibcalls */
  7491. void *alloca (size_t);
  7492. # endif
  7493. # endif
  7494. # endif
  7495. # endif
  7496. #endif
  7497. int
  7498. main ()
  7499. {
  7500. char *p = (char *) alloca (1);
  7501. if (p) return 0;
  7502. ;
  7503. return 0;
  7504. }
  7505. _ACEOF
  7506. if ac_fn_c_try_link "$LINENO"; then :
  7507. ac_cv_func_alloca_works=yes
  7508. else
  7509. ac_cv_func_alloca_works=no
  7510. fi
  7511. rm -f core conftest.err conftest.$ac_objext \
  7512. conftest$ac_exeext conftest.$ac_ext
  7513. fi
  7514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  7515. $as_echo "$ac_cv_func_alloca_works" >&6; }
  7516. if test $ac_cv_func_alloca_works = yes; then
  7517. $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  7518. else
  7519. # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  7520. # that cause trouble. Some versions do not even contain alloca or
  7521. # contain a buggy version. If you still want to use their alloca,
  7522. # use ar to extract alloca.o from them instead of compiling alloca.c.
  7523. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  7524. $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
  7525. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  7526. $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  7527. if ${ac_cv_os_cray+:} false; then :
  7528. $as_echo_n "(cached) " >&6
  7529. else
  7530. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7531. /* end confdefs.h. */
  7532. #if defined CRAY && ! defined CRAY2
  7533. webecray
  7534. #else
  7535. wenotbecray
  7536. #endif
  7537. _ACEOF
  7538. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7539. $EGREP "webecray" >/dev/null 2>&1; then :
  7540. ac_cv_os_cray=yes
  7541. else
  7542. ac_cv_os_cray=no
  7543. fi
  7544. rm -f conftest*
  7545. fi
  7546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  7547. $as_echo "$ac_cv_os_cray" >&6; }
  7548. if test $ac_cv_os_cray = yes; then
  7549. for ac_func in _getb67 GETB67 getb67; do
  7550. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7551. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7552. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7553. cat >>confdefs.h <<_ACEOF
  7554. @%:@define CRAY_STACKSEG_END $ac_func
  7555. _ACEOF
  7556. break
  7557. fi
  7558. done
  7559. fi
  7560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  7561. $as_echo_n "checking stack direction for C alloca... " >&6; }
  7562. if ${ac_cv_c_stack_direction+:} false; then :
  7563. $as_echo_n "(cached) " >&6
  7564. else
  7565. if test "$cross_compiling" = yes; then :
  7566. ac_cv_c_stack_direction=0
  7567. else
  7568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7569. /* end confdefs.h. */
  7570. $ac_includes_default
  7571. int
  7572. find_stack_direction (int *addr, int depth)
  7573. {
  7574. int dir, dummy = 0;
  7575. if (! addr)
  7576. addr = &dummy;
  7577. *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  7578. dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  7579. return dir + dummy;
  7580. }
  7581. int
  7582. main (int argc, char **argv)
  7583. {
  7584. return find_stack_direction (0, argc + !argv + 20) < 0;
  7585. }
  7586. _ACEOF
  7587. if ac_fn_c_try_run "$LINENO"; then :
  7588. ac_cv_c_stack_direction=1
  7589. else
  7590. ac_cv_c_stack_direction=-1
  7591. fi
  7592. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7593. conftest.$ac_objext conftest.beam conftest.$ac_ext
  7594. fi
  7595. fi
  7596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  7597. $as_echo "$ac_cv_c_stack_direction" >&6; }
  7598. cat >>confdefs.h <<_ACEOF
  7599. @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
  7600. _ACEOF
  7601. fi
  7602. ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  7603. if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  7604. ac_have_decl=1
  7605. else
  7606. ac_have_decl=0
  7607. fi
  7608. cat >>confdefs.h <<_ACEOF
  7609. @%:@define HAVE_DECL_STRERROR_R $ac_have_decl
  7610. _ACEOF
  7611. for ac_func in strerror_r
  7612. do :
  7613. ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  7614. if test "x$ac_cv_func_strerror_r" = xyes; then :
  7615. cat >>confdefs.h <<_ACEOF
  7616. @%:@define HAVE_STRERROR_R 1
  7617. _ACEOF
  7618. fi
  7619. done
  7620. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  7621. $as_echo_n "checking whether strerror_r returns char *... " >&6; }
  7622. if ${ac_cv_func_strerror_r_char_p+:} false; then :
  7623. $as_echo_n "(cached) " >&6
  7624. else
  7625. ac_cv_func_strerror_r_char_p=no
  7626. if test $ac_cv_have_decl_strerror_r = yes; then
  7627. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7628. /* end confdefs.h. */
  7629. $ac_includes_default
  7630. int
  7631. main ()
  7632. {
  7633. char buf[100];
  7634. char x = *strerror_r (0, buf, sizeof buf);
  7635. char *p = strerror_r (0, buf, sizeof buf);
  7636. return !p || x;
  7637. ;
  7638. return 0;
  7639. }
  7640. _ACEOF
  7641. if ac_fn_c_try_compile "$LINENO"; then :
  7642. ac_cv_func_strerror_r_char_p=yes
  7643. fi
  7644. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7645. else
  7646. # strerror_r is not declared. Choose between
  7647. # systems that have relatively inaccessible declarations for the
  7648. # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  7649. # former has a strerror_r that returns char*, while the latter
  7650. # has a strerror_r that returns `int'.
  7651. # This test should segfault on the DEC system.
  7652. if test "$cross_compiling" = yes; then :
  7653. :
  7654. else
  7655. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7656. /* end confdefs.h. */
  7657. $ac_includes_default
  7658. extern char *strerror_r ();
  7659. int
  7660. main ()
  7661. {
  7662. char buf[100];
  7663. char x = *strerror_r (0, buf, sizeof buf);
  7664. return ! isalpha (x);
  7665. ;
  7666. return 0;
  7667. }
  7668. _ACEOF
  7669. if ac_fn_c_try_run "$LINENO"; then :
  7670. ac_cv_func_strerror_r_char_p=yes
  7671. fi
  7672. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7673. conftest.$ac_objext conftest.beam conftest.$ac_ext
  7674. fi
  7675. fi
  7676. fi
  7677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  7678. $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  7679. if test $ac_cv_func_strerror_r_char_p = yes; then
  7680. $as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
  7681. fi
  7682. # libraries needed on some platforms but not on others
  7683. # ------------------------------------------------------
  7684. saved_LIBS=$LIBS
  7685. # FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
  7686. LIBS=""
  7687. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  7688. $as_echo_n "checking for library containing dlopen... " >&6; }
  7689. if ${ac_cv_search_dlopen+:} false; then :
  7690. $as_echo_n "(cached) " >&6
  7691. else
  7692. ac_func_search_save_LIBS=$LIBS
  7693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7694. /* end confdefs.h. */
  7695. /* Override any GCC internal prototype to avoid an error.
  7696. Use char because int might match the return type of a GCC
  7697. builtin and then its argument prototype would still apply. */
  7698. #ifdef __cplusplus
  7699. extern "C"
  7700. #endif
  7701. char dlopen ();
  7702. int
  7703. main ()
  7704. {
  7705. return dlopen ();
  7706. ;
  7707. return 0;
  7708. }
  7709. _ACEOF
  7710. for ac_lib in '' dl; do
  7711. if test -z "$ac_lib"; then
  7712. ac_res="none required"
  7713. else
  7714. ac_res=-l$ac_lib
  7715. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  7716. fi
  7717. if ac_fn_c_try_link "$LINENO"; then :
  7718. ac_cv_search_dlopen=$ac_res
  7719. fi
  7720. rm -f core conftest.err conftest.$ac_objext \
  7721. conftest$ac_exeext
  7722. if ${ac_cv_search_dlopen+:} false; then :
  7723. break
  7724. fi
  7725. done
  7726. if ${ac_cv_search_dlopen+:} false; then :
  7727. else
  7728. ac_cv_search_dlopen=no
  7729. fi
  7730. rm conftest.$ac_ext
  7731. LIBS=$ac_func_search_save_LIBS
  7732. fi
  7733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  7734. $as_echo "$ac_cv_search_dlopen" >&6; }
  7735. ac_res=$ac_cv_search_dlopen
  7736. if test "$ac_res" != no; then :
  7737. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  7738. DLLIB=$LIBS
  7739. fi
  7740. # glibc's backtrace() can be replicated on FreeBSD with libexecinfo
  7741. LIBS=""
  7742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
  7743. $as_echo_n "checking for library containing backtrace... " >&6; }
  7744. if ${ac_cv_search_backtrace+:} false; then :
  7745. $as_echo_n "(cached) " >&6
  7746. else
  7747. ac_func_search_save_LIBS=$LIBS
  7748. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7749. /* end confdefs.h. */
  7750. /* Override any GCC internal prototype to avoid an error.
  7751. Use char because int might match the return type of a GCC
  7752. builtin and then its argument prototype would still apply. */
  7753. #ifdef __cplusplus
  7754. extern "C"
  7755. #endif
  7756. char backtrace ();
  7757. int
  7758. main ()
  7759. {
  7760. return backtrace ();
  7761. ;
  7762. return 0;
  7763. }
  7764. _ACEOF
  7765. for ac_lib in '' execinfo; do
  7766. if test -z "$ac_lib"; then
  7767. ac_res="none required"
  7768. else
  7769. ac_res=-l$ac_lib
  7770. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  7771. fi
  7772. if ac_fn_c_try_link "$LINENO"; then :
  7773. ac_cv_search_backtrace=$ac_res
  7774. fi
  7775. rm -f core conftest.err conftest.$ac_objext \
  7776. conftest$ac_exeext
  7777. if ${ac_cv_search_backtrace+:} false; then :
  7778. break
  7779. fi
  7780. done
  7781. if ${ac_cv_search_backtrace+:} false; then :
  7782. else
  7783. ac_cv_search_backtrace=no
  7784. fi
  7785. rm conftest.$ac_ext
  7786. LIBS=$ac_func_search_save_LIBS
  7787. fi
  7788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
  7789. $as_echo "$ac_cv_search_backtrace" >&6; }
  7790. ac_res=$ac_cv_search_backtrace
  7791. if test "$ac_res" != no; then :
  7792. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  7793. BTLIB=$LIBS
  7794. fi
  7795. for ac_func in backtrace
  7796. do :
  7797. ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
  7798. if test "x$ac_cv_func_backtrace" = xyes; then :
  7799. cat >>confdefs.h <<_ACEOF
  7800. @%:@define HAVE_BACKTRACE 1
  7801. _ACEOF
  7802. fi
  7803. done
  7804. # OpenSolaris needs libsocket and libnsl for socket()
  7805. LIBS=""
  7806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
  7807. $as_echo_n "checking for library containing socket... " >&6; }
  7808. if ${ac_cv_search_socket+:} false; then :
  7809. $as_echo_n "(cached) " >&6
  7810. else
  7811. ac_func_search_save_LIBS=$LIBS
  7812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7813. /* end confdefs.h. */
  7814. /* Override any GCC internal prototype to avoid an error.
  7815. Use char because int might match the return type of a GCC
  7816. builtin and then its argument prototype would still apply. */
  7817. #ifdef __cplusplus
  7818. extern "C"
  7819. #endif
  7820. char socket ();
  7821. int
  7822. main ()
  7823. {
  7824. return socket ();
  7825. ;
  7826. return 0;
  7827. }
  7828. _ACEOF
  7829. for ac_lib in '' socket; do
  7830. if test -z "$ac_lib"; then
  7831. ac_res="none required"
  7832. else
  7833. ac_res=-l$ac_lib
  7834. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  7835. fi
  7836. if ac_fn_c_try_link "$LINENO"; then :
  7837. ac_cv_search_socket=$ac_res
  7838. fi
  7839. rm -f core conftest.err conftest.$ac_objext \
  7840. conftest$ac_exeext
  7841. if ${ac_cv_search_socket+:} false; then :
  7842. break
  7843. fi
  7844. done
  7845. if ${ac_cv_search_socket+:} false; then :
  7846. else
  7847. ac_cv_search_socket=no
  7848. fi
  7849. rm conftest.$ac_ext
  7850. LIBS=$ac_func_search_save_LIBS
  7851. fi
  7852. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
  7853. $as_echo "$ac_cv_search_socket" >&6; }
  7854. ac_res=$ac_cv_search_socket
  7855. if test "$ac_res" != no; then :
  7856. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  7857. SOCKLIB=$LIBS
  7858. else
  7859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
  7860. $as_echo_n "checking for socket in -lnsl... " >&6; }
  7861. if ${ac_cv_lib_nsl_socket+:} false; then :
  7862. $as_echo_n "(cached) " >&6
  7863. else
  7864. ac_check_lib_save_LIBS=$LIBS
  7865. LIBS="-lnsl -lsocket $LIBS"
  7866. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7867. /* end confdefs.h. */
  7868. /* Override any GCC internal prototype to avoid an error.
  7869. Use char because int might match the return type of a GCC
  7870. builtin and then its argument prototype would still apply. */
  7871. #ifdef __cplusplus
  7872. extern "C"
  7873. #endif
  7874. char socket ();
  7875. int
  7876. main ()
  7877. {
  7878. return socket ();
  7879. ;
  7880. return 0;
  7881. }
  7882. _ACEOF
  7883. if ac_fn_c_try_link "$LINENO"; then :
  7884. ac_cv_lib_nsl_socket=yes
  7885. else
  7886. ac_cv_lib_nsl_socket=no
  7887. fi
  7888. rm -f core conftest.err conftest.$ac_objext \
  7889. conftest$ac_exeext conftest.$ac_ext
  7890. LIBS=$ac_check_lib_save_LIBS
  7891. fi
  7892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
  7893. $as_echo "$ac_cv_lib_nsl_socket" >&6; }
  7894. if test "x$ac_cv_lib_nsl_socket" = xyes; then :
  7895. SOCKLIB="-lsocket -lnsl"
  7896. fi
  7897. fi
  7898. # Android has pthread_* functions in bionic (libc), others need libpthread
  7899. LIBS=$DLLIB
  7900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
  7901. $as_echo_n "checking for library containing pthread_create... " >&6; }
  7902. if ${ac_cv_search_pthread_create+:} false; then :
  7903. $as_echo_n "(cached) " >&6
  7904. else
  7905. ac_func_search_save_LIBS=$LIBS
  7906. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7907. /* end confdefs.h. */
  7908. /* Override any GCC internal prototype to avoid an error.
  7909. Use char because int might match the return type of a GCC
  7910. builtin and then its argument prototype would still apply. */
  7911. #ifdef __cplusplus
  7912. extern "C"
  7913. #endif
  7914. char pthread_create ();
  7915. int
  7916. main ()
  7917. {
  7918. return pthread_create ();
  7919. ;
  7920. return 0;
  7921. }
  7922. _ACEOF
  7923. for ac_lib in '' pthread; do
  7924. if test -z "$ac_lib"; then
  7925. ac_res="none required"
  7926. else
  7927. ac_res=-l$ac_lib
  7928. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  7929. fi
  7930. if ac_fn_c_try_link "$LINENO"; then :
  7931. ac_cv_search_pthread_create=$ac_res
  7932. fi
  7933. rm -f core conftest.err conftest.$ac_objext \
  7934. conftest$ac_exeext
  7935. if ${ac_cv_search_pthread_create+:} false; then :
  7936. break
  7937. fi
  7938. done
  7939. if ${ac_cv_search_pthread_create+:} false; then :
  7940. else
  7941. ac_cv_search_pthread_create=no
  7942. fi
  7943. rm conftest.$ac_ext
  7944. LIBS=$ac_func_search_save_LIBS
  7945. fi
  7946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
  7947. $as_echo "$ac_cv_search_pthread_create" >&6; }
  7948. ac_res=$ac_cv_search_pthread_create
  7949. if test "$ac_res" != no; then :
  7950. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  7951. PTHREADLIB=$LIBS
  7952. fi
  7953. # Some architectures require explicit -latomic for __atomic_* operations
  7954. # AC_SEARCH_LIBS() does not work when checking built-ins due to conflicting types
  7955. LIBS=""
  7956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __atomic_and_fetch" >&5
  7957. $as_echo_n "checking for library containing __atomic_and_fetch... " >&6; }
  7958. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7959. /* end confdefs.h. */
  7960. int
  7961. main ()
  7962. {
  7963. int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
  7964. ;
  7965. return 0;
  7966. }
  7967. _ACEOF
  7968. if ac_fn_c_try_link "$LINENO"; then :
  7969. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5
  7970. $as_echo "none required" >&6; }
  7971. else
  7972. LIBS="-latomic";
  7973. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7974. /* end confdefs.h. */
  7975. int
  7976. main ()
  7977. {
  7978. int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
  7979. ;
  7980. return 0;
  7981. }
  7982. _ACEOF
  7983. if ac_fn_c_try_link "$LINENO"; then :
  7984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: -latomic" >&5
  7985. $as_echo "-latomic" >&6; }; ATOMICLIB=$LIBS
  7986. else
  7987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7988. $as_echo "no" >&6; }
  7989. fi
  7990. rm -f core conftest.err conftest.$ac_objext \
  7991. conftest$ac_exeext conftest.$ac_ext
  7992. fi
  7993. rm -f core conftest.err conftest.$ac_objext \
  7994. conftest$ac_exeext conftest.$ac_ext
  7995. LIBS=$saved_LIBS
  7996. # ------------------------------------------------------
  7997. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr" >&5
  7998. $as_echo_n "checking for dladdr... " >&6; }
  7999. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8000. /* end confdefs.h. */
  8001. #define _GNU_SOURCE
  8002. #include <dlfcn.h>
  8003. int
  8004. main ()
  8005. {
  8006. Dl_info* info = 0;
  8007. dladdr(0, info);
  8008. ;
  8009. return 0;
  8010. }
  8011. _ACEOF
  8012. if ac_fn_c_try_compile "$LINENO"; then :
  8013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8014. $as_echo "yes" >&6; };
  8015. $as_echo "@%:@define HAVE_DLADDR /**/" >>confdefs.h
  8016. else
  8017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8018. $as_echo "no" >&6; }
  8019. fi
  8020. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8021. # check if pthread_condattr_setclock(CLOCK_MONOTONIC) is supported
  8022. saved_LIBS=$LIBS
  8023. LIBS=$PTHREADLIB
  8024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_condattr_setclock(CLOCK_MONOTONIC)" >&5
  8025. $as_echo_n "checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... " >&6; }
  8026. if test "$cross_compiling" = yes; then :
  8027. # Check existence of pthread_condattr_setclock if cross-compiling
  8028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
  8029. $as_echo "unknown" >&6; };
  8030. for ac_func in pthread_condattr_setclock
  8031. do :
  8032. ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
  8033. if test "x$ac_cv_func_pthread_condattr_setclock" = xyes; then :
  8034. cat >>confdefs.h <<_ACEOF
  8035. @%:@define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  8036. _ACEOF
  8037. $as_echo "@%:@define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
  8038. fi
  8039. done
  8040. else
  8041. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8042. /* end confdefs.h. */
  8043. #include <pthread.h>
  8044. int main() { pthread_condattr_t attr;
  8045. pthread_condattr_init(&attr);
  8046. return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}
  8047. _ACEOF
  8048. if ac_fn_c_try_run "$LINENO"; then :
  8049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8050. $as_echo "yes" >&6; };
  8051. $as_echo "@%:@define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
  8052. else
  8053. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8054. $as_echo "no" >&6; }
  8055. fi
  8056. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8057. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8058. fi
  8059. # check if we actually are able to configure attributes on cond vars
  8060. for ac_func in pthread_condattr_init
  8061. do :
  8062. ac_fn_c_check_func "$LINENO" "pthread_condattr_init" "ac_cv_func_pthread_condattr_init"
  8063. if test "x$ac_cv_func_pthread_condattr_init" = xyes; then :
  8064. cat >>confdefs.h <<_ACEOF
  8065. @%:@define HAVE_PTHREAD_CONDATTR_INIT 1
  8066. _ACEOF
  8067. fi
  8068. done
  8069. # instead of pthread_condattr_setclock Android has this function
  8070. for ac_func in pthread_cond_timedwait_monotonic
  8071. do :
  8072. ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait_monotonic" "ac_cv_func_pthread_cond_timedwait_monotonic"
  8073. if test "x$ac_cv_func_pthread_cond_timedwait_monotonic" = xyes; then :
  8074. cat >>confdefs.h <<_ACEOF
  8075. @%:@define HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC 1
  8076. _ACEOF
  8077. fi
  8078. done
  8079. # check if we can cancel threads
  8080. for ac_func in pthread_cancel
  8081. do :
  8082. ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
  8083. if test "x$ac_cv_func_pthread_cancel" = xyes; then :
  8084. cat >>confdefs.h <<_ACEOF
  8085. @%:@define HAVE_PTHREAD_CANCEL 1
  8086. _ACEOF
  8087. fi
  8088. done
  8089. # check if native rwlocks are available
  8090. for ac_func in pthread_rwlock_init
  8091. do :
  8092. ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
  8093. if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then :
  8094. cat >>confdefs.h <<_ACEOF
  8095. @%:@define HAVE_PTHREAD_RWLOCK_INIT 1
  8096. _ACEOF
  8097. fi
  8098. done
  8099. # check if pthread spinlocks are available
  8100. for ac_func in pthread_spin_init
  8101. do :
  8102. ac_fn_c_check_func "$LINENO" "pthread_spin_init" "ac_cv_func_pthread_spin_init"
  8103. if test "x$ac_cv_func_pthread_spin_init" = xyes; then :
  8104. cat >>confdefs.h <<_ACEOF
  8105. @%:@define HAVE_PTHREAD_SPIN_INIT 1
  8106. _ACEOF
  8107. fi
  8108. done
  8109. # check if we have POSIX semaphore functions, including timed-wait
  8110. for ac_func in sem_timedwait
  8111. do :
  8112. ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
  8113. if test "x$ac_cv_func_sem_timedwait" = xyes; then :
  8114. cat >>confdefs.h <<_ACEOF
  8115. @%:@define HAVE_SEM_TIMEDWAIT 1
  8116. _ACEOF
  8117. fi
  8118. done
  8119. LIBS=$saved_LIBS
  8120. ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid"
  8121. if test "x$ac_cv_func_gettid" = xyes; then :
  8122. $as_echo "@%:@define HAVE_GETTID /**/" >>confdefs.h
  8123. else
  8124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_gettid" >&5
  8125. $as_echo_n "checking for SYS_gettid... " >&6; }
  8126. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8127. /* end confdefs.h. */
  8128. #define _GNU_SOURCE
  8129. #include <unistd.h>
  8130. #include <sys/syscall.h>
  8131. int
  8132. main ()
  8133. {
  8134. int main() {
  8135. return syscall(SYS_gettid);}
  8136. ;
  8137. return 0;
  8138. }
  8139. _ACEOF
  8140. if ac_fn_c_try_compile "$LINENO"; then :
  8141. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8142. $as_echo "yes" >&6; };
  8143. $as_echo "@%:@define HAVE_GETTID /**/" >>confdefs.h
  8144. $as_echo "@%:@define HAVE_SYS_GETTID /**/" >>confdefs.h
  8145. else
  8146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8147. $as_echo "no" >&6; }
  8148. fi
  8149. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8150. fi
  8151. ac_fn_c_check_func "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
  8152. if test "x$ac_cv_func_qsort_r" = xyes; then :
  8153. $as_echo "@%:@define HAVE_QSORT_R /**/" >>confdefs.h
  8154. # set -Werror so that we get an error for "argument ... has
  8155. # incompatible pointer type" warnings
  8156. save_CFLAGS="$CFLAGS"
  8157. CFLAGS="$CFLAGS -Werror -Wno-unused-parameter"
  8158. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style qsort_r" >&5
  8159. $as_echo_n "checking for GNU-style qsort_r... " >&6; }
  8160. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8161. /* end confdefs.h. */
  8162. #define _GNU_SOURCE
  8163. #include <stdlib.h>
  8164. int cmp (const void *a, const void *b, void *x) { return 0; }
  8165. int
  8166. main ()
  8167. {
  8168. int arr[] = { 0, 1 };
  8169. qsort_r(arr, 2, sizeof(int), cmp, arr);
  8170. ;
  8171. return 0;
  8172. }
  8173. _ACEOF
  8174. if ac_fn_c_try_compile "$LINENO"; then :
  8175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8176. $as_echo "yes" >&6; };
  8177. $as_echo "@%:@define HAVE_QSORT_R_GNU /**/" >>confdefs.h
  8178. else
  8179. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8180. $as_echo "no" >&6; };
  8181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-style qsort_r" >&5
  8182. $as_echo_n "checking for BSD-style qsort_r... " >&6; }
  8183. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8184. /* end confdefs.h. */
  8185. #include <stdlib.h>
  8186. int cmp (void *x, const void *a, const void *b) { return 0; }
  8187. int
  8188. main ()
  8189. {
  8190. int arr[] = { 0, 1 };
  8191. qsort_r(arr, 2, sizeof(int), arr, cmp);
  8192. ;
  8193. return 0;
  8194. }
  8195. _ACEOF
  8196. if ac_fn_c_try_compile "$LINENO"; then :
  8197. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8198. $as_echo "yes" >&6; };
  8199. $as_echo "@%:@define HAVE_QSORT_R_BSD /**/" >>confdefs.h
  8200. else
  8201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8202. $as_echo "no" >&6; };
  8203. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8204. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  8205. as_fn_error $? "qsort_r has unknown semantics
  8206. See \`config.log' for more details" "$LINENO" 5; }
  8207. fi
  8208. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8209. fi
  8210. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8211. CFLAGS="$save_CFLAGS"
  8212. fi
  8213. for ac_func in prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r
  8214. do :
  8215. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8216. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8217. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8218. cat >>confdefs.h <<_ACEOF
  8219. @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  8220. _ACEOF
  8221. fi
  8222. done
  8223. for ac_func in fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero
  8224. do :
  8225. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8226. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8227. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8228. cat >>confdefs.h <<_ACEOF
  8229. @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  8230. _ACEOF
  8231. fi
  8232. done
  8233. ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
  8234. if test "x$ac_cv_func_syslog" = xyes; then :
  8235. $as_echo "@%:@define HAVE_SYSLOG /**/" >>confdefs.h
  8236. syslog=true
  8237. fi
  8238. AM_CONDITIONAL(USE_SYSLOG, test "x$syslog" = xtrue)
  8239. for ac_header in sys/sockio.h sys/syscall.h sys/param.h glob.h net/if_tun.h
  8240. do :
  8241. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8242. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  8243. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8244. cat >>confdefs.h <<_ACEOF
  8245. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8246. _ACEOF
  8247. fi
  8248. done
  8249. for ac_header in net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h
  8250. do :
  8251. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8252. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  8253. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8254. cat >>confdefs.h <<_ACEOF
  8255. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8256. _ACEOF
  8257. fi
  8258. done
  8259. for ac_header in netinet/ip6.h linux/fib_rules.h
  8260. do :
  8261. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8262. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
  8263. #include <sys/types.h>
  8264. #include <netinet/in.h>
  8265. "
  8266. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8267. cat >>confdefs.h <<_ACEOF
  8268. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8269. _ACEOF
  8270. fi
  8271. done
  8272. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
  8273. #include <sys/types.h>
  8274. #include <sys/socket.h>
  8275. "
  8276. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  8277. cat >>confdefs.h <<_ACEOF
  8278. @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  8279. _ACEOF
  8280. fi
  8281. ac_fn_c_check_member "$LINENO" "struct sadb_x_policy" "sadb_x_policy_priority" "ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" "
  8282. #include <sys/types.h>
  8283. #ifdef HAVE_NET_PFKEYV2_H
  8284. #include <net/pfkeyv2.h>
  8285. #else
  8286. #include <stdint.h>
  8287. #include <linux/pfkeyv2.h>
  8288. #endif
  8289. "
  8290. if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = xyes; then :
  8291. cat >>confdefs.h <<_ACEOF
  8292. @%:@define HAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY 1
  8293. _ACEOF
  8294. fi
  8295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
  8296. $as_echo_n "checking for in6addr_any... " >&6; }
  8297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8298. /* end confdefs.h. */
  8299. #include <sys/types.h>
  8300. #include <sys/socket.h>
  8301. #include <netinet/in.h>
  8302. int
  8303. main ()
  8304. {
  8305. struct in6_addr in6 __attribute__((unused));
  8306. in6 = in6addr_any;
  8307. ;
  8308. return 0;
  8309. }
  8310. _ACEOF
  8311. if ac_fn_c_try_compile "$LINENO"; then :
  8312. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8313. $as_echo "yes" >&6; };
  8314. $as_echo "@%:@define HAVE_IN6ADDR_ANY /**/" >>confdefs.h
  8315. else
  8316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8317. $as_echo "no" >&6; }
  8318. fi
  8319. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8320. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
  8321. $as_echo_n "checking for in6_pktinfo... " >&6; }
  8322. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8323. /* end confdefs.h. */
  8324. #define _GNU_SOURCE
  8325. #include <sys/types.h>
  8326. #include <sys/socket.h>
  8327. #include <netinet/in.h>
  8328. int
  8329. main ()
  8330. {
  8331. struct in6_pktinfo pi;
  8332. if (pi.ipi6_ifindex)
  8333. {
  8334. return 0;
  8335. }
  8336. ;
  8337. return 0;
  8338. }
  8339. _ACEOF
  8340. if ac_fn_c_try_compile "$LINENO"; then :
  8341. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8342. $as_echo "yes" >&6; };
  8343. $as_echo "@%:@define HAVE_IN6_PKTINFO /**/" >>confdefs.h
  8344. else
  8345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8346. $as_echo "no" >&6; }
  8347. fi
  8348. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTM_IFANNOUNCE" >&5
  8350. $as_echo_n "checking for RTM_IFANNOUNCE... " >&6; }
  8351. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8352. /* end confdefs.h. */
  8353. #include <sys/socket.h>
  8354. #include <net/if.h>
  8355. #include <net/route.h>
  8356. int
  8357. main ()
  8358. {
  8359. return RTM_IFANNOUNCE;
  8360. ;
  8361. return 0;
  8362. }
  8363. _ACEOF
  8364. if ac_fn_c_try_compile "$LINENO"; then :
  8365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8366. $as_echo "yes" >&6; };
  8367. $as_echo "@%:@define HAVE_RTM_IFANNOUNCE /**/" >>confdefs.h
  8368. else
  8369. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8370. $as_echo "no" >&6; }
  8371. fi
  8372. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_MODE_BEET" >&5
  8374. $as_echo_n "checking for IPSEC_MODE_BEET... " >&6; }
  8375. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8376. /* end confdefs.h. */
  8377. #include <sys/types.h>
  8378. #ifdef HAVE_NETIPSEC_IPSEC_H
  8379. #include <netipsec/ipsec.h>
  8380. #elif defined(HAVE_NETINET6_IPSEC_H)
  8381. #include <netinet6/ipsec.h>
  8382. #else
  8383. #include <stdint.h>
  8384. #include <linux/ipsec.h>
  8385. #endif
  8386. int
  8387. main ()
  8388. {
  8389. int mode = IPSEC_MODE_BEET;
  8390. return mode;
  8391. ;
  8392. return 0;
  8393. }
  8394. _ACEOF
  8395. if ac_fn_c_try_compile "$LINENO"; then :
  8396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8397. $as_echo "yes" >&6; };
  8398. $as_echo "@%:@define HAVE_IPSEC_MODE_BEET /**/" >>confdefs.h
  8399. else
  8400. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8401. $as_echo "no" >&6; }
  8402. fi
  8403. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_DIR_FWD" >&5
  8405. $as_echo_n "checking for IPSEC_DIR_FWD... " >&6; }
  8406. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8407. /* end confdefs.h. */
  8408. #include <sys/types.h>
  8409. #ifdef HAVE_NETIPSEC_IPSEC_H
  8410. #include <netipsec/ipsec.h>
  8411. #elif defined(HAVE_NETINET6_IPSEC_H)
  8412. #include <netinet6/ipsec.h>
  8413. #else
  8414. #include <stdint.h>
  8415. #include <linux/ipsec.h>
  8416. #endif
  8417. int
  8418. main ()
  8419. {
  8420. int dir = IPSEC_DIR_FWD;
  8421. return dir;
  8422. ;
  8423. return 0;
  8424. }
  8425. _ACEOF
  8426. if ac_fn_c_try_compile "$LINENO"; then :
  8427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8428. $as_echo "yes" >&6; };
  8429. $as_echo "@%:@define HAVE_IPSEC_DIR_FWD /**/" >>confdefs.h
  8430. else
  8431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8432. $as_echo "no" >&6; }
  8433. fi
  8434. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTA_TABLE" >&5
  8436. $as_echo_n "checking for RTA_TABLE... " >&6; }
  8437. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8438. /* end confdefs.h. */
  8439. #include <sys/socket.h>
  8440. #include <linux/netlink.h>
  8441. #include <linux/rtnetlink.h>
  8442. int
  8443. main ()
  8444. {
  8445. int rta_type = RTA_TABLE;
  8446. return rta_type;
  8447. ;
  8448. return 0;
  8449. }
  8450. _ACEOF
  8451. if ac_fn_c_try_compile "$LINENO"; then :
  8452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8453. $as_echo "yes" >&6; };
  8454. $as_echo "@%:@define HAVE_RTA_TABLE /**/" >>confdefs.h
  8455. else
  8456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8457. $as_echo "no" >&6; }
  8458. fi
  8459. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
  8461. $as_echo_n "checking for __int128... " >&6; }
  8462. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8463. /* end confdefs.h. */
  8464. #include <sys/types.h>
  8465. int
  8466. main ()
  8467. {
  8468. __int128 x = 0;
  8469. return x;
  8470. ;
  8471. return 0;
  8472. }
  8473. _ACEOF
  8474. if ac_fn_c_try_compile "$LINENO"; then :
  8475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8476. $as_echo "yes" >&6; };
  8477. $as_echo "@%:@define HAVE_INT128 /**/" >>confdefs.h
  8478. else
  8479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8480. $as_echo "no" >&6; }
  8481. fi
  8482. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC __sync operations" >&5
  8484. $as_echo_n "checking for GCC __sync operations... " >&6; }
  8485. if test "$cross_compiling" = yes; then :
  8486. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8487. $as_echo "no" >&6; }
  8488. else
  8489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8490. /* end confdefs.h. */
  8491. int main() {
  8492. int ref = 1;
  8493. __sync_fetch_and_add (&ref, 1);
  8494. __sync_sub_and_fetch (&ref, 1);
  8495. __sync_val_compare_and_swap(&ref, 1, 0);
  8496. return ref;
  8497. }
  8498. _ACEOF
  8499. if ac_fn_c_try_run "$LINENO"; then :
  8500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8501. $as_echo "yes" >&6; };
  8502. $as_echo "@%:@define HAVE_GCC_SYNC_OPERATIONS /**/" >>confdefs.h
  8503. else
  8504. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8505. $as_echo "no" >&6; }
  8506. fi
  8507. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8508. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8509. fi
  8510. case "$printf_hooks" in
  8511. auto|builtin|glibc|vstr)
  8512. ;;
  8513. *)
  8514. { $as_echo "$as_me:${as_lineno-$LINENO}: invalid printf hook implementation, defaulting to 'auto'" >&5
  8515. $as_echo "$as_me: invalid printf hook implementation, defaulting to 'auto'" >&6;}
  8516. printf_hooks=auto
  8517. ;;
  8518. esac
  8519. if test x$printf_hooks = xauto -o x$printf_hooks = xglibc; then
  8520. # check for the new register_printf_specifier function with len argument,
  8521. # or the deprecated register_printf_function without
  8522. ac_fn_c_check_func "$LINENO" "register_printf_specifier" "ac_cv_func_register_printf_specifier"
  8523. if test "x$ac_cv_func_register_printf_specifier" = xyes; then :
  8524. $as_echo "@%:@define HAVE_PRINTF_SPECIFIER /**/" >>confdefs.h
  8525. else
  8526. ac_fn_c_check_func "$LINENO" "register_printf_function" "ac_cv_func_register_printf_function"
  8527. if test "x$ac_cv_func_register_printf_function" = xyes; then :
  8528. $as_echo "@%:@define HAVE_PRINTF_FUNCTION /**/" >>confdefs.h
  8529. else
  8530. { $as_echo "$as_me:${as_lineno-$LINENO}: printf(3) does not support custom format specifiers!" >&5
  8531. $as_echo "$as_me: printf(3) does not support custom format specifiers!" >&6;}
  8532. if test x$printf_hooks = xglibc; then
  8533. as_fn_error $? "please select a different printf hook implementation" "$LINENO" 5
  8534. else
  8535. # fallback to builtin printf hook implementation
  8536. printf_hooks=builtin
  8537. fi
  8538. fi
  8539. fi
  8540. fi
  8541. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows target" >&5
  8542. $as_echo_n "checking for Windows target... " >&6; }
  8543. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8544. /* end confdefs.h. */
  8545. #include <windows.h>
  8546. int
  8547. main ()
  8548. {
  8549. #ifndef WIN32
  8550. # error WIN32 undefined
  8551. #endif
  8552. ;
  8553. return 0;
  8554. }
  8555. _ACEOF
  8556. if ac_fn_c_try_compile "$LINENO"; then :
  8557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8558. $as_echo "yes" >&6; }
  8559. windows=true
  8560. PTHREADLIB=""
  8561. # explicitly disable ms-bitfields, as it breaks __attribute__((packed))
  8562. case "$CFLAGS" in
  8563. *ms-bitfields*) ;;
  8564. *) CFLAGS="$CFLAGS -mno-ms-bitfields" ;;
  8565. esac
  8566. else
  8567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8568. $as_echo "no" >&6; }
  8569. # check for clock_gettime() on non-Windows only. Otherwise this
  8570. # check might find clock_gettime() in libwinpthread, but we don't want
  8571. # to link against it.
  8572. saved_LIBS=$LIBS
  8573. # FreeBSD has clock_gettime in libc, Linux needs librt
  8574. LIBS=""
  8575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  8576. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  8577. if ${ac_cv_search_clock_gettime+:} false; then :
  8578. $as_echo_n "(cached) " >&6
  8579. else
  8580. ac_func_search_save_LIBS=$LIBS
  8581. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8582. /* end confdefs.h. */
  8583. /* Override any GCC internal prototype to avoid an error.
  8584. Use char because int might match the return type of a GCC
  8585. builtin and then its argument prototype would still apply. */
  8586. #ifdef __cplusplus
  8587. extern "C"
  8588. #endif
  8589. char clock_gettime ();
  8590. int
  8591. main ()
  8592. {
  8593. return clock_gettime ();
  8594. ;
  8595. return 0;
  8596. }
  8597. _ACEOF
  8598. for ac_lib in '' rt; do
  8599. if test -z "$ac_lib"; then
  8600. ac_res="none required"
  8601. else
  8602. ac_res=-l$ac_lib
  8603. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  8604. fi
  8605. if ac_fn_c_try_link "$LINENO"; then :
  8606. ac_cv_search_clock_gettime=$ac_res
  8607. fi
  8608. rm -f core conftest.err conftest.$ac_objext \
  8609. conftest$ac_exeext
  8610. if ${ac_cv_search_clock_gettime+:} false; then :
  8611. break
  8612. fi
  8613. done
  8614. if ${ac_cv_search_clock_gettime+:} false; then :
  8615. else
  8616. ac_cv_search_clock_gettime=no
  8617. fi
  8618. rm conftest.$ac_ext
  8619. LIBS=$ac_func_search_save_LIBS
  8620. fi
  8621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  8622. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  8623. ac_res=$ac_cv_search_clock_gettime
  8624. if test "$ac_res" != no; then :
  8625. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  8626. RTLIB=$LIBS
  8627. fi
  8628. for ac_func in clock_gettime
  8629. do :
  8630. ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
  8631. if test "x$ac_cv_func_clock_gettime" = xyes; then :
  8632. cat >>confdefs.h <<_ACEOF
  8633. @%:@define HAVE_CLOCK_GETTIME 1
  8634. _ACEOF
  8635. fi
  8636. done
  8637. LIBS=$saved_LIBS
  8638. fi
  8639. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8640. AM_CONDITIONAL(USE_WINDOWS, test "x$windows" = xtrue)
  8641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working __attribute__((packed))" >&5
  8642. $as_echo_n "checking for working __attribute__((packed))... " >&6; }
  8643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8644. /* end confdefs.h. */
  8645. int
  8646. main ()
  8647. {
  8648. struct test { char a; short b; } __attribute__((packed));
  8649. char x[sizeof(struct test) == sizeof(char) + sizeof(short) ? 1 : -1]
  8650. __attribute__((unused));
  8651. return 0;
  8652. ;
  8653. return 0;
  8654. }
  8655. _ACEOF
  8656. if ac_fn_c_try_compile "$LINENO"; then :
  8657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8658. $as_echo "yes" >&6; }
  8659. else
  8660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8661. $as_echo "no" >&6; }; as_fn_error $? "__attribute__((packed)) does not work" "$LINENO" 5
  8662. fi
  8663. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking clang" >&5
  8665. $as_echo_n "checking clang... " >&6; }
  8666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8667. /* end confdefs.h. */
  8668. int
  8669. main ()
  8670. {
  8671. #ifndef __clang__
  8672. # error not using LLVM clang
  8673. #endif
  8674. ;
  8675. return 0;
  8676. }
  8677. _ACEOF
  8678. if ac_fn_c_try_compile "$LINENO"; then :
  8679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8680. $as_echo "yes" >&6; }
  8681. else
  8682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8683. $as_echo "no" >&6; }
  8684. # GCC, but not MinGW requires -rdynamic for plugins
  8685. if test x$windows != xtrue; then
  8686. PLUGIN_CFLAGS="$PLUGIN_CFLAGS -rdynamic"
  8687. fi
  8688. fi
  8689. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking x86/x64 target" >&5
  8691. $as_echo_n "checking x86/x64 target... " >&6; }
  8692. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8693. /* end confdefs.h. */
  8694. int
  8695. main ()
  8696. {
  8697. #if !defined(__i386__) && !defined(__x86_64__)
  8698. # error not on x86/x64
  8699. #endif
  8700. ;
  8701. return 0;
  8702. }
  8703. _ACEOF
  8704. if ac_fn_c_try_compile "$LINENO"; then :
  8705. x86x64=true
  8706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8707. $as_echo "yes" >&6; }
  8708. else
  8709. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8710. $as_echo "no" >&6; }
  8711. fi
  8712. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8713. AM_CONDITIONAL(USE_X86X64, test "x$x86x64" = xtrue)
  8714. if test x$printf_hooks = xvstr; then
  8715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vstr_init in -lvstr" >&5
  8716. $as_echo_n "checking for vstr_init in -lvstr... " >&6; }
  8717. if ${ac_cv_lib_vstr_vstr_init+:} false; then :
  8718. $as_echo_n "(cached) " >&6
  8719. else
  8720. ac_check_lib_save_LIBS=$LIBS
  8721. LIBS="-lvstr $LIBS"
  8722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8723. /* end confdefs.h. */
  8724. /* Override any GCC internal prototype to avoid an error.
  8725. Use char because int might match the return type of a GCC
  8726. builtin and then its argument prototype would still apply. */
  8727. #ifdef __cplusplus
  8728. extern "C"
  8729. #endif
  8730. char vstr_init ();
  8731. int
  8732. main ()
  8733. {
  8734. return vstr_init ();
  8735. ;
  8736. return 0;
  8737. }
  8738. _ACEOF
  8739. if ac_fn_c_try_link "$LINENO"; then :
  8740. ac_cv_lib_vstr_vstr_init=yes
  8741. else
  8742. ac_cv_lib_vstr_vstr_init=no
  8743. fi
  8744. rm -f core conftest.err conftest.$ac_objext \
  8745. conftest$ac_exeext conftest.$ac_ext
  8746. LIBS=$ac_check_lib_save_LIBS
  8747. fi
  8748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vstr_vstr_init" >&5
  8749. $as_echo "$ac_cv_lib_vstr_vstr_init" >&6; }
  8750. if test "x$ac_cv_lib_vstr_vstr_init" = xyes; then :
  8751. LIBS="$LIBS"
  8752. else
  8753. as_fn_error $? "Vstr string library not found" "$LINENO" 5
  8754. fi
  8755. $as_echo "@%:@define USE_VSTR /**/" >>confdefs.h
  8756. fi
  8757. if test x$printf_hooks = xbuiltin; then
  8758. $as_echo "@%:@define USE_BUILTIN_PRINTF /**/" >>confdefs.h
  8759. fi
  8760. if test x$gmp = xtrue; then
  8761. saved_LIBS=$LIBS
  8762. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
  8763. $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
  8764. if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
  8765. $as_echo_n "(cached) " >&6
  8766. else
  8767. ac_check_lib_save_LIBS=$LIBS
  8768. LIBS="-lgmp $LIBS"
  8769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8770. /* end confdefs.h. */
  8771. /* Override any GCC internal prototype to avoid an error.
  8772. Use char because int might match the return type of a GCC
  8773. builtin and then its argument prototype would still apply. */
  8774. #ifdef __cplusplus
  8775. extern "C"
  8776. #endif
  8777. char __gmpz_init ();
  8778. int
  8779. main ()
  8780. {
  8781. return __gmpz_init ();
  8782. ;
  8783. return 0;
  8784. }
  8785. _ACEOF
  8786. if ac_fn_c_try_link "$LINENO"; then :
  8787. ac_cv_lib_gmp___gmpz_init=yes
  8788. else
  8789. ac_cv_lib_gmp___gmpz_init=no
  8790. fi
  8791. rm -f core conftest.err conftest.$ac_objext \
  8792. conftest$ac_exeext conftest.$ac_ext
  8793. LIBS=$ac_check_lib_save_LIBS
  8794. fi
  8795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
  8796. $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
  8797. if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
  8798. cat >>confdefs.h <<_ACEOF
  8799. @%:@define HAVE_LIBGMP 1
  8800. _ACEOF
  8801. LIBS="-lgmp $LIBS"
  8802. else
  8803. as_fn_error $? "GNU Multi Precision library gmp not found" "$LINENO" 5
  8804. fi
  8805. { $as_echo "$as_me:${as_lineno-$LINENO}: checking mpz_powm_sec" >&5
  8806. $as_echo_n "checking mpz_powm_sec... " >&6; }
  8807. if test x$mpz_powm_sec = xyes; then
  8808. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8809. /* end confdefs.h. */
  8810. #include "gmp.h"
  8811. int
  8812. main ()
  8813. {
  8814. void *x __attribute__((unused)); x = mpz_powm_sec;
  8815. ;
  8816. return 0;
  8817. }
  8818. _ACEOF
  8819. if ac_fn_c_try_compile "$LINENO"; then :
  8820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8821. $as_echo "yes" >&6; };
  8822. $as_echo "@%:@define HAVE_MPZ_POWM_SEC /**/" >>confdefs.h
  8823. else
  8824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8825. $as_echo "no" >&6; }
  8826. fi
  8827. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8828. else
  8829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
  8830. $as_echo "disabled" >&6; }
  8831. fi
  8832. LIBS=$saved_LIBS
  8833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gmp.h version >= 4.1.4" >&5
  8834. $as_echo_n "checking gmp.h version >= 4.1.4... " >&6; }
  8835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8836. /* end confdefs.h. */
  8837. #include "gmp.h"
  8838. int
  8839. main ()
  8840. {
  8841. #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
  8842. #error bad gmp
  8843. #endif
  8844. ;
  8845. return 0;
  8846. }
  8847. _ACEOF
  8848. if ac_fn_c_try_compile "$LINENO"; then :
  8849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8850. $as_echo "yes" >&6; }
  8851. else
  8852. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8853. $as_echo "no" >&6; }; as_fn_error $? "No usable gmp.h found!" "$LINENO" 5
  8854. fi
  8855. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8856. fi
  8857. if test x$ldap = xtrue; then
  8858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
  8859. $as_echo_n "checking for ldap_init in -lldap... " >&6; }
  8860. if ${ac_cv_lib_ldap_ldap_init+:} false; then :
  8861. $as_echo_n "(cached) " >&6
  8862. else
  8863. ac_check_lib_save_LIBS=$LIBS
  8864. LIBS="-lldap $LIBS"
  8865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8866. /* end confdefs.h. */
  8867. /* Override any GCC internal prototype to avoid an error.
  8868. Use char because int might match the return type of a GCC
  8869. builtin and then its argument prototype would still apply. */
  8870. #ifdef __cplusplus
  8871. extern "C"
  8872. #endif
  8873. char ldap_init ();
  8874. int
  8875. main ()
  8876. {
  8877. return ldap_init ();
  8878. ;
  8879. return 0;
  8880. }
  8881. _ACEOF
  8882. if ac_fn_c_try_link "$LINENO"; then :
  8883. ac_cv_lib_ldap_ldap_init=yes
  8884. else
  8885. ac_cv_lib_ldap_ldap_init=no
  8886. fi
  8887. rm -f core conftest.err conftest.$ac_objext \
  8888. conftest$ac_exeext conftest.$ac_ext
  8889. LIBS=$ac_check_lib_save_LIBS
  8890. fi
  8891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
  8892. $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
  8893. if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then :
  8894. LIBS="$LIBS"
  8895. else
  8896. as_fn_error $? "LDAP library ldap not found" "$LINENO" 5
  8897. fi
  8898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
  8899. $as_echo_n "checking for ber_free in -llber... " >&6; }
  8900. if ${ac_cv_lib_lber_ber_free+:} false; then :
  8901. $as_echo_n "(cached) " >&6
  8902. else
  8903. ac_check_lib_save_LIBS=$LIBS
  8904. LIBS="-llber $LIBS"
  8905. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8906. /* end confdefs.h. */
  8907. /* Override any GCC internal prototype to avoid an error.
  8908. Use char because int might match the return type of a GCC
  8909. builtin and then its argument prototype would still apply. */
  8910. #ifdef __cplusplus
  8911. extern "C"
  8912. #endif
  8913. char ber_free ();
  8914. int
  8915. main ()
  8916. {
  8917. return ber_free ();
  8918. ;
  8919. return 0;
  8920. }
  8921. _ACEOF
  8922. if ac_fn_c_try_link "$LINENO"; then :
  8923. ac_cv_lib_lber_ber_free=yes
  8924. else
  8925. ac_cv_lib_lber_ber_free=no
  8926. fi
  8927. rm -f core conftest.err conftest.$ac_objext \
  8928. conftest$ac_exeext conftest.$ac_ext
  8929. LIBS=$ac_check_lib_save_LIBS
  8930. fi
  8931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
  8932. $as_echo "$ac_cv_lib_lber_ber_free" >&6; }
  8933. if test "x$ac_cv_lib_lber_ber_free" = xyes; then :
  8934. LIBS="$LIBS"
  8935. else
  8936. as_fn_error $? "LDAP library lber not found" "$LINENO" 5
  8937. fi
  8938. ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
  8939. if test "x$ac_cv_header_ldap_h" = xyes; then :
  8940. else
  8941. as_fn_error $? "LDAP header ldap.h not found!" "$LINENO" 5
  8942. fi
  8943. fi
  8944. if test x$curl = xtrue; then
  8945. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
  8946. $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
  8947. if ${ac_cv_lib_curl_curl_global_init+:} false; then :
  8948. $as_echo_n "(cached) " >&6
  8949. else
  8950. ac_check_lib_save_LIBS=$LIBS
  8951. LIBS="-lcurl $LIBS"
  8952. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8953. /* end confdefs.h. */
  8954. /* Override any GCC internal prototype to avoid an error.
  8955. Use char because int might match the return type of a GCC
  8956. builtin and then its argument prototype would still apply. */
  8957. #ifdef __cplusplus
  8958. extern "C"
  8959. #endif
  8960. char curl_global_init ();
  8961. int
  8962. main ()
  8963. {
  8964. return curl_global_init ();
  8965. ;
  8966. return 0;
  8967. }
  8968. _ACEOF
  8969. if ac_fn_c_try_link "$LINENO"; then :
  8970. ac_cv_lib_curl_curl_global_init=yes
  8971. else
  8972. ac_cv_lib_curl_curl_global_init=no
  8973. fi
  8974. rm -f core conftest.err conftest.$ac_objext \
  8975. conftest$ac_exeext conftest.$ac_ext
  8976. LIBS=$ac_check_lib_save_LIBS
  8977. fi
  8978. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
  8979. $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
  8980. if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
  8981. LIBS="$LIBS"
  8982. else
  8983. as_fn_error $? "CURL library curl not found" "$LINENO" 5
  8984. fi
  8985. ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
  8986. if test "x$ac_cv_header_curl_curl_h" = xyes; then :
  8987. else
  8988. as_fn_error $? "CURL header curl/curl.h not found!" "$LINENO" 5
  8989. fi
  8990. fi
  8991. if test x$unbound = xtrue; then
  8992. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_rr_get_type in -lldns" >&5
  8993. $as_echo_n "checking for ldns_rr_get_type in -lldns... " >&6; }
  8994. if ${ac_cv_lib_ldns_ldns_rr_get_type+:} false; then :
  8995. $as_echo_n "(cached) " >&6
  8996. else
  8997. ac_check_lib_save_LIBS=$LIBS
  8998. LIBS="-lldns $LIBS"
  8999. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9000. /* end confdefs.h. */
  9001. /* Override any GCC internal prototype to avoid an error.
  9002. Use char because int might match the return type of a GCC
  9003. builtin and then its argument prototype would still apply. */
  9004. #ifdef __cplusplus
  9005. extern "C"
  9006. #endif
  9007. char ldns_rr_get_type ();
  9008. int
  9009. main ()
  9010. {
  9011. return ldns_rr_get_type ();
  9012. ;
  9013. return 0;
  9014. }
  9015. _ACEOF
  9016. if ac_fn_c_try_link "$LINENO"; then :
  9017. ac_cv_lib_ldns_ldns_rr_get_type=yes
  9018. else
  9019. ac_cv_lib_ldns_ldns_rr_get_type=no
  9020. fi
  9021. rm -f core conftest.err conftest.$ac_objext \
  9022. conftest$ac_exeext conftest.$ac_ext
  9023. LIBS=$ac_check_lib_save_LIBS
  9024. fi
  9025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_rr_get_type" >&5
  9026. $as_echo "$ac_cv_lib_ldns_ldns_rr_get_type" >&6; }
  9027. if test "x$ac_cv_lib_ldns_ldns_rr_get_type" = xyes; then :
  9028. LIBS="$LIBS"
  9029. else
  9030. as_fn_error $? "UNBOUND library ldns not found" "$LINENO" 5
  9031. fi
  9032. ac_fn_c_check_header_mongrel "$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "$ac_includes_default"
  9033. if test "x$ac_cv_header_ldns_ldns_h" = xyes; then :
  9034. else
  9035. as_fn_error $? "UNBOUND header ldns/ldns.h not found!" "$LINENO" 5
  9036. fi
  9037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound" >&5
  9038. $as_echo_n "checking for ub_ctx_create in -lunbound... " >&6; }
  9039. if ${ac_cv_lib_unbound_ub_ctx_create+:} false; then :
  9040. $as_echo_n "(cached) " >&6
  9041. else
  9042. ac_check_lib_save_LIBS=$LIBS
  9043. LIBS="-lunbound $LIBS"
  9044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9045. /* end confdefs.h. */
  9046. /* Override any GCC internal prototype to avoid an error.
  9047. Use char because int might match the return type of a GCC
  9048. builtin and then its argument prototype would still apply. */
  9049. #ifdef __cplusplus
  9050. extern "C"
  9051. #endif
  9052. char ub_ctx_create ();
  9053. int
  9054. main ()
  9055. {
  9056. return ub_ctx_create ();
  9057. ;
  9058. return 0;
  9059. }
  9060. _ACEOF
  9061. if ac_fn_c_try_link "$LINENO"; then :
  9062. ac_cv_lib_unbound_ub_ctx_create=yes
  9063. else
  9064. ac_cv_lib_unbound_ub_ctx_create=no
  9065. fi
  9066. rm -f core conftest.err conftest.$ac_objext \
  9067. conftest$ac_exeext conftest.$ac_ext
  9068. LIBS=$ac_check_lib_save_LIBS
  9069. fi
  9070. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unbound_ub_ctx_create" >&5
  9071. $as_echo "$ac_cv_lib_unbound_ub_ctx_create" >&6; }
  9072. if test "x$ac_cv_lib_unbound_ub_ctx_create" = xyes; then :
  9073. LIBS="$LIBS"
  9074. else
  9075. as_fn_error $? "UNBOUND library libunbound not found" "$LINENO" 5
  9076. fi
  9077. ac_fn_c_check_header_mongrel "$LINENO" "unbound.h" "ac_cv_header_unbound_h" "$ac_includes_default"
  9078. if test "x$ac_cv_header_unbound_h" = xyes; then :
  9079. else
  9080. as_fn_error $? "UNBOUND header unbound.h not found!" "$LINENO" 5
  9081. fi
  9082. fi
  9083. if test x$soup = xtrue; then
  9084. PKG_CHECK_MODULES(soup, libsoup-2.4)
  9085. fi
  9086. if test x$xml = xtrue; then
  9087. PKG_CHECK_MODULES(xml, libxml-2.0)
  9088. fi
  9089. if test x$systemd = xtrue; then
  9090. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit directory" >&5
  9091. $as_echo_n "checking for systemd system unit directory... " >&6; }
  9092. if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
  9093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $systemdsystemunitdir" >&5
  9094. $as_echo "$systemdsystemunitdir" >&6; }
  9095. else
  9096. as_fn_error $? "not found (try --with-systemdsystemunitdir)" "$LINENO" 5
  9097. fi
  9098. PKG_CHECK_MODULES(systemd, libsystemd >= 209,
  9099. AC_SUBST(systemd_CFLAGS)
  9100. AC_SUBST(systemd_LIBS),
  9101. PKG_CHECK_MODULES(systemd_daemon, [libsystemd-daemon])
  9102. AC_SUBST(systemd_daemon_CFLAGS)
  9103. AC_SUBST(systemd_daemon_LIBS)
  9104. PKG_CHECK_MODULES(systemd_journal, [libsystemd-journal])
  9105. AC_SUBST(systemd_journal_CFLAGS)
  9106. AC_SUBST(systemd_journal_LIBS)
  9107. )
  9108. saved_LIBS=$LIBS
  9109. LIBS="$systemd_LIBS $systemd_daemon_LIBS"
  9110. for ac_func in sd_listen_fds_with_names
  9111. do :
  9112. ac_fn_c_check_func "$LINENO" "sd_listen_fds_with_names" "ac_cv_func_sd_listen_fds_with_names"
  9113. if test "x$ac_cv_func_sd_listen_fds_with_names" = xyes; then :
  9114. cat >>confdefs.h <<_ACEOF
  9115. @%:@define HAVE_SD_LISTEN_FDS_WITH_NAMES 1
  9116. _ACEOF
  9117. fi
  9118. done
  9119. LIBS=$saved_LIBS
  9120. fi
  9121. if test x$tss_trousers = xtrue; then
  9122. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
  9123. $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
  9124. if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
  9125. $as_echo_n "(cached) " >&6
  9126. else
  9127. ac_check_lib_save_LIBS=$LIBS
  9128. LIBS="-ltspi $LIBS"
  9129. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9130. /* end confdefs.h. */
  9131. /* Override any GCC internal prototype to avoid an error.
  9132. Use char because int might match the return type of a GCC
  9133. builtin and then its argument prototype would still apply. */
  9134. #ifdef __cplusplus
  9135. extern "C"
  9136. #endif
  9137. char Tspi_Context_Create ();
  9138. int
  9139. main ()
  9140. {
  9141. return Tspi_Context_Create ();
  9142. ;
  9143. return 0;
  9144. }
  9145. _ACEOF
  9146. if ac_fn_c_try_link "$LINENO"; then :
  9147. ac_cv_lib_tspi_Tspi_Context_Create=yes
  9148. else
  9149. ac_cv_lib_tspi_Tspi_Context_Create=no
  9150. fi
  9151. rm -f core conftest.err conftest.$ac_objext \
  9152. conftest$ac_exeext conftest.$ac_ext
  9153. LIBS=$ac_check_lib_save_LIBS
  9154. fi
  9155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
  9156. $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
  9157. if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
  9158. LIBS="$LIBS"
  9159. else
  9160. as_fn_error $? "TrouSerS library libtspi not found" "$LINENO" 5
  9161. fi
  9162. ac_fn_c_check_header_mongrel "$LINENO" "trousers/tss.h" "ac_cv_header_trousers_tss_h" "$ac_includes_default"
  9163. if test "x$ac_cv_header_trousers_tss_h" = xyes; then :
  9164. else
  9165. as_fn_error $? "TrouSerS header trousers/tss.h not found!" "$LINENO" 5
  9166. fi
  9167. $as_echo "@%:@define TSS_TROUSERS /**/" >>confdefs.h
  9168. fi
  9169. if test x$tss_tss2 = xtrue; then
  9170. PKG_CHECK_MODULES(tss2_sys, tss2-sys,
  9171. tss2_sys=true; AC_DEFINE([TSS2_SYS], [], [use TSS2 v2 System API]),
  9172. tss2_sys=false)
  9173. PKG_CHECK_MODULES(tss2_esys, tss2-esys,
  9174. tss2_esys=true; AC_DEFINE([TSS2_ESYS], [], [use TSS2 v2 Extended System API]),
  9175. tss2_esys=false)
  9176. PKG_CHECK_MODULES(tss2_tabrmd, tcti-tabrmd,
  9177. tss2_tabrmd=true; AC_DEFINE([TSS2_TCTI_TABRMD], [], [use TCTI Access Broker and Resource Mamager]),
  9178. tss2_tabrmd=false)
  9179. PKG_CHECK_MODULES(tss2_socket, tcti-socket,
  9180. tss2_socket=true; AC_DEFINE([TSS2_TCTI_SOCKET], [], [use TCTI Sockets]),
  9181. tss2_socket=false)
  9182. if test x$tss2_sys = xtrue; then
  9183. $as_echo "@%:@define TSS_TSS2_V2 /**/" >>confdefs.h
  9184. tss2_CFLAGS="$tss2_sys_CFLAGS"
  9185. tss2_LIBS="$tss2_sys_LIBS"
  9186. elif test x$tss2_tabrmd = xtrue -o x$tss2_socket = xtrue; then
  9187. $as_echo "@%:@define TSS_TSS2_V1 /**/" >>confdefs.h
  9188. tss2_CFLAGS="$tss2_tabrmd_CFLAGS $tss2_socket_CFLAGS"
  9189. tss2_LIBS="$tss2_tabrmd_LIBS $tss2_socket_LIBS"
  9190. else
  9191. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  9192. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  9193. as_fn_error $? "no TSS2 TCTI or SAPI libraries detected
  9194. See \`config.log' for more details" "$LINENO" 5; }
  9195. fi
  9196. fi
  9197. if test x$imc_swima = xtrue -o $imv_swima = xtrue; then
  9198. PKG_CHECK_MODULES(json, json-c, ,
  9199. PKG_CHECK_MODULES(json, [json]))
  9200. fi
  9201. if test x$fast = xtrue; then
  9202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf_init in -lneo_utl" >&5
  9203. $as_echo_n "checking for hdf_init in -lneo_utl... " >&6; }
  9204. if ${ac_cv_lib_neo_utl_hdf_init+:} false; then :
  9205. $as_echo_n "(cached) " >&6
  9206. else
  9207. ac_check_lib_save_LIBS=$LIBS
  9208. LIBS="-lneo_utl $LIBS"
  9209. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9210. /* end confdefs.h. */
  9211. /* Override any GCC internal prototype to avoid an error.
  9212. Use char because int might match the return type of a GCC
  9213. builtin and then its argument prototype would still apply. */
  9214. #ifdef __cplusplus
  9215. extern "C"
  9216. #endif
  9217. char hdf_init ();
  9218. int
  9219. main ()
  9220. {
  9221. return hdf_init ();
  9222. ;
  9223. return 0;
  9224. }
  9225. _ACEOF
  9226. if ac_fn_c_try_link "$LINENO"; then :
  9227. ac_cv_lib_neo_utl_hdf_init=yes
  9228. else
  9229. ac_cv_lib_neo_utl_hdf_init=no
  9230. fi
  9231. rm -f core conftest.err conftest.$ac_objext \
  9232. conftest$ac_exeext conftest.$ac_ext
  9233. LIBS=$ac_check_lib_save_LIBS
  9234. fi
  9235. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_neo_utl_hdf_init" >&5
  9236. $as_echo "$ac_cv_lib_neo_utl_hdf_init" >&6; }
  9237. if test "x$ac_cv_lib_neo_utl_hdf_init" = xyes; then :
  9238. LIBS="$LIBS"
  9239. else
  9240. as_fn_error $? "ClearSilver library neo_utl not found!" "$LINENO" 5
  9241. fi
  9242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lneo_cgi and dependencies" >&5
  9243. $as_echo_n "checking for -lneo_cgi and dependencies... " >&6; }
  9244. saved_CFLAGS=$CFLAGS
  9245. saved_LIBS=$LIBS
  9246. LIBS="-lneo_cgi -lneo_cs -lneo_utl"
  9247. CFLAGS="-I/usr/include/ClearSilver"
  9248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9249. /* end confdefs.h. */
  9250. #include <cgi/cgi.h>
  9251. int
  9252. main ()
  9253. {
  9254. NEOERR *err = cgi_display(NULL, NULL);
  9255. ;
  9256. return 0;
  9257. }
  9258. _ACEOF
  9259. if ac_fn_c_try_link "$LINENO"; then :
  9260. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9261. $as_echo "yes" >&6; }
  9262. else
  9263. LIBS="$LIBS -lz";
  9264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9265. /* end confdefs.h. */
  9266. #include <cgi/cgi.h>
  9267. int
  9268. main ()
  9269. {
  9270. NEOERR *err = cgi_display(NULL, NULL);
  9271. ;
  9272. return 0;
  9273. }
  9274. _ACEOF
  9275. if ac_fn_c_try_link "$LINENO"; then :
  9276. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, zlib required" >&5
  9277. $as_echo "yes, zlib required" >&6; }
  9278. else
  9279. as_fn_error $? "not found" "$LINENO" 5
  9280. fi
  9281. rm -f core conftest.err conftest.$ac_objext \
  9282. conftest$ac_exeext conftest.$ac_ext
  9283. fi
  9284. rm -f core conftest.err conftest.$ac_objext \
  9285. conftest$ac_exeext conftest.$ac_ext
  9286. clearsilver_LIBS="$LIBS"
  9287. LIBS=$saved_LIBS
  9288. CFLAGS=$saved_CFLAGS
  9289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGX_Init in -lfcgi" >&5
  9290. $as_echo_n "checking for FCGX_Init in -lfcgi... " >&6; }
  9291. if ${ac_cv_lib_fcgi_FCGX_Init+:} false; then :
  9292. $as_echo_n "(cached) " >&6
  9293. else
  9294. ac_check_lib_save_LIBS=$LIBS
  9295. LIBS="-lfcgi $LIBS"
  9296. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9297. /* end confdefs.h. */
  9298. /* Override any GCC internal prototype to avoid an error.
  9299. Use char because int might match the return type of a GCC
  9300. builtin and then its argument prototype would still apply. */
  9301. #ifdef __cplusplus
  9302. extern "C"
  9303. #endif
  9304. char FCGX_Init ();
  9305. int
  9306. main ()
  9307. {
  9308. return FCGX_Init ();
  9309. ;
  9310. return 0;
  9311. }
  9312. _ACEOF
  9313. if ac_fn_c_try_link "$LINENO"; then :
  9314. ac_cv_lib_fcgi_FCGX_Init=yes
  9315. else
  9316. ac_cv_lib_fcgi_FCGX_Init=no
  9317. fi
  9318. rm -f core conftest.err conftest.$ac_objext \
  9319. conftest$ac_exeext conftest.$ac_ext
  9320. LIBS=$ac_check_lib_save_LIBS
  9321. fi
  9322. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGX_Init" >&5
  9323. $as_echo "$ac_cv_lib_fcgi_FCGX_Init" >&6; }
  9324. if test "x$ac_cv_lib_fcgi_FCGX_Init" = xyes; then :
  9325. LIBS="$LIBS"
  9326. else
  9327. as_fn_error $? "FastCGI library fcgi not found!" "$LINENO" 5
  9328. fi
  9329. ac_fn_c_check_header_mongrel "$LINENO" "fcgiapp.h" "ac_cv_header_fcgiapp_h" "$ac_includes_default"
  9330. if test "x$ac_cv_header_fcgiapp_h" = xyes; then :
  9331. else
  9332. as_fn_error $? "FastCGI header file fcgiapp.h not found!" "$LINENO" 5
  9333. fi
  9334. fi
  9335. if test x$mysql = xtrue; then
  9336. if test "x$windows" = xtrue; then
  9337. ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
  9338. if test "x$ac_cv_header_mysql_h" = xyes; then :
  9339. else
  9340. as_fn_error $? "MySQL header file mysql.h not found!" "$LINENO" 5
  9341. fi
  9342. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_database_init in -lmysql" >&5
  9343. $as_echo_n "checking for mysql_database_init in -lmysql... " >&6; }
  9344. if ${ac_cv_lib_mysql_mysql_database_init+:} false; then :
  9345. $as_echo_n "(cached) " >&6
  9346. else
  9347. ac_check_lib_save_LIBS=$LIBS
  9348. LIBS="-lmysql $LIBS"
  9349. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9350. /* end confdefs.h. */
  9351. /* Override any GCC internal prototype to avoid an error.
  9352. Use char because int might match the return type of a GCC
  9353. builtin and then its argument prototype would still apply. */
  9354. #ifdef __cplusplus
  9355. extern "C"
  9356. #endif
  9357. char mysql_database_init ();
  9358. int
  9359. main ()
  9360. {
  9361. return mysql_database_init ();
  9362. ;
  9363. return 0;
  9364. }
  9365. _ACEOF
  9366. if ac_fn_c_try_link "$LINENO"; then :
  9367. ac_cv_lib_mysql_mysql_database_init=yes
  9368. else
  9369. ac_cv_lib_mysql_mysql_database_init=no
  9370. fi
  9371. rm -f core conftest.err conftest.$ac_objext \
  9372. conftest$ac_exeext conftest.$ac_ext
  9373. LIBS=$ac_check_lib_save_LIBS
  9374. fi
  9375. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysql_mysql_database_init" >&5
  9376. $as_echo "$ac_cv_lib_mysql_mysql_database_init" >&6; }
  9377. if test "x$ac_cv_lib_mysql_mysql_database_init" = xyes; then :
  9378. LIBS="$LIBS"
  9379. else
  9380. as_fn_error $? "MySQL library not found!" "$LINENO" 5
  9381. fi
  9382. MYSQLLIB=-lmysql
  9383. else
  9384. # Extract the first word of "mysql_config", so it can be a program name with args.
  9385. set dummy mysql_config; ac_word=$2
  9386. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9387. $as_echo_n "checking for $ac_word... " >&6; }
  9388. if ${ac_cv_path_MYSQLCONFIG+:} false; then :
  9389. $as_echo_n "(cached) " >&6
  9390. else
  9391. case $MYSQLCONFIG in
  9392. [\\/]* | ?:[\\/]*)
  9393. ac_cv_path_MYSQLCONFIG="$MYSQLCONFIG" # Let the user override the test with a path.
  9394. ;;
  9395. *)
  9396. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9397. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  9398. for as_dir in $as_dummy
  9399. do
  9400. IFS=$as_save_IFS
  9401. test -z "$as_dir" && as_dir=.
  9402. for ac_exec_ext in '' $ac_executable_extensions; do
  9403. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9404. ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
  9405. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9406. break 2
  9407. fi
  9408. done
  9409. done
  9410. IFS=$as_save_IFS
  9411. ;;
  9412. esac
  9413. fi
  9414. MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
  9415. if test -n "$MYSQLCONFIG"; then
  9416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQLCONFIG" >&5
  9417. $as_echo "$MYSQLCONFIG" >&6; }
  9418. else
  9419. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9420. $as_echo "no" >&6; }
  9421. fi
  9422. if test x$MYSQLCONFIG = x; then
  9423. as_fn_error $? "mysql_config not found!" "$LINENO" 5
  9424. fi
  9425. MYSQLLIB=`$MYSQLCONFIG --libs_r`
  9426. MYSQLCFLAG=`$MYSQLCONFIG --cflags`
  9427. fi
  9428. fi
  9429. if test x$sqlite = xtrue; then
  9430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
  9431. $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
  9432. if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
  9433. $as_echo_n "(cached) " >&6
  9434. else
  9435. ac_check_lib_save_LIBS=$LIBS
  9436. LIBS="-lsqlite3 $LIBS"
  9437. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9438. /* end confdefs.h. */
  9439. /* Override any GCC internal prototype to avoid an error.
  9440. Use char because int might match the return type of a GCC
  9441. builtin and then its argument prototype would still apply. */
  9442. #ifdef __cplusplus
  9443. extern "C"
  9444. #endif
  9445. char sqlite3_open ();
  9446. int
  9447. main ()
  9448. {
  9449. return sqlite3_open ();
  9450. ;
  9451. return 0;
  9452. }
  9453. _ACEOF
  9454. if ac_fn_c_try_link "$LINENO"; then :
  9455. ac_cv_lib_sqlite3_sqlite3_open=yes
  9456. else
  9457. ac_cv_lib_sqlite3_sqlite3_open=no
  9458. fi
  9459. rm -f core conftest.err conftest.$ac_objext \
  9460. conftest$ac_exeext conftest.$ac_ext
  9461. LIBS=$ac_check_lib_save_LIBS
  9462. fi
  9463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
  9464. $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
  9465. if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
  9466. LIBS="$LIBS"
  9467. else
  9468. as_fn_error $? "SQLite library sqlite3 not found" "$LINENO" 5
  9469. fi
  9470. ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
  9471. if test "x$ac_cv_header_sqlite3_h" = xyes; then :
  9472. else
  9473. as_fn_error $? "SQLite header sqlite3.h not found!" "$LINENO" 5
  9474. fi
  9475. { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3_prepare_v2" >&5
  9476. $as_echo_n "checking sqlite3_prepare_v2... " >&6; }
  9477. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9478. /* end confdefs.h. */
  9479. #include <sqlite3.h>
  9480. int
  9481. main ()
  9482. {
  9483. void *test = sqlite3_prepare_v2;
  9484. ;
  9485. return 0;
  9486. }
  9487. _ACEOF
  9488. if ac_fn_c_try_compile "$LINENO"; then :
  9489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9490. $as_echo "yes" >&6; };
  9491. $as_echo "@%:@define HAVE_SQLITE3_PREPARE_V2 /**/" >>confdefs.h
  9492. else
  9493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9494. $as_echo "no" >&6; }
  9495. fi
  9496. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3.h version >= 3.3.1" >&5
  9498. $as_echo_n "checking sqlite3.h version >= 3.3.1... " >&6; }
  9499. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9500. /* end confdefs.h. */
  9501. #include <sqlite3.h>
  9502. int
  9503. main ()
  9504. {
  9505. #if SQLITE_VERSION_NUMBER < 3003001
  9506. #error bad sqlite
  9507. #endif
  9508. ;
  9509. return 0;
  9510. }
  9511. _ACEOF
  9512. if ac_fn_c_try_compile "$LINENO"; then :
  9513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9514. $as_echo "yes" >&6; }
  9515. else
  9516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9517. $as_echo "no" >&6; }; as_fn_error $? "SQLite version >= 3.3.1 required!" "$LINENO" 5
  9518. fi
  9519. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9520. fi
  9521. if test x$openssl = xtrue; then
  9522. if test "x$windows" = xtrue; then
  9523. openssl_lib=eay32
  9524. as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
  9525. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
  9526. $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
  9527. if eval \${$as_ac_Lib+:} false; then :
  9528. $as_echo_n "(cached) " >&6
  9529. else
  9530. ac_check_lib_save_LIBS=$LIBS
  9531. LIBS="-l$openssl_lib $DLLIB $LIBS"
  9532. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9533. /* end confdefs.h. */
  9534. /* Override any GCC internal prototype to avoid an error.
  9535. Use char because int might match the return type of a GCC
  9536. builtin and then its argument prototype would still apply. */
  9537. #ifdef __cplusplus
  9538. extern "C"
  9539. #endif
  9540. char EVP_CIPHER_CTX_new ();
  9541. int
  9542. main ()
  9543. {
  9544. return EVP_CIPHER_CTX_new ();
  9545. ;
  9546. return 0;
  9547. }
  9548. _ACEOF
  9549. if ac_fn_c_try_link "$LINENO"; then :
  9550. eval "$as_ac_Lib=yes"
  9551. else
  9552. eval "$as_ac_Lib=no"
  9553. fi
  9554. rm -f core conftest.err conftest.$ac_objext \
  9555. conftest$ac_exeext conftest.$ac_ext
  9556. LIBS=$ac_check_lib_save_LIBS
  9557. fi
  9558. eval ac_res=\$$as_ac_Lib
  9559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9560. $as_echo "$ac_res" >&6; }
  9561. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  9562. LIBS="$LIBS"
  9563. else
  9564. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9565. $as_echo "no" >&6; };openssl_lib=""
  9566. fi
  9567. fi
  9568. if test -z "$openssl_lib"; then
  9569. openssl_lib=crypto
  9570. as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
  9571. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
  9572. $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
  9573. if eval \${$as_ac_Lib+:} false; then :
  9574. $as_echo_n "(cached) " >&6
  9575. else
  9576. ac_check_lib_save_LIBS=$LIBS
  9577. LIBS="-l$openssl_lib $DLLIB $LIBS"
  9578. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9579. /* end confdefs.h. */
  9580. /* Override any GCC internal prototype to avoid an error.
  9581. Use char because int might match the return type of a GCC
  9582. builtin and then its argument prototype would still apply. */
  9583. #ifdef __cplusplus
  9584. extern "C"
  9585. #endif
  9586. char EVP_CIPHER_CTX_new ();
  9587. int
  9588. main ()
  9589. {
  9590. return EVP_CIPHER_CTX_new ();
  9591. ;
  9592. return 0;
  9593. }
  9594. _ACEOF
  9595. if ac_fn_c_try_link "$LINENO"; then :
  9596. eval "$as_ac_Lib=yes"
  9597. else
  9598. eval "$as_ac_Lib=no"
  9599. fi
  9600. rm -f core conftest.err conftest.$ac_objext \
  9601. conftest$ac_exeext conftest.$ac_ext
  9602. LIBS=$ac_check_lib_save_LIBS
  9603. fi
  9604. eval ac_res=\$$as_ac_Lib
  9605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9606. $as_echo "$ac_res" >&6; }
  9607. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  9608. LIBS="$LIBS"
  9609. else
  9610. as_fn_error $? "OpenSSL lib$openssl_lib not found" "$LINENO" 5
  9611. fi
  9612. fi
  9613. OPENSSL_LIB=-l$openssl_lib
  9614. ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
  9615. if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
  9616. else
  9617. as_fn_error $? "OpenSSL header openssl/evp.h not found!" "$LINENO" 5
  9618. fi
  9619. fi
  9620. if test x$wolfssl = xtrue; then
  9621. wolfssl_lib=wolfssl
  9622. as_ac_Lib=`$as_echo "ac_cv_lib_$wolfssl_lib''_wolfSSL_Init" | $as_tr_sh`
  9623. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -l$wolfssl_lib" >&5
  9624. $as_echo_n "checking for wolfSSL_Init in -l$wolfssl_lib... " >&6; }
  9625. if eval \${$as_ac_Lib+:} false; then :
  9626. $as_echo_n "(cached) " >&6
  9627. else
  9628. ac_check_lib_save_LIBS=$LIBS
  9629. LIBS="-l$wolfssl_lib $DLLIB $LIBS"
  9630. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9631. /* end confdefs.h. */
  9632. /* Override any GCC internal prototype to avoid an error.
  9633. Use char because int might match the return type of a GCC
  9634. builtin and then its argument prototype would still apply. */
  9635. #ifdef __cplusplus
  9636. extern "C"
  9637. #endif
  9638. char wolfSSL_Init ();
  9639. int
  9640. main ()
  9641. {
  9642. return wolfSSL_Init ();
  9643. ;
  9644. return 0;
  9645. }
  9646. _ACEOF
  9647. if ac_fn_c_try_link "$LINENO"; then :
  9648. eval "$as_ac_Lib=yes"
  9649. else
  9650. eval "$as_ac_Lib=no"
  9651. fi
  9652. rm -f core conftest.err conftest.$ac_objext \
  9653. conftest$ac_exeext conftest.$ac_ext
  9654. LIBS=$ac_check_lib_save_LIBS
  9655. fi
  9656. eval ac_res=\$$as_ac_Lib
  9657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9658. $as_echo "$ac_res" >&6; }
  9659. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  9660. LIBS="$LIBS"
  9661. else
  9662. as_fn_error $? "wolfSSL lib$wolfssl_lib not found" "$LINENO" 5
  9663. fi
  9664. WOLFSSL_LIB=-l$wolfssl_lib
  9665. ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/options.h" "ac_cv_header_wolfssl_options_h" "$ac_includes_default"
  9666. if test "x$ac_cv_header_wolfssl_options_h" = xyes; then :
  9667. else
  9668. as_fn_error $? "wolfSSL header wolfssl/options.h not found!" "$LINENO" 5
  9669. fi
  9670. fi
  9671. if test x$gcrypt = xtrue; then
  9672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
  9673. $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
  9674. if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
  9675. $as_echo_n "(cached) " >&6
  9676. else
  9677. ac_check_lib_save_LIBS=$LIBS
  9678. LIBS="-lgcrypt -lgpg-error $LIBS"
  9679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9680. /* end confdefs.h. */
  9681. /* Override any GCC internal prototype to avoid an error.
  9682. Use char because int might match the return type of a GCC
  9683. builtin and then its argument prototype would still apply. */
  9684. #ifdef __cplusplus
  9685. extern "C"
  9686. #endif
  9687. char gcry_control ();
  9688. int
  9689. main ()
  9690. {
  9691. return gcry_control ();
  9692. ;
  9693. return 0;
  9694. }
  9695. _ACEOF
  9696. if ac_fn_c_try_link "$LINENO"; then :
  9697. ac_cv_lib_gcrypt_gcry_control=yes
  9698. else
  9699. ac_cv_lib_gcrypt_gcry_control=no
  9700. fi
  9701. rm -f core conftest.err conftest.$ac_objext \
  9702. conftest$ac_exeext conftest.$ac_ext
  9703. LIBS=$ac_check_lib_save_LIBS
  9704. fi
  9705. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
  9706. $as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
  9707. if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
  9708. LIBS="$LIBS"
  9709. else
  9710. as_fn_error $? "gcrypt library not found" "$LINENO" 5
  9711. fi
  9712. ac_fn_c_check_header_mongrel "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
  9713. if test "x$ac_cv_header_gcrypt_h" = xyes; then :
  9714. else
  9715. as_fn_error $? "gcrypt header gcrypt.h not found!" "$LINENO" 5
  9716. fi
  9717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcrypt CAMELLIA cipher" >&5
  9718. $as_echo_n "checking gcrypt CAMELLIA cipher... " >&6; }
  9719. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9720. /* end confdefs.h. */
  9721. #include <gcrypt.h>
  9722. int
  9723. main ()
  9724. {
  9725. enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;
  9726. ;
  9727. return 0;
  9728. }
  9729. _ACEOF
  9730. if ac_fn_c_try_compile "$LINENO"; then :
  9731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9732. $as_echo "yes" >&6; };
  9733. $as_echo "@%:@define HAVE_GCRY_CIPHER_CAMELLIA /**/" >>confdefs.h
  9734. else
  9735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9736. $as_echo "no" >&6; }
  9737. fi
  9738. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9739. fi
  9740. if test x$botan = xtrue; then
  9741. PKG_CHECK_MODULES(botan, botan-2)
  9742. fi
  9743. if test x$uci = xtrue; then
  9744. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uci_alloc_context in -luci" >&5
  9745. $as_echo_n "checking for uci_alloc_context in -luci... " >&6; }
  9746. if ${ac_cv_lib_uci_uci_alloc_context+:} false; then :
  9747. $as_echo_n "(cached) " >&6
  9748. else
  9749. ac_check_lib_save_LIBS=$LIBS
  9750. LIBS="-luci $LIBS"
  9751. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9752. /* end confdefs.h. */
  9753. /* Override any GCC internal prototype to avoid an error.
  9754. Use char because int might match the return type of a GCC
  9755. builtin and then its argument prototype would still apply. */
  9756. #ifdef __cplusplus
  9757. extern "C"
  9758. #endif
  9759. char uci_alloc_context ();
  9760. int
  9761. main ()
  9762. {
  9763. return uci_alloc_context ();
  9764. ;
  9765. return 0;
  9766. }
  9767. _ACEOF
  9768. if ac_fn_c_try_link "$LINENO"; then :
  9769. ac_cv_lib_uci_uci_alloc_context=yes
  9770. else
  9771. ac_cv_lib_uci_uci_alloc_context=no
  9772. fi
  9773. rm -f core conftest.err conftest.$ac_objext \
  9774. conftest$ac_exeext conftest.$ac_ext
  9775. LIBS=$ac_check_lib_save_LIBS
  9776. fi
  9777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uci_uci_alloc_context" >&5
  9778. $as_echo "$ac_cv_lib_uci_uci_alloc_context" >&6; }
  9779. if test "x$ac_cv_lib_uci_uci_alloc_context" = xyes; then :
  9780. LIBS="$LIBS"
  9781. else
  9782. as_fn_error $? "UCI library libuci not found" "$LINENO" 5
  9783. fi
  9784. ac_fn_c_check_header_mongrel "$LINENO" "uci.h" "ac_cv_header_uci_h" "$ac_includes_default"
  9785. if test "x$ac_cv_header_uci_h" = xyes; then :
  9786. else
  9787. as_fn_error $? "UCI header uci.h not found!" "$LINENO" 5
  9788. fi
  9789. fi
  9790. if test x$android_dns = xtrue; then
  9791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for property_get in -lcutils" >&5
  9792. $as_echo_n "checking for property_get in -lcutils... " >&6; }
  9793. if ${ac_cv_lib_cutils_property_get+:} false; then :
  9794. $as_echo_n "(cached) " >&6
  9795. else
  9796. ac_check_lib_save_LIBS=$LIBS
  9797. LIBS="-lcutils $LIBS"
  9798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9799. /* end confdefs.h. */
  9800. /* Override any GCC internal prototype to avoid an error.
  9801. Use char because int might match the return type of a GCC
  9802. builtin and then its argument prototype would still apply. */
  9803. #ifdef __cplusplus
  9804. extern "C"
  9805. #endif
  9806. char property_get ();
  9807. int
  9808. main ()
  9809. {
  9810. return property_get ();
  9811. ;
  9812. return 0;
  9813. }
  9814. _ACEOF
  9815. if ac_fn_c_try_link "$LINENO"; then :
  9816. ac_cv_lib_cutils_property_get=yes
  9817. else
  9818. ac_cv_lib_cutils_property_get=no
  9819. fi
  9820. rm -f core conftest.err conftest.$ac_objext \
  9821. conftest$ac_exeext conftest.$ac_ext
  9822. LIBS=$ac_check_lib_save_LIBS
  9823. fi
  9824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cutils_property_get" >&5
  9825. $as_echo "$ac_cv_lib_cutils_property_get" >&6; }
  9826. if test "x$ac_cv_lib_cutils_property_get" = xyes; then :
  9827. LIBS="$LIBS"
  9828. else
  9829. as_fn_error $? "Android library libcutils not found" "$LINENO" 5
  9830. fi
  9831. ac_fn_c_check_header_mongrel "$LINENO" "cutils/properties.h" "ac_cv_header_cutils_properties_h" "$ac_includes_default"
  9832. if test "x$ac_cv_header_cutils_properties_h" = xyes; then :
  9833. else
  9834. as_fn_error $? "Android header cutils/properties.h not found!" "$LINENO" 5
  9835. fi
  9836. # we have to force the use of libdl here because the autodetection
  9837. # above does not work correctly when cross-compiling for android.
  9838. DLLIB="-ldl"
  9839. fi
  9840. if test x$eap_sim_pcsc = xtrue; then
  9841. PKG_CHECK_MODULES(pcsclite, libpcsclite)
  9842. fi
  9843. if test x$nm = xtrue; then
  9844. PKG_CHECK_MODULES(nm, gthread-2.0 libnm)
  9845. fi
  9846. if test x$xauth_pam = xtrue; then
  9847. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
  9848. $as_echo_n "checking for pam_start in -lpam... " >&6; }
  9849. if ${ac_cv_lib_pam_pam_start+:} false; then :
  9850. $as_echo_n "(cached) " >&6
  9851. else
  9852. ac_check_lib_save_LIBS=$LIBS
  9853. LIBS="-lpam $LIBS"
  9854. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9855. /* end confdefs.h. */
  9856. /* Override any GCC internal prototype to avoid an error.
  9857. Use char because int might match the return type of a GCC
  9858. builtin and then its argument prototype would still apply. */
  9859. #ifdef __cplusplus
  9860. extern "C"
  9861. #endif
  9862. char pam_start ();
  9863. int
  9864. main ()
  9865. {
  9866. return pam_start ();
  9867. ;
  9868. return 0;
  9869. }
  9870. _ACEOF
  9871. if ac_fn_c_try_link "$LINENO"; then :
  9872. ac_cv_lib_pam_pam_start=yes
  9873. else
  9874. ac_cv_lib_pam_pam_start=no
  9875. fi
  9876. rm -f core conftest.err conftest.$ac_objext \
  9877. conftest$ac_exeext conftest.$ac_ext
  9878. LIBS=$ac_check_lib_save_LIBS
  9879. fi
  9880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
  9881. $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
  9882. if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
  9883. LIBS="$LIBS"
  9884. else
  9885. as_fn_error $? "PAM library not found" "$LINENO" 5
  9886. fi
  9887. ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
  9888. if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
  9889. else
  9890. as_fn_error $? "PAM header security/pam_appl.h not found!" "$LINENO" 5
  9891. fi
  9892. fi
  9893. if test x$connmark = xtrue -o x$forecast = xtrue; then
  9894. PKG_CHECK_MODULES(libiptc, libiptc)
  9895. fi
  9896. if test x$capabilities = xnative; then
  9897. { $as_echo "$as_me:${as_lineno-$LINENO}: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&5
  9898. $as_echo "$as_me: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&6;}
  9899. # Linux requires the following for capset(), Android does not have it,
  9900. # but defines capset() in unistd.h instead.
  9901. for ac_header in sys/capability.h
  9902. do :
  9903. ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
  9904. if test "x$ac_cv_header_sys_capability_h" = xyes; then :
  9905. cat >>confdefs.h <<_ACEOF
  9906. @%:@define HAVE_SYS_CAPABILITY_H 1
  9907. _ACEOF
  9908. fi
  9909. done
  9910. ac_fn_c_check_func "$LINENO" "capset" "ac_cv_func_capset"
  9911. if test "x$ac_cv_func_capset" = xyes; then :
  9912. else
  9913. as_fn_error $? "capset() not found!" "$LINENO" 5
  9914. fi
  9915. $as_echo "@%:@define CAPABILITIES_NATIVE /**/" >>confdefs.h
  9916. fi
  9917. if test x$capabilities = xlibcap; then
  9918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
  9919. $as_echo_n "checking for cap_init in -lcap... " >&6; }
  9920. if ${ac_cv_lib_cap_cap_init+:} false; then :
  9921. $as_echo_n "(cached) " >&6
  9922. else
  9923. ac_check_lib_save_LIBS=$LIBS
  9924. LIBS="-lcap $LIBS"
  9925. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9926. /* end confdefs.h. */
  9927. /* Override any GCC internal prototype to avoid an error.
  9928. Use char because int might match the return type of a GCC
  9929. builtin and then its argument prototype would still apply. */
  9930. #ifdef __cplusplus
  9931. extern "C"
  9932. #endif
  9933. char cap_init ();
  9934. int
  9935. main ()
  9936. {
  9937. return cap_init ();
  9938. ;
  9939. return 0;
  9940. }
  9941. _ACEOF
  9942. if ac_fn_c_try_link "$LINENO"; then :
  9943. ac_cv_lib_cap_cap_init=yes
  9944. else
  9945. ac_cv_lib_cap_cap_init=no
  9946. fi
  9947. rm -f core conftest.err conftest.$ac_objext \
  9948. conftest$ac_exeext conftest.$ac_ext
  9949. LIBS=$ac_check_lib_save_LIBS
  9950. fi
  9951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
  9952. $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
  9953. if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
  9954. LIBS="$LIBS"
  9955. else
  9956. as_fn_error $? "libcap library not found" "$LINENO" 5
  9957. fi
  9958. ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
  9959. if test "x$ac_cv_header_sys_capability_h" = xyes; then :
  9960. $as_echo "@%:@define HAVE_SYS_CAPABILITY_H /**/" >>confdefs.h
  9961. else
  9962. as_fn_error $? "libcap header sys/capability.h not found!" "$LINENO" 5
  9963. fi
  9964. $as_echo "@%:@define CAPABILITIES_LIBCAP /**/" >>confdefs.h
  9965. fi
  9966. if test x$integrity_test = xtrue; then
  9967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr()" >&5
  9968. $as_echo_n "checking for dladdr()... " >&6; }
  9969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9970. /* end confdefs.h. */
  9971. #define _GNU_SOURCE
  9972. #include <dlfcn.h>
  9973. int
  9974. main ()
  9975. {
  9976. Dl_info info; dladdr(main, &info);
  9977. ;
  9978. return 0;
  9979. }
  9980. _ACEOF
  9981. if ac_fn_c_try_compile "$LINENO"; then :
  9982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9983. $as_echo "yes" >&6; }
  9984. else
  9985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9986. $as_echo "no" >&6; };
  9987. as_fn_error $? "dladdr() not supported, required by integrity-test!" "$LINENO" 5
  9988. fi
  9989. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9990. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl_iterate_phdr()" >&5
  9991. $as_echo_n "checking for dl_iterate_phdr()... " >&6; }
  9992. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9993. /* end confdefs.h. */
  9994. #define _GNU_SOURCE
  9995. #include <link.h>
  9996. int
  9997. main ()
  9998. {
  9999. dl_iterate_phdr((void*)0, (void*)0);
  10000. ;
  10001. return 0;
  10002. }
  10003. _ACEOF
  10004. if ac_fn_c_try_compile "$LINENO"; then :
  10005. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10006. $as_echo "yes" >&6; }
  10007. else
  10008. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10009. $as_echo "no" >&6; };
  10010. as_fn_error $? "dl_iterate_phdr() not supported, required by integrity-test!" "$LINENO" 5
  10011. fi
  10012. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10013. fi
  10014. if test x$bfd_backtraces = xtrue; then
  10015. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
  10016. $as_echo_n "checking for bfd_init in -lbfd... " >&6; }
  10017. if ${ac_cv_lib_bfd_bfd_init+:} false; then :
  10018. $as_echo_n "(cached) " >&6
  10019. else
  10020. ac_check_lib_save_LIBS=$LIBS
  10021. LIBS="-lbfd $LIBS"
  10022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10023. /* end confdefs.h. */
  10024. /* Override any GCC internal prototype to avoid an error.
  10025. Use char because int might match the return type of a GCC
  10026. builtin and then its argument prototype would still apply. */
  10027. #ifdef __cplusplus
  10028. extern "C"
  10029. #endif
  10030. char bfd_init ();
  10031. int
  10032. main ()
  10033. {
  10034. return bfd_init ();
  10035. ;
  10036. return 0;
  10037. }
  10038. _ACEOF
  10039. if ac_fn_c_try_link "$LINENO"; then :
  10040. ac_cv_lib_bfd_bfd_init=yes
  10041. else
  10042. ac_cv_lib_bfd_bfd_init=no
  10043. fi
  10044. rm -f core conftest.err conftest.$ac_objext \
  10045. conftest$ac_exeext conftest.$ac_ext
  10046. LIBS=$ac_check_lib_save_LIBS
  10047. fi
  10048. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
  10049. $as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
  10050. if test "x$ac_cv_lib_bfd_bfd_init" = xyes; then :
  10051. LIBS="$LIBS"
  10052. else
  10053. as_fn_error $? "binutils libbfd not found!" "$LINENO" 5
  10054. fi
  10055. ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
  10056. if test "x$ac_cv_header_bfd_h" = xyes; then :
  10057. $as_echo "@%:@define HAVE_BFD_H /**/" >>confdefs.h
  10058. else
  10059. as_fn_error $? "binutils bfd.h header not found!" "$LINENO" 5
  10060. fi
  10061. BFDLIB="-lbfd"
  10062. fi
  10063. if test x$unwind_backtraces = xtrue; then
  10064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5
  10065. $as_echo_n "checking for unw_backtrace in -lunwind... " >&6; }
  10066. if ${ac_cv_lib_unwind_unw_backtrace+:} false; then :
  10067. $as_echo_n "(cached) " >&6
  10068. else
  10069. ac_check_lib_save_LIBS=$LIBS
  10070. LIBS="-lunwind $LIBS"
  10071. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10072. /* end confdefs.h. */
  10073. /* Override any GCC internal prototype to avoid an error.
  10074. Use char because int might match the return type of a GCC
  10075. builtin and then its argument prototype would still apply. */
  10076. #ifdef __cplusplus
  10077. extern "C"
  10078. #endif
  10079. char unw_backtrace ();
  10080. int
  10081. main ()
  10082. {
  10083. return unw_backtrace ();
  10084. ;
  10085. return 0;
  10086. }
  10087. _ACEOF
  10088. if ac_fn_c_try_link "$LINENO"; then :
  10089. ac_cv_lib_unwind_unw_backtrace=yes
  10090. else
  10091. ac_cv_lib_unwind_unw_backtrace=no
  10092. fi
  10093. rm -f core conftest.err conftest.$ac_objext \
  10094. conftest$ac_exeext conftest.$ac_ext
  10095. LIBS=$ac_check_lib_save_LIBS
  10096. fi
  10097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5
  10098. $as_echo "$ac_cv_lib_unwind_unw_backtrace" >&6; }
  10099. if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes; then :
  10100. LIBS="$LIBS"
  10101. else
  10102. as_fn_error $? "libunwind not found!" "$LINENO" 5
  10103. fi
  10104. ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
  10105. if test "x$ac_cv_header_libunwind_h" = xyes; then :
  10106. $as_echo "@%:@define HAVE_LIBUNWIND_H /**/" >>confdefs.h
  10107. else
  10108. as_fn_error $? "libunwind.h header not found!" "$LINENO" 5
  10109. fi
  10110. UNWINDLIB="-lunwind"
  10111. fi
  10112. AM_CONDITIONAL(USE_DEV_HEADERS, test "x$dev_headers" != xno)
  10113. if test x$dev_headers = xyes; then
  10114. dev_headers="$includedir/strongswan"
  10115. fi
  10116. CFLAGS="$CFLAGS -include `pwd`/config.h"
  10117. if test x$tkm = xtrue; then
  10118. # Extract the first word of "gprbuild", so it can be a program name with args.
  10119. set dummy gprbuild; ac_word=$2
  10120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10121. $as_echo_n "checking for $ac_word... " >&6; }
  10122. if ${ac_cv_path_GPRBUILD+:} false; then :
  10123. $as_echo_n "(cached) " >&6
  10124. else
  10125. case $GPRBUILD in
  10126. [\\/]* | ?:[\\/]*)
  10127. ac_cv_path_GPRBUILD="$GPRBUILD" # Let the user override the test with a path.
  10128. ;;
  10129. *)
  10130. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10131. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10132. for as_dir in $as_dummy
  10133. do
  10134. IFS=$as_save_IFS
  10135. test -z "$as_dir" && as_dir=.
  10136. for ac_exec_ext in '' $ac_executable_extensions; do
  10137. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10138. ac_cv_path_GPRBUILD="$as_dir/$ac_word$ac_exec_ext"
  10139. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10140. break 2
  10141. fi
  10142. done
  10143. done
  10144. IFS=$as_save_IFS
  10145. ;;
  10146. esac
  10147. fi
  10148. GPRBUILD=$ac_cv_path_GPRBUILD
  10149. if test -n "$GPRBUILD"; then
  10150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRBUILD" >&5
  10151. $as_echo "$GPRBUILD" >&6; }
  10152. else
  10153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10154. $as_echo "no" >&6; }
  10155. fi
  10156. if test x$GPRBUILD = x; then
  10157. as_fn_error $? "gprbuild not found" "$LINENO" 5
  10158. fi
  10159. fi
  10160. if test x$coverage = xtrue; then
  10161. # Extract the first word of "lcov", so it can be a program name with args.
  10162. set dummy lcov; ac_word=$2
  10163. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10164. $as_echo_n "checking for $ac_word... " >&6; }
  10165. if ${ac_cv_path_LCOV+:} false; then :
  10166. $as_echo_n "(cached) " >&6
  10167. else
  10168. case $LCOV in
  10169. [\\/]* | ?:[\\/]*)
  10170. ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
  10171. ;;
  10172. *)
  10173. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10174. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10175. for as_dir in $as_dummy
  10176. do
  10177. IFS=$as_save_IFS
  10178. test -z "$as_dir" && as_dir=.
  10179. for ac_exec_ext in '' $ac_executable_extensions; do
  10180. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10181. ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
  10182. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10183. break 2
  10184. fi
  10185. done
  10186. done
  10187. IFS=$as_save_IFS
  10188. ;;
  10189. esac
  10190. fi
  10191. LCOV=$ac_cv_path_LCOV
  10192. if test -n "$LCOV"; then
  10193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
  10194. $as_echo "$LCOV" >&6; }
  10195. else
  10196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10197. $as_echo "no" >&6; }
  10198. fi
  10199. if test x$LCOV = x; then
  10200. as_fn_error $? "lcov not found" "$LINENO" 5
  10201. fi
  10202. # Extract the first word of "genhtml", so it can be a program name with args.
  10203. set dummy genhtml; ac_word=$2
  10204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10205. $as_echo_n "checking for $ac_word... " >&6; }
  10206. if ${ac_cv_path_GENHTML+:} false; then :
  10207. $as_echo_n "(cached) " >&6
  10208. else
  10209. case $GENHTML in
  10210. [\\/]* | ?:[\\/]*)
  10211. ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
  10212. ;;
  10213. *)
  10214. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10215. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10216. for as_dir in $as_dummy
  10217. do
  10218. IFS=$as_save_IFS
  10219. test -z "$as_dir" && as_dir=.
  10220. for ac_exec_ext in '' $ac_executable_extensions; do
  10221. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10222. ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
  10223. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10224. break 2
  10225. fi
  10226. done
  10227. done
  10228. IFS=$as_save_IFS
  10229. ;;
  10230. esac
  10231. fi
  10232. GENHTML=$ac_cv_path_GENHTML
  10233. if test -n "$GENHTML"; then
  10234. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
  10235. $as_echo "$GENHTML" >&6; }
  10236. else
  10237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10238. $as_echo "no" >&6; }
  10239. fi
  10240. if test x$GENHTML = x; then
  10241. as_fn_error $? "genhtml not found" "$LINENO" 5
  10242. fi
  10243. COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
  10244. COVERAGE_LDFLAGS="-fprofile-arcs"
  10245. PLUGIN_CFLAGS="$PLUGIN_CFLAGS $COVERAGE_CFLAGS"
  10246. { $as_echo "$as_me:${as_lineno-$LINENO}: coverage enabled, adding \"-g -O0\" to CFLAGS" >&5
  10247. $as_echo "$as_me: coverage enabled, adding \"-g -O0\" to CFLAGS" >&6;}
  10248. CFLAGS="${CFLAGS} -g -O0"
  10249. fi
  10250. if test x$fuzzing = xtrue; then
  10251. case "$libfuzzer" in
  10252. "")
  10253. { $as_echo "$as_me:${as_lineno-$LINENO}: fuzz targets enabled without libFuzzer, using local driver" >&5
  10254. $as_echo "$as_me: fuzz targets enabled without libFuzzer, using local driver" >&6;}
  10255. CFLAGS="${CFLAGS} -fsanitize=address"
  10256. libfuzzer="libFuzzerLocal.a"
  10257. ;;
  10258. "-fsanitize=fuzzer")
  10259. libfuzzer=""
  10260. FUZZING_CFLAGS="-fsanitize=fuzzer"
  10261. ;;
  10262. *)
  10263. # required for libFuzzer
  10264. FUZZING_LDFLAGS="-stdlib=libc++ -lstdc++"
  10265. if test "$SANITIZER" = "coverage"; then
  10266. FUZZING_LDFLAGS="$FUZZING_LDFLAGS -lm"
  10267. fi
  10268. ;;
  10269. esac
  10270. fi
  10271. if test x$ruby_gems = xtrue; then
  10272. # Extract the first word of "gem", so it can be a program name with args.
  10273. set dummy gem; ac_word=$2
  10274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10275. $as_echo_n "checking for $ac_word... " >&6; }
  10276. if ${ac_cv_path_GEM+:} false; then :
  10277. $as_echo_n "(cached) " >&6
  10278. else
  10279. case $GEM in
  10280. [\\/]* | ?:[\\/]*)
  10281. ac_cv_path_GEM="$GEM" # Let the user override the test with a path.
  10282. ;;
  10283. *)
  10284. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10285. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10286. for as_dir in $as_dummy
  10287. do
  10288. IFS=$as_save_IFS
  10289. test -z "$as_dir" && as_dir=.
  10290. for ac_exec_ext in '' $ac_executable_extensions; do
  10291. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10292. ac_cv_path_GEM="$as_dir/$ac_word$ac_exec_ext"
  10293. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10294. break 2
  10295. fi
  10296. done
  10297. done
  10298. IFS=$as_save_IFS
  10299. ;;
  10300. esac
  10301. fi
  10302. GEM=$ac_cv_path_GEM
  10303. if test -n "$GEM"; then
  10304. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEM" >&5
  10305. $as_echo "$GEM" >&6; }
  10306. else
  10307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10308. $as_echo "no" >&6; }
  10309. fi
  10310. if test x$GEM = x; then
  10311. as_fn_error $? "RubyGems package manager not found" "$LINENO" 5
  10312. fi
  10313. if test "x$rubygemdir" = "xgem environment gemdir"; then
  10314. rubygemdir=$($GEM environment gemdir)
  10315. fi
  10316. RUBYGEMDIR="$rubygemdir"
  10317. fi
  10318. AM_CONDITIONAL(RUBY_GEMS_INSTALL, test "x$ruby_gems_install" = xtrue)
  10319. if test x$python_eggs = xtrue; then
  10320. PYTHON_PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | $SED 's/dr/.dev/'`
  10321. if test x$python_eggs_install = xtrue; then
  10322. # Extract the first word of "easy_install", so it can be a program name with args.
  10323. set dummy easy_install; ac_word=$2
  10324. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10325. $as_echo_n "checking for $ac_word... " >&6; }
  10326. if ${ac_cv_path_EASY_INSTALL+:} false; then :
  10327. $as_echo_n "(cached) " >&6
  10328. else
  10329. case $EASY_INSTALL in
  10330. [\\/]* | ?:[\\/]*)
  10331. ac_cv_path_EASY_INSTALL="$EASY_INSTALL" # Let the user override the test with a path.
  10332. ;;
  10333. *)
  10334. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10335. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10336. for as_dir in $as_dummy
  10337. do
  10338. IFS=$as_save_IFS
  10339. test -z "$as_dir" && as_dir=.
  10340. for ac_exec_ext in '' $ac_executable_extensions; do
  10341. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10342. ac_cv_path_EASY_INSTALL="$as_dir/$ac_word$ac_exec_ext"
  10343. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10344. break 2
  10345. fi
  10346. done
  10347. done
  10348. IFS=$as_save_IFS
  10349. ;;
  10350. esac
  10351. fi
  10352. EASY_INSTALL=$ac_cv_path_EASY_INSTALL
  10353. if test -n "$EASY_INSTALL"; then
  10354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EASY_INSTALL" >&5
  10355. $as_echo "$EASY_INSTALL" >&6; }
  10356. else
  10357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10358. $as_echo "no" >&6; }
  10359. fi
  10360. if test x$EASY_INSTALL = x; then
  10361. as_fn_error $? "Python easy_install not found" "$LINENO" 5
  10362. fi
  10363. fi
  10364. if test "x$pythoneggdir" = "xmain site-packages directory"; then
  10365. PYTHONEGGINSTALLDIR=""
  10366. else
  10367. PYTHONEGGINSTALLDIR="--install-dir $pythoneggdir"
  10368. fi
  10369. # Extract the first word of "py.test", so it can be a program name with args.
  10370. set dummy py.test; ac_word=$2
  10371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10372. $as_echo_n "checking for $ac_word... " >&6; }
  10373. if ${ac_cv_path_PY_TEST+:} false; then :
  10374. $as_echo_n "(cached) " >&6
  10375. else
  10376. case $PY_TEST in
  10377. [\\/]* | ?:[\\/]*)
  10378. ac_cv_path_PY_TEST="$PY_TEST" # Let the user override the test with a path.
  10379. ;;
  10380. *)
  10381. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10382. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  10383. for as_dir in $as_dummy
  10384. do
  10385. IFS=$as_save_IFS
  10386. test -z "$as_dir" && as_dir=.
  10387. for ac_exec_ext in '' $ac_executable_extensions; do
  10388. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10389. ac_cv_path_PY_TEST="$as_dir/$ac_word$ac_exec_ext"
  10390. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10391. break 2
  10392. fi
  10393. done
  10394. done
  10395. IFS=$as_save_IFS
  10396. ;;
  10397. esac
  10398. fi
  10399. PY_TEST=$ac_cv_path_PY_TEST
  10400. if test -n "$PY_TEST"; then
  10401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_TEST" >&5
  10402. $as_echo "$PY_TEST" >&6; }
  10403. else
  10404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10405. $as_echo "no" >&6; }
  10406. fi
  10407. fi
  10408. AM_CONDITIONAL(PYTHON_EGGS_INSTALL, test "x$python_eggs_install" = xtrue)
  10409. AM_CONDITIONAL(PERL_CPAN_INSTALL, test "x$perl_cpan_install" = xtrue)
  10410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if plugin constructors should be resolved statically" >&5
  10411. $as_echo_n "checking if plugin constructors should be resolved statically... " >&6; }
  10412. if ${ss_cv_static_plugin_constructors+:} false; then :
  10413. $as_echo_n "(cached) " >&6
  10414. else
  10415. if test x$monolithic = xtrue -a x$enable_static = xyes; then
  10416. ss_cv_static_plugin_constructors=yes
  10417. else
  10418. ss_cv_static_plugin_constructors="no (enabled for static, monolithic builds)"
  10419. fi
  10420. fi
  10421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ss_cv_static_plugin_constructors" >&5
  10422. $as_echo "$ss_cv_static_plugin_constructors" >&6; }
  10423. if test "x$ss_cv_static_plugin_constructors" = xyes; then
  10424. static_plugin_constructors=true
  10425. fi
  10426. # ===============================================
  10427. # collect plugin list for strongSwan components
  10428. # ===============================================
  10429. # ADD_PLUGIN(plugin, category list)
  10430. # -----------------------------------
  10431. # Append the plugin name $1 to the category list variable $2_plugin
  10432. # plugin lists for all components
  10433. charon_plugins=
  10434. starter_plugins=
  10435. pool_plugins=
  10436. attest_plugins=
  10437. scepclient_plugins=
  10438. pki_plugins=
  10439. scripts_plugins=
  10440. fuzz_plugins=
  10441. manager_plugins=
  10442. medsrv_plugins=
  10443. nm_plugins=
  10444. cmd_plugins=
  10445. aikgen_plugins=
  10446. # location specific lists for checksumming,
  10447. # for src/libcharon, src/libstrongswan, src/libtnccs and src/libtpmtss
  10448. c_plugins=
  10449. s_plugins=
  10450. t_plugins=
  10451. p_plugins=
  10452. if test x$test_vectors = xtrue; then
  10453. s_plugins=${s_plugins}" test-vectors"
  10454. charon_plugins=${charon_plugins}" test-vectors"
  10455. scepclient_plugins=${scepclient_plugins}" test-vectors"
  10456. pki_plugins=${pki_plugins}" test-vectors"
  10457. fi
  10458. if test x$unbound = xtrue; then
  10459. s_plugins=${s_plugins}" unbound"
  10460. charon_plugins=${charon_plugins}" unbound"
  10461. scripts_plugins=${scripts_plugins}" unbound"
  10462. fi
  10463. if test x$ldap = xtrue; then
  10464. s_plugins=${s_plugins}" ldap"
  10465. charon_plugins=${charon_plugins}" ldap"
  10466. scepclient_plugins=${scepclient_plugins}" ldap"
  10467. scripts_plugins=${scripts_plugins}" ldap"
  10468. nm_plugins=${nm_plugins}" ldap"
  10469. cmd_plugins=${cmd_plugins}" ldap"
  10470. fi
  10471. if test x$pkcs11 = xtrue; then
  10472. s_plugins=${s_plugins}" pkcs11"
  10473. charon_plugins=${charon_plugins}" pkcs11"
  10474. pki_plugins=${pki_plugins}" pkcs11"
  10475. nm_plugins=${nm_plugins}" pkcs11"
  10476. cmd_plugins=${cmd_plugins}" pkcs11"
  10477. fi
  10478. if test x$tpm = xtrue; then
  10479. p_plugins=${p_plugins}" tpm"
  10480. charon_plugins=${charon_plugins}" tpm"
  10481. pki_plugins=${pki_plugins}" tpm"
  10482. nm_plugins=${nm_plugins}" tpm"
  10483. cmd_plugins=${cmd_plugins}" tpm"
  10484. fi
  10485. if test x$aesni = xtrue; then
  10486. s_plugins=${s_plugins}" aesni"
  10487. charon_plugins=${charon_plugins}" aesni"
  10488. scepclient_plugins=${scepclient_plugins}" aesni"
  10489. pki_plugins=${pki_plugins}" aesni"
  10490. scripts_plugins=${scripts_plugins}" aesni"
  10491. medsrv_plugins=${medsrv_plugins}" aesni"
  10492. attest_plugins=${attest_plugins}" aesni"
  10493. nm_plugins=${nm_plugins}" aesni"
  10494. cmd_plugins=${cmd_plugins}" aesni"
  10495. aikgen_plugins=${aikgen_plugins}" aesni"
  10496. fi
  10497. if test x$aes = xtrue; then
  10498. s_plugins=${s_plugins}" aes"
  10499. charon_plugins=${charon_plugins}" aes"
  10500. scepclient_plugins=${scepclient_plugins}" aes"
  10501. pki_plugins=${pki_plugins}" aes"
  10502. scripts_plugins=${scripts_plugins}" aes"
  10503. nm_plugins=${nm_plugins}" aes"
  10504. cmd_plugins=${cmd_plugins}" aes"
  10505. fi
  10506. if test x$des = xtrue; then
  10507. s_plugins=${s_plugins}" des"
  10508. charon_plugins=${charon_plugins}" des"
  10509. scepclient_plugins=${scepclient_plugins}" des"
  10510. pki_plugins=${pki_plugins}" des"
  10511. scripts_plugins=${scripts_plugins}" des"
  10512. nm_plugins=${nm_plugins}" des"
  10513. cmd_plugins=${cmd_plugins}" des"
  10514. fi
  10515. if test x$blowfish = xtrue; then
  10516. s_plugins=${s_plugins}" blowfish"
  10517. charon_plugins=${charon_plugins}" blowfish"
  10518. scepclient_plugins=${scepclient_plugins}" blowfish"
  10519. pki_plugins=${pki_plugins}" blowfish"
  10520. scripts_plugins=${scripts_plugins}" blowfish"
  10521. nm_plugins=${nm_plugins}" blowfish"
  10522. cmd_plugins=${cmd_plugins}" blowfish"
  10523. fi
  10524. if test x$rc2 = xtrue; then
  10525. s_plugins=${s_plugins}" rc2"
  10526. charon_plugins=${charon_plugins}" rc2"
  10527. scepclient_plugins=${scepclient_plugins}" rc2"
  10528. pki_plugins=${pki_plugins}" rc2"
  10529. scripts_plugins=${scripts_plugins}" rc2"
  10530. nm_plugins=${nm_plugins}" rc2"
  10531. cmd_plugins=${cmd_plugins}" rc2"
  10532. fi
  10533. if test x$sha2 = xtrue; then
  10534. s_plugins=${s_plugins}" sha2"
  10535. charon_plugins=${charon_plugins}" sha2"
  10536. scepclient_plugins=${scepclient_plugins}" sha2"
  10537. pki_plugins=${pki_plugins}" sha2"
  10538. scripts_plugins=${scripts_plugins}" sha2"
  10539. medsrv_plugins=${medsrv_plugins}" sha2"
  10540. attest_plugins=${attest_plugins}" sha2"
  10541. nm_plugins=${nm_plugins}" sha2"
  10542. cmd_plugins=${cmd_plugins}" sha2"
  10543. aikgen_plugins=${aikgen_plugins}" sha2"
  10544. fuzz_plugins=${fuzz_plugins}" sha2"
  10545. fi
  10546. if test x$sha3 = xtrue; then
  10547. s_plugins=${s_plugins}" sha3"
  10548. charon_plugins=${charon_plugins}" sha3"
  10549. scepclient_plugins=${scepclient_plugins}" sha3"
  10550. pki_plugins=${pki_plugins}" sha3"
  10551. scripts_plugins=${scripts_plugins}" sha3"
  10552. medsrv_plugins=${medsrv_plugins}" sha3"
  10553. attest_plugins=${attest_plugins}" sha3"
  10554. nm_plugins=${nm_plugins}" sha3"
  10555. cmd_plugins=${cmd_plugins}" sha3"
  10556. aikgen_plugins=${aikgen_plugins}" sha3"
  10557. fuzz_plugins=${fuzz_plugins}" sha3"
  10558. fi
  10559. if test x$sha1 = xtrue; then
  10560. s_plugins=${s_plugins}" sha1"
  10561. charon_plugins=${charon_plugins}" sha1"
  10562. scepclient_plugins=${scepclient_plugins}" sha1"
  10563. pki_plugins=${pki_plugins}" sha1"
  10564. scripts_plugins=${scripts_plugins}" sha1"
  10565. manager_plugins=${manager_plugins}" sha1"
  10566. medsrv_plugins=${medsrv_plugins}" sha1"
  10567. attest_plugins=${attest_plugins}" sha1"
  10568. nm_plugins=${nm_plugins}" sha1"
  10569. cmd_plugins=${cmd_plugins}" sha1"
  10570. aikgen_plugins=${aikgen_plugins}" sha1"
  10571. fuzz_plugins=${fuzz_plugins}" sha1"
  10572. fi
  10573. if test x$md4 = xtrue; then
  10574. s_plugins=${s_plugins}" md4"
  10575. charon_plugins=${charon_plugins}" md4"
  10576. scepclient_plugins=${scepclient_plugins}" md4"
  10577. pki_plugins=${pki_plugins}" md4"
  10578. nm_plugins=${nm_plugins}" md4"
  10579. cmd_plugins=${cmd_plugins}" md4"
  10580. fi
  10581. if test x$md5 = xtrue; then
  10582. s_plugins=${s_plugins}" md5"
  10583. charon_plugins=${charon_plugins}" md5"
  10584. scepclient_plugins=${scepclient_plugins}" md5"
  10585. pki_plugins=${pki_plugins}" md5"
  10586. scripts_plugins=${scripts_plugins}" md5"
  10587. attest_plugins=${attest_plugins}" md5"
  10588. nm_plugins=${nm_plugins}" md5"
  10589. cmd_plugins=${cmd_plugins}" md5"
  10590. aikgen_plugins=${aikgen_plugins}" md5"
  10591. fi
  10592. if test x$mgf1 = xtrue; then
  10593. s_plugins=${s_plugins}" mgf1"
  10594. charon_plugins=${charon_plugins}" mgf1"
  10595. scepclient_plugins=${scepclient_plugins}" mgf1"
  10596. pki_plugins=${pki_plugins}" mgf1"
  10597. scripts_plugins=${scripts_plugins}" mgf1"
  10598. medsrv_plugins=${medsrv_plugins}" mgf1"
  10599. attest_plugins=${attest_plugins}" mgf1"
  10600. nm_plugins=${nm_plugins}" mgf1"
  10601. cmd_plugins=${cmd_plugins}" mgf1"
  10602. aikgen_plugins=${aikgen_plugins}" mgf1"
  10603. fi
  10604. if test x$rdrand = xtrue; then
  10605. s_plugins=${s_plugins}" rdrand"
  10606. charon_plugins=${charon_plugins}" rdrand"
  10607. scepclient_plugins=${scepclient_plugins}" rdrand"
  10608. pki_plugins=${pki_plugins}" rdrand"
  10609. scripts_plugins=${scripts_plugins}" rdrand"
  10610. medsrv_plugins=${medsrv_plugins}" rdrand"
  10611. attest_plugins=${attest_plugins}" rdrand"
  10612. nm_plugins=${nm_plugins}" rdrand"
  10613. cmd_plugins=${cmd_plugins}" rdrand"
  10614. aikgen_plugins=${aikgen_plugins}" rdrand"
  10615. fi
  10616. if test x$random = xtrue; then
  10617. s_plugins=${s_plugins}" random"
  10618. charon_plugins=${charon_plugins}" random"
  10619. scepclient_plugins=${scepclient_plugins}" random"
  10620. pki_plugins=${pki_plugins}" random"
  10621. scripts_plugins=${scripts_plugins}" random"
  10622. manager_plugins=${manager_plugins}" random"
  10623. medsrv_plugins=${medsrv_plugins}" random"
  10624. attest_plugins=${attest_plugins}" random"
  10625. nm_plugins=${nm_plugins}" random"
  10626. cmd_plugins=${cmd_plugins}" random"
  10627. aikgen_plugins=${aikgen_plugins}" random"
  10628. fi
  10629. if test x$nonce = xtrue; then
  10630. s_plugins=${s_plugins}" nonce"
  10631. charon_plugins=${charon_plugins}" nonce"
  10632. nm_plugins=${nm_plugins}" nonce"
  10633. cmd_plugins=${cmd_plugins}" nonce"
  10634. aikgen_plugins=${aikgen_plugins}" nonce"
  10635. fi
  10636. if test x$x509 = xtrue; then
  10637. s_plugins=${s_plugins}" x509"
  10638. charon_plugins=${charon_plugins}" x509"
  10639. scepclient_plugins=${scepclient_plugins}" x509"
  10640. pki_plugins=${pki_plugins}" x509"
  10641. scripts_plugins=${scripts_plugins}" x509"
  10642. attest_plugins=${attest_plugins}" x509"
  10643. nm_plugins=${nm_plugins}" x509"
  10644. cmd_plugins=${cmd_plugins}" x509"
  10645. aikgen_plugins=${aikgen_plugins}" x509"
  10646. fuzz_plugins=${fuzz_plugins}" x509"
  10647. fi
  10648. if test x$revocation = xtrue; then
  10649. s_plugins=${s_plugins}" revocation"
  10650. charon_plugins=${charon_plugins}" revocation"
  10651. pki_plugins=${pki_plugins}" revocation"
  10652. nm_plugins=${nm_plugins}" revocation"
  10653. cmd_plugins=${cmd_plugins}" revocation"
  10654. fi
  10655. if test x$constraints = xtrue; then
  10656. s_plugins=${s_plugins}" constraints"
  10657. charon_plugins=${charon_plugins}" constraints"
  10658. nm_plugins=${nm_plugins}" constraints"
  10659. cmd_plugins=${cmd_plugins}" constraints"
  10660. fi
  10661. if test x$acert = xtrue; then
  10662. s_plugins=${s_plugins}" acert"
  10663. charon_plugins=${charon_plugins}" acert"
  10664. fi
  10665. if test x$pubkey = xtrue; then
  10666. s_plugins=${s_plugins}" pubkey"
  10667. charon_plugins=${charon_plugins}" pubkey"
  10668. pki_plugins=${pki_plugins}" pubkey"
  10669. cmd_plugins=${cmd_plugins}" pubkey"
  10670. aikgen_plugins=${aikgen_plugins}" pubkey"
  10671. fi
  10672. if test x$pkcs1 = xtrue; then
  10673. s_plugins=${s_plugins}" pkcs1"
  10674. charon_plugins=${charon_plugins}" pkcs1"
  10675. scepclient_plugins=${scepclient_plugins}" pkcs1"
  10676. pki_plugins=${pki_plugins}" pkcs1"
  10677. scripts_plugins=${scripts_plugins}" pkcs1"
  10678. manager_plugins=${manager_plugins}" pkcs1"
  10679. medsrv_plugins=${medsrv_plugins}" pkcs1"
  10680. attest_plugins=${attest_plugins}" pkcs1"
  10681. nm_plugins=${nm_plugins}" pkcs1"
  10682. cmd_plugins=${cmd_plugins}" pkcs1"
  10683. aikgen_plugins=${aikgen_plugins}" pkcs1"
  10684. fuzz_plugins=${fuzz_plugins}" pkcs1"
  10685. fi
  10686. if test x$pkcs7 = xtrue; then
  10687. s_plugins=${s_plugins}" pkcs7"
  10688. charon_plugins=${charon_plugins}" pkcs7"
  10689. scepclient_plugins=${scepclient_plugins}" pkcs7"
  10690. pki_plugins=${pki_plugins}" pkcs7"
  10691. scripts_plugins=${scripts_plugins}" pkcs7"
  10692. nm_plugins=${nm_plugins}" pkcs7"
  10693. cmd_plugins=${cmd_plugins}" pkcs7"
  10694. fi
  10695. if test x$pkcs8 = xtrue; then
  10696. s_plugins=${s_plugins}" pkcs8"
  10697. charon_plugins=${charon_plugins}" pkcs8"
  10698. scepclient_plugins=${scepclient_plugins}" pkcs8"
  10699. pki_plugins=${pki_plugins}" pkcs8"
  10700. scripts_plugins=${scripts_plugins}" pkcs8"
  10701. manager_plugins=${manager_plugins}" pkcs8"
  10702. medsrv_plugins=${medsrv_plugins}" pkcs8"
  10703. attest_plugins=${attest_plugins}" pkcs8"
  10704. nm_plugins=${nm_plugins}" pkcs8"
  10705. cmd_plugins=${cmd_plugins}" pkcs8"
  10706. fi
  10707. if test x$pkcs12 = xtrue; then
  10708. s_plugins=${s_plugins}" pkcs12"
  10709. charon_plugins=${charon_plugins}" pkcs12"
  10710. scepclient_plugins=${scepclient_plugins}" pkcs12"
  10711. pki_plugins=${pki_plugins}" pkcs12"
  10712. scripts_plugins=${scripts_plugins}" pkcs12"
  10713. cmd_plugins=${cmd_plugins}" pkcs12"
  10714. fi
  10715. if test x$pgp = xtrue; then
  10716. s_plugins=${s_plugins}" pgp"
  10717. charon_plugins=${charon_plugins}" pgp"
  10718. fi
  10719. if test x$dnskey = xtrue; then
  10720. s_plugins=${s_plugins}" dnskey"
  10721. charon_plugins=${charon_plugins}" dnskey"
  10722. pki_plugins=${pki_plugins}" dnskey"
  10723. fi
  10724. if test x$sshkey = xtrue; then
  10725. s_plugins=${s_plugins}" sshkey"
  10726. charon_plugins=${charon_plugins}" sshkey"
  10727. pki_plugins=${pki_plugins}" sshkey"
  10728. nm_plugins=${nm_plugins}" sshkey"
  10729. cmd_plugins=${cmd_plugins}" sshkey"
  10730. fi
  10731. if test x$dnscert = xtrue; then
  10732. c_plugins=${c_plugins}" dnscert"
  10733. charon_plugins=${charon_plugins}" dnscert"
  10734. fi
  10735. if test x$ipseckey = xtrue; then
  10736. c_plugins=${c_plugins}" ipseckey"
  10737. charon_plugins=${charon_plugins}" ipseckey"
  10738. fi
  10739. if test x$pem = xtrue; then
  10740. s_plugins=${s_plugins}" pem"
  10741. charon_plugins=${charon_plugins}" pem"
  10742. scepclient_plugins=${scepclient_plugins}" pem"
  10743. pki_plugins=${pki_plugins}" pem"
  10744. scripts_plugins=${scripts_plugins}" pem"
  10745. manager_plugins=${manager_plugins}" pem"
  10746. medsrv_plugins=${medsrv_plugins}" pem"
  10747. attest_plugins=${attest_plugins}" pem"
  10748. nm_plugins=${nm_plugins}" pem"
  10749. cmd_plugins=${cmd_plugins}" pem"
  10750. aikgen_plugins=${aikgen_plugins}" pem"
  10751. fuzz_plugins=${fuzz_plugins}" pem"
  10752. fi
  10753. if test x$padlock = xtrue; then
  10754. s_plugins=${s_plugins}" padlock"
  10755. charon_plugins=${charon_plugins}" padlock"
  10756. fi
  10757. if test x$openssl = xtrue; then
  10758. s_plugins=${s_plugins}" openssl"
  10759. charon_plugins=${charon_plugins}" openssl"
  10760. scepclient_plugins=${scepclient_plugins}" openssl"
  10761. pki_plugins=${pki_plugins}" openssl"
  10762. scripts_plugins=${scripts_plugins}" openssl"
  10763. manager_plugins=${manager_plugins}" openssl"
  10764. medsrv_plugins=${medsrv_plugins}" openssl"
  10765. attest_plugins=${attest_plugins}" openssl"
  10766. nm_plugins=${nm_plugins}" openssl"
  10767. cmd_plugins=${cmd_plugins}" openssl"
  10768. aikgen_plugins=${aikgen_plugins}" openssl"
  10769. fi
  10770. if test x$wolfssl = xtrue; then
  10771. s_plugins=${s_plugins}" wolfssl"
  10772. charon_plugins=${charon_plugins}" wolfssl"
  10773. scepclient_plugins=${scepclient_plugins}" wolfssl"
  10774. pki_plugins=${pki_plugins}" wolfssl"
  10775. scripts_plugins=${scripts_plugins}" wolfssl"
  10776. manager_plugins=${manager_plugins}" wolfssl"
  10777. medsrv_plugins=${medsrv_plugins}" wolfssl"
  10778. attest_plugins=${attest_plugins}" wolfssl"
  10779. nm_plugins=${nm_plugins}" wolfssl"
  10780. cmd_plugins=${cmd_plugins}" wolfssl"
  10781. aikgen_plugins=${aikgen_plugins}" wolfssl"
  10782. fi
  10783. if test x$gcrypt = xtrue; then
  10784. s_plugins=${s_plugins}" gcrypt"
  10785. charon_plugins=${charon_plugins}" gcrypt"
  10786. scepclient_plugins=${scepclient_plugins}" gcrypt"
  10787. pki_plugins=${pki_plugins}" gcrypt"
  10788. scripts_plugins=${scripts_plugins}" gcrypt"
  10789. manager_plugins=${manager_plugins}" gcrypt"
  10790. medsrv_plugins=${medsrv_plugins}" gcrypt"
  10791. attest_plugins=${attest_plugins}" gcrypt"
  10792. nm_plugins=${nm_plugins}" gcrypt"
  10793. cmd_plugins=${cmd_plugins}" gcrypt"
  10794. aikgen_plugins=${aikgen_plugins}" gcrypt"
  10795. fi
  10796. if test x$botan = xtrue; then
  10797. s_plugins=${s_plugins}" botan"
  10798. charon_plugins=${charon_plugins}" botan"
  10799. scepclient_plugins=${scepclient_plugins}" botan"
  10800. pki_plugins=${pki_plugins}" botan"
  10801. scripts_plugins=${scripts_plugins}" botan"
  10802. manager_plugins=${manager_plugins}" botan"
  10803. medsrv_plugins=${medsrv_plugins}" botan"
  10804. attest_plugins=${attest_plugins}" botan"
  10805. nm_plugins=${nm_plugins}" botan"
  10806. cmd_plugins=${cmd_plugins}" botan"
  10807. aikgen_plugins=${aikgen_plugins}" botan"
  10808. fi
  10809. if test x$af_alg = xtrue; then
  10810. s_plugins=${s_plugins}" af-alg"
  10811. charon_plugins=${charon_plugins}" af-alg"
  10812. scepclient_plugins=${scepclient_plugins}" af-alg"
  10813. pki_plugins=${pki_plugins}" af-alg"
  10814. scripts_plugins=${scripts_plugins}" af-alg"
  10815. medsrv_plugins=${medsrv_plugins}" af-alg"
  10816. attest_plugins=${attest_plugins}" af-alg"
  10817. nm_plugins=${nm_plugins}" af-alg"
  10818. cmd_plugins=${cmd_plugins}" af-alg"
  10819. aikgen_plugins=${aikgen_plugins}" af-alg"
  10820. fi
  10821. if test x$fips_prf = xtrue; then
  10822. s_plugins=${s_plugins}" fips-prf"
  10823. charon_plugins=${charon_plugins}" fips-prf"
  10824. nm_plugins=${nm_plugins}" fips-prf"
  10825. cmd_plugins=${cmd_plugins}" fips-prf"
  10826. fi
  10827. if test x$gmp = xtrue; then
  10828. s_plugins=${s_plugins}" gmp"
  10829. charon_plugins=${charon_plugins}" gmp"
  10830. scepclient_plugins=${scepclient_plugins}" gmp"
  10831. pki_plugins=${pki_plugins}" gmp"
  10832. scripts_plugins=${scripts_plugins}" gmp"
  10833. manager_plugins=${manager_plugins}" gmp"
  10834. medsrv_plugins=${medsrv_plugins}" gmp"
  10835. attest_plugins=${attest_plugins}" gmp"
  10836. nm_plugins=${nm_plugins}" gmp"
  10837. cmd_plugins=${cmd_plugins}" gmp"
  10838. aikgen_plugins=${aikgen_plugins}" gmp"
  10839. fuzz_plugins=${fuzz_plugins}" gmp"
  10840. fi
  10841. if test x$curve25519 = xtrue; then
  10842. s_plugins=${s_plugins}" curve25519"
  10843. charon_plugins=${charon_plugins}" curve25519"
  10844. pki_plugins=${pki_plugins}" curve25519"
  10845. scripts_plugins=${scripts_plugins}" curve25519"
  10846. nm_plugins=${nm_plugins}" curve25519"
  10847. cmd_plugins=${cmd_plugins}" curve25519"
  10848. fi
  10849. if test x$agent = xtrue; then
  10850. s_plugins=${s_plugins}" agent"
  10851. charon_plugins=${charon_plugins}" agent"
  10852. nm_plugins=${nm_plugins}" agent"
  10853. cmd_plugins=${cmd_plugins}" agent"
  10854. fi
  10855. if test x$keychain = xtrue; then
  10856. s_plugins=${s_plugins}" keychain"
  10857. charon_plugins=${charon_plugins}" keychain"
  10858. cmd_plugins=${cmd_plugins}" keychain"
  10859. fi
  10860. if test x$chapoly = xtrue; then
  10861. s_plugins=${s_plugins}" chapoly"
  10862. charon_plugins=${charon_plugins}" chapoly"
  10863. scripts_plugins=${scripts_plugins}" chapoly"
  10864. nm_plugins=${nm_plugins}" chapoly"
  10865. cmd_plugins=${cmd_plugins}" chapoly"
  10866. fi
  10867. if test x$xcbc = xtrue; then
  10868. s_plugins=${s_plugins}" xcbc"
  10869. charon_plugins=${charon_plugins}" xcbc"
  10870. nm_plugins=${nm_plugins}" xcbc"
  10871. cmd_plugins=${cmd_plugins}" xcbc"
  10872. fi
  10873. if test x$cmac = xtrue; then
  10874. s_plugins=${s_plugins}" cmac"
  10875. charon_plugins=${charon_plugins}" cmac"
  10876. nm_plugins=${nm_plugins}" cmac"
  10877. cmd_plugins=${cmd_plugins}" cmac"
  10878. fi
  10879. if test x$hmac = xtrue; then
  10880. s_plugins=${s_plugins}" hmac"
  10881. charon_plugins=${charon_plugins}" hmac"
  10882. pki_plugins=${pki_plugins}" hmac"
  10883. scripts_plugins=${scripts_plugins}" hmac"
  10884. nm_plugins=${nm_plugins}" hmac"
  10885. cmd_plugins=${cmd_plugins}" hmac"
  10886. fi
  10887. if test x$ctr = xtrue; then
  10888. s_plugins=${s_plugins}" ctr"
  10889. charon_plugins=${charon_plugins}" ctr"
  10890. scripts_plugins=${scripts_plugins}" ctr"
  10891. nm_plugins=${nm_plugins}" ctr"
  10892. cmd_plugins=${cmd_plugins}" ctr"
  10893. fi
  10894. if test x$ccm = xtrue; then
  10895. s_plugins=${s_plugins}" ccm"
  10896. charon_plugins=${charon_plugins}" ccm"
  10897. scripts_plugins=${scripts_plugins}" ccm"
  10898. nm_plugins=${nm_plugins}" ccm"
  10899. cmd_plugins=${cmd_plugins}" ccm"
  10900. fi
  10901. if test x$gcm = xtrue; then
  10902. s_plugins=${s_plugins}" gcm"
  10903. charon_plugins=${charon_plugins}" gcm"
  10904. scripts_plugins=${scripts_plugins}" gcm"
  10905. nm_plugins=${nm_plugins}" gcm"
  10906. cmd_plugins=${cmd_plugins}" gcm"
  10907. fi
  10908. if test x$ntru = xtrue; then
  10909. s_plugins=${s_plugins}" ntru"
  10910. charon_plugins=${charon_plugins}" ntru"
  10911. scripts_plugins=${scripts_plugins}" ntru"
  10912. nm_plugins=${nm_plugins}" ntru"
  10913. cmd_plugins=${cmd_plugins}" ntru"
  10914. fi
  10915. if test x$newhope = xtrue; then
  10916. s_plugins=${s_plugins}" newhope"
  10917. charon_plugins=${charon_plugins}" newhope"
  10918. scripts_plugins=${scripts_plugins}" newhope"
  10919. nm_plugins=${nm_plugins}" newhope"
  10920. cmd_plugins=${cmd_plugins}" newhope"
  10921. fi
  10922. if test x$bliss = xtrue; then
  10923. s_plugins=${s_plugins}" bliss"
  10924. charon_plugins=${charon_plugins}" bliss"
  10925. pki_plugins=${pki_plugins}" bliss"
  10926. scripts_plugins=${scripts_plugins}" bliss"
  10927. nm_plugins=${nm_plugins}" bliss"
  10928. cmd_plugins=${cmd_plugins}" bliss"
  10929. fi
  10930. if test x$curl = xtrue; then
  10931. s_plugins=${s_plugins}" curl"
  10932. charon_plugins=${charon_plugins}" curl"
  10933. scepclient_plugins=${scepclient_plugins}" curl"
  10934. pki_plugins=${pki_plugins}" curl"
  10935. scripts_plugins=${scripts_plugins}" curl"
  10936. nm_plugins=${nm_plugins}" curl"
  10937. cmd_plugins=${cmd_plugins}" curl"
  10938. fi
  10939. if test x$files = xtrue; then
  10940. s_plugins=${s_plugins}" files"
  10941. charon_plugins=${charon_plugins}" files"
  10942. scepclient_plugins=${scepclient_plugins}" files"
  10943. pki_plugins=${pki_plugins}" files"
  10944. scripts_plugins=${scripts_plugins}" files"
  10945. nm_plugins=${nm_plugins}" files"
  10946. cmd_plugins=${cmd_plugins}" files"
  10947. fi
  10948. if test x$winhttp = xtrue; then
  10949. s_plugins=${s_plugins}" winhttp"
  10950. charon_plugins=${charon_plugins}" winhttp"
  10951. pki_plugins=${pki_plugins}" winhttp"
  10952. scripts_plugins=${scripts_plugins}" winhttp"
  10953. fi
  10954. if test x$soup = xtrue; then
  10955. s_plugins=${s_plugins}" soup"
  10956. charon_plugins=${charon_plugins}" soup"
  10957. pki_plugins=${pki_plugins}" soup"
  10958. scripts_plugins=${scripts_plugins}" soup"
  10959. nm_plugins=${nm_plugins}" soup"
  10960. cmd_plugins=${cmd_plugins}" soup"
  10961. fi
  10962. if test x$mysql = xtrue; then
  10963. s_plugins=${s_plugins}" mysql"
  10964. charon_plugins=${charon_plugins}" mysql"
  10965. pool_plugins=${pool_plugins}" mysql"
  10966. manager_plugins=${manager_plugins}" mysql"
  10967. medsrv_plugins=${medsrv_plugins}" mysql"
  10968. attest_plugins=${attest_plugins}" mysql"
  10969. fi
  10970. if test x$sqlite = xtrue; then
  10971. s_plugins=${s_plugins}" sqlite"
  10972. charon_plugins=${charon_plugins}" sqlite"
  10973. pool_plugins=${pool_plugins}" sqlite"
  10974. manager_plugins=${manager_plugins}" sqlite"
  10975. medsrv_plugins=${medsrv_plugins}" sqlite"
  10976. attest_plugins=${attest_plugins}" sqlite"
  10977. fi
  10978. if test x$attr = xtrue; then
  10979. c_plugins=${c_plugins}" attr"
  10980. charon_plugins=${charon_plugins}" attr"
  10981. fi
  10982. if test x$attr_sql = xtrue; then
  10983. c_plugins=${c_plugins}" attr-sql"
  10984. charon_plugins=${charon_plugins}" attr-sql"
  10985. fi
  10986. if test x$load_tester = xtrue; then
  10987. c_plugins=${c_plugins}" load-tester"
  10988. charon_plugins=${charon_plugins}" load-tester"
  10989. fi
  10990. if test x$kernel_libipsec = xtrue; then
  10991. c_plugins=${c_plugins}" kernel-libipsec"
  10992. charon_plugins=${charon_plugins}" kernel-libipsec"
  10993. cmd_plugins=${cmd_plugins}" kernel-libipsec"
  10994. fi
  10995. if test x$kernel_wfp = xtrue; then
  10996. c_plugins=${c_plugins}" kernel-wfp"
  10997. charon_plugins=${charon_plugins}" kernel-wfp"
  10998. fi
  10999. if test x$kernel_iph = xtrue; then
  11000. c_plugins=${c_plugins}" kernel-iph"
  11001. charon_plugins=${charon_plugins}" kernel-iph"
  11002. fi
  11003. if test x$kernel_pfkey = xtrue; then
  11004. c_plugins=${c_plugins}" kernel-pfkey"
  11005. charon_plugins=${charon_plugins}" kernel-pfkey"
  11006. starter_plugins=${starter_plugins}" kernel-pfkey"
  11007. nm_plugins=${nm_plugins}" kernel-pfkey"
  11008. cmd_plugins=${cmd_plugins}" kernel-pfkey"
  11009. fi
  11010. if test x$kernel_pfroute = xtrue; then
  11011. c_plugins=${c_plugins}" kernel-pfroute"
  11012. charon_plugins=${charon_plugins}" kernel-pfroute"
  11013. starter_plugins=${starter_plugins}" kernel-pfroute"
  11014. nm_plugins=${nm_plugins}" kernel-pfroute"
  11015. cmd_plugins=${cmd_plugins}" kernel-pfroute"
  11016. fi
  11017. if test x$kernel_netlink = xtrue; then
  11018. c_plugins=${c_plugins}" kernel-netlink"
  11019. charon_plugins=${charon_plugins}" kernel-netlink"
  11020. starter_plugins=${starter_plugins}" kernel-netlink"
  11021. nm_plugins=${nm_plugins}" kernel-netlink"
  11022. cmd_plugins=${cmd_plugins}" kernel-netlink"
  11023. fi
  11024. if test x$resolve = xtrue; then
  11025. c_plugins=${c_plugins}" resolve"
  11026. charon_plugins=${charon_plugins}" resolve"
  11027. cmd_plugins=${cmd_plugins}" resolve"
  11028. fi
  11029. if test x$save_keys = xtrue; then
  11030. c_plugins=${c_plugins}" save-keys"
  11031. fi
  11032. if test x$socket_default = xtrue; then
  11033. c_plugins=${c_plugins}" socket-default"
  11034. charon_plugins=${charon_plugins}" socket-default"
  11035. nm_plugins=${nm_plugins}" socket-default"
  11036. cmd_plugins=${cmd_plugins}" socket-default"
  11037. fi
  11038. if test x$socket_dynamic = xtrue; then
  11039. c_plugins=${c_plugins}" socket-dynamic"
  11040. charon_plugins=${charon_plugins}" socket-dynamic"
  11041. cmd_plugins=${cmd_plugins}" socket-dynamic"
  11042. fi
  11043. if test x$socket_win = xtrue; then
  11044. c_plugins=${c_plugins}" socket-win"
  11045. charon_plugins=${charon_plugins}" socket-win"
  11046. fi
  11047. if test x$bypass_lan = xtrue; then
  11048. c_plugins=${c_plugins}" bypass-lan"
  11049. charon_plugins=${charon_plugins}" bypass-lan"
  11050. nm_plugins=${nm_plugins}" bypass-lan"
  11051. cmd_plugins=${cmd_plugins}" bypass-lan"
  11052. fi
  11053. if test x$connmark = xtrue; then
  11054. c_plugins=${c_plugins}" connmark"
  11055. charon_plugins=${charon_plugins}" connmark"
  11056. fi
  11057. if test x$forecast = xtrue; then
  11058. c_plugins=${c_plugins}" forecast"
  11059. charon_plugins=${charon_plugins}" forecast"
  11060. fi
  11061. if test x$farp = xtrue; then
  11062. c_plugins=${c_plugins}" farp"
  11063. charon_plugins=${charon_plugins}" farp"
  11064. fi
  11065. if test x$stroke = xtrue; then
  11066. c_plugins=${c_plugins}" stroke"
  11067. charon_plugins=${charon_plugins}" stroke"
  11068. fi
  11069. if test x$vici = xtrue; then
  11070. c_plugins=${c_plugins}" vici"
  11071. charon_plugins=${charon_plugins}" vici"
  11072. fi
  11073. if test x$smp = xtrue; then
  11074. c_plugins=${c_plugins}" smp"
  11075. charon_plugins=${charon_plugins}" smp"
  11076. fi
  11077. if test x$sql = xtrue; then
  11078. c_plugins=${c_plugins}" sql"
  11079. charon_plugins=${charon_plugins}" sql"
  11080. fi
  11081. if test x$updown = xtrue; then
  11082. c_plugins=${c_plugins}" updown"
  11083. charon_plugins=${charon_plugins}" updown"
  11084. fi
  11085. if test x$eap_identity = xtrue; then
  11086. c_plugins=${c_plugins}" eap-identity"
  11087. charon_plugins=${charon_plugins}" eap-identity"
  11088. nm_plugins=${nm_plugins}" eap-identity"
  11089. cmd_plugins=${cmd_plugins}" eap-identity"
  11090. fi
  11091. if test x$eap_sim = xtrue; then
  11092. c_plugins=${c_plugins}" eap-sim"
  11093. charon_plugins=${charon_plugins}" eap-sim"
  11094. fi
  11095. if test x$eap_sim_file = xtrue; then
  11096. c_plugins=${c_plugins}" eap-sim-file"
  11097. charon_plugins=${charon_plugins}" eap-sim-file"
  11098. fi
  11099. if test x$eap_sim_pcsc = xtrue; then
  11100. c_plugins=${c_plugins}" eap-sim-pcsc"
  11101. charon_plugins=${charon_plugins}" eap-sim-pcsc"
  11102. fi
  11103. if test x$eap_aka = xtrue; then
  11104. c_plugins=${c_plugins}" eap-aka"
  11105. charon_plugins=${charon_plugins}" eap-aka"
  11106. fi
  11107. if test x$eap_aka_3gpp = xtrue; then
  11108. c_plugins=${c_plugins}" eap-aka-3gpp"
  11109. charon_plugins=${charon_plugins}" eap-aka-3gpp"
  11110. fi
  11111. if test x$eap_aka_3gpp2 = xtrue; then
  11112. c_plugins=${c_plugins}" eap-aka-3gpp2"
  11113. charon_plugins=${charon_plugins}" eap-aka-3gpp2"
  11114. fi
  11115. if test x$eap_simaka_sql = xtrue; then
  11116. c_plugins=${c_plugins}" eap-simaka-sql"
  11117. charon_plugins=${charon_plugins}" eap-simaka-sql"
  11118. fi
  11119. if test x$eap_simaka_pseudonym = xtrue; then
  11120. c_plugins=${c_plugins}" eap-simaka-pseudonym"
  11121. charon_plugins=${charon_plugins}" eap-simaka-pseudonym"
  11122. fi
  11123. if test x$eap_simaka_reauth = xtrue; then
  11124. c_plugins=${c_plugins}" eap-simaka-reauth"
  11125. charon_plugins=${charon_plugins}" eap-simaka-reauth"
  11126. fi
  11127. if test x$eap_md5 = xtrue; then
  11128. c_plugins=${c_plugins}" eap-md5"
  11129. charon_plugins=${charon_plugins}" eap-md5"
  11130. nm_plugins=${nm_plugins}" eap-md5"
  11131. cmd_plugins=${cmd_plugins}" eap-md5"
  11132. fi
  11133. if test x$eap_gtc = xtrue; then
  11134. c_plugins=${c_plugins}" eap-gtc"
  11135. charon_plugins=${charon_plugins}" eap-gtc"
  11136. nm_plugins=${nm_plugins}" eap-gtc"
  11137. cmd_plugins=${cmd_plugins}" eap-gtc"
  11138. fi
  11139. if test x$eap_mschapv2 = xtrue; then
  11140. c_plugins=${c_plugins}" eap-mschapv2"
  11141. charon_plugins=${charon_plugins}" eap-mschapv2"
  11142. nm_plugins=${nm_plugins}" eap-mschapv2"
  11143. cmd_plugins=${cmd_plugins}" eap-mschapv2"
  11144. fi
  11145. if test x$eap_dynamic = xtrue; then
  11146. c_plugins=${c_plugins}" eap-dynamic"
  11147. charon_plugins=${charon_plugins}" eap-dynamic"
  11148. fi
  11149. if test x$eap_radius = xtrue; then
  11150. c_plugins=${c_plugins}" eap-radius"
  11151. charon_plugins=${charon_plugins}" eap-radius"
  11152. fi
  11153. if test x$eap_tls = xtrue; then
  11154. c_plugins=${c_plugins}" eap-tls"
  11155. charon_plugins=${charon_plugins}" eap-tls"
  11156. nm_plugins=${nm_plugins}" eap-tls"
  11157. cmd_plugins=${cmd_plugins}" eap-tls"
  11158. fi
  11159. if test x$eap_ttls = xtrue; then
  11160. c_plugins=${c_plugins}" eap-ttls"
  11161. charon_plugins=${charon_plugins}" eap-ttls"
  11162. nm_plugins=${nm_plugins}" eap-ttls"
  11163. cmd_plugins=${cmd_plugins}" eap-ttls"
  11164. fi
  11165. if test x$eap_peap = xtrue; then
  11166. c_plugins=${c_plugins}" eap-peap"
  11167. charon_plugins=${charon_plugins}" eap-peap"
  11168. nm_plugins=${nm_plugins}" eap-peap"
  11169. cmd_plugins=${cmd_plugins}" eap-peap"
  11170. fi
  11171. if test x$eap_tnc = xtrue; then
  11172. c_plugins=${c_plugins}" eap-tnc"
  11173. charon_plugins=${charon_plugins}" eap-tnc"
  11174. fi
  11175. if test x$xauth_generic = xtrue; then
  11176. c_plugins=${c_plugins}" xauth-generic"
  11177. charon_plugins=${charon_plugins}" xauth-generic"
  11178. cmd_plugins=${cmd_plugins}" xauth-generic"
  11179. fi
  11180. if test x$xauth_eap = xtrue; then
  11181. c_plugins=${c_plugins}" xauth-eap"
  11182. charon_plugins=${charon_plugins}" xauth-eap"
  11183. fi
  11184. if test x$xauth_pam = xtrue; then
  11185. c_plugins=${c_plugins}" xauth-pam"
  11186. charon_plugins=${charon_plugins}" xauth-pam"
  11187. fi
  11188. if test x$xauth_noauth = xtrue; then
  11189. c_plugins=${c_plugins}" xauth-noauth"
  11190. charon_plugins=${charon_plugins}" xauth-noauth"
  11191. fi
  11192. if test x$tnc_ifmap = xtrue; then
  11193. c_plugins=${c_plugins}" tnc-ifmap"
  11194. charon_plugins=${charon_plugins}" tnc-ifmap"
  11195. fi
  11196. if test x$tnc_pdp = xtrue; then
  11197. c_plugins=${c_plugins}" tnc-pdp"
  11198. charon_plugins=${charon_plugins}" tnc-pdp"
  11199. fi
  11200. if test x$tnc_imc = xtrue; then
  11201. t_plugins=${t_plugins}" tnc-imc"
  11202. charon_plugins=${charon_plugins}" tnc-imc"
  11203. fi
  11204. if test x$tnc_imv = xtrue; then
  11205. t_plugins=${t_plugins}" tnc-imv"
  11206. charon_plugins=${charon_plugins}" tnc-imv"
  11207. fi
  11208. if test x$tnc_tnccs = xtrue; then
  11209. t_plugins=${t_plugins}" tnc-tnccs"
  11210. charon_plugins=${charon_plugins}" tnc-tnccs"
  11211. fi
  11212. if test x$tnccs_20 = xtrue; then
  11213. t_plugins=${t_plugins}" tnccs-20"
  11214. charon_plugins=${charon_plugins}" tnccs-20"
  11215. fi
  11216. if test x$tnccs_11 = xtrue; then
  11217. t_plugins=${t_plugins}" tnccs-11"
  11218. charon_plugins=${charon_plugins}" tnccs-11"
  11219. fi
  11220. if test x$tnccs_dynamic = xtrue; then
  11221. t_plugins=${t_plugins}" tnccs-dynamic"
  11222. charon_plugins=${charon_plugins}" tnccs-dynamic"
  11223. fi
  11224. if test x$medsrv = xtrue; then
  11225. c_plugins=${c_plugins}" medsrv"
  11226. charon_plugins=${charon_plugins}" medsrv"
  11227. fi
  11228. if test x$medcli = xtrue; then
  11229. c_plugins=${c_plugins}" medcli"
  11230. charon_plugins=${charon_plugins}" medcli"
  11231. fi
  11232. if test x$dhcp = xtrue; then
  11233. c_plugins=${c_plugins}" dhcp"
  11234. charon_plugins=${charon_plugins}" dhcp"
  11235. fi
  11236. if test x$osx_attr = xtrue; then
  11237. c_plugins=${c_plugins}" osx-attr"
  11238. charon_plugins=${charon_plugins}" osx-attr"
  11239. cmd_plugins=${cmd_plugins}" osx-attr"
  11240. fi
  11241. if test x$p_cscf = xtrue; then
  11242. c_plugins=${c_plugins}" p-cscf"
  11243. charon_plugins=${charon_plugins}" p-cscf"
  11244. cmd_plugins=${cmd_plugins}" p-cscf"
  11245. fi
  11246. if test x$android_dns = xtrue; then
  11247. c_plugins=${c_plugins}" android-dns"
  11248. charon_plugins=${charon_plugins}" android-dns"
  11249. fi
  11250. if test x$android_log = xtrue; then
  11251. c_plugins=${c_plugins}" android-log"
  11252. charon_plugins=${charon_plugins}" android-log"
  11253. fi
  11254. if test x$ha = xtrue; then
  11255. c_plugins=${c_plugins}" ha"
  11256. charon_plugins=${charon_plugins}" ha"
  11257. fi
  11258. if test x$whitelist = xtrue; then
  11259. c_plugins=${c_plugins}" whitelist"
  11260. charon_plugins=${charon_plugins}" whitelist"
  11261. fi
  11262. if test x$ext_auth = xtrue; then
  11263. c_plugins=${c_plugins}" ext-auth"
  11264. charon_plugins=${charon_plugins}" ext-auth"
  11265. fi
  11266. if test x$lookip = xtrue; then
  11267. c_plugins=${c_plugins}" lookip"
  11268. charon_plugins=${charon_plugins}" lookip"
  11269. fi
  11270. if test x$error_notify = xtrue; then
  11271. c_plugins=${c_plugins}" error-notify"
  11272. charon_plugins=${charon_plugins}" error-notify"
  11273. fi
  11274. if test x$certexpire = xtrue; then
  11275. c_plugins=${c_plugins}" certexpire"
  11276. charon_plugins=${charon_plugins}" certexpire"
  11277. fi
  11278. if test x$systime_fix = xtrue; then
  11279. c_plugins=${c_plugins}" systime-fix"
  11280. charon_plugins=${charon_plugins}" systime-fix"
  11281. fi
  11282. if test x$led = xtrue; then
  11283. c_plugins=${c_plugins}" led"
  11284. charon_plugins=${charon_plugins}" led"
  11285. fi
  11286. if test x$duplicheck = xtrue; then
  11287. c_plugins=${c_plugins}" duplicheck"
  11288. charon_plugins=${charon_plugins}" duplicheck"
  11289. fi
  11290. if test x$coupling = xtrue; then
  11291. c_plugins=${c_plugins}" coupling"
  11292. charon_plugins=${charon_plugins}" coupling"
  11293. fi
  11294. if test x$radattr = xtrue; then
  11295. c_plugins=${c_plugins}" radattr"
  11296. charon_plugins=${charon_plugins}" radattr"
  11297. fi
  11298. if test x$uci = xtrue; then
  11299. c_plugins=${c_plugins}" uci"
  11300. charon_plugins=${charon_plugins}" uci"
  11301. fi
  11302. if test x$addrblock = xtrue; then
  11303. c_plugins=${c_plugins}" addrblock"
  11304. charon_plugins=${charon_plugins}" addrblock"
  11305. fi
  11306. if test x$unity = xtrue; then
  11307. c_plugins=${c_plugins}" unity"
  11308. charon_plugins=${charon_plugins}" unity"
  11309. fi
  11310. if test x$counters = xtrue; then
  11311. c_plugins=${c_plugins}" counters"
  11312. charon_plugins=${charon_plugins}" counters"
  11313. fi
  11314. # ======================
  11315. # set Makefile.am vars
  11316. # ======================
  11317. # libstrongswan plugins
  11318. # -----------------------
  11319. AM_CONDITIONAL(USE_TEST_VECTORS, test x$test_vectors = xtrue)
  11320. AM_CONDITIONAL(USE_CURL, test x$curl = xtrue)
  11321. AM_CONDITIONAL(USE_FILES, test x$files = xtrue)
  11322. AM_CONDITIONAL(USE_WINHTTP, test x$winhttp = xtrue)
  11323. AM_CONDITIONAL(USE_UNBOUND, test x$unbound = xtrue)
  11324. AM_CONDITIONAL(USE_SOUP, test x$soup = xtrue)
  11325. AM_CONDITIONAL(USE_LDAP, test x$ldap = xtrue)
  11326. AM_CONDITIONAL(USE_AES, test x$aes = xtrue)
  11327. AM_CONDITIONAL(USE_DES, test x$des = xtrue)
  11328. AM_CONDITIONAL(USE_BLOWFISH, test x$blowfish = xtrue)
  11329. AM_CONDITIONAL(USE_RC2, test x$rc2 = xtrue)
  11330. AM_CONDITIONAL(USE_MD4, test x$md4 = xtrue)
  11331. AM_CONDITIONAL(USE_MD5, test x$md5 = xtrue)
  11332. AM_CONDITIONAL(USE_SHA1, test x$sha1 = xtrue)
  11333. AM_CONDITIONAL(USE_SHA2, test x$sha2 = xtrue)
  11334. AM_CONDITIONAL(USE_SHA3, test x$sha3 = xtrue)
  11335. AM_CONDITIONAL(USE_MGF1, test x$mgf1 = xtrue)
  11336. AM_CONDITIONAL(USE_FIPS_PRF, test x$fips_prf = xtrue)
  11337. AM_CONDITIONAL(USE_GMP, test x$gmp = xtrue)
  11338. AM_CONDITIONAL(USE_CURVE25519, test x$curve25519 = xtrue)
  11339. AM_CONDITIONAL(USE_RDRAND, test x$rdrand = xtrue)
  11340. AM_CONDITIONAL(USE_AESNI, test x$aesni = xtrue)
  11341. AM_CONDITIONAL(USE_RANDOM, test x$random = xtrue)
  11342. AM_CONDITIONAL(USE_NONCE, test x$nonce = xtrue)
  11343. AM_CONDITIONAL(USE_X509, test x$x509 = xtrue)
  11344. AM_CONDITIONAL(USE_REVOCATION, test x$revocation = xtrue)
  11345. AM_CONDITIONAL(USE_CONSTRAINTS, test x$constraints = xtrue)
  11346. AM_CONDITIONAL(USE_ACERT, test x$acert = xtrue)
  11347. AM_CONDITIONAL(USE_PUBKEY, test x$pubkey = xtrue)
  11348. AM_CONDITIONAL(USE_PKCS1, test x$pkcs1 = xtrue)
  11349. AM_CONDITIONAL(USE_PKCS7, test x$pkcs7 = xtrue)
  11350. AM_CONDITIONAL(USE_PKCS8, test x$pkcs8 = xtrue)
  11351. AM_CONDITIONAL(USE_PKCS12, test x$pkcs12 = xtrue)
  11352. AM_CONDITIONAL(USE_PGP, test x$pgp = xtrue)
  11353. AM_CONDITIONAL(USE_DNSKEY, test x$dnskey = xtrue)
  11354. AM_CONDITIONAL(USE_SSHKEY, test x$sshkey = xtrue)
  11355. AM_CONDITIONAL(USE_PEM, test x$pem = xtrue)
  11356. AM_CONDITIONAL(USE_HMAC, test x$hmac = xtrue)
  11357. AM_CONDITIONAL(USE_CMAC, test x$cmac = xtrue)
  11358. AM_CONDITIONAL(USE_XCBC, test x$xcbc = xtrue)
  11359. AM_CONDITIONAL(USE_MYSQL, test x$mysql = xtrue)
  11360. AM_CONDITIONAL(USE_SQLITE, test x$sqlite = xtrue)
  11361. AM_CONDITIONAL(USE_PADLOCK, test x$padlock = xtrue)
  11362. AM_CONDITIONAL(USE_OPENSSL, test x$openssl = xtrue)
  11363. AM_CONDITIONAL(USE_WOLFSSL, test x$wolfssl = xtrue)
  11364. AM_CONDITIONAL(USE_GCRYPT, test x$gcrypt = xtrue)
  11365. AM_CONDITIONAL(USE_BOTAN, test x$botan = xtrue)
  11366. AM_CONDITIONAL(USE_AGENT, test x$agent = xtrue)
  11367. AM_CONDITIONAL(USE_KEYCHAIN, test x$keychain = xtrue)
  11368. AM_CONDITIONAL(USE_PKCS11, test x$pkcs11 = xtrue)
  11369. AM_CONDITIONAL(USE_TPM, test x$tpm = xtrue)
  11370. AM_CONDITIONAL(USE_CHAPOLY, test x$chapoly = xtrue)
  11371. AM_CONDITIONAL(USE_CTR, test x$ctr = xtrue)
  11372. AM_CONDITIONAL(USE_CCM, test x$ccm = xtrue)
  11373. AM_CONDITIONAL(USE_GCM, test x$gcm = xtrue)
  11374. AM_CONDITIONAL(USE_AF_ALG, test x$af_alg = xtrue)
  11375. AM_CONDITIONAL(USE_NTRU, test x$ntru = xtrue)
  11376. AM_CONDITIONAL(USE_NEWHOPE, test x$newhope = xtrue)
  11377. AM_CONDITIONAL(USE_BLISS, test x$bliss = xtrue)
  11378. # charon plugins
  11379. # ----------------
  11380. AM_CONDITIONAL(USE_STROKE, test x$stroke = xtrue)
  11381. AM_CONDITIONAL(USE_VICI, test x$vici = xtrue)
  11382. AM_CONDITIONAL(USE_MEDSRV, test x$medsrv = xtrue)
  11383. AM_CONDITIONAL(USE_MEDCLI, test x$medcli = xtrue)
  11384. AM_CONDITIONAL(USE_UCI, test x$uci = xtrue)
  11385. AM_CONDITIONAL(USE_OSX_ATTR, test x$osx_attr = xtrue)
  11386. AM_CONDITIONAL(USE_P_CSCF, test x$p_cscf = xtrue)
  11387. AM_CONDITIONAL(USE_ANDROID_DNS, test x$android_dns = xtrue)
  11388. AM_CONDITIONAL(USE_ANDROID_LOG, test x$android_log = xtrue)
  11389. AM_CONDITIONAL(USE_SMP, test x$smp = xtrue)
  11390. AM_CONDITIONAL(USE_SQL, test x$sql = xtrue)
  11391. AM_CONDITIONAL(USE_DNSCERT, test x$dnscert = xtrue)
  11392. AM_CONDITIONAL(USE_IPSECKEY, test x$ipseckey = xtrue)
  11393. AM_CONDITIONAL(USE_UPDOWN, test x$updown = xtrue)
  11394. AM_CONDITIONAL(USE_DHCP, test x$dhcp = xtrue)
  11395. AM_CONDITIONAL(USE_LOAD_TESTER, test x$load_tester = xtrue)
  11396. AM_CONDITIONAL(USE_HA, test x$ha = xtrue)
  11397. AM_CONDITIONAL(USE_KERNEL_NETLINK, test x$kernel_netlink = xtrue)
  11398. AM_CONDITIONAL(USE_KERNEL_PFKEY, test x$kernel_pfkey = xtrue)
  11399. AM_CONDITIONAL(USE_KERNEL_PFROUTE, test x$kernel_pfroute = xtrue)
  11400. AM_CONDITIONAL(USE_KERNEL_LIBIPSEC, test x$kernel_libipsec = xtrue)
  11401. AM_CONDITIONAL(USE_KERNEL_WFP, test x$kernel_wfp = xtrue)
  11402. AM_CONDITIONAL(USE_KERNEL_IPH, test x$kernel_iph = xtrue)
  11403. AM_CONDITIONAL(USE_WHITELIST, test x$whitelist = xtrue)
  11404. AM_CONDITIONAL(USE_EXT_AUTH, test x$ext_auth = xtrue)
  11405. AM_CONDITIONAL(USE_LOOKIP, test x$lookip = xtrue)
  11406. AM_CONDITIONAL(USE_ERROR_NOTIFY, test x$error_notify = xtrue)
  11407. AM_CONDITIONAL(USE_CERTEXPIRE, test x$certexpire = xtrue)
  11408. AM_CONDITIONAL(USE_SYSTIME_FIX, test x$systime_fix = xtrue)
  11409. AM_CONDITIONAL(USE_LED, test x$led = xtrue)
  11410. AM_CONDITIONAL(USE_DUPLICHECK, test x$duplicheck = xtrue)
  11411. AM_CONDITIONAL(USE_COUPLING, test x$coupling = xtrue)
  11412. AM_CONDITIONAL(USE_RADATTR, test x$radattr = xtrue)
  11413. AM_CONDITIONAL(USE_EAP_SIM, test x$eap_sim = xtrue)
  11414. AM_CONDITIONAL(USE_EAP_SIM_FILE, test x$eap_sim_file = xtrue)
  11415. AM_CONDITIONAL(USE_EAP_SIM_PCSC, test x$eap_sim_pcsc = xtrue)
  11416. AM_CONDITIONAL(USE_EAP_SIMAKA_SQL, test x$eap_simaka_sql = xtrue)
  11417. AM_CONDITIONAL(USE_EAP_SIMAKA_PSEUDONYM, test x$eap_simaka_pseudonym = xtrue)
  11418. AM_CONDITIONAL(USE_EAP_SIMAKA_REAUTH, test x$eap_simaka_reauth = xtrue)
  11419. AM_CONDITIONAL(USE_EAP_IDENTITY, test x$eap_identity = xtrue)
  11420. AM_CONDITIONAL(USE_EAP_MD5, test x$eap_md5 = xtrue)
  11421. AM_CONDITIONAL(USE_EAP_GTC, test x$eap_gtc = xtrue)
  11422. AM_CONDITIONAL(USE_EAP_AKA, test x$eap_aka = xtrue)
  11423. AM_CONDITIONAL(USE_EAP_AKA_3GPP, test x$eap_aka_3gpp = xtrue)
  11424. AM_CONDITIONAL(USE_EAP_AKA_3GPP2, test x$eap_aka_3gpp2 = xtrue)
  11425. AM_CONDITIONAL(USE_EAP_MSCHAPV2, test x$eap_mschapv2 = xtrue)
  11426. AM_CONDITIONAL(USE_EAP_TLS, test x$eap_tls = xtrue)
  11427. AM_CONDITIONAL(USE_EAP_TTLS, test x$eap_ttls = xtrue)
  11428. AM_CONDITIONAL(USE_EAP_PEAP, test x$eap_peap = xtrue)
  11429. AM_CONDITIONAL(USE_EAP_TNC, test x$eap_tnc = xtrue)
  11430. AM_CONDITIONAL(USE_EAP_DYNAMIC, test x$eap_dynamic = xtrue)
  11431. AM_CONDITIONAL(USE_EAP_RADIUS, test x$eap_radius = xtrue)
  11432. AM_CONDITIONAL(USE_XAUTH_GENERIC, test x$xauth_generic = xtrue)
  11433. AM_CONDITIONAL(USE_XAUTH_EAP, test x$xauth_eap = xtrue)
  11434. AM_CONDITIONAL(USE_XAUTH_PAM, test x$xauth_pam = xtrue)
  11435. AM_CONDITIONAL(USE_XAUTH_NOAUTH, test x$xauth_noauth = xtrue)
  11436. AM_CONDITIONAL(USE_TNC_IFMAP, test x$tnc_ifmap = xtrue)
  11437. AM_CONDITIONAL(USE_TNC_PDP, test x$tnc_pdp = xtrue)
  11438. AM_CONDITIONAL(USE_TNC_IMC, test x$tnc_imc = xtrue)
  11439. AM_CONDITIONAL(USE_TNC_IMV, test x$tnc_imv = xtrue)
  11440. AM_CONDITIONAL(USE_TNC_TNCCS, test x$tnc_tnccs = xtrue)
  11441. AM_CONDITIONAL(USE_TNCCS_11, test x$tnccs_11 = xtrue)
  11442. AM_CONDITIONAL(USE_TNCCS_20, test x$tnccs_20 = xtrue)
  11443. AM_CONDITIONAL(USE_TNCCS_DYNAMIC, test x$tnccs_dynamic = xtrue)
  11444. AM_CONDITIONAL(USE_IMC_TEST, test x$imc_test = xtrue)
  11445. AM_CONDITIONAL(USE_IMV_TEST, test x$imv_test = xtrue)
  11446. AM_CONDITIONAL(USE_IMC_SCANNER, test x$imc_scanner = xtrue)
  11447. AM_CONDITIONAL(USE_IMV_SCANNER, test x$imv_scanner = xtrue)
  11448. AM_CONDITIONAL(USE_IMC_OS, test x$imc_os = xtrue)
  11449. AM_CONDITIONAL(USE_IMV_OS, test x$imv_os = xtrue)
  11450. AM_CONDITIONAL(USE_IMC_ATTESTATION, test x$imc_attestation = xtrue)
  11451. AM_CONDITIONAL(USE_IMV_ATTESTATION, test x$imv_attestation = xtrue)
  11452. AM_CONDITIONAL(USE_IMC_SWIMA, test x$imc_swima = xtrue)
  11453. AM_CONDITIONAL(USE_IMV_SWIMA, test x$imv_swima = xtrue)
  11454. AM_CONDITIONAL(USE_IMC_HCD, test x$imc_hcd = xtrue)
  11455. AM_CONDITIONAL(USE_IMV_HCD, test x$imv_hcd = xtrue)
  11456. AM_CONDITIONAL(USE_SAVE_KEYS, test x$save_keys = xtrue)
  11457. AM_CONDITIONAL(USE_SOCKET_DEFAULT, test x$socket_default = xtrue)
  11458. AM_CONDITIONAL(USE_SOCKET_DYNAMIC, test x$socket_dynamic = xtrue)
  11459. AM_CONDITIONAL(USE_SOCKET_WIN, test x$socket_win = xtrue)
  11460. AM_CONDITIONAL(USE_BYPASS_LAN, test x$bypass_lan = xtrue)
  11461. AM_CONDITIONAL(USE_CONNMARK, test x$connmark = xtrue)
  11462. AM_CONDITIONAL(USE_FORECAST, test x$forecast = xtrue)
  11463. AM_CONDITIONAL(USE_FARP, test x$farp = xtrue)
  11464. AM_CONDITIONAL(USE_ADDRBLOCK, test x$addrblock = xtrue)
  11465. AM_CONDITIONAL(USE_UNITY, test x$unity = xtrue)
  11466. AM_CONDITIONAL(USE_RESOLVE, test x$resolve = xtrue)
  11467. AM_CONDITIONAL(USE_ATTR, test x$attr = xtrue)
  11468. AM_CONDITIONAL(USE_ATTR_SQL, test x$attr_sql = xtrue)
  11469. AM_CONDITIONAL(USE_COUNTERS, test x$counters = xtrue)
  11470. # other options
  11471. # ---------------
  11472. AM_CONDITIONAL(USE_LEAK_DETECTIVE, test x$leak_detective = xtrue)
  11473. AM_CONDITIONAL(USE_LOCK_PROFILER, test x$lock_profiler = xtrue)
  11474. AM_CONDITIONAL(USE_FAST, test x$fast = xtrue)
  11475. AM_CONDITIONAL(USE_MANAGER, test x$manager = xtrue)
  11476. AM_CONDITIONAL(USE_ME, test x$mediation = xtrue)
  11477. AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
  11478. AM_CONDITIONAL(USE_LOAD_WARNING, test x$load_warning = xtrue)
  11479. AM_CONDITIONAL(USE_IKEV1, test x$ikev1 = xtrue)
  11480. AM_CONDITIONAL(USE_IKEV2, test x$ikev2 = xtrue)
  11481. AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
  11482. AM_CONDITIONAL(USE_ADNS, test x$adns = xtrue)
  11483. AM_CONDITIONAL(USE_CHARON, test x$charon = xtrue)
  11484. AM_CONDITIONAL(USE_NM, test x$nm = xtrue)
  11485. AM_CONDITIONAL(USE_PKI, test x$pki = xtrue)
  11486. AM_CONDITIONAL(USE_SCEPCLIENT, test x$scepclient = xtrue)
  11487. AM_CONDITIONAL(USE_SCRIPTS, test x$scripts = xtrue)
  11488. AM_CONDITIONAL(USE_FUZZING, test x$fuzzing = xtrue)
  11489. AM_CONDITIONAL(USE_CONFTEST, test x$conftest = xtrue)
  11490. AM_CONDITIONAL(USE_LIBSTRONGSWAN, test x$charon = xtrue -o x$pki = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue -o x$fast = xtrue -o x$imcv = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$tls = xtrue -o x$tnc_tnccs = xtrue -o x$aikgen = xtrue -o x$svc = xtrue -o x$systemd = xtrue)
  11491. AM_CONDITIONAL(USE_LIBCHARON, test x$charon = xtrue -o x$conftest = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$svc = xtrue -o x$systemd = xtrue)
  11492. AM_CONDITIONAL(USE_LIBIPSEC, test x$libipsec = xtrue)
  11493. AM_CONDITIONAL(USE_LIBNTTFFT, test x$bliss = xtrue -o x$newhope = xtrue)
  11494. AM_CONDITIONAL(USE_LIBTNCIF, test x$tnc_tnccs = xtrue -o x$imcv = xtrue)
  11495. AM_CONDITIONAL(USE_LIBTNCCS, test x$tnc_tnccs = xtrue)
  11496. AM_CONDITIONAL(USE_LIBPTTLS, test x$tnc_tnccs = xtrue)
  11497. AM_CONDITIONAL(USE_LIBTPMTSS, test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm = xtrue -o x$aikgen = xtrue -o x$imcv = xtrue)
  11498. AM_CONDITIONAL(USE_FILE_CONFIG, test x$stroke = xtrue)
  11499. AM_CONDITIONAL(USE_IPSEC_SCRIPT, test x$stroke = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue)
  11500. AM_CONDITIONAL(USE_LIBCAP, test x$capabilities = xlibcap)
  11501. AM_CONDITIONAL(USE_VSTR, test x$printf_hooks = xvstr)
  11502. AM_CONDITIONAL(USE_BUILTIN_PRINTF, test x$printf_hooks = xbuiltin)
  11503. AM_CONDITIONAL(USE_SIMAKA, test x$simaka = xtrue)
  11504. AM_CONDITIONAL(USE_TLS, test x$tls = xtrue)
  11505. AM_CONDITIONAL(USE_RADIUS, test x$radius = xtrue)
  11506. AM_CONDITIONAL(USE_IMCV, test x$imcv = xtrue)
  11507. AM_CONDITIONAL(USE_TROUSERS, test x$tss_trousers = xtrue)
  11508. AM_CONDITIONAL(USE_TSS2, test x$tss_tss2 = xtrue)
  11509. AM_CONDITIONAL(MONOLITHIC, test x$monolithic = xtrue)
  11510. AM_CONDITIONAL(STATIC_PLUGIN_CONSTRUCTORS, test x$static_plugin_constructors = xtrue)
  11511. AM_CONDITIONAL(USE_SILENT_RULES, test x$enable_silent_rules = xyes)
  11512. AM_CONDITIONAL(COVERAGE, test x$coverage = xtrue)
  11513. AM_CONDITIONAL(USE_DBGHELP, test x$dbghelp_backtraces = xtrue)
  11514. AM_CONDITIONAL(USE_TKM, test x$tkm = xtrue)
  11515. AM_CONDITIONAL(USE_CMD, test x$cmd = xtrue)
  11516. AM_CONDITIONAL(USE_AIKGEN, test x$aikgen = xtrue)
  11517. AM_CONDITIONAL(USE_SWANCTL, test x$swanctl = xtrue)
  11518. AM_CONDITIONAL(USE_SVC, test x$svc = xtrue)
  11519. AM_CONDITIONAL(USE_SYSTEMD, test x$systemd = xtrue)
  11520. AM_CONDITIONAL(USE_LEGACY_SYSTEMD, test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno)
  11521. AM_CONDITIONAL(USE_RUBY_GEMS, test x$ruby_gems = xtrue)
  11522. AM_CONDITIONAL(USE_PYTHON_EGGS, test x$python_eggs = xtrue)
  11523. AM_CONDITIONAL(USE_PERL_CPAN, test x$perl_cpan = xtrue)
  11524. AM_CONDITIONAL(USE_PY_TEST, test "x$PY_TEST" != x)
  11525. # ========================
  11526. # set global definitions
  11527. # ========================
  11528. if test x$mediation = xtrue; then
  11529. $as_echo "@%:@define ME /**/" >>confdefs.h
  11530. fi
  11531. if test x$capabilities = xlibcap -o x$capabilities = xnative; then
  11532. $as_echo "@%:@define CAPABILITIES /**/" >>confdefs.h
  11533. fi
  11534. if test x$log_thread_ids = xtrue; then
  11535. $as_echo "@%:@define USE_THREAD_IDS /**/" >>confdefs.h
  11536. fi
  11537. if test x$monolithic = xtrue; then
  11538. $as_echo "@%:@define MONOLITHIC /**/" >>confdefs.h
  11539. fi
  11540. if test x$static_plugin_constructors = xtrue; then
  11541. $as_echo "@%:@define STATIC_PLUGIN_CONSTRUCTORS /**/" >>confdefs.h
  11542. fi
  11543. if test x$ikev1 = xtrue; then
  11544. $as_echo "@%:@define USE_IKEV1 /**/" >>confdefs.h
  11545. fi
  11546. if test x$ikev2 = xtrue; then
  11547. $as_echo "@%:@define USE_IKEV2 /**/" >>confdefs.h
  11548. fi
  11549. if test x$fuzzing = xtrue; then
  11550. $as_echo "@%:@define USE_FUZZING /**/" >>confdefs.h
  11551. fi
  11552. if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then
  11553. $as_echo "@%:@define USE_JSON /**/" >>confdefs.h
  11554. fi
  11555. # ====================================================
  11556. # options for enabled modules (see conf/Makefile.am)
  11557. # ====================================================
  11558. strongswan_options=
  11559. AM_COND_IF(USE_AIKGEN, strongswan_options=${strongswan_options}" aikgen")
  11560. AM_COND_IF(USE_ATTR_SQL, strongswan_options=${strongswan_options}" pool")
  11561. AM_COND_IF(USE_CHARON, strongswan_options=${strongswan_options}" charon charon-logging")
  11562. AM_COND_IF(USE_FILE_CONFIG, strongswan_options=${strongswan_options}" starter")
  11563. AM_COND_IF(USE_IMV_ATTESTATION, strongswan_options=${strongswan_options}" attest")
  11564. AM_COND_IF(USE_IMCV, strongswan_options=${strongswan_options}" imcv")
  11565. AM_COND_IF(USE_IMV_SWIMA, strongswan_options=${strongswan_options}" sec-updater")
  11566. AM_COND_IF(USE_LIBTNCCS, strongswan_options=${strongswan_options}" tnc")
  11567. AM_COND_IF(USE_MANAGER, strongswan_options=${strongswan_options}" manager")
  11568. AM_COND_IF(USE_MEDSRV, strongswan_options=${strongswan_options}" medsrv")
  11569. AM_COND_IF(USE_SCEPCLIENT, strongswan_options=${strongswan_options}" scepclient")
  11570. AM_COND_IF(USE_PKI, strongswan_options=${strongswan_options}" pki")
  11571. AM_COND_IF(USE_SWANCTL, strongswan_options=${strongswan_options}" swanctl")
  11572. AM_COND_IF(USE_SYSTEMD, strongswan_options=${strongswan_options}" charon-systemd")
  11573. # =================
  11574. # build Makefiles
  11575. # =================
  11576. ac_config_files="$ac_config_files Makefile conf/Makefile fuzz/Makefile man/Makefile init/Makefile init/systemd/Makefile init/systemd-starter/Makefile src/Makefile src/include/Makefile src/libstrongswan/Makefile src/libstrongswan/math/libnttfft/Makefile src/libstrongswan/math/libnttfft/tests/Makefile src/libstrongswan/plugins/aes/Makefile src/libstrongswan/plugins/cmac/Makefile src/libstrongswan/plugins/des/Makefile src/libstrongswan/plugins/blowfish/Makefile src/libstrongswan/plugins/rc2/Makefile src/libstrongswan/plugins/md4/Makefile src/libstrongswan/plugins/md5/Makefile src/libstrongswan/plugins/sha1/Makefile src/libstrongswan/plugins/sha2/Makefile src/libstrongswan/plugins/sha3/Makefile src/libstrongswan/plugins/mgf1/Makefile src/libstrongswan/plugins/fips_prf/Makefile src/libstrongswan/plugins/gmp/Makefile src/libstrongswan/plugins/curve25519/Makefile src/libstrongswan/plugins/rdrand/Makefile src/libstrongswan/plugins/aesni/Makefile src/libstrongswan/plugins/random/Makefile src/libstrongswan/plugins/nonce/Makefile src/libstrongswan/plugins/hmac/Makefile src/libstrongswan/plugins/xcbc/Makefile src/libstrongswan/plugins/x509/Makefile src/libstrongswan/plugins/revocation/Makefile src/libstrongswan/plugins/constraints/Makefile src/libstrongswan/plugins/acert/Makefile src/libstrongswan/plugins/pubkey/Makefile src/libstrongswan/plugins/pkcs1/Makefile src/libstrongswan/plugins/pkcs7/Makefile src/libstrongswan/plugins/pkcs8/Makefile src/libstrongswan/plugins/pkcs12/Makefile src/libstrongswan/plugins/pgp/Makefile src/libstrongswan/plugins/dnskey/Makefile src/libstrongswan/plugins/sshkey/Makefile src/libstrongswan/plugins/pem/Makefile src/libstrongswan/plugins/curl/Makefile src/libstrongswan/plugins/files/Makefile src/libstrongswan/plugins/winhttp/Makefile src/libstrongswan/plugins/unbound/Makefile src/libstrongswan/plugins/soup/Makefile src/libstrongswan/plugins/ldap/Makefile src/libstrongswan/plugins/mysql/Makefile src/libstrongswan/plugins/sqlite/Makefile src/libstrongswan/plugins/padlock/Makefile src/libstrongswan/plugins/openssl/Makefile src/libstrongswan/plugins/wolfssl/Makefile src/libstrongswan/plugins/gcrypt/Makefile src/libstrongswan/plugins/botan/Makefile src/libstrongswan/plugins/agent/Makefile src/libstrongswan/plugins/keychain/Makefile src/libstrongswan/plugins/pkcs11/Makefile src/libstrongswan/plugins/chapoly/Makefile src/libstrongswan/plugins/ctr/Makefile src/libstrongswan/plugins/ccm/Makefile src/libstrongswan/plugins/gcm/Makefile src/libstrongswan/plugins/af_alg/Makefile src/libstrongswan/plugins/ntru/Makefile src/libstrongswan/plugins/bliss/Makefile src/libstrongswan/plugins/bliss/tests/Makefile src/libstrongswan/plugins/newhope/Makefile src/libstrongswan/plugins/newhope/tests/Makefile src/libstrongswan/plugins/test_vectors/Makefile src/libstrongswan/tests/Makefile src/libipsec/Makefile src/libipsec/tests/Makefile src/libsimaka/Makefile src/libtls/Makefile src/libtls/tests/Makefile src/libradius/Makefile src/libtncif/Makefile src/libtnccs/Makefile src/libtnccs/plugins/tnc_tnccs/Makefile src/libtnccs/plugins/tnc_imc/Makefile src/libtnccs/plugins/tnc_imv/Makefile src/libtnccs/plugins/tnccs_11/Makefile src/libtnccs/plugins/tnccs_20/Makefile src/libtnccs/plugins/tnccs_dynamic/Makefile src/libpttls/Makefile src/libimcv/Makefile src/libimcv/plugins/imc_test/Makefile src/libimcv/plugins/imv_test/Makefile src/libimcv/plugins/imc_scanner/Makefile src/libimcv/plugins/imv_scanner/Makefile src/libimcv/plugins/imc_os/Makefile src/libimcv/plugins/imv_os/Makefile src/libimcv/plugins/imc_attestation/Makefile src/libimcv/plugins/imv_attestation/Makefile src/libimcv/plugins/imc_swima/Makefile src/libimcv/plugins/imv_swima/Makefile src/libimcv/plugins/imc_hcd/Makefile src/libimcv/plugins/imv_hcd/Makefile src/charon/Makefile src/charon-nm/Makefile src/charon-tkm/Makefile src/charon-cmd/Makefile src/charon-svc/Makefile src/charon-systemd/Makefile src/libcharon/Makefile src/libcharon/plugins/eap_aka/Makefile src/libcharon/plugins/eap_aka_3gpp/Makefile src/libcharon/plugins/eap_aka_3gpp/tests/Makefile src/libcharon/plugins/eap_aka_3gpp2/Makefile src/libcharon/plugins/eap_dynamic/Makefile src/libcharon/plugins/eap_identity/Makefile src/libcharon/plugins/eap_md5/Makefile src/libcharon/plugins/eap_gtc/Makefile src/libcharon/plugins/eap_sim/Makefile src/libcharon/plugins/eap_sim_file/Makefile src/libcharon/plugins/eap_sim_pcsc/Makefile src/libcharon/plugins/eap_simaka_sql/Makefile src/libcharon/plugins/eap_simaka_pseudonym/Makefile src/libcharon/plugins/eap_simaka_reauth/Makefile src/libcharon/plugins/eap_mschapv2/Makefile src/libcharon/plugins/eap_tls/Makefile src/libcharon/plugins/eap_ttls/Makefile src/libcharon/plugins/eap_peap/Makefile src/libcharon/plugins/eap_tnc/Makefile src/libcharon/plugins/eap_radius/Makefile src/libcharon/plugins/xauth_generic/Makefile src/libcharon/plugins/xauth_eap/Makefile src/libcharon/plugins/xauth_pam/Makefile src/libcharon/plugins/xauth_noauth/Makefile src/libcharon/plugins/tnc_ifmap/Makefile src/libcharon/plugins/tnc_pdp/Makefile src/libcharon/plugins/save_keys/Makefile src/libcharon/plugins/socket_default/Makefile src/libcharon/plugins/socket_dynamic/Makefile src/libcharon/plugins/socket_win/Makefile src/libcharon/plugins/bypass_lan/Makefile src/libcharon/plugins/connmark/Makefile src/libcharon/plugins/counters/Makefile src/libcharon/plugins/forecast/Makefile src/libcharon/plugins/farp/Makefile src/libcharon/plugins/smp/Makefile src/libcharon/plugins/sql/Makefile src/libcharon/plugins/dnscert/Makefile src/libcharon/plugins/ipseckey/Makefile src/libcharon/plugins/medsrv/Makefile src/libcharon/plugins/medcli/Makefile src/libcharon/plugins/addrblock/Makefile src/libcharon/plugins/unity/Makefile src/libcharon/plugins/uci/Makefile src/libcharon/plugins/ha/Makefile src/libcharon/plugins/kernel_netlink/Makefile src/libcharon/plugins/kernel_pfkey/Makefile src/libcharon/plugins/kernel_pfroute/Makefile src/libcharon/plugins/kernel_libipsec/Makefile src/libcharon/plugins/kernel_wfp/Makefile src/libcharon/plugins/kernel_iph/Makefile src/libcharon/plugins/whitelist/Makefile src/libcharon/plugins/ext_auth/Makefile src/libcharon/plugins/lookip/Makefile src/libcharon/plugins/error_notify/Makefile src/libcharon/plugins/certexpire/Makefile src/libcharon/plugins/systime_fix/Makefile src/libcharon/plugins/led/Makefile src/libcharon/plugins/duplicheck/Makefile src/libcharon/plugins/coupling/Makefile src/libcharon/plugins/radattr/Makefile src/libcharon/plugins/osx_attr/Makefile src/libcharon/plugins/p_cscf/Makefile src/libcharon/plugins/android_dns/Makefile src/libcharon/plugins/android_log/Makefile src/libcharon/plugins/stroke/Makefile src/libcharon/plugins/vici/Makefile src/libcharon/plugins/vici/ruby/Makefile src/libcharon/plugins/vici/perl/Makefile src/libcharon/plugins/vici/python/Makefile src/libcharon/plugins/updown/Makefile src/libcharon/plugins/dhcp/Makefile src/libcharon/plugins/load_tester/Makefile src/libcharon/plugins/resolve/Makefile src/libcharon/plugins/attr/Makefile src/libcharon/plugins/attr_sql/Makefile src/libcharon/tests/Makefile src/libtpmtss/Makefile src/libtpmtss/plugins/tpm/Makefile src/stroke/Makefile src/ipsec/Makefile src/starter/Makefile src/starter/tests/Makefile src/_updown/Makefile src/_copyright/Makefile src/scepclient/Makefile src/aikgen/Makefile src/tpm_extendpcr/Makefile src/pki/Makefile src/pki/man/Makefile src/pool/Makefile src/libfast/Makefile src/manager/Makefile src/medsrv/Makefile src/checksum/Makefile src/conftest/Makefile src/pt-tls-client/Makefile src/sw-collector/Makefile src/sec-updater/Makefile src/swanctl/Makefile src/xfrmi/Makefile scripts/Makefile testing/Makefile"
  11577. # =================
  11578. # build man pages
  11579. # =================
  11580. ac_config_files="$ac_config_files conf/strongswan.conf.5.head conf/strongswan.conf.5.tail man/ipsec.conf.5 man/ipsec.secrets.5 src/charon-cmd/charon-cmd.8 src/pki/man/pki.1 src/pki/man/pki---acert.1 src/pki/man/pki---dn.1 src/pki/man/pki---gen.1 src/pki/man/pki---issue.1 src/pki/man/pki---keyid.1 src/pki/man/pki---pkcs12.1 src/pki/man/pki---pkcs7.1 src/pki/man/pki---print.1 src/pki/man/pki---pub.1 src/pki/man/pki---req.1 src/pki/man/pki---self.1 src/pki/man/pki---signcrl.1 src/pki/man/pki---verify.1 src/swanctl/swanctl.8 src/swanctl/swanctl.conf.5.head src/swanctl/swanctl.conf.5.tail src/pt-tls-client/pt-tls-client.1 src/sw-collector/sw-collector.8 src/sec-updater/sec-updater.8"
  11581. cat >confcache <<\_ACEOF
  11582. # This file is a shell script that caches the results of configure
  11583. # tests run on this system so they can be shared between configure
  11584. # scripts and configure runs, see configure's option --config-cache.
  11585. # It is not useful on other systems. If it contains results you don't
  11586. # want to keep, you may remove or edit it.
  11587. #
  11588. # config.status only pays attention to the cache file if you give it
  11589. # the --recheck option to rerun configure.
  11590. #
  11591. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  11592. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  11593. # following values.
  11594. _ACEOF
  11595. # The following way of writing the cache mishandles newlines in values,
  11596. # but we know of no workaround that is simple, portable, and efficient.
  11597. # So, we kill variables containing newlines.
  11598. # Ultrix sh set writes to stderr and can't be redirected directly,
  11599. # and sets the high bit in the cache file unless we assign to the vars.
  11600. (
  11601. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  11602. eval ac_val=\$$ac_var
  11603. case $ac_val in #(
  11604. *${as_nl}*)
  11605. case $ac_var in #(
  11606. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11607. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11608. esac
  11609. case $ac_var in #(
  11610. _ | IFS | as_nl) ;; #(
  11611. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11612. *) { eval $ac_var=; unset $ac_var;} ;;
  11613. esac ;;
  11614. esac
  11615. done
  11616. (set) 2>&1 |
  11617. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  11618. *${as_nl}ac_space=\ *)
  11619. # `set' does not quote correctly, so add quotes: double-quote
  11620. # substitution turns \\\\ into \\, and sed turns \\ into \.
  11621. sed -n \
  11622. "s/'/'\\\\''/g;
  11623. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  11624. ;; #(
  11625. *)
  11626. # `set' quotes correctly as required by POSIX, so do not add quotes.
  11627. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11628. ;;
  11629. esac |
  11630. sort
  11631. ) |
  11632. sed '
  11633. /^ac_cv_env_/b end
  11634. t clear
  11635. :clear
  11636. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  11637. t end
  11638. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  11639. :end' >>confcache
  11640. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  11641. if test -w "$cache_file"; then
  11642. if test "x$cache_file" != "x/dev/null"; then
  11643. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  11644. $as_echo "$as_me: updating cache $cache_file" >&6;}
  11645. if test ! -f "$cache_file" || test -h "$cache_file"; then
  11646. cat confcache >"$cache_file"
  11647. else
  11648. case $cache_file in #(
  11649. */* | ?:*)
  11650. mv -f confcache "$cache_file"$$ &&
  11651. mv -f "$cache_file"$$ "$cache_file" ;; #(
  11652. *)
  11653. mv -f confcache "$cache_file" ;;
  11654. esac
  11655. fi
  11656. fi
  11657. else
  11658. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  11659. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  11660. fi
  11661. fi
  11662. rm -f confcache
  11663. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  11664. # Let make expand exec_prefix.
  11665. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  11666. DEFS=-DHAVE_CONFIG_H
  11667. ac_libobjs=
  11668. ac_ltlibobjs=
  11669. U=
  11670. for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  11671. # 1. Remove the extension, and $U if already installed.
  11672. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  11673. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  11674. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  11675. # will be set to the directory where LIBOBJS objects are built.
  11676. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  11677. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  11678. done
  11679. LIB@&t@OBJS=$ac_libobjs
  11680. LTLIBOBJS=$ac_ltlibobjs
  11681. : "${CONFIG_STATUS=./config.status}"
  11682. ac_write_fail=0
  11683. ac_clean_files_save=$ac_clean_files
  11684. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  11685. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  11686. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  11687. as_write_fail=0
  11688. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  11689. #! $SHELL
  11690. # Generated by $as_me.
  11691. # Run this file to recreate the current configuration.
  11692. # Compiler output produced by configure, useful for debugging
  11693. # configure, is in config.log if it exists.
  11694. debug=false
  11695. ac_cs_recheck=false
  11696. ac_cs_silent=false
  11697. SHELL=\${CONFIG_SHELL-$SHELL}
  11698. export SHELL
  11699. _ASEOF
  11700. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  11701. ## -------------------- ##
  11702. ## M4sh Initialization. ##
  11703. ## -------------------- ##
  11704. # Be more Bourne compatible
  11705. DUALCASE=1; export DUALCASE # for MKS sh
  11706. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  11707. emulate sh
  11708. NULLCMD=:
  11709. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  11710. # is contrary to our usage. Disable this feature.
  11711. alias -g '${1+"$@"}'='"$@"'
  11712. setopt NO_GLOB_SUBST
  11713. else
  11714. case `(set -o) 2>/dev/null` in @%:@(
  11715. *posix*) :
  11716. set -o posix ;; @%:@(
  11717. *) :
  11718. ;;
  11719. esac
  11720. fi
  11721. as_nl='
  11722. '
  11723. export as_nl
  11724. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  11725. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  11726. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  11727. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  11728. # Prefer a ksh shell builtin over an external printf program on Solaris,
  11729. # but without wasting forks for bash or zsh.
  11730. if test -z "$BASH_VERSION$ZSH_VERSION" \
  11731. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  11732. as_echo='print -r --'
  11733. as_echo_n='print -rn --'
  11734. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  11735. as_echo='printf %s\n'
  11736. as_echo_n='printf %s'
  11737. else
  11738. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  11739. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  11740. as_echo_n='/usr/ucb/echo -n'
  11741. else
  11742. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  11743. as_echo_n_body='eval
  11744. arg=$1;
  11745. case $arg in @%:@(
  11746. *"$as_nl"*)
  11747. expr "X$arg" : "X\\(.*\\)$as_nl";
  11748. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  11749. esac;
  11750. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  11751. '
  11752. export as_echo_n_body
  11753. as_echo_n='sh -c $as_echo_n_body as_echo'
  11754. fi
  11755. export as_echo_body
  11756. as_echo='sh -c $as_echo_body as_echo'
  11757. fi
  11758. # The user is always right.
  11759. if test "${PATH_SEPARATOR+set}" != set; then
  11760. PATH_SEPARATOR=:
  11761. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  11762. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  11763. PATH_SEPARATOR=';'
  11764. }
  11765. fi
  11766. # IFS
  11767. # We need space, tab and new line, in precisely that order. Quoting is
  11768. # there to prevent editors from complaining about space-tab.
  11769. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  11770. # splitting by setting IFS to empty value.)
  11771. IFS=" "" $as_nl"
  11772. # Find who we are. Look in the path if we contain no directory separator.
  11773. as_myself=
  11774. case $0 in @%:@((
  11775. *[\\/]* ) as_myself=$0 ;;
  11776. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11777. for as_dir in $PATH
  11778. do
  11779. IFS=$as_save_IFS
  11780. test -z "$as_dir" && as_dir=.
  11781. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  11782. done
  11783. IFS=$as_save_IFS
  11784. ;;
  11785. esac
  11786. # We did not find ourselves, most probably we were run as `sh COMMAND'
  11787. # in which case we are not to be found in the path.
  11788. if test "x$as_myself" = x; then
  11789. as_myself=$0
  11790. fi
  11791. if test ! -f "$as_myself"; then
  11792. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  11793. exit 1
  11794. fi
  11795. # Unset variables that we do not need and which cause bugs (e.g. in
  11796. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  11797. # suppresses any "Segmentation fault" message there. '((' could
  11798. # trigger a bug in pdksh 5.2.14.
  11799. for as_var in BASH_ENV ENV MAIL MAILPATH
  11800. do eval test x\${$as_var+set} = xset \
  11801. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  11802. done
  11803. PS1='$ '
  11804. PS2='> '
  11805. PS4='+ '
  11806. # NLS nuisances.
  11807. LC_ALL=C
  11808. export LC_ALL
  11809. LANGUAGE=C
  11810. export LANGUAGE
  11811. # CDPATH.
  11812. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  11813. @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  11814. @%:@ ----------------------------------------
  11815. @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  11816. @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  11817. @%:@ script with STATUS, using 1 if that was 0.
  11818. as_fn_error ()
  11819. {
  11820. as_status=$1; test $as_status -eq 0 && as_status=1
  11821. if test "$4"; then
  11822. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11823. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  11824. fi
  11825. $as_echo "$as_me: error: $2" >&2
  11826. as_fn_exit $as_status
  11827. } @%:@ as_fn_error
  11828. @%:@ as_fn_set_status STATUS
  11829. @%:@ -----------------------
  11830. @%:@ Set @S|@? to STATUS, without forking.
  11831. as_fn_set_status ()
  11832. {
  11833. return $1
  11834. } @%:@ as_fn_set_status
  11835. @%:@ as_fn_exit STATUS
  11836. @%:@ -----------------
  11837. @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  11838. as_fn_exit ()
  11839. {
  11840. set +e
  11841. as_fn_set_status $1
  11842. exit $1
  11843. } @%:@ as_fn_exit
  11844. @%:@ as_fn_unset VAR
  11845. @%:@ ---------------
  11846. @%:@ Portably unset VAR.
  11847. as_fn_unset ()
  11848. {
  11849. { eval $1=; unset $1;}
  11850. }
  11851. as_unset=as_fn_unset
  11852. @%:@ as_fn_append VAR VALUE
  11853. @%:@ ----------------------
  11854. @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  11855. @%:@ advantage of any shell optimizations that allow amortized linear growth over
  11856. @%:@ repeated appends, instead of the typical quadratic growth present in naive
  11857. @%:@ implementations.
  11858. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  11859. eval 'as_fn_append ()
  11860. {
  11861. eval $1+=\$2
  11862. }'
  11863. else
  11864. as_fn_append ()
  11865. {
  11866. eval $1=\$$1\$2
  11867. }
  11868. fi # as_fn_append
  11869. @%:@ as_fn_arith ARG...
  11870. @%:@ ------------------
  11871. @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  11872. @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  11873. @%:@ must be portable across @S|@(()) and expr.
  11874. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  11875. eval 'as_fn_arith ()
  11876. {
  11877. as_val=$(( $* ))
  11878. }'
  11879. else
  11880. as_fn_arith ()
  11881. {
  11882. as_val=`expr "$@" || test $? -eq 1`
  11883. }
  11884. fi # as_fn_arith
  11885. if expr a : '\(a\)' >/dev/null 2>&1 &&
  11886. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  11887. as_expr=expr
  11888. else
  11889. as_expr=false
  11890. fi
  11891. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  11892. as_basename=basename
  11893. else
  11894. as_basename=false
  11895. fi
  11896. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  11897. as_dirname=dirname
  11898. else
  11899. as_dirname=false
  11900. fi
  11901. as_me=`$as_basename -- "$0" ||
  11902. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  11903. X"$0" : 'X\(//\)$' \| \
  11904. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  11905. $as_echo X/"$0" |
  11906. sed '/^.*\/\([^/][^/]*\)\/*$/{
  11907. s//\1/
  11908. q
  11909. }
  11910. /^X\/\(\/\/\)$/{
  11911. s//\1/
  11912. q
  11913. }
  11914. /^X\/\(\/\).*/{
  11915. s//\1/
  11916. q
  11917. }
  11918. s/.*/./; q'`
  11919. # Avoid depending upon Character Ranges.
  11920. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  11921. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  11922. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  11923. as_cr_digits='0123456789'
  11924. as_cr_alnum=$as_cr_Letters$as_cr_digits
  11925. ECHO_C= ECHO_N= ECHO_T=
  11926. case `echo -n x` in @%:@(((((
  11927. -n*)
  11928. case `echo 'xy\c'` in
  11929. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  11930. xy) ECHO_C='\c';;
  11931. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  11932. ECHO_T=' ';;
  11933. esac;;
  11934. *)
  11935. ECHO_N='-n';;
  11936. esac
  11937. rm -f conf$$ conf$$.exe conf$$.file
  11938. if test -d conf$$.dir; then
  11939. rm -f conf$$.dir/conf$$.file
  11940. else
  11941. rm -f conf$$.dir
  11942. mkdir conf$$.dir 2>/dev/null
  11943. fi
  11944. if (echo >conf$$.file) 2>/dev/null; then
  11945. if ln -s conf$$.file conf$$ 2>/dev/null; then
  11946. as_ln_s='ln -s'
  11947. # ... but there are two gotchas:
  11948. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  11949. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  11950. # In both cases, we have to default to `cp -pR'.
  11951. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  11952. as_ln_s='cp -pR'
  11953. elif ln conf$$.file conf$$ 2>/dev/null; then
  11954. as_ln_s=ln
  11955. else
  11956. as_ln_s='cp -pR'
  11957. fi
  11958. else
  11959. as_ln_s='cp -pR'
  11960. fi
  11961. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  11962. rmdir conf$$.dir 2>/dev/null
  11963. @%:@ as_fn_mkdir_p
  11964. @%:@ -------------
  11965. @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  11966. as_fn_mkdir_p ()
  11967. {
  11968. case $as_dir in #(
  11969. -*) as_dir=./$as_dir;;
  11970. esac
  11971. test -d "$as_dir" || eval $as_mkdir_p || {
  11972. as_dirs=
  11973. while :; do
  11974. case $as_dir in #(
  11975. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  11976. *) as_qdir=$as_dir;;
  11977. esac
  11978. as_dirs="'$as_qdir' $as_dirs"
  11979. as_dir=`$as_dirname -- "$as_dir" ||
  11980. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  11981. X"$as_dir" : 'X\(//\)[^/]' \| \
  11982. X"$as_dir" : 'X\(//\)$' \| \
  11983. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  11984. $as_echo X"$as_dir" |
  11985. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  11986. s//\1/
  11987. q
  11988. }
  11989. /^X\(\/\/\)[^/].*/{
  11990. s//\1/
  11991. q
  11992. }
  11993. /^X\(\/\/\)$/{
  11994. s//\1/
  11995. q
  11996. }
  11997. /^X\(\/\).*/{
  11998. s//\1/
  11999. q
  12000. }
  12001. s/.*/./; q'`
  12002. test -d "$as_dir" && break
  12003. done
  12004. test -z "$as_dirs" || eval "mkdir $as_dirs"
  12005. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  12006. } @%:@ as_fn_mkdir_p
  12007. if mkdir -p . 2>/dev/null; then
  12008. as_mkdir_p='mkdir -p "$as_dir"'
  12009. else
  12010. test -d ./-p && rmdir ./-p
  12011. as_mkdir_p=false
  12012. fi
  12013. @%:@ as_fn_executable_p FILE
  12014. @%:@ -----------------------
  12015. @%:@ Test if FILE is an executable regular file.
  12016. as_fn_executable_p ()
  12017. {
  12018. test -f "$1" && test -x "$1"
  12019. } @%:@ as_fn_executable_p
  12020. as_test_x='test -x'
  12021. as_executable_p=as_fn_executable_p
  12022. # Sed expression to map a string onto a valid CPP name.
  12023. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  12024. # Sed expression to map a string onto a valid variable name.
  12025. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  12026. exec 6>&1
  12027. ## ----------------------------------- ##
  12028. ## Main body of $CONFIG_STATUS script. ##
  12029. ## ----------------------------------- ##
  12030. _ASEOF
  12031. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  12032. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12033. # Save the log message, to keep $0 and so on meaningful, and to
  12034. # report actual input values of CONFIG_FILES etc. instead of their
  12035. # values after options handling.
  12036. ac_log="
  12037. This file was extended by strongSwan $as_me 5.8.1, which was
  12038. generated by GNU Autoconf 2.69. Invocation command line was
  12039. CONFIG_FILES = $CONFIG_FILES
  12040. CONFIG_HEADERS = $CONFIG_HEADERS
  12041. CONFIG_LINKS = $CONFIG_LINKS
  12042. CONFIG_COMMANDS = $CONFIG_COMMANDS
  12043. $ $0 $@
  12044. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  12045. "
  12046. _ACEOF
  12047. case $ac_config_files in *"
  12048. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  12049. esac
  12050. case $ac_config_headers in *"
  12051. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  12052. esac
  12053. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12054. # Files that config.status was made for.
  12055. config_files="$ac_config_files"
  12056. config_headers="$ac_config_headers"
  12057. _ACEOF
  12058. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12059. ac_cs_usage="\
  12060. \`$as_me' instantiates files and other configuration actions
  12061. from templates according to the current configuration. Unless the files
  12062. and actions are specified as TAGs, all are instantiated by default.
  12063. Usage: $0 [OPTION]... [TAG]...
  12064. -h, --help print this help, then exit
  12065. -V, --version print version number and configuration settings, then exit
  12066. --config print configuration, then exit
  12067. -q, --quiet, --silent
  12068. do not print progress messages
  12069. -d, --debug don't remove temporary files
  12070. --recheck update $as_me by reconfiguring in the same conditions
  12071. --file=FILE[:TEMPLATE]
  12072. instantiate the configuration file FILE
  12073. --header=FILE[:TEMPLATE]
  12074. instantiate the configuration header FILE
  12075. Configuration files:
  12076. $config_files
  12077. Configuration headers:
  12078. $config_headers
  12079. Report bugs to the package provider."
  12080. _ACEOF
  12081. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12082. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  12083. ac_cs_version="\\
  12084. strongSwan config.status 5.8.1
  12085. configured by $0, generated by GNU Autoconf 2.69,
  12086. with options \\"\$ac_cs_config\\"
  12087. Copyright (C) 2012 Free Software Foundation, Inc.
  12088. This config.status script is free software; the Free Software Foundation
  12089. gives unlimited permission to copy, distribute and modify it."
  12090. ac_pwd='$ac_pwd'
  12091. srcdir='$srcdir'
  12092. INSTALL='$INSTALL'
  12093. AWK='$AWK'
  12094. test -n "\$AWK" || AWK=awk
  12095. _ACEOF
  12096. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12097. # The default lists apply if the user does not specify any file.
  12098. ac_need_defaults=:
  12099. while test $# != 0
  12100. do
  12101. case $1 in
  12102. --*=?*)
  12103. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  12104. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  12105. ac_shift=:
  12106. ;;
  12107. --*=)
  12108. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  12109. ac_optarg=
  12110. ac_shift=:
  12111. ;;
  12112. *)
  12113. ac_option=$1
  12114. ac_optarg=$2
  12115. ac_shift=shift
  12116. ;;
  12117. esac
  12118. case $ac_option in
  12119. # Handling of the options.
  12120. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  12121. ac_cs_recheck=: ;;
  12122. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  12123. $as_echo "$ac_cs_version"; exit ;;
  12124. --config | --confi | --conf | --con | --co | --c )
  12125. $as_echo "$ac_cs_config"; exit ;;
  12126. --debug | --debu | --deb | --de | --d | -d )
  12127. debug=: ;;
  12128. --file | --fil | --fi | --f )
  12129. $ac_shift
  12130. case $ac_optarg in
  12131. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  12132. '') as_fn_error $? "missing file argument" ;;
  12133. esac
  12134. as_fn_append CONFIG_FILES " '$ac_optarg'"
  12135. ac_need_defaults=false;;
  12136. --header | --heade | --head | --hea )
  12137. $ac_shift
  12138. case $ac_optarg in
  12139. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  12140. esac
  12141. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  12142. ac_need_defaults=false;;
  12143. --he | --h)
  12144. # Conflict between --help and --header
  12145. as_fn_error $? "ambiguous option: \`$1'
  12146. Try \`$0 --help' for more information.";;
  12147. --help | --hel | -h )
  12148. $as_echo "$ac_cs_usage"; exit ;;
  12149. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  12150. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  12151. ac_cs_silent=: ;;
  12152. # This is an error.
  12153. -*) as_fn_error $? "unrecognized option: \`$1'
  12154. Try \`$0 --help' for more information." ;;
  12155. *) as_fn_append ac_config_targets " $1"
  12156. ac_need_defaults=false ;;
  12157. esac
  12158. shift
  12159. done
  12160. ac_configure_extra_args=
  12161. if $ac_cs_silent; then
  12162. exec 6>/dev/null
  12163. ac_configure_extra_args="$ac_configure_extra_args --silent"
  12164. fi
  12165. _ACEOF
  12166. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12167. if \$ac_cs_recheck; then
  12168. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  12169. shift
  12170. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  12171. CONFIG_SHELL='$SHELL'
  12172. export CONFIG_SHELL
  12173. exec "\$@"
  12174. fi
  12175. _ACEOF
  12176. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12177. exec 5>>config.log
  12178. {
  12179. echo
  12180. sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  12181. @%:@@%:@ Running $as_me. @%:@@%:@
  12182. _ASBOX
  12183. $as_echo "$ac_log"
  12184. } >&5
  12185. _ACEOF
  12186. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12187. _ACEOF
  12188. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12189. # Handling of arguments.
  12190. for ac_config_target in $ac_config_targets
  12191. do
  12192. case $ac_config_target in
  12193. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  12194. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  12195. "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
  12196. "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
  12197. "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  12198. "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
  12199. "init/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd/Makefile" ;;
  12200. "init/systemd-starter/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd-starter/Makefile" ;;
  12201. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  12202. "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
  12203. "src/libstrongswan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/Makefile" ;;
  12204. "src/libstrongswan/math/libnttfft/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/Makefile" ;;
  12205. "src/libstrongswan/math/libnttfft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/tests/Makefile" ;;
  12206. "src/libstrongswan/plugins/aes/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aes/Makefile" ;;
  12207. "src/libstrongswan/plugins/cmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/cmac/Makefile" ;;
  12208. "src/libstrongswan/plugins/des/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/des/Makefile" ;;
  12209. "src/libstrongswan/plugins/blowfish/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/blowfish/Makefile" ;;
  12210. "src/libstrongswan/plugins/rc2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rc2/Makefile" ;;
  12211. "src/libstrongswan/plugins/md4/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md4/Makefile" ;;
  12212. "src/libstrongswan/plugins/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md5/Makefile" ;;
  12213. "src/libstrongswan/plugins/sha1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha1/Makefile" ;;
  12214. "src/libstrongswan/plugins/sha2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha2/Makefile" ;;
  12215. "src/libstrongswan/plugins/sha3/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha3/Makefile" ;;
  12216. "src/libstrongswan/plugins/mgf1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mgf1/Makefile" ;;
  12217. "src/libstrongswan/plugins/fips_prf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/fips_prf/Makefile" ;;
  12218. "src/libstrongswan/plugins/gmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gmp/Makefile" ;;
  12219. "src/libstrongswan/plugins/curve25519/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curve25519/Makefile" ;;
  12220. "src/libstrongswan/plugins/rdrand/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rdrand/Makefile" ;;
  12221. "src/libstrongswan/plugins/aesni/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aesni/Makefile" ;;
  12222. "src/libstrongswan/plugins/random/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/random/Makefile" ;;
  12223. "src/libstrongswan/plugins/nonce/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/nonce/Makefile" ;;
  12224. "src/libstrongswan/plugins/hmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/hmac/Makefile" ;;
  12225. "src/libstrongswan/plugins/xcbc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/xcbc/Makefile" ;;
  12226. "src/libstrongswan/plugins/x509/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/x509/Makefile" ;;
  12227. "src/libstrongswan/plugins/revocation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/revocation/Makefile" ;;
  12228. "src/libstrongswan/plugins/constraints/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/constraints/Makefile" ;;
  12229. "src/libstrongswan/plugins/acert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/acert/Makefile" ;;
  12230. "src/libstrongswan/plugins/pubkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pubkey/Makefile" ;;
  12231. "src/libstrongswan/plugins/pkcs1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs1/Makefile" ;;
  12232. "src/libstrongswan/plugins/pkcs7/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs7/Makefile" ;;
  12233. "src/libstrongswan/plugins/pkcs8/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs8/Makefile" ;;
  12234. "src/libstrongswan/plugins/pkcs12/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs12/Makefile" ;;
  12235. "src/libstrongswan/plugins/pgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pgp/Makefile" ;;
  12236. "src/libstrongswan/plugins/dnskey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/dnskey/Makefile" ;;
  12237. "src/libstrongswan/plugins/sshkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sshkey/Makefile" ;;
  12238. "src/libstrongswan/plugins/pem/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pem/Makefile" ;;
  12239. "src/libstrongswan/plugins/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curl/Makefile" ;;
  12240. "src/libstrongswan/plugins/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/files/Makefile" ;;
  12241. "src/libstrongswan/plugins/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/winhttp/Makefile" ;;
  12242. "src/libstrongswan/plugins/unbound/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/unbound/Makefile" ;;
  12243. "src/libstrongswan/plugins/soup/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/soup/Makefile" ;;
  12244. "src/libstrongswan/plugins/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ldap/Makefile" ;;
  12245. "src/libstrongswan/plugins/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mysql/Makefile" ;;
  12246. "src/libstrongswan/plugins/sqlite/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sqlite/Makefile" ;;
  12247. "src/libstrongswan/plugins/padlock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/padlock/Makefile" ;;
  12248. "src/libstrongswan/plugins/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/openssl/Makefile" ;;
  12249. "src/libstrongswan/plugins/wolfssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/wolfssl/Makefile" ;;
  12250. "src/libstrongswan/plugins/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcrypt/Makefile" ;;
  12251. "src/libstrongswan/plugins/botan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/botan/Makefile" ;;
  12252. "src/libstrongswan/plugins/agent/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/agent/Makefile" ;;
  12253. "src/libstrongswan/plugins/keychain/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/keychain/Makefile" ;;
  12254. "src/libstrongswan/plugins/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs11/Makefile" ;;
  12255. "src/libstrongswan/plugins/chapoly/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/chapoly/Makefile" ;;
  12256. "src/libstrongswan/plugins/ctr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ctr/Makefile" ;;
  12257. "src/libstrongswan/plugins/ccm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ccm/Makefile" ;;
  12258. "src/libstrongswan/plugins/gcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcm/Makefile" ;;
  12259. "src/libstrongswan/plugins/af_alg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/af_alg/Makefile" ;;
  12260. "src/libstrongswan/plugins/ntru/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ntru/Makefile" ;;
  12261. "src/libstrongswan/plugins/bliss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/Makefile" ;;
  12262. "src/libstrongswan/plugins/bliss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/tests/Makefile" ;;
  12263. "src/libstrongswan/plugins/newhope/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/Makefile" ;;
  12264. "src/libstrongswan/plugins/newhope/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/tests/Makefile" ;;
  12265. "src/libstrongswan/plugins/test_vectors/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/test_vectors/Makefile" ;;
  12266. "src/libstrongswan/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/tests/Makefile" ;;
  12267. "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
  12268. "src/libipsec/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/tests/Makefile" ;;
  12269. "src/libsimaka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsimaka/Makefile" ;;
  12270. "src/libtls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/Makefile" ;;
  12271. "src/libtls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/tests/Makefile" ;;
  12272. "src/libradius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libradius/Makefile" ;;
  12273. "src/libtncif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtncif/Makefile" ;;
  12274. "src/libtnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/Makefile" ;;
  12275. "src/libtnccs/plugins/tnc_tnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_tnccs/Makefile" ;;
  12276. "src/libtnccs/plugins/tnc_imc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imc/Makefile" ;;
  12277. "src/libtnccs/plugins/tnc_imv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imv/Makefile" ;;
  12278. "src/libtnccs/plugins/tnccs_11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_11/Makefile" ;;
  12279. "src/libtnccs/plugins/tnccs_20/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_20/Makefile" ;;
  12280. "src/libtnccs/plugins/tnccs_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_dynamic/Makefile" ;;
  12281. "src/libpttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpttls/Makefile" ;;
  12282. "src/libimcv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/Makefile" ;;
  12283. "src/libimcv/plugins/imc_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_test/Makefile" ;;
  12284. "src/libimcv/plugins/imv_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_test/Makefile" ;;
  12285. "src/libimcv/plugins/imc_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_scanner/Makefile" ;;
  12286. "src/libimcv/plugins/imv_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_scanner/Makefile" ;;
  12287. "src/libimcv/plugins/imc_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_os/Makefile" ;;
  12288. "src/libimcv/plugins/imv_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_os/Makefile" ;;
  12289. "src/libimcv/plugins/imc_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_attestation/Makefile" ;;
  12290. "src/libimcv/plugins/imv_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_attestation/Makefile" ;;
  12291. "src/libimcv/plugins/imc_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_swima/Makefile" ;;
  12292. "src/libimcv/plugins/imv_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_swima/Makefile" ;;
  12293. "src/libimcv/plugins/imc_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_hcd/Makefile" ;;
  12294. "src/libimcv/plugins/imv_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_hcd/Makefile" ;;
  12295. "src/charon/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon/Makefile" ;;
  12296. "src/charon-nm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-nm/Makefile" ;;
  12297. "src/charon-tkm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-tkm/Makefile" ;;
  12298. "src/charon-cmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/Makefile" ;;
  12299. "src/charon-svc/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-svc/Makefile" ;;
  12300. "src/charon-systemd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-systemd/Makefile" ;;
  12301. "src/libcharon/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/Makefile" ;;
  12302. "src/libcharon/plugins/eap_aka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka/Makefile" ;;
  12303. "src/libcharon/plugins/eap_aka_3gpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/Makefile" ;;
  12304. "src/libcharon/plugins/eap_aka_3gpp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/tests/Makefile" ;;
  12305. "src/libcharon/plugins/eap_aka_3gpp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp2/Makefile" ;;
  12306. "src/libcharon/plugins/eap_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_dynamic/Makefile" ;;
  12307. "src/libcharon/plugins/eap_identity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_identity/Makefile" ;;
  12308. "src/libcharon/plugins/eap_md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_md5/Makefile" ;;
  12309. "src/libcharon/plugins/eap_gtc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_gtc/Makefile" ;;
  12310. "src/libcharon/plugins/eap_sim/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim/Makefile" ;;
  12311. "src/libcharon/plugins/eap_sim_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_file/Makefile" ;;
  12312. "src/libcharon/plugins/eap_sim_pcsc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_pcsc/Makefile" ;;
  12313. "src/libcharon/plugins/eap_simaka_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_sql/Makefile" ;;
  12314. "src/libcharon/plugins/eap_simaka_pseudonym/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_pseudonym/Makefile" ;;
  12315. "src/libcharon/plugins/eap_simaka_reauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_reauth/Makefile" ;;
  12316. "src/libcharon/plugins/eap_mschapv2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_mschapv2/Makefile" ;;
  12317. "src/libcharon/plugins/eap_tls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tls/Makefile" ;;
  12318. "src/libcharon/plugins/eap_ttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_ttls/Makefile" ;;
  12319. "src/libcharon/plugins/eap_peap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_peap/Makefile" ;;
  12320. "src/libcharon/plugins/eap_tnc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tnc/Makefile" ;;
  12321. "src/libcharon/plugins/eap_radius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_radius/Makefile" ;;
  12322. "src/libcharon/plugins/xauth_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_generic/Makefile" ;;
  12323. "src/libcharon/plugins/xauth_eap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_eap/Makefile" ;;
  12324. "src/libcharon/plugins/xauth_pam/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_pam/Makefile" ;;
  12325. "src/libcharon/plugins/xauth_noauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_noauth/Makefile" ;;
  12326. "src/libcharon/plugins/tnc_ifmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_ifmap/Makefile" ;;
  12327. "src/libcharon/plugins/tnc_pdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_pdp/Makefile" ;;
  12328. "src/libcharon/plugins/save_keys/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/save_keys/Makefile" ;;
  12329. "src/libcharon/plugins/socket_default/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_default/Makefile" ;;
  12330. "src/libcharon/plugins/socket_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_dynamic/Makefile" ;;
  12331. "src/libcharon/plugins/socket_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_win/Makefile" ;;
  12332. "src/libcharon/plugins/bypass_lan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/bypass_lan/Makefile" ;;
  12333. "src/libcharon/plugins/connmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/connmark/Makefile" ;;
  12334. "src/libcharon/plugins/counters/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/counters/Makefile" ;;
  12335. "src/libcharon/plugins/forecast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/forecast/Makefile" ;;
  12336. "src/libcharon/plugins/farp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/farp/Makefile" ;;
  12337. "src/libcharon/plugins/smp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/smp/Makefile" ;;
  12338. "src/libcharon/plugins/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/sql/Makefile" ;;
  12339. "src/libcharon/plugins/dnscert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dnscert/Makefile" ;;
  12340. "src/libcharon/plugins/ipseckey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ipseckey/Makefile" ;;
  12341. "src/libcharon/plugins/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medsrv/Makefile" ;;
  12342. "src/libcharon/plugins/medcli/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medcli/Makefile" ;;
  12343. "src/libcharon/plugins/addrblock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/addrblock/Makefile" ;;
  12344. "src/libcharon/plugins/unity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/unity/Makefile" ;;
  12345. "src/libcharon/plugins/uci/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/uci/Makefile" ;;
  12346. "src/libcharon/plugins/ha/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ha/Makefile" ;;
  12347. "src/libcharon/plugins/kernel_netlink/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_netlink/Makefile" ;;
  12348. "src/libcharon/plugins/kernel_pfkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfkey/Makefile" ;;
  12349. "src/libcharon/plugins/kernel_pfroute/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfroute/Makefile" ;;
  12350. "src/libcharon/plugins/kernel_libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_libipsec/Makefile" ;;
  12351. "src/libcharon/plugins/kernel_wfp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_wfp/Makefile" ;;
  12352. "src/libcharon/plugins/kernel_iph/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_iph/Makefile" ;;
  12353. "src/libcharon/plugins/whitelist/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/whitelist/Makefile" ;;
  12354. "src/libcharon/plugins/ext_auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ext_auth/Makefile" ;;
  12355. "src/libcharon/plugins/lookip/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/lookip/Makefile" ;;
  12356. "src/libcharon/plugins/error_notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/error_notify/Makefile" ;;
  12357. "src/libcharon/plugins/certexpire/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/certexpire/Makefile" ;;
  12358. "src/libcharon/plugins/systime_fix/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/systime_fix/Makefile" ;;
  12359. "src/libcharon/plugins/led/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/led/Makefile" ;;
  12360. "src/libcharon/plugins/duplicheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/duplicheck/Makefile" ;;
  12361. "src/libcharon/plugins/coupling/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/coupling/Makefile" ;;
  12362. "src/libcharon/plugins/radattr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/radattr/Makefile" ;;
  12363. "src/libcharon/plugins/osx_attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/osx_attr/Makefile" ;;
  12364. "src/libcharon/plugins/p_cscf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/p_cscf/Makefile" ;;
  12365. "src/libcharon/plugins/android_dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_dns/Makefile" ;;
  12366. "src/libcharon/plugins/android_log/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_log/Makefile" ;;
  12367. "src/libcharon/plugins/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/stroke/Makefile" ;;
  12368. "src/libcharon/plugins/vici/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/Makefile" ;;
  12369. "src/libcharon/plugins/vici/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/ruby/Makefile" ;;
  12370. "src/libcharon/plugins/vici/perl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/perl/Makefile" ;;
  12371. "src/libcharon/plugins/vici/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/python/Makefile" ;;
  12372. "src/libcharon/plugins/updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/updown/Makefile" ;;
  12373. "src/libcharon/plugins/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dhcp/Makefile" ;;
  12374. "src/libcharon/plugins/load_tester/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/load_tester/Makefile" ;;
  12375. "src/libcharon/plugins/resolve/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/resolve/Makefile" ;;
  12376. "src/libcharon/plugins/attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr/Makefile" ;;
  12377. "src/libcharon/plugins/attr_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr_sql/Makefile" ;;
  12378. "src/libcharon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/tests/Makefile" ;;
  12379. "src/libtpmtss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/Makefile" ;;
  12380. "src/libtpmtss/plugins/tpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/plugins/tpm/Makefile" ;;
  12381. "src/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/stroke/Makefile" ;;
  12382. "src/ipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipsec/Makefile" ;;
  12383. "src/starter/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/Makefile" ;;
  12384. "src/starter/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/tests/Makefile" ;;
  12385. "src/_updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/_updown/Makefile" ;;
  12386. "src/_copyright/Makefile") CONFIG_FILES="$CONFIG_FILES src/_copyright/Makefile" ;;
  12387. "src/scepclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/scepclient/Makefile" ;;
  12388. "src/aikgen/Makefile") CONFIG_FILES="$CONFIG_FILES src/aikgen/Makefile" ;;
  12389. "src/tpm_extendpcr/Makefile") CONFIG_FILES="$CONFIG_FILES src/tpm_extendpcr/Makefile" ;;
  12390. "src/pki/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/Makefile" ;;
  12391. "src/pki/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/man/Makefile" ;;
  12392. "src/pool/Makefile") CONFIG_FILES="$CONFIG_FILES src/pool/Makefile" ;;
  12393. "src/libfast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libfast/Makefile" ;;
  12394. "src/manager/Makefile") CONFIG_FILES="$CONFIG_FILES src/manager/Makefile" ;;
  12395. "src/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/medsrv/Makefile" ;;
  12396. "src/checksum/Makefile") CONFIG_FILES="$CONFIG_FILES src/checksum/Makefile" ;;
  12397. "src/conftest/Makefile") CONFIG_FILES="$CONFIG_FILES src/conftest/Makefile" ;;
  12398. "src/pt-tls-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/Makefile" ;;
  12399. "src/sw-collector/Makefile") CONFIG_FILES="$CONFIG_FILES src/sw-collector/Makefile" ;;
  12400. "src/sec-updater/Makefile") CONFIG_FILES="$CONFIG_FILES src/sec-updater/Makefile" ;;
  12401. "src/swanctl/Makefile") CONFIG_FILES="$CONFIG_FILES src/swanctl/Makefile" ;;
  12402. "src/xfrmi/Makefile") CONFIG_FILES="$CONFIG_FILES src/xfrmi/Makefile" ;;
  12403. "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
  12404. "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
  12405. "conf/strongswan.conf.5.head") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.head" ;;
  12406. "conf/strongswan.conf.5.tail") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.tail" ;;
  12407. "man/ipsec.conf.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.conf.5" ;;
  12408. "man/ipsec.secrets.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.secrets.5" ;;
  12409. "src/charon-cmd/charon-cmd.8") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/charon-cmd.8" ;;
  12410. "src/pki/man/pki.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki.1" ;;
  12411. "src/pki/man/pki---acert.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---acert.1" ;;
  12412. "src/pki/man/pki---dn.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---dn.1" ;;
  12413. "src/pki/man/pki---gen.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---gen.1" ;;
  12414. "src/pki/man/pki---issue.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---issue.1" ;;
  12415. "src/pki/man/pki---keyid.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---keyid.1" ;;
  12416. "src/pki/man/pki---pkcs12.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs12.1" ;;
  12417. "src/pki/man/pki---pkcs7.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs7.1" ;;
  12418. "src/pki/man/pki---print.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---print.1" ;;
  12419. "src/pki/man/pki---pub.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pub.1" ;;
  12420. "src/pki/man/pki---req.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---req.1" ;;
  12421. "src/pki/man/pki---self.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---self.1" ;;
  12422. "src/pki/man/pki---signcrl.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---signcrl.1" ;;
  12423. "src/pki/man/pki---verify.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---verify.1" ;;
  12424. "src/swanctl/swanctl.8") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.8" ;;
  12425. "src/swanctl/swanctl.conf.5.head") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.head" ;;
  12426. "src/swanctl/swanctl.conf.5.tail") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.tail" ;;
  12427. "src/pt-tls-client/pt-tls-client.1") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/pt-tls-client.1" ;;
  12428. "src/sw-collector/sw-collector.8") CONFIG_FILES="$CONFIG_FILES src/sw-collector/sw-collector.8" ;;
  12429. "src/sec-updater/sec-updater.8") CONFIG_FILES="$CONFIG_FILES src/sec-updater/sec-updater.8" ;;
  12430. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  12431. esac
  12432. done
  12433. # If the user did not use the arguments to specify the items to instantiate,
  12434. # then the envvar interface is used. Set only those that are not.
  12435. # We use the long form for the default assignment because of an extremely
  12436. # bizarre bug on SunOS 4.1.3.
  12437. if $ac_need_defaults; then
  12438. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  12439. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  12440. fi
  12441. # Have a temporary directory for convenience. Make it in the build tree
  12442. # simply because there is no reason against having it here, and in addition,
  12443. # creating and moving files from /tmp can sometimes cause problems.
  12444. # Hook for its removal unless debugging.
  12445. # Note that there is a small window in which the directory will not be cleaned:
  12446. # after its creation but before its name has been assigned to `$tmp'.
  12447. $debug ||
  12448. {
  12449. tmp= ac_tmp=
  12450. trap 'exit_status=$?
  12451. : "${ac_tmp:=$tmp}"
  12452. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  12453. ' 0
  12454. trap 'as_fn_exit 1' 1 2 13 15
  12455. }
  12456. # Create a (secure) tmp directory for tmp files.
  12457. {
  12458. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  12459. test -d "$tmp"
  12460. } ||
  12461. {
  12462. tmp=./conf$$-$RANDOM
  12463. (umask 077 && mkdir "$tmp")
  12464. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  12465. ac_tmp=$tmp
  12466. # Set up the scripts for CONFIG_FILES section.
  12467. # No need to generate them if there are no CONFIG_FILES.
  12468. # This happens for instance with `./config.status config.h'.
  12469. if test -n "$CONFIG_FILES"; then
  12470. ac_cr=`echo X | tr X '\015'`
  12471. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  12472. # But we know of no other shell where ac_cr would be empty at this
  12473. # point, so we can use a bashism as a fallback.
  12474. if test "x$ac_cr" = x; then
  12475. eval ac_cr=\$\'\\r\'
  12476. fi
  12477. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  12478. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  12479. ac_cs_awk_cr='\\r'
  12480. else
  12481. ac_cs_awk_cr=$ac_cr
  12482. fi
  12483. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  12484. _ACEOF
  12485. {
  12486. echo "cat >conf$$subs.awk <<_ACEOF" &&
  12487. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  12488. echo "_ACEOF"
  12489. } >conf$$subs.sh ||
  12490. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12491. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  12492. ac_delim='%!_!# '
  12493. for ac_last_try in false false false false false :; do
  12494. . ./conf$$subs.sh ||
  12495. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12496. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  12497. if test $ac_delim_n = $ac_delim_num; then
  12498. break
  12499. elif $ac_last_try; then
  12500. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  12501. else
  12502. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12503. fi
  12504. done
  12505. rm -f conf$$subs.sh
  12506. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12507. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  12508. _ACEOF
  12509. sed -n '
  12510. h
  12511. s/^/S["/; s/!.*/"]=/
  12512. p
  12513. g
  12514. s/^[^!]*!//
  12515. :repl
  12516. t repl
  12517. s/'"$ac_delim"'$//
  12518. t delim
  12519. :nl
  12520. h
  12521. s/\(.\{148\}\)..*/\1/
  12522. t more1
  12523. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  12524. p
  12525. n
  12526. b repl
  12527. :more1
  12528. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12529. p
  12530. g
  12531. s/.\{148\}//
  12532. t nl
  12533. :delim
  12534. h
  12535. s/\(.\{148\}\)..*/\1/
  12536. t more2
  12537. s/["\\]/\\&/g; s/^/"/; s/$/"/
  12538. p
  12539. b
  12540. :more2
  12541. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  12542. p
  12543. g
  12544. s/.\{148\}//
  12545. t delim
  12546. ' <conf$$subs.awk | sed '
  12547. /^[^""]/{
  12548. N
  12549. s/\n//
  12550. }
  12551. ' >>$CONFIG_STATUS || ac_write_fail=1
  12552. rm -f conf$$subs.awk
  12553. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12554. _ACAWK
  12555. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  12556. for (key in S) S_is_set[key] = 1
  12557. FS = ""
  12558. }
  12559. {
  12560. line = $ 0
  12561. nfields = split(line, field, "@")
  12562. substed = 0
  12563. len = length(field[1])
  12564. for (i = 2; i < nfields; i++) {
  12565. key = field[i]
  12566. keylen = length(key)
  12567. if (S_is_set[key]) {
  12568. value = S[key]
  12569. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  12570. len += length(value) + length(field[++i])
  12571. substed = 1
  12572. } else
  12573. len += 1 + keylen
  12574. }
  12575. print line
  12576. }
  12577. _ACAWK
  12578. _ACEOF
  12579. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12580. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  12581. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  12582. else
  12583. cat
  12584. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  12585. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  12586. _ACEOF
  12587. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  12588. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  12589. # trailing colons and then remove the whole line if VPATH becomes empty
  12590. # (actually we leave an empty line to preserve line numbers).
  12591. if test "x$srcdir" = x.; then
  12592. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  12593. h
  12594. s///
  12595. s/^/:/
  12596. s/[ ]*$/:/
  12597. s/:\$(srcdir):/:/g
  12598. s/:\${srcdir}:/:/g
  12599. s/:@srcdir@:/:/g
  12600. s/^:*//
  12601. s/:*$//
  12602. x
  12603. s/\(=[ ]*\).*/\1/
  12604. G
  12605. s/\n//
  12606. s/^[^=]*=[ ]*$//
  12607. }'
  12608. fi
  12609. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12610. fi # test -n "$CONFIG_FILES"
  12611. # Set up the scripts for CONFIG_HEADERS section.
  12612. # No need to generate them if there are no CONFIG_HEADERS.
  12613. # This happens for instance with `./config.status Makefile'.
  12614. if test -n "$CONFIG_HEADERS"; then
  12615. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  12616. BEGIN {
  12617. _ACEOF
  12618. # Transform confdefs.h into an awk script `defines.awk', embedded as
  12619. # here-document in config.status, that substitutes the proper values into
  12620. # config.h.in to produce config.h.
  12621. # Create a delimiter string that does not exist in confdefs.h, to ease
  12622. # handling of long lines.
  12623. ac_delim='%!_!# '
  12624. for ac_last_try in false false :; do
  12625. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  12626. if test -z "$ac_tt"; then
  12627. break
  12628. elif $ac_last_try; then
  12629. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  12630. else
  12631. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  12632. fi
  12633. done
  12634. # For the awk script, D is an array of macro values keyed by name,
  12635. # likewise P contains macro parameters if any. Preserve backslash
  12636. # newline sequences.
  12637. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  12638. sed -n '
  12639. s/.\{148\}/&'"$ac_delim"'/g
  12640. t rset
  12641. :rset
  12642. s/^[ ]*#[ ]*define[ ][ ]*/ /
  12643. t def
  12644. d
  12645. :def
  12646. s/\\$//
  12647. t bsnl
  12648. s/["\\]/\\&/g
  12649. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12650. D["\1"]=" \3"/p
  12651. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  12652. d
  12653. :bsnl
  12654. s/["\\]/\\&/g
  12655. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  12656. D["\1"]=" \3\\\\\\n"\\/p
  12657. t cont
  12658. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  12659. t cont
  12660. d
  12661. :cont
  12662. n
  12663. s/.\{148\}/&'"$ac_delim"'/g
  12664. t clear
  12665. :clear
  12666. s/\\$//
  12667. t bsnlc
  12668. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  12669. d
  12670. :bsnlc
  12671. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  12672. b cont
  12673. ' <confdefs.h | sed '
  12674. s/'"$ac_delim"'/"\\\
  12675. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  12676. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12677. for (key in D) D_is_set[key] = 1
  12678. FS = ""
  12679. }
  12680. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  12681. line = \$ 0
  12682. split(line, arg, " ")
  12683. if (arg[1] == "#") {
  12684. defundef = arg[2]
  12685. mac1 = arg[3]
  12686. } else {
  12687. defundef = substr(arg[1], 2)
  12688. mac1 = arg[2]
  12689. }
  12690. split(mac1, mac2, "(") #)
  12691. macro = mac2[1]
  12692. prefix = substr(line, 1, index(line, defundef) - 1)
  12693. if (D_is_set[macro]) {
  12694. # Preserve the white space surrounding the "#".
  12695. print prefix "define", macro P[macro] D[macro]
  12696. next
  12697. } else {
  12698. # Replace #undef with comments. This is necessary, for example,
  12699. # in the case of _POSIX_SOURCE, which is predefined and required
  12700. # on some systems where configure will not decide to define it.
  12701. if (defundef == "undef") {
  12702. print "/*", prefix defundef, macro, "*/"
  12703. next
  12704. }
  12705. }
  12706. }
  12707. { print }
  12708. _ACAWK
  12709. _ACEOF
  12710. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12711. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  12712. fi # test -n "$CONFIG_HEADERS"
  12713. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
  12714. shift
  12715. for ac_tag
  12716. do
  12717. case $ac_tag in
  12718. :[FHLC]) ac_mode=$ac_tag; continue;;
  12719. esac
  12720. case $ac_mode$ac_tag in
  12721. :[FHL]*:*);;
  12722. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  12723. :[FH]-) ac_tag=-:-;;
  12724. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  12725. esac
  12726. ac_save_IFS=$IFS
  12727. IFS=:
  12728. set x $ac_tag
  12729. IFS=$ac_save_IFS
  12730. shift
  12731. ac_file=$1
  12732. shift
  12733. case $ac_mode in
  12734. :L) ac_source=$1;;
  12735. :[FH])
  12736. ac_file_inputs=
  12737. for ac_f
  12738. do
  12739. case $ac_f in
  12740. -) ac_f="$ac_tmp/stdin";;
  12741. *) # Look for the file first in the build tree, then in the source tree
  12742. # (if the path is not absolute). The absolute path cannot be DOS-style,
  12743. # because $ac_f cannot contain `:'.
  12744. test -f "$ac_f" ||
  12745. case $ac_f in
  12746. [\\/$]*) false;;
  12747. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  12748. esac ||
  12749. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  12750. esac
  12751. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  12752. as_fn_append ac_file_inputs " '$ac_f'"
  12753. done
  12754. # Let's still pretend it is `configure' which instantiates (i.e., don't
  12755. # use $as_me), people would be surprised to read:
  12756. # /* config.h. Generated by config.status. */
  12757. configure_input='Generated from '`
  12758. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  12759. `' by configure.'
  12760. if test x"$ac_file" != x-; then
  12761. configure_input="$ac_file. $configure_input"
  12762. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  12763. $as_echo "$as_me: creating $ac_file" >&6;}
  12764. fi
  12765. # Neutralize special characters interpreted by sed in replacement strings.
  12766. case $configure_input in #(
  12767. *\&* | *\|* | *\\* )
  12768. ac_sed_conf_input=`$as_echo "$configure_input" |
  12769. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  12770. *) ac_sed_conf_input=$configure_input;;
  12771. esac
  12772. case $ac_tag in
  12773. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  12774. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  12775. esac
  12776. ;;
  12777. esac
  12778. ac_dir=`$as_dirname -- "$ac_file" ||
  12779. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  12780. X"$ac_file" : 'X\(//\)[^/]' \| \
  12781. X"$ac_file" : 'X\(//\)$' \| \
  12782. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  12783. $as_echo X"$ac_file" |
  12784. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  12785. s//\1/
  12786. q
  12787. }
  12788. /^X\(\/\/\)[^/].*/{
  12789. s//\1/
  12790. q
  12791. }
  12792. /^X\(\/\/\)$/{
  12793. s//\1/
  12794. q
  12795. }
  12796. /^X\(\/\).*/{
  12797. s//\1/
  12798. q
  12799. }
  12800. s/.*/./; q'`
  12801. as_dir="$ac_dir"; as_fn_mkdir_p
  12802. ac_builddir=.
  12803. case "$ac_dir" in
  12804. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12805. *)
  12806. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  12807. # A ".." for each directory in $ac_dir_suffix.
  12808. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  12809. case $ac_top_builddir_sub in
  12810. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  12811. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  12812. esac ;;
  12813. esac
  12814. ac_abs_top_builddir=$ac_pwd
  12815. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  12816. # for backward compatibility:
  12817. ac_top_builddir=$ac_top_build_prefix
  12818. case $srcdir in
  12819. .) # We are building in place.
  12820. ac_srcdir=.
  12821. ac_top_srcdir=$ac_top_builddir_sub
  12822. ac_abs_top_srcdir=$ac_pwd ;;
  12823. [\\/]* | ?:[\\/]* ) # Absolute name.
  12824. ac_srcdir=$srcdir$ac_dir_suffix;
  12825. ac_top_srcdir=$srcdir
  12826. ac_abs_top_srcdir=$srcdir ;;
  12827. *) # Relative name.
  12828. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  12829. ac_top_srcdir=$ac_top_build_prefix$srcdir
  12830. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  12831. esac
  12832. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  12833. case $ac_mode in
  12834. :F)
  12835. #
  12836. # CONFIG_FILE
  12837. #
  12838. case $INSTALL in
  12839. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  12840. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  12841. esac
  12842. _ACEOF
  12843. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12844. # If the template does not know about datarootdir, expand it.
  12845. # FIXME: This hack should be removed a few years after 2.60.
  12846. ac_datarootdir_hack=; ac_datarootdir_seen=
  12847. ac_sed_dataroot='
  12848. /datarootdir/ {
  12849. p
  12850. q
  12851. }
  12852. /@datadir@/p
  12853. /@docdir@/p
  12854. /@infodir@/p
  12855. /@localedir@/p
  12856. /@mandir@/p'
  12857. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  12858. *datarootdir*) ac_datarootdir_seen=yes;;
  12859. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  12860. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  12861. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  12862. _ACEOF
  12863. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12864. ac_datarootdir_hack='
  12865. s&@datadir@&$datadir&g
  12866. s&@docdir@&$docdir&g
  12867. s&@infodir@&$infodir&g
  12868. s&@localedir@&$localedir&g
  12869. s&@mandir@&$mandir&g
  12870. s&\\\${datarootdir}&$datarootdir&g' ;;
  12871. esac
  12872. _ACEOF
  12873. # Neutralize VPATH when `$srcdir' = `.'.
  12874. # Shell code in configure.ac might set extrasub.
  12875. # FIXME: do we really want to maintain this feature?
  12876. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  12877. ac_sed_extra="$ac_vpsub
  12878. $extrasub
  12879. _ACEOF
  12880. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  12881. :t
  12882. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  12883. s|@configure_input@|$ac_sed_conf_input|;t t
  12884. s&@top_builddir@&$ac_top_builddir_sub&;t t
  12885. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  12886. s&@srcdir@&$ac_srcdir&;t t
  12887. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  12888. s&@top_srcdir@&$ac_top_srcdir&;t t
  12889. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  12890. s&@builddir@&$ac_builddir&;t t
  12891. s&@abs_builddir@&$ac_abs_builddir&;t t
  12892. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  12893. s&@INSTALL@&$ac_INSTALL&;t t
  12894. $ac_datarootdir_hack
  12895. "
  12896. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  12897. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12898. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  12899. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  12900. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  12901. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  12902. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12903. which seems to be undefined. Please make sure it is defined" >&5
  12904. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  12905. which seems to be undefined. Please make sure it is defined" >&2;}
  12906. rm -f "$ac_tmp/stdin"
  12907. case $ac_file in
  12908. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  12909. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  12910. esac \
  12911. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12912. ;;
  12913. :H)
  12914. #
  12915. # CONFIG_HEADER
  12916. #
  12917. if test x"$ac_file" != x-; then
  12918. {
  12919. $as_echo "/* $configure_input */" \
  12920. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  12921. } >"$ac_tmp/config.h" \
  12922. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12923. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  12924. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  12925. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  12926. else
  12927. rm -f "$ac_file"
  12928. mv "$ac_tmp/config.h" "$ac_file" \
  12929. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  12930. fi
  12931. else
  12932. $as_echo "/* $configure_input */" \
  12933. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  12934. || as_fn_error $? "could not create -" "$LINENO" 5
  12935. fi
  12936. ;;
  12937. esac
  12938. done # for ac_tag
  12939. as_fn_exit 0
  12940. _ACEOF
  12941. ac_clean_files=$ac_clean_files_save
  12942. test $ac_write_fail = 0 ||
  12943. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  12944. # configure is writing to config.log, and then calls config.status.
  12945. # config.status does its own redirection, appending to config.log.
  12946. # Unfortunately, on DOS this fails, as config.log is still kept open
  12947. # by configure, so config.status won't be able to write to it; its
  12948. # output is simply discarded. So we exec the FD to /dev/null,
  12949. # effectively closing config.log, so it can be properly (re)opened and
  12950. # appended to by config.status. When coming back to configure, we
  12951. # need to make the FD available again.
  12952. if test "$no_create" != yes; then
  12953. ac_cs_success=:
  12954. ac_config_status_args=
  12955. test "$silent" = yes &&
  12956. ac_config_status_args="$ac_config_status_args --quiet"
  12957. exec 5>/dev/null
  12958. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  12959. exec 5>>config.log
  12960. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  12961. # would make configure fail if this is the last instruction.
  12962. $ac_cs_success || as_fn_exit 1
  12963. fi
  12964. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  12965. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  12966. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  12967. fi
  12968. # ========================
  12969. # report enabled plugins
  12970. # ========================
  12971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  12972. $as_echo "" >&6; }
  12973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: strongSwan will be built with the following plugins" >&5
  12974. $as_echo " strongSwan will be built with the following plugins" >&6; }
  12975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------------------" >&5
  12976. $as_echo "-----------------------------------------------------" >&6; }
  12977. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libstrongswan:$s_plugins" >&5
  12978. $as_echo "libstrongswan:$s_plugins" >&6; }
  12979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcharon: $c_plugins" >&5
  12980. $as_echo "libcharon: $c_plugins" >&6; }
  12981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtnccs: $t_plugins" >&5
  12982. $as_echo "libtnccs: $t_plugins" >&6; }
  12983. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtpmtss: $p_plugins" >&5
  12984. $as_echo "libtpmtss: $p_plugins" >&6; }
  12985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  12986. $as_echo "" >&6; }