output.2 851 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678
  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. test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
  187. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  188. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  189. ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
  190. PATH=/empty FPATH=/empty; export PATH FPATH
  191. test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
  192. || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
  193. if (eval "$as_required") 2>/dev/null; then :
  194. as_have_required=yes
  195. else
  196. as_have_required=no
  197. fi
  198. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  199. else
  200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  201. as_found=false
  202. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  203. do
  204. IFS=$as_save_IFS
  205. test -z "$as_dir" && as_dir=.
  206. as_found=:
  207. case $as_dir in @%:@(
  208. /*)
  209. for as_base in sh bash ksh sh5; do
  210. # Try only shells that exist, to save several forks.
  211. as_shell=$as_dir/$as_base
  212. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  213. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  214. CONFIG_SHELL=$as_shell as_have_required=yes
  215. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  216. break 2
  217. fi
  218. fi
  219. done;;
  220. esac
  221. as_found=false
  222. done
  223. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  224. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  225. CONFIG_SHELL=$SHELL as_have_required=yes
  226. fi; }
  227. IFS=$as_save_IFS
  228. if test "x$CONFIG_SHELL" != x; then :
  229. export CONFIG_SHELL
  230. # We cannot yet assume a decent shell, so we have to provide a
  231. # neutralization value for shells without unset; and this also
  232. # works around shells that cannot unset nonexistent variables.
  233. # Preserve -v and -x to the replacement shell.
  234. BASH_ENV=/dev/null
  235. ENV=/dev/null
  236. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  237. case $- in @%:@ ((((
  238. *v*x* | *x*v* ) as_opts=-vx ;;
  239. *v* ) as_opts=-v ;;
  240. *x* ) as_opts=-x ;;
  241. * ) as_opts= ;;
  242. esac
  243. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  244. # Admittedly, this is quite paranoid, since all the known shells bail
  245. # out after a failed `exec'.
  246. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  247. exit 255
  248. fi
  249. if test x$as_have_required = xno; then :
  250. $as_echo "$0: This script requires a shell more modern than all"
  251. $as_echo "$0: the shells that I found on your system."
  252. if test x${ZSH_VERSION+set} = xset ; then
  253. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  254. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  255. else
  256. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  257. $0: including any error possibly output before this
  258. $0: message. Then install a modern shell, or manually run
  259. $0: the script under such a shell if you do have one."
  260. fi
  261. exit 1
  262. fi
  263. fi
  264. fi
  265. SHELL=${CONFIG_SHELL-/bin/sh}
  266. export SHELL
  267. # Unset more variables known to interfere with behavior of common tools.
  268. CLICOLOR_FORCE= GREP_OPTIONS=
  269. unset CLICOLOR_FORCE GREP_OPTIONS
  270. ## --------------------- ##
  271. ## M4sh Shell Functions. ##
  272. ## --------------------- ##
  273. @%:@ as_fn_unset VAR
  274. @%:@ ---------------
  275. @%:@ Portably unset VAR.
  276. as_fn_unset ()
  277. {
  278. { eval $1=; unset $1;}
  279. }
  280. as_unset=as_fn_unset
  281. @%:@ as_fn_set_status STATUS
  282. @%:@ -----------------------
  283. @%:@ Set @S|@? to STATUS, without forking.
  284. as_fn_set_status ()
  285. {
  286. return $1
  287. } @%:@ as_fn_set_status
  288. @%:@ as_fn_exit STATUS
  289. @%:@ -----------------
  290. @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  291. as_fn_exit ()
  292. {
  293. set +e
  294. as_fn_set_status $1
  295. exit $1
  296. } @%:@ as_fn_exit
  297. @%:@ as_fn_mkdir_p
  298. @%:@ -------------
  299. @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  300. as_fn_mkdir_p ()
  301. {
  302. case $as_dir in #(
  303. -*) as_dir=./$as_dir;;
  304. esac
  305. test -d "$as_dir" || eval $as_mkdir_p || {
  306. as_dirs=
  307. while :; do
  308. case $as_dir in #(
  309. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  310. *) as_qdir=$as_dir;;
  311. esac
  312. as_dirs="'$as_qdir' $as_dirs"
  313. as_dir=`$as_dirname -- "$as_dir" ||
  314. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  315. X"$as_dir" : 'X\(//\)[^/]' \| \
  316. X"$as_dir" : 'X\(//\)$' \| \
  317. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  318. $as_echo X"$as_dir" |
  319. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)[^/].*/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\/\)$/{
  328. s//\1/
  329. q
  330. }
  331. /^X\(\/\).*/{
  332. s//\1/
  333. q
  334. }
  335. s/.*/./; q'`
  336. test -d "$as_dir" && break
  337. done
  338. test -z "$as_dirs" || eval "mkdir $as_dirs"
  339. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  340. } @%:@ as_fn_mkdir_p
  341. @%:@ as_fn_executable_p FILE
  342. @%:@ -----------------------
  343. @%:@ Test if FILE is an executable regular file.
  344. as_fn_executable_p ()
  345. {
  346. test -f "$1" && test -x "$1"
  347. } @%:@ as_fn_executable_p
  348. @%:@ as_fn_append VAR VALUE
  349. @%:@ ----------------------
  350. @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  351. @%:@ advantage of any shell optimizations that allow amortized linear growth over
  352. @%:@ repeated appends, instead of the typical quadratic growth present in naive
  353. @%:@ implementations.
  354. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  355. eval 'as_fn_append ()
  356. {
  357. eval $1+=\$2
  358. }'
  359. else
  360. as_fn_append ()
  361. {
  362. eval $1=\$$1\$2
  363. }
  364. fi # as_fn_append
  365. @%:@ as_fn_arith ARG...
  366. @%:@ ------------------
  367. @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  368. @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  369. @%:@ must be portable across @S|@(()) and expr.
  370. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  371. eval 'as_fn_arith ()
  372. {
  373. as_val=$(( $* ))
  374. }'
  375. else
  376. as_fn_arith ()
  377. {
  378. as_val=`expr "$@" || test $? -eq 1`
  379. }
  380. fi # as_fn_arith
  381. @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  382. @%:@ ----------------------------------------
  383. @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  384. @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  385. @%:@ script with STATUS, using 1 if that was 0.
  386. as_fn_error ()
  387. {
  388. as_status=$1; test $as_status -eq 0 && as_status=1
  389. if test "$4"; then
  390. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  391. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  392. fi
  393. $as_echo "$as_me: error: $2" >&2
  394. as_fn_exit $as_status
  395. } @%:@ as_fn_error
  396. if expr a : '\(a\)' >/dev/null 2>&1 &&
  397. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  398. as_expr=expr
  399. else
  400. as_expr=false
  401. fi
  402. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  403. as_basename=basename
  404. else
  405. as_basename=false
  406. fi
  407. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  408. as_dirname=dirname
  409. else
  410. as_dirname=false
  411. fi
  412. as_me=`$as_basename -- "$0" ||
  413. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  414. X"$0" : 'X\(//\)$' \| \
  415. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  416. $as_echo X/"$0" |
  417. sed '/^.*\/\([^/][^/]*\)\/*$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\/\)$/{
  422. s//\1/
  423. q
  424. }
  425. /^X\/\(\/\).*/{
  426. s//\1/
  427. q
  428. }
  429. s/.*/./; q'`
  430. # Avoid depending upon Character Ranges.
  431. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  432. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  433. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  434. as_cr_digits='0123456789'
  435. as_cr_alnum=$as_cr_Letters$as_cr_digits
  436. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  437. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  438. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  439. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  440. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  441. sed -n '
  442. p
  443. /[$]LINENO/=
  444. ' <$as_myself |
  445. sed '
  446. s/[$]LINENO.*/&-/
  447. t lineno
  448. b
  449. :lineno
  450. N
  451. :loop
  452. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  453. t loop
  454. s/-\n.*//
  455. ' >$as_me.lineno &&
  456. chmod +x "$as_me.lineno" ||
  457. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  458. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  459. # already done that, so ensure we don't try to do so again and fall
  460. # in an infinite loop. This has already happened in practice.
  461. _as_can_reexec=no; export _as_can_reexec
  462. # Don't try to exec as it changes $[0], causing all sort of problems
  463. # (the dirname of $[0] is not the place where we might find the
  464. # original and so on. Autoconf is especially sensitive to this).
  465. . "./$as_me.lineno"
  466. # Exit status is that of the last command.
  467. exit
  468. }
  469. ECHO_C= ECHO_N= ECHO_T=
  470. case `echo -n x` in @%:@(((((
  471. -n*)
  472. case `echo 'xy\c'` in
  473. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  474. xy) ECHO_C='\c';;
  475. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  476. ECHO_T=' ';;
  477. esac;;
  478. *)
  479. ECHO_N='-n';;
  480. esac
  481. rm -f conf$$ conf$$.exe conf$$.file
  482. if test -d conf$$.dir; then
  483. rm -f conf$$.dir/conf$$.file
  484. else
  485. rm -f conf$$.dir
  486. mkdir conf$$.dir 2>/dev/null
  487. fi
  488. if (echo >conf$$.file) 2>/dev/null; then
  489. if ln -s conf$$.file conf$$ 2>/dev/null; then
  490. as_ln_s='ln -s'
  491. # ... but there are two gotchas:
  492. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  493. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  494. # In both cases, we have to default to `cp -pR'.
  495. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  496. as_ln_s='cp -pR'
  497. elif ln conf$$.file conf$$ 2>/dev/null; then
  498. as_ln_s=ln
  499. else
  500. as_ln_s='cp -pR'
  501. fi
  502. else
  503. as_ln_s='cp -pR'
  504. fi
  505. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  506. rmdir conf$$.dir 2>/dev/null
  507. if mkdir -p . 2>/dev/null; then
  508. as_mkdir_p='mkdir -p "$as_dir"'
  509. else
  510. test -d ./-p && rmdir ./-p
  511. as_mkdir_p=false
  512. fi
  513. as_test_x='test -x'
  514. as_executable_p=as_fn_executable_p
  515. # Sed expression to map a string onto a valid CPP name.
  516. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  517. # Sed expression to map a string onto a valid variable name.
  518. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  519. SHELL=${CONFIG_SHELL-/bin/sh}
  520. test -n "$DJDIR" || exec 7<&0 </dev/null
  521. exec 6>&1
  522. # Name of the host.
  523. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  524. # so uname gets run too.
  525. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  526. #
  527. # Initializations.
  528. #
  529. ac_default_prefix=/usr/local
  530. ac_clean_files=
  531. ac_config_libobj_dir=.
  532. LIB@&t@OBJS=
  533. cross_compiling=no
  534. subdirs=
  535. MFLAGS=
  536. MAKEFLAGS=
  537. # Identity of this package.
  538. PACKAGE_NAME='strongSwan'
  539. PACKAGE_TARNAME='strongswan'
  540. PACKAGE_VERSION='5.8.1'
  541. PACKAGE_STRING='strongSwan 5.8.1'
  542. PACKAGE_BUGREPORT=''
  543. PACKAGE_URL=''
  544. # Factoring default headers for most tests.
  545. ac_includes_default="\
  546. #include <stdio.h>
  547. #ifdef HAVE_SYS_TYPES_H
  548. # include <sys/types.h>
  549. #endif
  550. #ifdef HAVE_SYS_STAT_H
  551. # include <sys/stat.h>
  552. #endif
  553. #ifdef STDC_HEADERS
  554. # include <stdlib.h>
  555. # include <stddef.h>
  556. #else
  557. # ifdef HAVE_STDLIB_H
  558. # include <stdlib.h>
  559. # endif
  560. #endif
  561. #ifdef HAVE_STRING_H
  562. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  563. # include <memory.h>
  564. # endif
  565. # include <string.h>
  566. #endif
  567. #ifdef HAVE_STRINGS_H
  568. # include <strings.h>
  569. #endif
  570. #ifdef HAVE_INTTYPES_H
  571. # include <inttypes.h>
  572. #endif
  573. #ifdef HAVE_STDINT_H
  574. # include <stdint.h>
  575. #endif
  576. #ifdef HAVE_UNISTD_H
  577. # include <unistd.h>
  578. #endif"
  579. ac_subst_vars='am__EXEEXT_FALSE
  580. am__EXEEXT_TRUE
  581. LTLIBOBJS
  582. LIB@&t@OBJS
  583. strongswan_options
  584. USE_PY_TEST_FALSE
  585. USE_PY_TEST_TRUE
  586. USE_PERL_CPAN_FALSE
  587. USE_PERL_CPAN_TRUE
  588. USE_PYTHON_EGGS_FALSE
  589. USE_PYTHON_EGGS_TRUE
  590. USE_RUBY_GEMS_FALSE
  591. USE_RUBY_GEMS_TRUE
  592. USE_LEGACY_SYSTEMD_FALSE
  593. USE_LEGACY_SYSTEMD_TRUE
  594. USE_SYSTEMD_FALSE
  595. USE_SYSTEMD_TRUE
  596. USE_SVC_FALSE
  597. USE_SVC_TRUE
  598. USE_SWANCTL_FALSE
  599. USE_SWANCTL_TRUE
  600. USE_AIKGEN_FALSE
  601. USE_AIKGEN_TRUE
  602. USE_CMD_FALSE
  603. USE_CMD_TRUE
  604. USE_TKM_FALSE
  605. USE_TKM_TRUE
  606. USE_DBGHELP_FALSE
  607. USE_DBGHELP_TRUE
  608. COVERAGE_FALSE
  609. COVERAGE_TRUE
  610. USE_SILENT_RULES_FALSE
  611. USE_SILENT_RULES_TRUE
  612. STATIC_PLUGIN_CONSTRUCTORS_FALSE
  613. STATIC_PLUGIN_CONSTRUCTORS_TRUE
  614. MONOLITHIC_FALSE
  615. MONOLITHIC_TRUE
  616. USE_TSS2_FALSE
  617. USE_TSS2_TRUE
  618. USE_TROUSERS_FALSE
  619. USE_TROUSERS_TRUE
  620. USE_IMCV_FALSE
  621. USE_IMCV_TRUE
  622. USE_RADIUS_FALSE
  623. USE_RADIUS_TRUE
  624. USE_TLS_FALSE
  625. USE_TLS_TRUE
  626. USE_SIMAKA_FALSE
  627. USE_SIMAKA_TRUE
  628. USE_BUILTIN_PRINTF_FALSE
  629. USE_BUILTIN_PRINTF_TRUE
  630. USE_VSTR_FALSE
  631. USE_VSTR_TRUE
  632. USE_LIBCAP_FALSE
  633. USE_LIBCAP_TRUE
  634. USE_IPSEC_SCRIPT_FALSE
  635. USE_IPSEC_SCRIPT_TRUE
  636. USE_FILE_CONFIG_FALSE
  637. USE_FILE_CONFIG_TRUE
  638. USE_LIBTPMTSS_FALSE
  639. USE_LIBTPMTSS_TRUE
  640. USE_LIBPTTLS_FALSE
  641. USE_LIBPTTLS_TRUE
  642. USE_LIBTNCCS_FALSE
  643. USE_LIBTNCCS_TRUE
  644. USE_LIBTNCIF_FALSE
  645. USE_LIBTNCIF_TRUE
  646. USE_LIBNTTFFT_FALSE
  647. USE_LIBNTTFFT_TRUE
  648. USE_LIBIPSEC_FALSE
  649. USE_LIBIPSEC_TRUE
  650. USE_LIBCHARON_FALSE
  651. USE_LIBCHARON_TRUE
  652. USE_LIBSTRONGSWAN_FALSE
  653. USE_LIBSTRONGSWAN_TRUE
  654. USE_CONFTEST_FALSE
  655. USE_CONFTEST_TRUE
  656. USE_FUZZING_FALSE
  657. USE_FUZZING_TRUE
  658. USE_SCRIPTS_FALSE
  659. USE_SCRIPTS_TRUE
  660. USE_SCEPCLIENT_FALSE
  661. USE_SCEPCLIENT_TRUE
  662. USE_PKI_FALSE
  663. USE_PKI_TRUE
  664. USE_NM_FALSE
  665. USE_NM_TRUE
  666. USE_CHARON_FALSE
  667. USE_CHARON_TRUE
  668. USE_ADNS_FALSE
  669. USE_ADNS_TRUE
  670. USE_THREADS_FALSE
  671. USE_THREADS_TRUE
  672. USE_IKEV2_FALSE
  673. USE_IKEV2_TRUE
  674. USE_IKEV1_FALSE
  675. USE_IKEV1_TRUE
  676. USE_LOAD_WARNING_FALSE
  677. USE_LOAD_WARNING_TRUE
  678. USE_INTEGRITY_TEST_FALSE
  679. USE_INTEGRITY_TEST_TRUE
  680. USE_ME_FALSE
  681. USE_ME_TRUE
  682. USE_MANAGER_FALSE
  683. USE_MANAGER_TRUE
  684. USE_FAST_FALSE
  685. USE_FAST_TRUE
  686. USE_LOCK_PROFILER_FALSE
  687. USE_LOCK_PROFILER_TRUE
  688. USE_LEAK_DETECTIVE_FALSE
  689. USE_LEAK_DETECTIVE_TRUE
  690. USE_COUNTERS_FALSE
  691. USE_COUNTERS_TRUE
  692. USE_ATTR_SQL_FALSE
  693. USE_ATTR_SQL_TRUE
  694. USE_ATTR_FALSE
  695. USE_ATTR_TRUE
  696. USE_RESOLVE_FALSE
  697. USE_RESOLVE_TRUE
  698. USE_UNITY_FALSE
  699. USE_UNITY_TRUE
  700. USE_ADDRBLOCK_FALSE
  701. USE_ADDRBLOCK_TRUE
  702. USE_FARP_FALSE
  703. USE_FARP_TRUE
  704. USE_FORECAST_FALSE
  705. USE_FORECAST_TRUE
  706. USE_CONNMARK_FALSE
  707. USE_CONNMARK_TRUE
  708. USE_BYPASS_LAN_FALSE
  709. USE_BYPASS_LAN_TRUE
  710. USE_SOCKET_WIN_FALSE
  711. USE_SOCKET_WIN_TRUE
  712. USE_SOCKET_DYNAMIC_FALSE
  713. USE_SOCKET_DYNAMIC_TRUE
  714. USE_SOCKET_DEFAULT_FALSE
  715. USE_SOCKET_DEFAULT_TRUE
  716. USE_SAVE_KEYS_FALSE
  717. USE_SAVE_KEYS_TRUE
  718. USE_IMV_HCD_FALSE
  719. USE_IMV_HCD_TRUE
  720. USE_IMC_HCD_FALSE
  721. USE_IMC_HCD_TRUE
  722. USE_IMV_SWIMA_FALSE
  723. USE_IMV_SWIMA_TRUE
  724. USE_IMC_SWIMA_FALSE
  725. USE_IMC_SWIMA_TRUE
  726. USE_IMV_ATTESTATION_FALSE
  727. USE_IMV_ATTESTATION_TRUE
  728. USE_IMC_ATTESTATION_FALSE
  729. USE_IMC_ATTESTATION_TRUE
  730. USE_IMV_OS_FALSE
  731. USE_IMV_OS_TRUE
  732. USE_IMC_OS_FALSE
  733. USE_IMC_OS_TRUE
  734. USE_IMV_SCANNER_FALSE
  735. USE_IMV_SCANNER_TRUE
  736. USE_IMC_SCANNER_FALSE
  737. USE_IMC_SCANNER_TRUE
  738. USE_IMV_TEST_FALSE
  739. USE_IMV_TEST_TRUE
  740. USE_IMC_TEST_FALSE
  741. USE_IMC_TEST_TRUE
  742. USE_TNCCS_DYNAMIC_FALSE
  743. USE_TNCCS_DYNAMIC_TRUE
  744. USE_TNCCS_20_FALSE
  745. USE_TNCCS_20_TRUE
  746. USE_TNCCS_11_FALSE
  747. USE_TNCCS_11_TRUE
  748. USE_TNC_TNCCS_FALSE
  749. USE_TNC_TNCCS_TRUE
  750. USE_TNC_IMV_FALSE
  751. USE_TNC_IMV_TRUE
  752. USE_TNC_IMC_FALSE
  753. USE_TNC_IMC_TRUE
  754. USE_TNC_PDP_FALSE
  755. USE_TNC_PDP_TRUE
  756. USE_TNC_IFMAP_FALSE
  757. USE_TNC_IFMAP_TRUE
  758. USE_XAUTH_NOAUTH_FALSE
  759. USE_XAUTH_NOAUTH_TRUE
  760. USE_XAUTH_PAM_FALSE
  761. USE_XAUTH_PAM_TRUE
  762. USE_XAUTH_EAP_FALSE
  763. USE_XAUTH_EAP_TRUE
  764. USE_XAUTH_GENERIC_FALSE
  765. USE_XAUTH_GENERIC_TRUE
  766. USE_EAP_RADIUS_FALSE
  767. USE_EAP_RADIUS_TRUE
  768. USE_EAP_DYNAMIC_FALSE
  769. USE_EAP_DYNAMIC_TRUE
  770. USE_EAP_TNC_FALSE
  771. USE_EAP_TNC_TRUE
  772. USE_EAP_PEAP_FALSE
  773. USE_EAP_PEAP_TRUE
  774. USE_EAP_TTLS_FALSE
  775. USE_EAP_TTLS_TRUE
  776. USE_EAP_TLS_FALSE
  777. USE_EAP_TLS_TRUE
  778. USE_EAP_MSCHAPV2_FALSE
  779. USE_EAP_MSCHAPV2_TRUE
  780. USE_EAP_AKA_3GPP2_FALSE
  781. USE_EAP_AKA_3GPP2_TRUE
  782. USE_EAP_AKA_3GPP_FALSE
  783. USE_EAP_AKA_3GPP_TRUE
  784. USE_EAP_AKA_FALSE
  785. USE_EAP_AKA_TRUE
  786. USE_EAP_GTC_FALSE
  787. USE_EAP_GTC_TRUE
  788. USE_EAP_MD5_FALSE
  789. USE_EAP_MD5_TRUE
  790. USE_EAP_IDENTITY_FALSE
  791. USE_EAP_IDENTITY_TRUE
  792. USE_EAP_SIMAKA_REAUTH_FALSE
  793. USE_EAP_SIMAKA_REAUTH_TRUE
  794. USE_EAP_SIMAKA_PSEUDONYM_FALSE
  795. USE_EAP_SIMAKA_PSEUDONYM_TRUE
  796. USE_EAP_SIMAKA_SQL_FALSE
  797. USE_EAP_SIMAKA_SQL_TRUE
  798. USE_EAP_SIM_PCSC_FALSE
  799. USE_EAP_SIM_PCSC_TRUE
  800. USE_EAP_SIM_FILE_FALSE
  801. USE_EAP_SIM_FILE_TRUE
  802. USE_EAP_SIM_FALSE
  803. USE_EAP_SIM_TRUE
  804. USE_RADATTR_FALSE
  805. USE_RADATTR_TRUE
  806. USE_COUPLING_FALSE
  807. USE_COUPLING_TRUE
  808. USE_DUPLICHECK_FALSE
  809. USE_DUPLICHECK_TRUE
  810. USE_LED_FALSE
  811. USE_LED_TRUE
  812. USE_SYSTIME_FIX_FALSE
  813. USE_SYSTIME_FIX_TRUE
  814. USE_CERTEXPIRE_FALSE
  815. USE_CERTEXPIRE_TRUE
  816. USE_ERROR_NOTIFY_FALSE
  817. USE_ERROR_NOTIFY_TRUE
  818. USE_LOOKIP_FALSE
  819. USE_LOOKIP_TRUE
  820. USE_EXT_AUTH_FALSE
  821. USE_EXT_AUTH_TRUE
  822. USE_WHITELIST_FALSE
  823. USE_WHITELIST_TRUE
  824. USE_KERNEL_IPH_FALSE
  825. USE_KERNEL_IPH_TRUE
  826. USE_KERNEL_WFP_FALSE
  827. USE_KERNEL_WFP_TRUE
  828. USE_KERNEL_LIBIPSEC_FALSE
  829. USE_KERNEL_LIBIPSEC_TRUE
  830. USE_KERNEL_PFROUTE_FALSE
  831. USE_KERNEL_PFROUTE_TRUE
  832. USE_KERNEL_PFKEY_FALSE
  833. USE_KERNEL_PFKEY_TRUE
  834. USE_KERNEL_NETLINK_FALSE
  835. USE_KERNEL_NETLINK_TRUE
  836. USE_HA_FALSE
  837. USE_HA_TRUE
  838. USE_LOAD_TESTER_FALSE
  839. USE_LOAD_TESTER_TRUE
  840. USE_DHCP_FALSE
  841. USE_DHCP_TRUE
  842. USE_UPDOWN_FALSE
  843. USE_UPDOWN_TRUE
  844. USE_IPSECKEY_FALSE
  845. USE_IPSECKEY_TRUE
  846. USE_DNSCERT_FALSE
  847. USE_DNSCERT_TRUE
  848. USE_SQL_FALSE
  849. USE_SQL_TRUE
  850. USE_SMP_FALSE
  851. USE_SMP_TRUE
  852. USE_ANDROID_LOG_FALSE
  853. USE_ANDROID_LOG_TRUE
  854. USE_ANDROID_DNS_FALSE
  855. USE_ANDROID_DNS_TRUE
  856. USE_P_CSCF_FALSE
  857. USE_P_CSCF_TRUE
  858. USE_OSX_ATTR_FALSE
  859. USE_OSX_ATTR_TRUE
  860. USE_UCI_FALSE
  861. USE_UCI_TRUE
  862. USE_MEDCLI_FALSE
  863. USE_MEDCLI_TRUE
  864. USE_MEDSRV_FALSE
  865. USE_MEDSRV_TRUE
  866. USE_VICI_FALSE
  867. USE_VICI_TRUE
  868. USE_STROKE_FALSE
  869. USE_STROKE_TRUE
  870. USE_BLISS_FALSE
  871. USE_BLISS_TRUE
  872. USE_NEWHOPE_FALSE
  873. USE_NEWHOPE_TRUE
  874. USE_NTRU_FALSE
  875. USE_NTRU_TRUE
  876. USE_AF_ALG_FALSE
  877. USE_AF_ALG_TRUE
  878. USE_GCM_FALSE
  879. USE_GCM_TRUE
  880. USE_CCM_FALSE
  881. USE_CCM_TRUE
  882. USE_CTR_FALSE
  883. USE_CTR_TRUE
  884. USE_CHAPOLY_FALSE
  885. USE_CHAPOLY_TRUE
  886. USE_TPM_FALSE
  887. USE_TPM_TRUE
  888. USE_PKCS11_FALSE
  889. USE_PKCS11_TRUE
  890. USE_KEYCHAIN_FALSE
  891. USE_KEYCHAIN_TRUE
  892. USE_AGENT_FALSE
  893. USE_AGENT_TRUE
  894. USE_BOTAN_FALSE
  895. USE_BOTAN_TRUE
  896. USE_GCRYPT_FALSE
  897. USE_GCRYPT_TRUE
  898. USE_WOLFSSL_FALSE
  899. USE_WOLFSSL_TRUE
  900. USE_OPENSSL_FALSE
  901. USE_OPENSSL_TRUE
  902. USE_PADLOCK_FALSE
  903. USE_PADLOCK_TRUE
  904. USE_SQLITE_FALSE
  905. USE_SQLITE_TRUE
  906. USE_MYSQL_FALSE
  907. USE_MYSQL_TRUE
  908. USE_XCBC_FALSE
  909. USE_XCBC_TRUE
  910. USE_CMAC_FALSE
  911. USE_CMAC_TRUE
  912. USE_HMAC_FALSE
  913. USE_HMAC_TRUE
  914. USE_PEM_FALSE
  915. USE_PEM_TRUE
  916. USE_SSHKEY_FALSE
  917. USE_SSHKEY_TRUE
  918. USE_DNSKEY_FALSE
  919. USE_DNSKEY_TRUE
  920. USE_PGP_FALSE
  921. USE_PGP_TRUE
  922. USE_PKCS12_FALSE
  923. USE_PKCS12_TRUE
  924. USE_PKCS8_FALSE
  925. USE_PKCS8_TRUE
  926. USE_PKCS7_FALSE
  927. USE_PKCS7_TRUE
  928. USE_PKCS1_FALSE
  929. USE_PKCS1_TRUE
  930. USE_PUBKEY_FALSE
  931. USE_PUBKEY_TRUE
  932. USE_ACERT_FALSE
  933. USE_ACERT_TRUE
  934. USE_CONSTRAINTS_FALSE
  935. USE_CONSTRAINTS_TRUE
  936. USE_REVOCATION_FALSE
  937. USE_REVOCATION_TRUE
  938. USE_X509_FALSE
  939. USE_X509_TRUE
  940. USE_NONCE_FALSE
  941. USE_NONCE_TRUE
  942. USE_RANDOM_FALSE
  943. USE_RANDOM_TRUE
  944. USE_AESNI_FALSE
  945. USE_AESNI_TRUE
  946. USE_RDRAND_FALSE
  947. USE_RDRAND_TRUE
  948. USE_CURVE25519_FALSE
  949. USE_CURVE25519_TRUE
  950. USE_GMP_FALSE
  951. USE_GMP_TRUE
  952. USE_FIPS_PRF_FALSE
  953. USE_FIPS_PRF_TRUE
  954. USE_MGF1_FALSE
  955. USE_MGF1_TRUE
  956. USE_SHA3_FALSE
  957. USE_SHA3_TRUE
  958. USE_SHA2_FALSE
  959. USE_SHA2_TRUE
  960. USE_SHA1_FALSE
  961. USE_SHA1_TRUE
  962. USE_MD5_FALSE
  963. USE_MD5_TRUE
  964. USE_MD4_FALSE
  965. USE_MD4_TRUE
  966. USE_RC2_FALSE
  967. USE_RC2_TRUE
  968. USE_BLOWFISH_FALSE
  969. USE_BLOWFISH_TRUE
  970. USE_DES_FALSE
  971. USE_DES_TRUE
  972. USE_AES_FALSE
  973. USE_AES_TRUE
  974. USE_LDAP_FALSE
  975. USE_LDAP_TRUE
  976. USE_SOUP_FALSE
  977. USE_SOUP_TRUE
  978. USE_UNBOUND_FALSE
  979. USE_UNBOUND_TRUE
  980. USE_WINHTTP_FALSE
  981. USE_WINHTTP_TRUE
  982. USE_FILES_FALSE
  983. USE_FILES_TRUE
  984. USE_CURL_FALSE
  985. USE_CURL_TRUE
  986. USE_TEST_VECTORS_FALSE
  987. USE_TEST_VECTORS_TRUE
  988. t_plugins
  989. s_plugins
  990. p_plugins
  991. c_plugins
  992. aikgen_plugins
  993. cmd_plugins
  994. nm_plugins
  995. medsrv_plugins
  996. manager_plugins
  997. fuzz_plugins
  998. scripts_plugins
  999. pki_plugins
  1000. scepclient_plugins
  1001. attest_plugins
  1002. pool_plugins
  1003. starter_plugins
  1004. charon_plugins
  1005. PERL_CPAN_INSTALL_FALSE
  1006. PERL_CPAN_INSTALL_TRUE
  1007. PYTHON_EGGS_INSTALL_FALSE
  1008. PYTHON_EGGS_INSTALL_TRUE
  1009. PY_TEST
  1010. PYTHONEGGINSTALLDIR
  1011. EASY_INSTALL
  1012. PYTHON_PACKAGE_VERSION
  1013. RUBY_GEMS_INSTALL_FALSE
  1014. RUBY_GEMS_INSTALL_TRUE
  1015. RUBYGEMDIR
  1016. GEM
  1017. FUZZING_LDFLAGS
  1018. FUZZING_CFLAGS
  1019. COVERAGE_LDFLAGS
  1020. COVERAGE_CFLAGS
  1021. GENHTML
  1022. LCOV
  1023. GPRBUILD
  1024. dev_headers
  1025. USE_DEV_HEADERS_FALSE
  1026. USE_DEV_HEADERS_TRUE
  1027. UNWINDLIB
  1028. BFDLIB
  1029. libiptc_LIBS
  1030. libiptc_CFLAGS
  1031. nm_LIBS
  1032. nm_CFLAGS
  1033. pcsclite_LIBS
  1034. pcsclite_CFLAGS
  1035. botan_LIBS
  1036. botan_CFLAGS
  1037. WOLFSSL_LIB
  1038. OPENSSL_LIB
  1039. MYSQLCFLAG
  1040. MYSQLCONFIG
  1041. MYSQLLIB
  1042. clearsilver_LIBS
  1043. json_LIBS
  1044. json_CFLAGS
  1045. tss2_LIBS
  1046. tss2_CFLAGS
  1047. tss2_socket_LIBS
  1048. tss2_socket_CFLAGS
  1049. tss2_tabrmd_LIBS
  1050. tss2_tabrmd_CFLAGS
  1051. tss2_esys_LIBS
  1052. tss2_esys_CFLAGS
  1053. tss2_sys_LIBS
  1054. tss2_sys_CFLAGS
  1055. systemd_journal_LIBS
  1056. systemd_journal_CFLAGS
  1057. systemd_daemon_LIBS
  1058. systemd_daemon_CFLAGS
  1059. systemd_LIBS
  1060. systemd_CFLAGS
  1061. xml_LIBS
  1062. xml_CFLAGS
  1063. soup_LIBS
  1064. soup_CFLAGS
  1065. USE_X86X64_FALSE
  1066. USE_X86X64_TRUE
  1067. USE_WINDOWS_FALSE
  1068. USE_WINDOWS_TRUE
  1069. RTLIB
  1070. USE_SYSLOG_FALSE
  1071. USE_SYSLOG_TRUE
  1072. ATOMICLIB
  1073. PTHREADLIB
  1074. SOCKLIB
  1075. BTLIB
  1076. DLLIB
  1077. ALLOCA
  1078. GPERF_LEN_TYPE
  1079. GPERF
  1080. PERL
  1081. pkgpyexecdir
  1082. pyexecdir
  1083. pkgpythondir
  1084. pythondir
  1085. PYTHON_PLATFORM
  1086. PYTHON_EXEC_PREFIX
  1087. PYTHON_PREFIX
  1088. PYTHON_VERSION
  1089. PYTHON
  1090. YFLAGS
  1091. YACC
  1092. LEXLIB
  1093. LEX_OUTPUT_ROOT
  1094. LEX
  1095. LT_SYS_LIBRARY_PATH
  1096. OTOOL64
  1097. OTOOL
  1098. LIPO
  1099. NMEDIT
  1100. DSYMUTIL
  1101. MANIFEST_TOOL
  1102. RANLIB
  1103. ac_ct_AR
  1104. AR
  1105. DLLTOOL
  1106. OBJDUMP
  1107. LN_S
  1108. NM
  1109. ac_ct_DUMPBIN
  1110. DUMPBIN
  1111. LD
  1112. FGREP
  1113. LIBTOOL
  1114. EGREP
  1115. GREP
  1116. CPP
  1117. host_os
  1118. host_vendor
  1119. host_cpu
  1120. host
  1121. build_os
  1122. build_vendor
  1123. build_cpu
  1124. build
  1125. am__fastdepCC_FALSE
  1126. am__fastdepCC_TRUE
  1127. CCDEPMODE
  1128. am__nodep
  1129. AMDEPBACKSLASH
  1130. AMDEP_FALSE
  1131. AMDEP_TRUE
  1132. am__quote
  1133. am__include
  1134. DEPDIR
  1135. OBJEXT
  1136. EXEEXT
  1137. ac_ct_CC
  1138. CPPFLAGS
  1139. LDFLAGS
  1140. CFLAGS
  1141. CC
  1142. PLUGIN_CFLAGS
  1143. ipsec_script_upper
  1144. charon_natt_port
  1145. charon_udp_port
  1146. ipsecgroup
  1147. ipsecuser
  1148. systemdsystemunitdir
  1149. libfuzzer
  1150. fips_mode
  1151. ipsec_script
  1152. routing_table_prio
  1153. routing_table
  1154. linux_headers
  1155. swanctldir
  1156. nm_ca_dir
  1157. imcvdir
  1158. plugindir
  1159. ipseclibdir
  1160. ipsecdir
  1161. piddir
  1162. resolv_conf
  1163. strongswan_conf
  1164. urandom_device
  1165. random_device
  1166. PACKAGE_VERSION_REVIEW
  1167. PACKAGE_VERSION_BUILD
  1168. PACKAGE_VERSION_MINOR
  1169. PACKAGE_VERSION_MAJOR
  1170. SED
  1171. PKG_CONFIG_LIBDIR
  1172. PKG_CONFIG_PATH
  1173. PKG_CONFIG
  1174. AM_BACKSLASH
  1175. AM_DEFAULT_VERBOSITY
  1176. AM_DEFAULT_V
  1177. AM_V
  1178. am__untar
  1179. am__tar
  1180. AMTAR
  1181. am__leading_dot
  1182. SET_MAKE
  1183. AWK
  1184. mkdir_p
  1185. MKDIR_P
  1186. INSTALL_STRIP_PROGRAM
  1187. STRIP
  1188. install_sh
  1189. MAKEINFO
  1190. AUTOHEADER
  1191. AUTOMAKE
  1192. AUTOCONF
  1193. ACLOCAL
  1194. VERSION
  1195. PACKAGE
  1196. CYGPATH_W
  1197. am__isrc
  1198. INSTALL_DATA
  1199. INSTALL_SCRIPT
  1200. INSTALL_PROGRAM
  1201. target_alias
  1202. host_alias
  1203. build_alias
  1204. LIBS
  1205. ECHO_T
  1206. ECHO_N
  1207. ECHO_C
  1208. DEFS
  1209. mandir
  1210. localedir
  1211. libdir
  1212. psdir
  1213. pdfdir
  1214. dvidir
  1215. htmldir
  1216. infodir
  1217. docdir
  1218. oldincludedir
  1219. includedir
  1220. runstatedir
  1221. localstatedir
  1222. sharedstatedir
  1223. sysconfdir
  1224. datadir
  1225. datarootdir
  1226. libexecdir
  1227. sbindir
  1228. bindir
  1229. program_transform_name
  1230. prefix
  1231. exec_prefix
  1232. PACKAGE_URL
  1233. PACKAGE_BUGREPORT
  1234. PACKAGE_STRING
  1235. PACKAGE_VERSION
  1236. PACKAGE_TARNAME
  1237. PACKAGE_NAME
  1238. PATH_SEPARATOR
  1239. SHELL'
  1240. ac_subst_files=''
  1241. ac_user_opts='
  1242. enable_option_checking
  1243. enable_silent_rules
  1244. enable_static
  1245. with_random_device
  1246. with_urandom_device
  1247. with_strongswan_conf
  1248. with_resolv_conf
  1249. with_piddir
  1250. with_ipsecdir
  1251. with_ipseclibdir
  1252. with_plugindir
  1253. with_imcvdir
  1254. with_nm_ca_dir
  1255. with_swanctldir
  1256. with_linux_headers
  1257. with_routing_table
  1258. with_routing_table_prio
  1259. with_ipsec_script
  1260. with_fips_mode
  1261. with_libfuzzer
  1262. with_capabilities
  1263. with_mpz_powm_sec
  1264. with_dev_headers
  1265. with_printf_hooks
  1266. with_rubygemdir
  1267. with_pythoneggdir
  1268. with_systemdsystemunitdir
  1269. with_user
  1270. with_group
  1271. with_charon_udp_port
  1272. with_charon_natt_port
  1273. enable_aes
  1274. enable_af_alg
  1275. enable_bliss
  1276. enable_blowfish
  1277. enable_botan
  1278. enable_ccm
  1279. enable_chapoly
  1280. enable_cmac
  1281. enable_ctr
  1282. enable_des
  1283. enable_fips_prf
  1284. enable_gcm
  1285. enable_gcrypt
  1286. enable_gmp
  1287. enable_curve25519
  1288. enable_hmac
  1289. enable_md4
  1290. enable_md5
  1291. enable_mgf1
  1292. enable_newhope
  1293. enable_nonce
  1294. enable_ntru
  1295. enable_openssl
  1296. enable_wolfssl
  1297. enable_padlock
  1298. enable_random
  1299. enable_rc2
  1300. enable_rdrand
  1301. enable_aesni
  1302. enable_sha1
  1303. enable_sha2
  1304. enable_sha3
  1305. enable_xcbc
  1306. enable_dnskey
  1307. enable_pem
  1308. enable_pgp
  1309. enable_pkcs1
  1310. enable_pkcs7
  1311. enable_pkcs8
  1312. enable_pkcs12
  1313. enable_pubkey
  1314. enable_sshkey
  1315. enable_x509
  1316. enable_curl
  1317. enable_files
  1318. enable_ldap
  1319. enable_soup
  1320. enable_unbound
  1321. enable_winhttp
  1322. enable_mysql
  1323. enable_sqlite
  1324. enable_addrblock
  1325. enable_acert
  1326. enable_agent
  1327. enable_constraints
  1328. enable_coupling
  1329. enable_dnscert
  1330. enable_eap_sim
  1331. enable_eap_sim_file
  1332. enable_eap_sim_pcsc
  1333. enable_eap_aka
  1334. enable_eap_aka_3gpp
  1335. enable_eap_aka_3gpp2
  1336. enable_eap_simaka_sql
  1337. enable_eap_simaka_pseudonym
  1338. enable_eap_simaka_reauth
  1339. enable_eap_identity
  1340. enable_eap_md5
  1341. enable_eap_gtc
  1342. enable_eap_mschapv2
  1343. enable_eap_tls
  1344. enable_eap_ttls
  1345. enable_eap_peap
  1346. enable_eap_tnc
  1347. enable_eap_dynamic
  1348. enable_eap_radius
  1349. enable_ext_auth
  1350. enable_ipseckey
  1351. enable_keychain
  1352. enable_pkcs11
  1353. enable_tpm
  1354. enable_revocation
  1355. enable_whitelist
  1356. enable_xauth_generic
  1357. enable_xauth_eap
  1358. enable_xauth_pam
  1359. enable_xauth_noauth
  1360. enable_kernel_netlink
  1361. enable_kernel_pfkey
  1362. enable_kernel_pfroute
  1363. enable_kernel_iph
  1364. enable_kernel_libipsec
  1365. enable_kernel_wfp
  1366. enable_socket_default
  1367. enable_socket_dynamic
  1368. enable_socket_win
  1369. enable_stroke
  1370. enable_smp
  1371. enable_sql
  1372. enable_uci
  1373. enable_vici
  1374. enable_android_dns
  1375. enable_attr
  1376. enable_attr_sql
  1377. enable_dhcp
  1378. enable_osx_attr
  1379. enable_p_cscf
  1380. enable_resolve
  1381. enable_unity
  1382. enable_imc_test
  1383. enable_imv_test
  1384. enable_imc_scanner
  1385. enable_imv_scanner
  1386. enable_imc_os
  1387. enable_imv_os
  1388. enable_imc_attestation
  1389. enable_imv_attestation
  1390. enable_imc_swima
  1391. enable_imv_swima
  1392. enable_imc_hcd
  1393. enable_imv_hcd
  1394. enable_tnc_ifmap
  1395. enable_tnc_imc
  1396. enable_tnc_imv
  1397. enable_tnc_pdp
  1398. enable_tnccs_11
  1399. enable_tnccs_20
  1400. enable_tnccs_dynamic
  1401. enable_android_log
  1402. enable_bypass_lan
  1403. enable_certexpire
  1404. enable_connmark
  1405. enable_counters
  1406. enable_forecast
  1407. enable_duplicheck
  1408. enable_error_notify
  1409. enable_farp
  1410. enable_ha
  1411. enable_led
  1412. enable_load_tester
  1413. enable_lookip
  1414. enable_radattr
  1415. enable_save_keys
  1416. enable_systime_fix
  1417. enable_test_vectors
  1418. enable_updown
  1419. enable_aikgen
  1420. enable_charon
  1421. enable_cmd
  1422. enable_conftest
  1423. enable_fast
  1424. enable_fuzzing
  1425. enable_libipsec
  1426. enable_manager
  1427. enable_medcli
  1428. enable_medsrv
  1429. enable_nm
  1430. enable_pki
  1431. enable_scepclient
  1432. enable_scripts
  1433. enable_svc
  1434. enable_systemd
  1435. enable_swanctl
  1436. enable_tkm
  1437. enable_bfd_backtraces
  1438. enable_dbghelp_backtraces
  1439. enable_ikev1
  1440. enable_ikev2
  1441. enable_integrity_test
  1442. enable_load_warning
  1443. enable_mediation
  1444. enable_unwind_backtraces
  1445. enable_ruby_gems
  1446. enable_ruby_gems_install
  1447. enable_python_eggs
  1448. enable_python_eggs_install
  1449. enable_perl_cpan
  1450. enable_perl_cpan_install
  1451. enable_tss_trousers
  1452. enable_tss_tss2
  1453. enable_coverage
  1454. enable_leak_detective
  1455. enable_lock_profiler
  1456. enable_log_thread_ids
  1457. enable_monolithic
  1458. enable_defaults
  1459. enable_all
  1460. enable_dependency_tracking
  1461. with_lib_prefix
  1462. enable_shared
  1463. with_pic
  1464. enable_fast_install
  1465. with_aix_soname
  1466. with_gnu_ld
  1467. with_sysroot
  1468. enable_libtool_lock
  1469. '
  1470. ac_precious_vars='build_alias
  1471. host_alias
  1472. target_alias
  1473. PKG_CONFIG
  1474. PKG_CONFIG_PATH
  1475. PKG_CONFIG_LIBDIR
  1476. CC
  1477. CFLAGS
  1478. LDFLAGS
  1479. LIBS
  1480. CPPFLAGS
  1481. CPP
  1482. LT_SYS_LIBRARY_PATH
  1483. YACC
  1484. YFLAGS
  1485. PYTHON
  1486. soup_CFLAGS
  1487. soup_LIBS
  1488. xml_CFLAGS
  1489. xml_LIBS
  1490. systemd_CFLAGS
  1491. systemd_LIBS
  1492. systemd_daemon_CFLAGS
  1493. systemd_daemon_LIBS
  1494. systemd_journal_CFLAGS
  1495. systemd_journal_LIBS
  1496. tss2_sys_CFLAGS
  1497. tss2_sys_LIBS
  1498. tss2_esys_CFLAGS
  1499. tss2_esys_LIBS
  1500. tss2_tabrmd_CFLAGS
  1501. tss2_tabrmd_LIBS
  1502. tss2_socket_CFLAGS
  1503. tss2_socket_LIBS
  1504. json_CFLAGS
  1505. json_LIBS
  1506. botan_CFLAGS
  1507. botan_LIBS
  1508. pcsclite_CFLAGS
  1509. pcsclite_LIBS
  1510. nm_CFLAGS
  1511. nm_LIBS
  1512. libiptc_CFLAGS
  1513. libiptc_LIBS'
  1514. # Initialize some variables set by options.
  1515. ac_init_help=
  1516. ac_init_version=false
  1517. ac_unrecognized_opts=
  1518. ac_unrecognized_sep=
  1519. # The variables have the same names as the options, with
  1520. # dashes changed to underlines.
  1521. cache_file=/dev/null
  1522. exec_prefix=NONE
  1523. no_create=
  1524. no_recursion=
  1525. prefix=NONE
  1526. program_prefix=NONE
  1527. program_suffix=NONE
  1528. program_transform_name=s,x,x,
  1529. silent=
  1530. site=
  1531. srcdir=
  1532. verbose=
  1533. x_includes=NONE
  1534. x_libraries=NONE
  1535. # Installation directory options.
  1536. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1537. # and all the variables that are supposed to be based on exec_prefix
  1538. # by default will actually change.
  1539. # Use braces instead of parens because sh, perl, etc. also accept them.
  1540. # (The list follows the same order as the GNU Coding Standards.)
  1541. bindir='${exec_prefix}/bin'
  1542. sbindir='${exec_prefix}/sbin'
  1543. libexecdir='${exec_prefix}/libexec'
  1544. datarootdir='${prefix}/share'
  1545. datadir='${datarootdir}'
  1546. sysconfdir='${prefix}/etc'
  1547. sharedstatedir='${prefix}/com'
  1548. localstatedir='${prefix}/var'
  1549. runstatedir='${localstatedir}/run'
  1550. includedir='${prefix}/include'
  1551. oldincludedir='/usr/include'
  1552. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1553. infodir='${datarootdir}/info'
  1554. htmldir='${docdir}'
  1555. dvidir='${docdir}'
  1556. pdfdir='${docdir}'
  1557. psdir='${docdir}'
  1558. libdir='${exec_prefix}/lib'
  1559. localedir='${datarootdir}/locale'
  1560. mandir='${datarootdir}/man'
  1561. ac_prev=
  1562. ac_dashdash=
  1563. for ac_option
  1564. do
  1565. # If the previous option needs an argument, assign it.
  1566. if test -n "$ac_prev"; then
  1567. eval $ac_prev=\$ac_option
  1568. ac_prev=
  1569. continue
  1570. fi
  1571. case $ac_option in
  1572. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1573. *=) ac_optarg= ;;
  1574. *) ac_optarg=yes ;;
  1575. esac
  1576. # Accept the important Cygnus configure options, so we can diagnose typos.
  1577. case $ac_dashdash$ac_option in
  1578. --)
  1579. ac_dashdash=yes ;;
  1580. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1581. ac_prev=bindir ;;
  1582. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1583. bindir=$ac_optarg ;;
  1584. -build | --build | --buil | --bui | --bu)
  1585. ac_prev=build_alias ;;
  1586. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1587. build_alias=$ac_optarg ;;
  1588. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1589. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1590. ac_prev=cache_file ;;
  1591. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1592. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1593. cache_file=$ac_optarg ;;
  1594. --config-cache | -C)
  1595. cache_file=config.cache ;;
  1596. -datadir | --datadir | --datadi | --datad)
  1597. ac_prev=datadir ;;
  1598. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1599. datadir=$ac_optarg ;;
  1600. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1601. | --dataroo | --dataro | --datar)
  1602. ac_prev=datarootdir ;;
  1603. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1604. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1605. datarootdir=$ac_optarg ;;
  1606. -disable-* | --disable-*)
  1607. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1608. # Reject names that are not valid shell variable names.
  1609. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1610. as_fn_error $? "invalid feature name: $ac_useropt"
  1611. ac_useropt_orig=$ac_useropt
  1612. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1613. case $ac_user_opts in
  1614. *"
  1615. "enable_$ac_useropt"
  1616. "*) ;;
  1617. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1618. ac_unrecognized_sep=', ';;
  1619. esac
  1620. eval enable_$ac_useropt=no ;;
  1621. -docdir | --docdir | --docdi | --doc | --do)
  1622. ac_prev=docdir ;;
  1623. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1624. docdir=$ac_optarg ;;
  1625. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1626. ac_prev=dvidir ;;
  1627. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1628. dvidir=$ac_optarg ;;
  1629. -enable-* | --enable-*)
  1630. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1631. # Reject names that are not valid shell variable names.
  1632. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1633. as_fn_error $? "invalid feature name: $ac_useropt"
  1634. ac_useropt_orig=$ac_useropt
  1635. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1636. case $ac_user_opts in
  1637. *"
  1638. "enable_$ac_useropt"
  1639. "*) ;;
  1640. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1641. ac_unrecognized_sep=', ';;
  1642. esac
  1643. eval enable_$ac_useropt=\$ac_optarg ;;
  1644. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1645. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1646. | --exec | --exe | --ex)
  1647. ac_prev=exec_prefix ;;
  1648. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1649. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1650. | --exec=* | --exe=* | --ex=*)
  1651. exec_prefix=$ac_optarg ;;
  1652. -gas | --gas | --ga | --g)
  1653. # Obsolete; use --with-gas.
  1654. with_gas=yes ;;
  1655. -help | --help | --hel | --he | -h)
  1656. ac_init_help=long ;;
  1657. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1658. ac_init_help=recursive ;;
  1659. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1660. ac_init_help=short ;;
  1661. -host | --host | --hos | --ho)
  1662. ac_prev=host_alias ;;
  1663. -host=* | --host=* | --hos=* | --ho=*)
  1664. host_alias=$ac_optarg ;;
  1665. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1666. ac_prev=htmldir ;;
  1667. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1668. | --ht=*)
  1669. htmldir=$ac_optarg ;;
  1670. -includedir | --includedir | --includedi | --included | --include \
  1671. | --includ | --inclu | --incl | --inc)
  1672. ac_prev=includedir ;;
  1673. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1674. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1675. includedir=$ac_optarg ;;
  1676. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1677. ac_prev=infodir ;;
  1678. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1679. infodir=$ac_optarg ;;
  1680. -libdir | --libdir | --libdi | --libd)
  1681. ac_prev=libdir ;;
  1682. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1683. libdir=$ac_optarg ;;
  1684. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1685. | --libexe | --libex | --libe)
  1686. ac_prev=libexecdir ;;
  1687. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1688. | --libexe=* | --libex=* | --libe=*)
  1689. libexecdir=$ac_optarg ;;
  1690. -localedir | --localedir | --localedi | --localed | --locale)
  1691. ac_prev=localedir ;;
  1692. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1693. localedir=$ac_optarg ;;
  1694. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1695. | --localstate | --localstat | --localsta | --localst | --locals)
  1696. ac_prev=localstatedir ;;
  1697. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1698. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1699. localstatedir=$ac_optarg ;;
  1700. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1701. ac_prev=mandir ;;
  1702. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1703. mandir=$ac_optarg ;;
  1704. -nfp | --nfp | --nf)
  1705. # Obsolete; use --without-fp.
  1706. with_fp=no ;;
  1707. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1708. | --no-cr | --no-c | -n)
  1709. no_create=yes ;;
  1710. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1711. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1712. no_recursion=yes ;;
  1713. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1714. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1715. | --oldin | --oldi | --old | --ol | --o)
  1716. ac_prev=oldincludedir ;;
  1717. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1718. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1719. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1720. oldincludedir=$ac_optarg ;;
  1721. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1722. ac_prev=prefix ;;
  1723. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1724. prefix=$ac_optarg ;;
  1725. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1726. | --program-pre | --program-pr | --program-p)
  1727. ac_prev=program_prefix ;;
  1728. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1729. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1730. program_prefix=$ac_optarg ;;
  1731. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1732. | --program-suf | --program-su | --program-s)
  1733. ac_prev=program_suffix ;;
  1734. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1735. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1736. program_suffix=$ac_optarg ;;
  1737. -program-transform-name | --program-transform-name \
  1738. | --program-transform-nam | --program-transform-na \
  1739. | --program-transform-n | --program-transform- \
  1740. | --program-transform | --program-transfor \
  1741. | --program-transfo | --program-transf \
  1742. | --program-trans | --program-tran \
  1743. | --progr-tra | --program-tr | --program-t)
  1744. ac_prev=program_transform_name ;;
  1745. -program-transform-name=* | --program-transform-name=* \
  1746. | --program-transform-nam=* | --program-transform-na=* \
  1747. | --program-transform-n=* | --program-transform-=* \
  1748. | --program-transform=* | --program-transfor=* \
  1749. | --program-transfo=* | --program-transf=* \
  1750. | --program-trans=* | --program-tran=* \
  1751. | --progr-tra=* | --program-tr=* | --program-t=*)
  1752. program_transform_name=$ac_optarg ;;
  1753. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1754. ac_prev=pdfdir ;;
  1755. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1756. pdfdir=$ac_optarg ;;
  1757. -psdir | --psdir | --psdi | --psd | --ps)
  1758. ac_prev=psdir ;;
  1759. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1760. psdir=$ac_optarg ;;
  1761. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1762. | -silent | --silent | --silen | --sile | --sil)
  1763. silent=yes ;;
  1764. -runstatedir | --runstatedir | --runstatedi | --runstated \
  1765. | --runstate | --runstat | --runsta | --runst | --runs \
  1766. | --run | --ru | --r)
  1767. ac_prev=runstatedir ;;
  1768. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  1769. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  1770. | --run=* | --ru=* | --r=*)
  1771. runstatedir=$ac_optarg ;;
  1772. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1773. ac_prev=sbindir ;;
  1774. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1775. | --sbi=* | --sb=*)
  1776. sbindir=$ac_optarg ;;
  1777. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1778. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1779. | --sharedst | --shareds | --shared | --share | --shar \
  1780. | --sha | --sh)
  1781. ac_prev=sharedstatedir ;;
  1782. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1783. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1784. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1785. | --sha=* | --sh=*)
  1786. sharedstatedir=$ac_optarg ;;
  1787. -site | --site | --sit)
  1788. ac_prev=site ;;
  1789. -site=* | --site=* | --sit=*)
  1790. site=$ac_optarg ;;
  1791. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1792. ac_prev=srcdir ;;
  1793. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1794. srcdir=$ac_optarg ;;
  1795. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1796. | --syscon | --sysco | --sysc | --sys | --sy)
  1797. ac_prev=sysconfdir ;;
  1798. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1799. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1800. sysconfdir=$ac_optarg ;;
  1801. -target | --target | --targe | --targ | --tar | --ta | --t)
  1802. ac_prev=target_alias ;;
  1803. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1804. target_alias=$ac_optarg ;;
  1805. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1806. verbose=yes ;;
  1807. -version | --version | --versio | --versi | --vers | -V)
  1808. ac_init_version=: ;;
  1809. -with-* | --with-*)
  1810. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1811. # Reject names that are not valid shell variable names.
  1812. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1813. as_fn_error $? "invalid package name: $ac_useropt"
  1814. ac_useropt_orig=$ac_useropt
  1815. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1816. case $ac_user_opts in
  1817. *"
  1818. "with_$ac_useropt"
  1819. "*) ;;
  1820. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1821. ac_unrecognized_sep=', ';;
  1822. esac
  1823. eval with_$ac_useropt=\$ac_optarg ;;
  1824. -without-* | --without-*)
  1825. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1826. # Reject names that are not valid shell variable names.
  1827. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1828. as_fn_error $? "invalid package name: $ac_useropt"
  1829. ac_useropt_orig=$ac_useropt
  1830. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1831. case $ac_user_opts in
  1832. *"
  1833. "with_$ac_useropt"
  1834. "*) ;;
  1835. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1836. ac_unrecognized_sep=', ';;
  1837. esac
  1838. eval with_$ac_useropt=no ;;
  1839. --x)
  1840. # Obsolete; use --with-x.
  1841. with_x=yes ;;
  1842. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1843. | --x-incl | --x-inc | --x-in | --x-i)
  1844. ac_prev=x_includes ;;
  1845. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1846. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1847. x_includes=$ac_optarg ;;
  1848. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1849. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1850. ac_prev=x_libraries ;;
  1851. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1852. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1853. x_libraries=$ac_optarg ;;
  1854. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1855. Try \`$0 --help' for more information"
  1856. ;;
  1857. *=*)
  1858. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1859. # Reject names that are not valid shell variable names.
  1860. case $ac_envvar in #(
  1861. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1862. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1863. esac
  1864. eval $ac_envvar=\$ac_optarg
  1865. export $ac_envvar ;;
  1866. *)
  1867. # FIXME: should be removed in autoconf 3.0.
  1868. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1869. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1870. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1871. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1872. ;;
  1873. esac
  1874. done
  1875. if test -n "$ac_prev"; then
  1876. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1877. as_fn_error $? "missing argument to $ac_option"
  1878. fi
  1879. if test -n "$ac_unrecognized_opts"; then
  1880. case $enable_option_checking in
  1881. no) ;;
  1882. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1883. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1884. esac
  1885. fi
  1886. # Check all directory arguments for consistency.
  1887. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1888. datadir sysconfdir sharedstatedir localstatedir includedir \
  1889. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1890. libdir localedir mandir runstatedir
  1891. do
  1892. eval ac_val=\$$ac_var
  1893. # Remove trailing slashes.
  1894. case $ac_val in
  1895. */ )
  1896. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1897. eval $ac_var=\$ac_val;;
  1898. esac
  1899. # Be sure to have absolute directory names.
  1900. case $ac_val in
  1901. [\\/$]* | ?:[\\/]* ) continue;;
  1902. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1903. esac
  1904. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1905. done
  1906. # There might be people who depend on the old broken behavior: `$host'
  1907. # used to hold the argument of --host etc.
  1908. # FIXME: To remove some day.
  1909. build=$build_alias
  1910. host=$host_alias
  1911. target=$target_alias
  1912. # FIXME: To remove some day.
  1913. if test "x$host_alias" != x; then
  1914. if test "x$build_alias" = x; then
  1915. cross_compiling=maybe
  1916. elif test "x$build_alias" != "x$host_alias"; then
  1917. cross_compiling=yes
  1918. fi
  1919. fi
  1920. ac_tool_prefix=
  1921. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1922. test "$silent" = yes && exec 6>/dev/null
  1923. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1924. ac_ls_di=`ls -di .` &&
  1925. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1926. as_fn_error $? "working directory cannot be determined"
  1927. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1928. as_fn_error $? "pwd does not report name of working directory"
  1929. # Find the source files, if location was not specified.
  1930. if test -z "$srcdir"; then
  1931. ac_srcdir_defaulted=yes
  1932. # Try the directory containing this script, then the parent directory.
  1933. ac_confdir=`$as_dirname -- "$as_myself" ||
  1934. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1935. X"$as_myself" : 'X\(//\)[^/]' \| \
  1936. X"$as_myself" : 'X\(//\)$' \| \
  1937. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1938. $as_echo X"$as_myself" |
  1939. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1940. s//\1/
  1941. q
  1942. }
  1943. /^X\(\/\/\)[^/].*/{
  1944. s//\1/
  1945. q
  1946. }
  1947. /^X\(\/\/\)$/{
  1948. s//\1/
  1949. q
  1950. }
  1951. /^X\(\/\).*/{
  1952. s//\1/
  1953. q
  1954. }
  1955. s/.*/./; q'`
  1956. srcdir=$ac_confdir
  1957. if test ! -r "$srcdir/$ac_unique_file"; then
  1958. srcdir=..
  1959. fi
  1960. else
  1961. ac_srcdir_defaulted=no
  1962. fi
  1963. if test ! -r "$srcdir/$ac_unique_file"; then
  1964. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1965. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1966. fi
  1967. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1968. ac_abs_confdir=`(
  1969. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1970. pwd)`
  1971. # When building in place, set srcdir=.
  1972. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1973. srcdir=.
  1974. fi
  1975. # Remove unnecessary trailing slashes from srcdir.
  1976. # Double slashes in file names in object file debugging info
  1977. # mess up M-x gdb in Emacs.
  1978. case $srcdir in
  1979. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1980. esac
  1981. for ac_var in $ac_precious_vars; do
  1982. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1983. eval ac_env_${ac_var}_value=\$${ac_var}
  1984. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1985. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1986. done
  1987. #
  1988. # Report the --help message.
  1989. #
  1990. if test "$ac_init_help" = "long"; then
  1991. # Omit some internal or obsolete options to make the list less imposing.
  1992. # This message is too long to be a string in the A/UX 3.1 sh.
  1993. cat <<_ACEOF
  1994. \`configure' configures strongSwan 5.8.1 to adapt to many kinds of systems.
  1995. Usage: $0 [OPTION]... [VAR=VALUE]...
  1996. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1997. VAR=VALUE. See below for descriptions of some of the useful variables.
  1998. Defaults for the options are specified in brackets.
  1999. Configuration:
  2000. -h, --help display this help and exit
  2001. --help=short display options specific to this package
  2002. --help=recursive display the short help of all the included packages
  2003. -V, --version display version information and exit
  2004. -q, --quiet, --silent do not print \`checking ...' messages
  2005. --cache-file=FILE cache test results in FILE [disabled]
  2006. -C, --config-cache alias for \`--cache-file=config.cache'
  2007. -n, --no-create do not create output files
  2008. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2009. Installation directories:
  2010. --prefix=PREFIX install architecture-independent files in PREFIX
  2011. @<:@@S|@ac_default_prefix@:>@
  2012. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2013. @<:@PREFIX@:>@
  2014. By default, \`make install' will install all the files in
  2015. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2016. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2017. for instance \`--prefix=\$HOME'.
  2018. For better control, use the options below.
  2019. Fine tuning of the installation directories:
  2020. --bindir=DIR user executables [EPREFIX/bin]
  2021. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2022. --libexecdir=DIR program executables [EPREFIX/libexec]
  2023. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2024. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2025. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2026. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2027. --libdir=DIR object code libraries [EPREFIX/lib]
  2028. --includedir=DIR C header files [PREFIX/include]
  2029. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2030. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2031. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2032. --infodir=DIR info documentation [DATAROOTDIR/info]
  2033. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2034. --mandir=DIR man documentation [DATAROOTDIR/man]
  2035. --docdir=DIR documentation root @<:@DATAROOTDIR/doc/strongswan@:>@
  2036. --htmldir=DIR html documentation [DOCDIR]
  2037. --dvidir=DIR dvi documentation [DOCDIR]
  2038. --pdfdir=DIR pdf documentation [DOCDIR]
  2039. --psdir=DIR ps documentation [DOCDIR]
  2040. _ACEOF
  2041. cat <<\_ACEOF
  2042. Program names:
  2043. --program-prefix=PREFIX prepend PREFIX to installed program names
  2044. --program-suffix=SUFFIX append SUFFIX to installed program names
  2045. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  2046. System types:
  2047. --build=BUILD configure for building on BUILD [guessed]
  2048. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2049. _ACEOF
  2050. fi
  2051. if test -n "$ac_init_help"; then
  2052. case $ac_init_help in
  2053. short | recursive ) echo "Configuration of strongSwan 5.8.1:";;
  2054. esac
  2055. cat <<\_ACEOF
  2056. Optional Features:
  2057. --disable-option-checking ignore unrecognized --enable/--with options
  2058. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2059. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2060. --enable-silent-rules less verbose build output (undo: "make V=1")
  2061. --disable-silent-rules verbose build output (undo: "make V=0")
  2062. --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
  2063. --disable-aes disable AES software implementation plugin.
  2064. --enable-af-alg enable AF_ALG crypto interface to Linux Crypto API.
  2065. --enable-bliss enable BLISS software implementation plugin.
  2066. --enable-blowfish enable Blowfish software implementation plugin.
  2067. --enable-botan enables the Botan crypto plugin.
  2068. --enable-ccm enables the CCM AEAD wrapper crypto plugin.
  2069. --enable-chapoly enables the ChaCha20/Poly1305 AEAD plugin.
  2070. --disable-cmac disable CMAC crypto implementation plugin.
  2071. --enable-ctr enables the Counter Mode wrapper crypto plugin.
  2072. --disable-des disable DES/3DES software implementation plugin.
  2073. --disable-fips-prf disable FIPS PRF software implementation plugin.
  2074. --enable-gcm enables the GCM AEAD wrapper crypto plugin.
  2075. --enable-gcrypt enables the libgcrypt plugin.
  2076. --disable-gmp disable GNU MP (libgmp) based crypto implementation
  2077. plugin.
  2078. --disable-curve25519 disable Curve25519 Diffie-Hellman plugin.
  2079. --disable-hmac disable HMAC crypto implementation plugin.
  2080. --enable-md4 enable MD4 software implementation plugin.
  2081. --disable-md5 disable MD5 software implementation plugin.
  2082. --enable-mgf1 enable the MGF1 software implementation plugin.
  2083. --enable-newhope enable New Hope crypto plugin.
  2084. --disable-nonce disable nonce generation plugin.
  2085. --enable-ntru enables the NTRU crypto plugin.
  2086. --enable-openssl enables the OpenSSL crypto plugin.
  2087. --enable-wolfssl enables the wolfSSL crypto plugin.
  2088. --enable-padlock enables VIA Padlock crypto plugin.
  2089. --disable-random disable RNG implementation on top of /dev/(u)random.
  2090. --disable-rc2 disable RC2 software implementation plugin.
  2091. --enable-rdrand enable Intel RDRAND random generator plugin.
  2092. --enable-aesni enable Intel AES-NI crypto plugin.
  2093. --disable-sha1 disable SHA1 software implementation plugin.
  2094. --disable-sha2 disable SHA256/SHA384/SHA512 software implementation
  2095. plugin.
  2096. --enable-sha3 enable SHA3_224/SHA3_256/SHA3_384/SHA3_512 software
  2097. implementation plugin.
  2098. --disable-xcbc disable xcbc crypto implementation plugin.
  2099. --disable-dnskey disable DNS RR key decoding plugin.
  2100. --disable-pem disable PEM decoding plugin.
  2101. --disable-pgp disable PGP key decoding plugin.
  2102. --disable-pkcs1 disable PKCS1 key decoding plugin.
  2103. --disable-pkcs7 disable PKCS7 container support plugin.
  2104. --disable-pkcs8 disable PKCS8 private key decoding plugin.
  2105. --disable-pkcs12 disable PKCS12 container support plugin.
  2106. --disable-pubkey disable RAW public key support plugin.
  2107. --disable-sshkey disable SSH key decoding plugin.
  2108. --disable-x509 disable X509 certificate implementation plugin.
  2109. --enable-curl enable CURL fetcher plugin to fetch files via
  2110. libcurl. Requires libcurl.
  2111. --enable-files enable simple file:// URI fetcher.
  2112. --enable-ldap enable LDAP fetching plugin to fetch files via
  2113. libldap. Requires openLDAP.
  2114. --enable-soup enable soup fetcher plugin to fetch from HTTP via
  2115. libsoup. Requires libsoup.
  2116. --enable-unbound enable UNBOUND resolver plugin to perform DNS
  2117. queries via libunbound. Requires libldns and
  2118. libunbound.
  2119. --enable-winhttp enable WinHTTP based HTTP/HTTPS fetching plugin.
  2120. --enable-mysql enable MySQL database support. Requires
  2121. libmysqlclient_r.
  2122. --enable-sqlite enable SQLite database support. Requires libsqlite3.
  2123. --enable-addrblock enables RFC 3779 address block constraint support.
  2124. --enable-acert enable X509 attribute certificate checking plugin.
  2125. --enable-agent enables the ssh-agent signing plugin.
  2126. --disable-constraints disable advanced X509 constraint checking plugin.
  2127. --enable-coupling enable IKEv2 plugin to couple peer certificates
  2128. permanently to authentication.
  2129. --enable-dnscert enable DNSCERT authentication plugin.
  2130. --enable-eap-sim enable SIM authentication module for EAP.
  2131. --enable-eap-sim-file enable EAP-SIM backend based on a triplet file.
  2132. --enable-eap-sim-pcsc enable EAP-SIM backend based on a smartcard reader.
  2133. Requires libpcsclite.
  2134. --enable-eap-aka enable EAP AKA authentication module.
  2135. --enable-eap-aka-3gpp enable EAP AKA backend implementing 3GPP MILENAGE
  2136. algorithms in software.
  2137. --enable-eap-aka-3gpp2 enable EAP AKA backend implementing 3GPP2 algorithms
  2138. in software. Requires libgmp.
  2139. --enable-eap-simaka-sql enable EAP-SIM/AKA backend based on a
  2140. triplet/quintuplet SQL database.
  2141. --enable-eap-simaka-pseudonym
  2142. enable EAP-SIM/AKA pseudonym storage plugin.
  2143. --enable-eap-simaka-reauth
  2144. enable EAP-SIM/AKA reauthentication data storage
  2145. plugin.
  2146. --enable-eap-identity enable EAP module providing EAP-Identity helper.
  2147. --enable-eap-md5 enable EAP MD5 (CHAP) authentication module.
  2148. --enable-eap-gtc enable EAP GTC authentication module.
  2149. --enable-eap-mschapv2 enable EAP MS-CHAPv2 authentication module.
  2150. --enable-eap-tls enable EAP TLS authentication module.
  2151. --enable-eap-ttls enable EAP TTLS authentication module.
  2152. --enable-eap-peap enable EAP PEAP authentication module.
  2153. --enable-eap-tnc enable EAP TNC trusted network connect module.
  2154. --enable-eap-dynamic enable dynamic EAP proxy module.
  2155. --enable-eap-radius enable RADIUS proxy authentication module.
  2156. --enable-ext-auth enable plugin calling an external authorization
  2157. script.
  2158. --enable-ipseckey enable IPSECKEY authentication plugin.
  2159. --enable-keychain enables OS X Keychain Services credential set.
  2160. --enable-pkcs11 enables the PKCS11 token support plugin.
  2161. --enable-tpm enables the TPM plugin.
  2162. --disable-revocation disable X509 CRL/OCSP revocation check plugin.
  2163. --enable-whitelist enable peer identity whitelisting plugin.
  2164. --disable-xauth-generic disable generic XAuth backend.
  2165. --enable-xauth-eap enable XAuth backend using EAP methods to verify
  2166. passwords.
  2167. --enable-xauth-pam enable XAuth backend using PAM to verify passwords.
  2168. --enable-xauth-noauth enable XAuth pseudo-backend that does not actually
  2169. verify or even request any credentials.
  2170. --disable-kernel-netlink
  2171. disable the netlink kernel interface.
  2172. --enable-kernel-pfkey enable the PF_KEY kernel interface.
  2173. --enable-kernel-pfroute enable the PF_ROUTE kernel interface.
  2174. --enable-kernel-iph enable the Windows IP Helper based networking
  2175. backend.
  2176. --enable-kernel-libipsec
  2177. enable the libipsec kernel interface.
  2178. --enable-kernel-wfp enable the Windows Filtering Platform IPsec backend.
  2179. --disable-socket-default
  2180. disable default socket implementation for charon.
  2181. --enable-socket-dynamic enable dynamic socket implementation for charon
  2182. --enable-socket-win enable Winsock2 based socket implementation for
  2183. charon
  2184. --disable-stroke disable charons stroke configuration backend.
  2185. --enable-smp enable SMP configuration and control interface.
  2186. Requires libxml.
  2187. --enable-sql enable SQL database configuration backend.
  2188. --enable-uci enable OpenWRT UCI configuration plugin.
  2189. --disable-vici disable strongSwan IKE generic IPC interface plugin.
  2190. --enable-android-dns enable Android specific DNS handler.
  2191. --disable-attr disable strongswan.conf based configuration
  2192. attribute plugin.
  2193. --enable-attr-sql enable SQL based configuration attribute plugin.
  2194. --enable-dhcp enable DHCP based attribute provider plugin.
  2195. --enable-osx-attr enable OS X SystemConfiguration attribute handler.
  2196. --enable-p-cscf enable plugin to request P-CSCF server addresses
  2197. from an ePDG.
  2198. --disable-resolve disable resolve DNS handler plugin.
  2199. --enable-unity enables Cisco Unity extension plugin.
  2200. --enable-imc-test enable IMC test module.
  2201. --enable-imv-test enable IMV test module.
  2202. --enable-imc-scanner enable IMC port scanner module.
  2203. --enable-imv-scanner enable IMV port scanner module.
  2204. --enable-imc-os enable IMC operating system module.
  2205. --enable-imv-os enable IMV operating system module.
  2206. --enable-imc-attestation
  2207. enable IMC attestation module.
  2208. --enable-imv-attestation
  2209. enable IMV attestation module.
  2210. --enable-imc-swima enable IMC swima module.
  2211. --enable-imv-swima enable IMV swima module.
  2212. --enable-imc-hcd enable IMC hcd module.
  2213. --enable-imv-hcd enable IMV hcd module.
  2214. --enable-tnc-ifmap enable TNC IF-MAP module. Requires libxml
  2215. --enable-tnc-imc enable TNC IMC module.
  2216. --enable-tnc-imv enable TNC IMV module.
  2217. --enable-tnc-pdp enable TNC policy decision point module.
  2218. --enable-tnccs-11 enable TNCCS 1.1 protocol module. Requires libxml
  2219. --enable-tnccs-20 enable TNCCS 2.0 protocol module.
  2220. --enable-tnccs-dynamic enable dynamic TNCCS protocol discovery module.
  2221. --enable-android-log enable Android specific logger plugin.
  2222. --enable-bypass-lan enable plugin to install bypass policies for local
  2223. subnets.
  2224. --enable-certexpire enable CSV export of expiration dates of used
  2225. certificates.
  2226. --enable-connmark enable connmark plugin using conntrack based marks
  2227. to select return path SA.
  2228. --enable-counters enable plugin that collects several performance
  2229. counters.
  2230. --enable-forecast enable forecast plugin forwarding
  2231. broadcast/multicast messages.
  2232. --enable-duplicheck advanced duplicate checking plugin using liveness
  2233. checks.
  2234. --enable-error-notify enable error notification plugin.
  2235. --enable-farp enable ARP faking plugin that responds to ARP
  2236. requests to peers virtual IP
  2237. --enable-ha enable high availability cluster plugin.
  2238. --enable-led enable plugin to control LEDs on IKEv2 activity
  2239. using the Linux kernel LED subsystem.
  2240. --enable-load-tester enable load testing plugin for IKEv2 daemon.
  2241. --enable-lookip enable fast virtual IP lookup and notification
  2242. plugin.
  2243. --enable-radattr enable plugin to inject and process custom RADIUS
  2244. attributes as IKEv2 client.
  2245. --enable-save-keys enable development/debugging plugin that saves IKE
  2246. and ESP keys in Wireshark format.
  2247. --enable-systime-fix enable plugin to handle cert lifetimes with invalid
  2248. system time gracefully.
  2249. --enable-test-vectors enable plugin providing crypto test vectors.
  2250. --disable-updown disable updown firewall script plugin.
  2251. --enable-aikgen enable AIK generator for TPM 1.2.
  2252. --disable-charon disable the IKEv1/IKEv2 keying daemon charon.
  2253. --enable-cmd enable the command line IKE client charon-cmd.
  2254. --enable-conftest enforce Suite B conformance test framework.
  2255. --enable-fast enable libfast (FastCGI Application Server w/
  2256. templates.
  2257. --enable-fuzzing enable fuzzing scripts (found in directory fuzz).
  2258. --enable-libipsec enable user space IPsec implementation.
  2259. --enable-manager enable web management console (proof of concept).
  2260. --enable-medcli enable mediation client configuration database
  2261. plugin.
  2262. --enable-medsrv enable mediation server web frontend and daemon
  2263. plugin.
  2264. --enable-nm enable NetworkManager backend.
  2265. --disable-pki disable pki certificate utility.
  2266. --disable-scepclient disable SCEP client tool.
  2267. --disable-scripts disable additional utilities (found in directory
  2268. scripts).
  2269. --enable-svc enable charon Windows service.
  2270. --enable-systemd enable systemd specific IKE daemon charon-systemd.
  2271. --disable-swanctl disable swanctl configuration and control tool.
  2272. --enable-tkm enable Trusted Key Manager support.
  2273. --enable-bfd-backtraces use binutils libbfd to resolve backtraces for memory
  2274. leaks and segfaults.
  2275. --enable-dbghelp-backtraces
  2276. use dbghlp.dll on Windows to create and print
  2277. backtraces for memory leaks and segfaults.
  2278. --disable-ikev1 disable IKEv1 protocol support in charon.
  2279. --disable-ikev2 disable IKEv2 protocol support in charon.
  2280. --enable-integrity-test enable integrity testing of libstrongswan and
  2281. plugins.
  2282. --disable-load-warning disable the charon plugin load option warning in
  2283. starter.
  2284. --enable-mediation enable IKEv2 Mediation Extension.
  2285. --enable-unwind-backtraces
  2286. use libunwind to create backtraces for memory leaks
  2287. and segfaults.
  2288. --enable-ruby-gems enable build of provided ruby gems.
  2289. --enable-ruby-gems-install
  2290. enable installation of provided ruby gems.
  2291. --enable-python-eggs enable build of provided python eggs.
  2292. --enable-python-eggs-install
  2293. enable installation of provided python eggs.
  2294. --enable-perl-cpan enable build of provided perl CPAN module.
  2295. --enable-perl-cpan-install
  2296. enable installation of provided CPAN module.
  2297. --enable-tss-trousers enable the use of the TrouSerS Trusted Software
  2298. Stack
  2299. --enable-tss-tss2 enable the use of the TSS 2.0 Trusted Software Stack
  2300. --enable-coverage enable lcov coverage report generation.
  2301. --enable-leak-detective enable malloc hooks to find memory leaks.
  2302. --enable-lock-profiler enable lock/mutex profiling code.
  2303. --enable-log-thread-ids use thread ID, if available, instead of an
  2304. incremented value starting from 1, to identify
  2305. threads.
  2306. --enable-monolithic build monolithic version of libstrongswan that
  2307. includes all enabled plugins. Similarly, the plugins
  2308. of charon are assembled in libcharon.
  2309. --disable-defaults disable all default plugins (they can be enabled
  2310. with their respective --enable options)
  2311. --enable-all enable all plugins and features (they can be
  2312. disabled with their respective --disable options).
  2313. Mainly for testing.
  2314. --enable-dependency-tracking
  2315. do not reject slow dependency extractors
  2316. --disable-dependency-tracking
  2317. speeds up one-time build
  2318. --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
  2319. --enable-fast-install@<:@=PKGS@:>@
  2320. optimize for fast installation @<:@default=yes@:>@
  2321. --disable-libtool-lock avoid locking (might break parallel builds)
  2322. Optional Packages:
  2323. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2324. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2325. --with-random-device=arg
  2326. set the device to read real random data from
  2327. (default: /dev/random).
  2328. --with-urandom-device=arg
  2329. set the device to read pseudo random data from
  2330. (default: /dev/urandom).
  2331. --with-strongswan-conf=arg
  2332. set the strongswan.conf file location (default:
  2333. @S|@{sysconfdir}/strongswan.conf).
  2334. --with-resolv-conf=arg set the file to use in DNS handler plugin (default:
  2335. @S|@{sysconfdir}/resolv.conf).
  2336. --with-piddir=arg set path for PID and UNIX socket files (default:
  2337. /var/run).
  2338. --with-ipsecdir=arg set installation path for ipsec tools (default:
  2339. @S|@{libexecdir%/}/ipsec).
  2340. --with-ipseclibdir=arg set installation path for ipsec libraries (default:
  2341. @S|@{libdir%/}/ipsec).
  2342. --with-plugindir=arg set the installation path of plugins (default:
  2343. @S|@{ipseclibdir%/}/plugins).
  2344. --with-imcvdir=arg set the installation path of IMC and IMV dynamic
  2345. librariers (default: @S|@{ipseclibdir%/}/imcvs).
  2346. --with-nm-ca-dir=arg directory the NM backend uses to look up trusted
  2347. root certificates (default:
  2348. /usr/share/ca-certificates).
  2349. --with-swanctldir=arg base directory for swanctl configuration files and
  2350. credentials (default: @S|@{sysconfdir}/swanctl).
  2351. --with-linux-headers=arg
  2352. set directory of linux header files to use (default:
  2353. \@S|@{top_srcdir}/src/include).
  2354. --with-routing-table=arg
  2355. set routing table to use for IPsec routes (default:
  2356. 220).
  2357. --with-routing-table-prio=arg
  2358. set priority for IPsec routing table (default: 220).
  2359. --with-ipsec-script=arg change the name of the ipsec script (default:
  2360. ipsec).
  2361. --with-fips-mode=arg set openssl FIPS mode: disabled(0), enabled(1),
  2362. Suite B enabled(2) (default: 0).
  2363. --with-libfuzzer=arg -fsanitize=fuzzer or path to libFuzzer.a, a local
  2364. driver is used if not specified (default: ).
  2365. --with-capabilities=arg set capability dropping library. Currently supported
  2366. values are "libcap" and "native" (default: no).
  2367. --with-mpz_powm_sec=arg use the more side-channel resistant mpz_powm_sec in
  2368. libgmp, if available (default: yes).
  2369. --with-dev-headers=arg install strongSwan development headers to directory.
  2370. (default: no).
  2371. --with-printf-hooks=arg force the use of a specific printf hook
  2372. implementation (auto, builtin, glibc, vstr).
  2373. (default: auto).
  2374. --with-rubygemdir=arg path to install ruby gems to (default: "gem
  2375. environment gemdir").
  2376. --with-pythoneggdir=arg path to install python eggs to to (default: "main
  2377. site-packages directory").
  2378. --with-systemdsystemunitdir=arg
  2379. directory for systemd service files (default:
  2380. @S|@systemdsystemunitdir_default).
  2381. --with-user=user change user of the daemons to "user" after startup
  2382. (default is "root").
  2383. --with-group=group change group of the daemons to "group" after startup
  2384. (default is "root").
  2385. --with-charon-udp-port=port
  2386. UDP port used by charon locally (default 500). Set
  2387. to 0 to allocate randomly.
  2388. --with-charon-natt-port=port
  2389. UDP port used by charon locally in case a NAT is
  2390. detected (must be different from charon-udp-port,
  2391. default 4500). Set to 0 to allocate randomly.
  2392. --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
  2393. --without-lib-prefix don't search for libraries in includedir and libdir
  2394. --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use
  2395. both@:>@
  2396. --with-aix-soname=aix|svr4|both
  2397. shared library versioning (aka "SONAME") variant to
  2398. provide on AIX, @<:@default=aix@:>@.
  2399. --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
  2400. --with-sysroot@<:@=DIR@:>@ Search for dependent libraries within DIR (or the
  2401. compiler's sysroot if not specified).
  2402. Some influential environment variables:
  2403. PKG_CONFIG path to pkg-config utility
  2404. PKG_CONFIG_PATH
  2405. directories to add to pkg-config's search path
  2406. PKG_CONFIG_LIBDIR
  2407. path overriding pkg-config's built-in search path
  2408. CC C compiler command
  2409. CFLAGS C compiler flags
  2410. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2411. nonstandard directory <lib dir>
  2412. LIBS libraries to pass to the linker, e.g. -l<library>
  2413. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2414. you have headers in a nonstandard directory <include dir>
  2415. CPP C preprocessor
  2416. LT_SYS_LIBRARY_PATH
  2417. User-defined run-time library search path.
  2418. YACC The `Yet Another Compiler Compiler' implementation to use.
  2419. Defaults to the first program found out of: `bison -y', `byacc',
  2420. `yacc'.
  2421. YFLAGS The list of arguments that will be passed by default to @S|@YACC.
  2422. This script will default YFLAGS to the empty string to avoid a
  2423. default value of `-d' given by some make applications.
  2424. PYTHON the Python interpreter
  2425. soup_CFLAGS C compiler flags for soup, overriding pkg-config
  2426. soup_LIBS linker flags for soup, overriding pkg-config
  2427. xml_CFLAGS C compiler flags for xml, overriding pkg-config
  2428. xml_LIBS linker flags for xml, overriding pkg-config
  2429. systemd_CFLAGS
  2430. C compiler flags for systemd, overriding pkg-config
  2431. systemd_LIBS
  2432. linker flags for systemd, overriding pkg-config
  2433. systemd_daemon_CFLAGS
  2434. C compiler flags for systemd_daemon, overriding pkg-config
  2435. systemd_daemon_LIBS
  2436. linker flags for systemd_daemon, overriding pkg-config
  2437. systemd_journal_CFLAGS
  2438. C compiler flags for systemd_journal, overriding pkg-config
  2439. systemd_journal_LIBS
  2440. linker flags for systemd_journal, overriding pkg-config
  2441. tss2_sys_CFLAGS
  2442. C compiler flags for tss2_sys, overriding pkg-config
  2443. tss2_sys_LIBS
  2444. linker flags for tss2_sys, overriding pkg-config
  2445. tss2_esys_CFLAGS
  2446. C compiler flags for tss2_esys, overriding pkg-config
  2447. tss2_esys_LIBS
  2448. linker flags for tss2_esys, overriding pkg-config
  2449. tss2_tabrmd_CFLAGS
  2450. C compiler flags for tss2_tabrmd, overriding pkg-config
  2451. tss2_tabrmd_LIBS
  2452. linker flags for tss2_tabrmd, overriding pkg-config
  2453. tss2_socket_CFLAGS
  2454. C compiler flags for tss2_socket, overriding pkg-config
  2455. tss2_socket_LIBS
  2456. linker flags for tss2_socket, overriding pkg-config
  2457. json_CFLAGS C compiler flags for json, overriding pkg-config
  2458. json_LIBS linker flags for json, overriding pkg-config
  2459. botan_CFLAGS
  2460. C compiler flags for botan, overriding pkg-config
  2461. botan_LIBS linker flags for botan, overriding pkg-config
  2462. pcsclite_CFLAGS
  2463. C compiler flags for pcsclite, overriding pkg-config
  2464. pcsclite_LIBS
  2465. linker flags for pcsclite, overriding pkg-config
  2466. nm_CFLAGS C compiler flags for nm, overriding pkg-config
  2467. nm_LIBS linker flags for nm, overriding pkg-config
  2468. libiptc_CFLAGS
  2469. C compiler flags for libiptc, overriding pkg-config
  2470. libiptc_LIBS
  2471. linker flags for libiptc, overriding pkg-config
  2472. Use these variables to override the choices made by `configure' or to help
  2473. it to find libraries and programs with nonstandard names/locations.
  2474. Report bugs to the package provider.
  2475. _ACEOF
  2476. ac_status=$?
  2477. fi
  2478. if test "$ac_init_help" = "recursive"; then
  2479. # If there are subdirs, report their specific --help.
  2480. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2481. test -d "$ac_dir" ||
  2482. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2483. continue
  2484. ac_builddir=.
  2485. case "$ac_dir" in
  2486. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2487. *)
  2488. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2489. # A ".." for each directory in $ac_dir_suffix.
  2490. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2491. case $ac_top_builddir_sub in
  2492. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2493. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2494. esac ;;
  2495. esac
  2496. ac_abs_top_builddir=$ac_pwd
  2497. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2498. # for backward compatibility:
  2499. ac_top_builddir=$ac_top_build_prefix
  2500. case $srcdir in
  2501. .) # We are building in place.
  2502. ac_srcdir=.
  2503. ac_top_srcdir=$ac_top_builddir_sub
  2504. ac_abs_top_srcdir=$ac_pwd ;;
  2505. [\\/]* | ?:[\\/]* ) # Absolute name.
  2506. ac_srcdir=$srcdir$ac_dir_suffix;
  2507. ac_top_srcdir=$srcdir
  2508. ac_abs_top_srcdir=$srcdir ;;
  2509. *) # Relative name.
  2510. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2511. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2512. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2513. esac
  2514. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2515. cd "$ac_dir" || { ac_status=$?; continue; }
  2516. # Check for guested configure.
  2517. if test -f "$ac_srcdir/configure.gnu"; then
  2518. echo &&
  2519. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2520. elif test -f "$ac_srcdir/configure"; then
  2521. echo &&
  2522. $SHELL "$ac_srcdir/configure" --help=recursive
  2523. else
  2524. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2525. fi || ac_status=$?
  2526. cd "$ac_pwd" || { ac_status=$?; break; }
  2527. done
  2528. fi
  2529. test -n "$ac_init_help" && exit $ac_status
  2530. if $ac_init_version; then
  2531. cat <<\_ACEOF
  2532. strongSwan configure 5.8.1
  2533. generated by GNU Autoconf 2.69
  2534. Copyright (C) 2012 Free Software Foundation, Inc.
  2535. This configure script is free software; the Free Software Foundation
  2536. gives unlimited permission to copy, distribute and modify it.
  2537. _ACEOF
  2538. exit
  2539. fi
  2540. ## ------------------------ ##
  2541. ## Autoconf initialization. ##
  2542. ## ------------------------ ##
  2543. @%:@ ac_fn_c_try_compile LINENO
  2544. @%:@ --------------------------
  2545. @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  2546. ac_fn_c_try_compile ()
  2547. {
  2548. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2549. rm -f conftest.$ac_objext
  2550. if { { ac_try="$ac_compile"
  2551. case "(($ac_try" in
  2552. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2553. *) ac_try_echo=$ac_try;;
  2554. esac
  2555. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2556. $as_echo "$ac_try_echo"; } >&5
  2557. (eval "$ac_compile") 2>conftest.err
  2558. ac_status=$?
  2559. if test -s conftest.err; then
  2560. grep -v '^ *+' conftest.err >conftest.er1
  2561. cat conftest.er1 >&5
  2562. mv -f conftest.er1 conftest.err
  2563. fi
  2564. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2565. test $ac_status = 0; } && {
  2566. test -z "$ac_c_werror_flag" ||
  2567. test ! -s conftest.err
  2568. } && test -s conftest.$ac_objext; then :
  2569. ac_retval=0
  2570. else
  2571. $as_echo "$as_me: failed program was:" >&5
  2572. sed 's/^/| /' conftest.$ac_ext >&5
  2573. ac_retval=1
  2574. fi
  2575. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2576. as_fn_set_status $ac_retval
  2577. } @%:@ ac_fn_c_try_compile
  2578. @%:@ ac_fn_c_try_cpp LINENO
  2579. @%:@ ----------------------
  2580. @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  2581. ac_fn_c_try_cpp ()
  2582. {
  2583. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2584. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2585. case "(($ac_try" in
  2586. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2587. *) ac_try_echo=$ac_try;;
  2588. esac
  2589. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2590. $as_echo "$ac_try_echo"; } >&5
  2591. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2592. ac_status=$?
  2593. if test -s conftest.err; then
  2594. grep -v '^ *+' conftest.err >conftest.er1
  2595. cat conftest.er1 >&5
  2596. mv -f conftest.er1 conftest.err
  2597. fi
  2598. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2599. test $ac_status = 0; } > conftest.i && {
  2600. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2601. test ! -s conftest.err
  2602. }; then :
  2603. ac_retval=0
  2604. else
  2605. $as_echo "$as_me: failed program was:" >&5
  2606. sed 's/^/| /' conftest.$ac_ext >&5
  2607. ac_retval=1
  2608. fi
  2609. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2610. as_fn_set_status $ac_retval
  2611. } @%:@ ac_fn_c_try_cpp
  2612. @%:@ ac_fn_c_try_run LINENO
  2613. @%:@ ----------------------
  2614. @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  2615. @%:@ that executables *can* be run.
  2616. ac_fn_c_try_run ()
  2617. {
  2618. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2619. if { { ac_try="$ac_link"
  2620. case "(($ac_try" in
  2621. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2622. *) ac_try_echo=$ac_try;;
  2623. esac
  2624. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2625. $as_echo "$ac_try_echo"; } >&5
  2626. (eval "$ac_link") 2>&5
  2627. ac_status=$?
  2628. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2629. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2630. { { case "(($ac_try" in
  2631. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2632. *) ac_try_echo=$ac_try;;
  2633. esac
  2634. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2635. $as_echo "$ac_try_echo"; } >&5
  2636. (eval "$ac_try") 2>&5
  2637. ac_status=$?
  2638. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2639. test $ac_status = 0; }; }; then :
  2640. ac_retval=0
  2641. else
  2642. $as_echo "$as_me: program exited with status $ac_status" >&5
  2643. $as_echo "$as_me: failed program was:" >&5
  2644. sed 's/^/| /' conftest.$ac_ext >&5
  2645. ac_retval=$ac_status
  2646. fi
  2647. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2648. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2649. as_fn_set_status $ac_retval
  2650. } @%:@ ac_fn_c_try_run
  2651. @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2652. @%:@ -------------------------------------------------------
  2653. @%:@ Tests whether HEADER exists and can be compiled using the include files in
  2654. @%:@ INCLUDES, setting the cache variable VAR accordingly.
  2655. ac_fn_c_check_header_compile ()
  2656. {
  2657. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2659. $as_echo_n "checking for $2... " >&6; }
  2660. if eval \${$3+:} false; then :
  2661. $as_echo_n "(cached) " >&6
  2662. else
  2663. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2664. /* end confdefs.h. */
  2665. $4
  2666. @%:@include <$2>
  2667. _ACEOF
  2668. if ac_fn_c_try_compile "$LINENO"; then :
  2669. eval "$3=yes"
  2670. else
  2671. eval "$3=no"
  2672. fi
  2673. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2674. fi
  2675. eval ac_res=\$$3
  2676. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2677. $as_echo "$ac_res" >&6; }
  2678. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2679. } @%:@ ac_fn_c_check_header_compile
  2680. @%:@ ac_fn_c_try_link LINENO
  2681. @%:@ -----------------------
  2682. @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  2683. ac_fn_c_try_link ()
  2684. {
  2685. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2686. rm -f conftest.$ac_objext conftest$ac_exeext
  2687. if { { ac_try="$ac_link"
  2688. case "(($ac_try" in
  2689. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2690. *) ac_try_echo=$ac_try;;
  2691. esac
  2692. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2693. $as_echo "$ac_try_echo"; } >&5
  2694. (eval "$ac_link") 2>conftest.err
  2695. ac_status=$?
  2696. if test -s conftest.err; then
  2697. grep -v '^ *+' conftest.err >conftest.er1
  2698. cat conftest.er1 >&5
  2699. mv -f conftest.er1 conftest.err
  2700. fi
  2701. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2702. test $ac_status = 0; } && {
  2703. test -z "$ac_c_werror_flag" ||
  2704. test ! -s conftest.err
  2705. } && test -s conftest$ac_exeext && {
  2706. test "$cross_compiling" = yes ||
  2707. test -x conftest$ac_exeext
  2708. }; then :
  2709. ac_retval=0
  2710. else
  2711. $as_echo "$as_me: failed program was:" >&5
  2712. sed 's/^/| /' conftest.$ac_ext >&5
  2713. ac_retval=1
  2714. fi
  2715. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2716. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2717. # interfere with the next link command; also delete a directory that is
  2718. # left behind by Apple's compiler. We do this before executing the actions.
  2719. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2720. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2721. as_fn_set_status $ac_retval
  2722. } @%:@ ac_fn_c_try_link
  2723. @%:@ ac_fn_c_check_func LINENO FUNC VAR
  2724. @%:@ ----------------------------------
  2725. @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  2726. ac_fn_c_check_func ()
  2727. {
  2728. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2730. $as_echo_n "checking for $2... " >&6; }
  2731. if eval \${$3+:} false; then :
  2732. $as_echo_n "(cached) " >&6
  2733. else
  2734. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2735. /* end confdefs.h. */
  2736. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2737. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2738. #define $2 innocuous_$2
  2739. /* System header to define __stub macros and hopefully few prototypes,
  2740. which can conflict with char $2 (); below.
  2741. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2742. <limits.h> exists even on freestanding compilers. */
  2743. #ifdef __STDC__
  2744. # include <limits.h>
  2745. #else
  2746. # include <assert.h>
  2747. #endif
  2748. #undef $2
  2749. /* Override any GCC internal prototype to avoid an error.
  2750. Use char because int might match the return type of a GCC
  2751. builtin and then its argument prototype would still apply. */
  2752. #ifdef __cplusplus
  2753. extern "C"
  2754. #endif
  2755. char $2 ();
  2756. /* The GNU C library defines this for functions which it implements
  2757. to always fail with ENOSYS. Some functions are actually named
  2758. something starting with __ and the normal name is an alias. */
  2759. #if defined __stub_$2 || defined __stub___$2
  2760. choke me
  2761. #endif
  2762. int
  2763. main ()
  2764. {
  2765. return $2 ();
  2766. ;
  2767. return 0;
  2768. }
  2769. _ACEOF
  2770. if ac_fn_c_try_link "$LINENO"; then :
  2771. eval "$3=yes"
  2772. else
  2773. eval "$3=no"
  2774. fi
  2775. rm -f core conftest.err conftest.$ac_objext \
  2776. conftest$ac_exeext conftest.$ac_ext
  2777. fi
  2778. eval ac_res=\$$3
  2779. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2780. $as_echo "$ac_res" >&6; }
  2781. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2782. } @%:@ ac_fn_c_check_func
  2783. @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  2784. @%:@ -------------------------------------------
  2785. @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  2786. @%:@ variable VAR accordingly.
  2787. ac_fn_c_check_type ()
  2788. {
  2789. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2790. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2791. $as_echo_n "checking for $2... " >&6; }
  2792. if eval \${$3+:} false; then :
  2793. $as_echo_n "(cached) " >&6
  2794. else
  2795. eval "$3=no"
  2796. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2797. /* end confdefs.h. */
  2798. $4
  2799. int
  2800. main ()
  2801. {
  2802. if (sizeof ($2))
  2803. return 0;
  2804. ;
  2805. return 0;
  2806. }
  2807. _ACEOF
  2808. if ac_fn_c_try_compile "$LINENO"; then :
  2809. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2810. /* end confdefs.h. */
  2811. $4
  2812. int
  2813. main ()
  2814. {
  2815. if (sizeof (($2)))
  2816. return 0;
  2817. ;
  2818. return 0;
  2819. }
  2820. _ACEOF
  2821. if ac_fn_c_try_compile "$LINENO"; then :
  2822. else
  2823. eval "$3=yes"
  2824. fi
  2825. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2826. fi
  2827. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2828. fi
  2829. eval ac_res=\$$3
  2830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2831. $as_echo "$ac_res" >&6; }
  2832. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2833. } @%:@ ac_fn_c_check_type
  2834. @%:@ ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
  2835. @%:@ ---------------------------------------------
  2836. @%:@ Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
  2837. @%:@ accordingly.
  2838. ac_fn_c_check_decl ()
  2839. {
  2840. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2841. as_decl_name=`echo $2|sed 's/ *(.*//'`
  2842. as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  2843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
  2844. $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
  2845. if eval \${$3+:} false; then :
  2846. $as_echo_n "(cached) " >&6
  2847. else
  2848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2849. /* end confdefs.h. */
  2850. $4
  2851. int
  2852. main ()
  2853. {
  2854. @%:@ifndef $as_decl_name
  2855. @%:@ifdef __cplusplus
  2856. (void) $as_decl_use;
  2857. @%:@else
  2858. (void) $as_decl_name;
  2859. @%:@endif
  2860. @%:@endif
  2861. ;
  2862. return 0;
  2863. }
  2864. _ACEOF
  2865. if ac_fn_c_try_compile "$LINENO"; then :
  2866. eval "$3=yes"
  2867. else
  2868. eval "$3=no"
  2869. fi
  2870. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2871. fi
  2872. eval ac_res=\$$3
  2873. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2874. $as_echo "$ac_res" >&6; }
  2875. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2876. } @%:@ ac_fn_c_check_decl
  2877. @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2878. @%:@ -------------------------------------------------------
  2879. @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2880. @%:@ the include files in INCLUDES and setting the cache variable VAR
  2881. @%:@ accordingly.
  2882. ac_fn_c_check_header_mongrel ()
  2883. {
  2884. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2885. if eval \${$3+:} false; then :
  2886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2887. $as_echo_n "checking for $2... " >&6; }
  2888. if eval \${$3+:} false; then :
  2889. $as_echo_n "(cached) " >&6
  2890. fi
  2891. eval ac_res=\$$3
  2892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2893. $as_echo "$ac_res" >&6; }
  2894. else
  2895. # Is the header compilable?
  2896. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2897. $as_echo_n "checking $2 usability... " >&6; }
  2898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2899. /* end confdefs.h. */
  2900. $4
  2901. @%:@include <$2>
  2902. _ACEOF
  2903. if ac_fn_c_try_compile "$LINENO"; then :
  2904. ac_header_compiler=yes
  2905. else
  2906. ac_header_compiler=no
  2907. fi
  2908. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2910. $as_echo "$ac_header_compiler" >&6; }
  2911. # Is the header present?
  2912. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2913. $as_echo_n "checking $2 presence... " >&6; }
  2914. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2915. /* end confdefs.h. */
  2916. @%:@include <$2>
  2917. _ACEOF
  2918. if ac_fn_c_try_cpp "$LINENO"; then :
  2919. ac_header_preproc=yes
  2920. else
  2921. ac_header_preproc=no
  2922. fi
  2923. rm -f conftest.err conftest.i conftest.$ac_ext
  2924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2925. $as_echo "$ac_header_preproc" >&6; }
  2926. # So? What about this header?
  2927. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2928. yes:no: )
  2929. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2930. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2932. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2933. ;;
  2934. no:yes:* )
  2935. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2936. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2937. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2938. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2939. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2940. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2941. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2942. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2943. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2944. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2945. ;;
  2946. esac
  2947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2948. $as_echo_n "checking for $2... " >&6; }
  2949. if eval \${$3+:} false; then :
  2950. $as_echo_n "(cached) " >&6
  2951. else
  2952. eval "$3=\$ac_header_compiler"
  2953. fi
  2954. eval ac_res=\$$3
  2955. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2956. $as_echo "$ac_res" >&6; }
  2957. fi
  2958. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2959. } @%:@ ac_fn_c_check_header_mongrel
  2960. @%:@ ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  2961. @%:@ ----------------------------------------------------
  2962. @%:@ Tries to find if the field MEMBER exists in type AGGR, after including
  2963. @%:@ INCLUDES, setting cache variable VAR accordingly.
  2964. ac_fn_c_check_member ()
  2965. {
  2966. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2968. $as_echo_n "checking for $2.$3... " >&6; }
  2969. if eval \${$4+:} false; then :
  2970. $as_echo_n "(cached) " >&6
  2971. else
  2972. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2973. /* end confdefs.h. */
  2974. $5
  2975. int
  2976. main ()
  2977. {
  2978. static $2 ac_aggr;
  2979. if (ac_aggr.$3)
  2980. return 0;
  2981. ;
  2982. return 0;
  2983. }
  2984. _ACEOF
  2985. if ac_fn_c_try_compile "$LINENO"; then :
  2986. eval "$4=yes"
  2987. else
  2988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2989. /* end confdefs.h. */
  2990. $5
  2991. int
  2992. main ()
  2993. {
  2994. static $2 ac_aggr;
  2995. if (sizeof ac_aggr.$3)
  2996. return 0;
  2997. ;
  2998. return 0;
  2999. }
  3000. _ACEOF
  3001. if ac_fn_c_try_compile "$LINENO"; then :
  3002. eval "$4=yes"
  3003. else
  3004. eval "$4=no"
  3005. fi
  3006. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3007. fi
  3008. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3009. fi
  3010. eval ac_res=\$$4
  3011. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3012. $as_echo "$ac_res" >&6; }
  3013. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3014. } @%:@ ac_fn_c_check_member
  3015. cat >config.log <<_ACEOF
  3016. This file contains any messages produced by compilers while
  3017. running configure, to aid debugging if configure makes a mistake.
  3018. It was created by strongSwan $as_me 5.8.1, which was
  3019. generated by GNU Autoconf 2.69. Invocation command line was
  3020. $ $0 $@
  3021. _ACEOF
  3022. exec 5>>config.log
  3023. {
  3024. cat <<_ASUNAME
  3025. ## --------- ##
  3026. ## Platform. ##
  3027. ## --------- ##
  3028. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3029. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3030. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3031. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3032. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3033. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3034. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3035. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3036. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3037. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3038. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3039. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3040. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3041. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3042. _ASUNAME
  3043. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3044. for as_dir in $PATH
  3045. do
  3046. IFS=$as_save_IFS
  3047. test -z "$as_dir" && as_dir=.
  3048. $as_echo "PATH: $as_dir"
  3049. done
  3050. IFS=$as_save_IFS
  3051. } >&5
  3052. cat >&5 <<_ACEOF
  3053. ## ----------- ##
  3054. ## Core tests. ##
  3055. ## ----------- ##
  3056. _ACEOF
  3057. # Keep a trace of the command line.
  3058. # Strip out --no-create and --no-recursion so they do not pile up.
  3059. # Strip out --silent because we don't want to record it for future runs.
  3060. # Also quote any args containing shell meta-characters.
  3061. # Make two passes to allow for proper duplicate-argument suppression.
  3062. ac_configure_args=
  3063. ac_configure_args0=
  3064. ac_configure_args1=
  3065. ac_must_keep_next=false
  3066. for ac_pass in 1 2
  3067. do
  3068. for ac_arg
  3069. do
  3070. case $ac_arg in
  3071. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3072. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3073. | -silent | --silent | --silen | --sile | --sil)
  3074. continue ;;
  3075. *\'*)
  3076. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3077. esac
  3078. case $ac_pass in
  3079. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3080. 2)
  3081. as_fn_append ac_configure_args1 " '$ac_arg'"
  3082. if test $ac_must_keep_next = true; then
  3083. ac_must_keep_next=false # Got value, back to normal.
  3084. else
  3085. case $ac_arg in
  3086. *=* | --config-cache | -C | -disable-* | --disable-* \
  3087. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3088. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3089. | -with-* | --with-* | -without-* | --without-* | --x)
  3090. case "$ac_configure_args0 " in
  3091. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3092. esac
  3093. ;;
  3094. -* ) ac_must_keep_next=true ;;
  3095. esac
  3096. fi
  3097. as_fn_append ac_configure_args " '$ac_arg'"
  3098. ;;
  3099. esac
  3100. done
  3101. done
  3102. { ac_configure_args0=; unset ac_configure_args0;}
  3103. { ac_configure_args1=; unset ac_configure_args1;}
  3104. # When interrupted or exit'd, cleanup temporary files, and complete
  3105. # config.log. We remove comments because anyway the quotes in there
  3106. # would cause problems or look ugly.
  3107. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3108. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3109. trap 'exit_status=$?
  3110. # Save into config.log some information that might help in debugging.
  3111. {
  3112. echo
  3113. $as_echo "## ---------------- ##
  3114. ## Cache variables. ##
  3115. ## ---------------- ##"
  3116. echo
  3117. # The following way of writing the cache mishandles newlines in values,
  3118. (
  3119. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3120. eval ac_val=\$$ac_var
  3121. case $ac_val in #(
  3122. *${as_nl}*)
  3123. case $ac_var in #(
  3124. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3125. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3126. esac
  3127. case $ac_var in #(
  3128. _ | IFS | as_nl) ;; #(
  3129. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3130. *) { eval $ac_var=; unset $ac_var;} ;;
  3131. esac ;;
  3132. esac
  3133. done
  3134. (set) 2>&1 |
  3135. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3136. *${as_nl}ac_space=\ *)
  3137. sed -n \
  3138. "s/'\''/'\''\\\\'\'''\''/g;
  3139. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3140. ;; #(
  3141. *)
  3142. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3143. ;;
  3144. esac |
  3145. sort
  3146. )
  3147. echo
  3148. $as_echo "## ----------------- ##
  3149. ## Output variables. ##
  3150. ## ----------------- ##"
  3151. echo
  3152. for ac_var in $ac_subst_vars
  3153. do
  3154. eval ac_val=\$$ac_var
  3155. case $ac_val in
  3156. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3157. esac
  3158. $as_echo "$ac_var='\''$ac_val'\''"
  3159. done | sort
  3160. echo
  3161. if test -n "$ac_subst_files"; then
  3162. $as_echo "## ------------------- ##
  3163. ## File substitutions. ##
  3164. ## ------------------- ##"
  3165. echo
  3166. for ac_var in $ac_subst_files
  3167. do
  3168. eval ac_val=\$$ac_var
  3169. case $ac_val in
  3170. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3171. esac
  3172. $as_echo "$ac_var='\''$ac_val'\''"
  3173. done | sort
  3174. echo
  3175. fi
  3176. if test -s confdefs.h; then
  3177. $as_echo "## ----------- ##
  3178. ## confdefs.h. ##
  3179. ## ----------- ##"
  3180. echo
  3181. cat confdefs.h
  3182. echo
  3183. fi
  3184. test "$ac_signal" != 0 &&
  3185. $as_echo "$as_me: caught signal $ac_signal"
  3186. $as_echo "$as_me: exit $exit_status"
  3187. } >&5
  3188. rm -f core *.core core.conftest.* &&
  3189. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3190. exit $exit_status
  3191. ' 0
  3192. for ac_signal in 1 2 13 15; do
  3193. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3194. done
  3195. ac_signal=0
  3196. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3197. rm -f -r conftest* confdefs.h
  3198. $as_echo "/* confdefs.h */" > confdefs.h
  3199. # Predefined preprocessor variables.
  3200. cat >>confdefs.h <<_ACEOF
  3201. @%:@define PACKAGE_NAME "$PACKAGE_NAME"
  3202. _ACEOF
  3203. cat >>confdefs.h <<_ACEOF
  3204. @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3205. _ACEOF
  3206. cat >>confdefs.h <<_ACEOF
  3207. @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  3208. _ACEOF
  3209. cat >>confdefs.h <<_ACEOF
  3210. @%:@define PACKAGE_STRING "$PACKAGE_STRING"
  3211. _ACEOF
  3212. cat >>confdefs.h <<_ACEOF
  3213. @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3214. _ACEOF
  3215. cat >>confdefs.h <<_ACEOF
  3216. @%:@define PACKAGE_URL "$PACKAGE_URL"
  3217. _ACEOF
  3218. # Let the site file select an alternate cache file if it wants to.
  3219. # Prefer an explicitly selected file to automatically selected ones.
  3220. ac_site_file1=NONE
  3221. ac_site_file2=NONE
  3222. if test -n "$CONFIG_SITE"; then
  3223. # We do not want a PATH search for config.site.
  3224. case $CONFIG_SITE in @%:@((
  3225. -*) ac_site_file1=./$CONFIG_SITE;;
  3226. */*) ac_site_file1=$CONFIG_SITE;;
  3227. *) ac_site_file1=./$CONFIG_SITE;;
  3228. esac
  3229. elif test "x$prefix" != xNONE; then
  3230. ac_site_file1=$prefix/share/config.site
  3231. ac_site_file2=$prefix/etc/config.site
  3232. else
  3233. ac_site_file1=$ac_default_prefix/share/config.site
  3234. ac_site_file2=$ac_default_prefix/etc/config.site
  3235. fi
  3236. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3237. do
  3238. test "x$ac_site_file" = xNONE && continue
  3239. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3240. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3241. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3242. sed 's/^/| /' "$ac_site_file" >&5
  3243. . "$ac_site_file" \
  3244. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3245. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3246. as_fn_error $? "failed to load site script $ac_site_file
  3247. See \`config.log' for more details" "$LINENO" 5; }
  3248. fi
  3249. done
  3250. if test -r "$cache_file"; then
  3251. # Some versions of bash will fail to source /dev/null (special files
  3252. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3253. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3254. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3255. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3256. case $cache_file in
  3257. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3258. *) . "./$cache_file";;
  3259. esac
  3260. fi
  3261. else
  3262. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3263. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3264. >$cache_file
  3265. fi
  3266. # Check that the precious variables saved in the cache have kept the same
  3267. # value.
  3268. ac_cache_corrupted=false
  3269. for ac_var in $ac_precious_vars; do
  3270. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3271. eval ac_new_set=\$ac_env_${ac_var}_set
  3272. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3273. eval ac_new_val=\$ac_env_${ac_var}_value
  3274. case $ac_old_set,$ac_new_set in
  3275. set,)
  3276. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3277. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3278. ac_cache_corrupted=: ;;
  3279. ,set)
  3280. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3281. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3282. ac_cache_corrupted=: ;;
  3283. ,);;
  3284. *)
  3285. if test "x$ac_old_val" != "x$ac_new_val"; then
  3286. # differences in whitespace do not lead to failure.
  3287. ac_old_val_w=`echo x $ac_old_val`
  3288. ac_new_val_w=`echo x $ac_new_val`
  3289. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3290. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3291. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3292. ac_cache_corrupted=:
  3293. else
  3294. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3295. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3296. eval $ac_var=\$ac_old_val
  3297. fi
  3298. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3299. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3300. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3301. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3302. fi;;
  3303. esac
  3304. # Pass precious variables to config.status.
  3305. if test "$ac_new_set" = set; then
  3306. case $ac_new_val in
  3307. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3308. *) ac_arg=$ac_var=$ac_new_val ;;
  3309. esac
  3310. case " $ac_configure_args " in
  3311. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3312. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3313. esac
  3314. fi
  3315. done
  3316. if $ac_cache_corrupted; then
  3317. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3318. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3319. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3320. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3321. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3322. fi
  3323. ## -------------------- ##
  3324. ## Main body of script. ##
  3325. ## -------------------- ##
  3326. ac_ext=c
  3327. ac_cpp='$CPP $CPPFLAGS'
  3328. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3329. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3330. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3331. am__api_version='1.15'
  3332. ac_aux_dir=
  3333. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  3334. if test -f "$ac_dir/install-sh"; then
  3335. ac_aux_dir=$ac_dir
  3336. ac_install_sh="$ac_aux_dir/install-sh -c"
  3337. break
  3338. elif test -f "$ac_dir/install.sh"; then
  3339. ac_aux_dir=$ac_dir
  3340. ac_install_sh="$ac_aux_dir/install.sh -c"
  3341. break
  3342. elif test -f "$ac_dir/shtool"; then
  3343. ac_aux_dir=$ac_dir
  3344. ac_install_sh="$ac_aux_dir/shtool install -c"
  3345. break
  3346. fi
  3347. done
  3348. if test -z "$ac_aux_dir"; then
  3349. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  3350. fi
  3351. # These three variables are undocumented and unsupported,
  3352. # and are intended to be withdrawn in a future Autoconf release.
  3353. # They can cause serious problems if a builder's source tree is in a directory
  3354. # whose full name contains unusual characters.
  3355. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3356. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3357. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3358. # Find a good install program. We prefer a C program (faster),
  3359. # so one script is as good as another. But avoid the broken or
  3360. # incompatible versions:
  3361. # SysV /etc/install, /usr/sbin/install
  3362. # SunOS /usr/etc/install
  3363. # IRIX /sbin/install
  3364. # AIX /bin/install
  3365. # AmigaOS /C/install, which installs bootblocks on floppy discs
  3366. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  3367. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3368. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3369. # OS/2's system install, which has a completely different semantic
  3370. # ./install, which can be erroneously created by make from ./install.sh.
  3371. # Reject install programs that cannot install multiple files.
  3372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  3373. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  3374. if test -z "$INSTALL"; then
  3375. if ${ac_cv_path_install+:} false; then :
  3376. $as_echo_n "(cached) " >&6
  3377. else
  3378. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3379. for as_dir in $PATH
  3380. do
  3381. IFS=$as_save_IFS
  3382. test -z "$as_dir" && as_dir=.
  3383. # Account for people who put trailing slashes in PATH elements.
  3384. case $as_dir/ in @%:@((
  3385. ./ | .// | /[cC]/* | \
  3386. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3387. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  3388. /usr/ucb/* ) ;;
  3389. *)
  3390. # OSF1 and SCO ODT 3.0 have their own names for install.
  3391. # Don't use installbsd from OSF since it installs stuff as root
  3392. # by default.
  3393. for ac_prog in ginstall scoinst install; do
  3394. for ac_exec_ext in '' $ac_executable_extensions; do
  3395. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3396. if test $ac_prog = install &&
  3397. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3398. # AIX install. It has an incompatible calling convention.
  3399. :
  3400. elif test $ac_prog = install &&
  3401. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3402. # program-specific install script used by HP pwplus--don't use.
  3403. :
  3404. else
  3405. rm -rf conftest.one conftest.two conftest.dir
  3406. echo one > conftest.one
  3407. echo two > conftest.two
  3408. mkdir conftest.dir
  3409. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  3410. test -s conftest.one && test -s conftest.two &&
  3411. test -s conftest.dir/conftest.one &&
  3412. test -s conftest.dir/conftest.two
  3413. then
  3414. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  3415. break 3
  3416. fi
  3417. fi
  3418. fi
  3419. done
  3420. done
  3421. ;;
  3422. esac
  3423. done
  3424. IFS=$as_save_IFS
  3425. rm -rf conftest.one conftest.two conftest.dir
  3426. fi
  3427. if test "${ac_cv_path_install+set}" = set; then
  3428. INSTALL=$ac_cv_path_install
  3429. else
  3430. # As a last resort, use the slow shell script. Don't cache a
  3431. # value for INSTALL within a source directory, because that will
  3432. # break other packages using the cache if that directory is
  3433. # removed, or if the value is a relative name.
  3434. INSTALL=$ac_install_sh
  3435. fi
  3436. fi
  3437. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  3438. $as_echo "$INSTALL" >&6; }
  3439. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3440. # It thinks the first close brace ends the variable substitution.
  3441. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  3442. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  3443. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  3445. $as_echo_n "checking whether build environment is sane... " >&6; }
  3446. # Reject unsafe characters in $srcdir or the absolute working directory
  3447. # name. Accept space and tab only in the latter.
  3448. am_lf='
  3449. '
  3450. case `pwd` in
  3451. *[\\\"\#\$\&\'\`$am_lf]*)
  3452. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  3453. esac
  3454. case $srcdir in
  3455. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  3456. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  3457. esac
  3458. # Do 'set' in a subshell so we don't clobber the current shell's
  3459. # arguments. Must try -L first in case configure is actually a
  3460. # symlink; some systems play weird games with the mod time of symlinks
  3461. # (eg FreeBSD returns the mod time of the symlink's containing
  3462. # directory).
  3463. if (
  3464. am_has_slept=no
  3465. for am_try in 1 2; do
  3466. echo "timestamp, slept: $am_has_slept" > conftest.file
  3467. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  3468. if test "$*" = "X"; then
  3469. # -L didn't work.
  3470. set X `ls -t "$srcdir/configure" conftest.file`
  3471. fi
  3472. if test "$*" != "X $srcdir/configure conftest.file" \
  3473. && test "$*" != "X conftest.file $srcdir/configure"; then
  3474. # If neither matched, then we have a broken ls. This can happen
  3475. # if, for instance, CONFIG_SHELL is bash and it inherits a
  3476. # broken ls alias from the environment. This has actually
  3477. # happened. Such a system could not be considered "sane".
  3478. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  3479. alias in your environment" "$LINENO" 5
  3480. fi
  3481. if test "$2" = conftest.file || test $am_try -eq 2; then
  3482. break
  3483. fi
  3484. # Just in case.
  3485. sleep 1
  3486. am_has_slept=yes
  3487. done
  3488. test "$2" = conftest.file
  3489. )
  3490. then
  3491. # Ok.
  3492. :
  3493. else
  3494. as_fn_error $? "newly created file is older than distributed files!
  3495. Check your system clock" "$LINENO" 5
  3496. fi
  3497. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3498. $as_echo "yes" >&6; }
  3499. # If we didn't sleep, we still need to ensure time stamps of config.status and
  3500. # generated files are strictly newer.
  3501. am_sleep_pid=
  3502. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  3503. ( sleep 1 ) &
  3504. am_sleep_pid=$!
  3505. fi
  3506. rm -f conftest.file
  3507. test "$program_prefix" != NONE &&
  3508. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  3509. # Use a double $ so make ignores it.
  3510. test "$program_suffix" != NONE &&
  3511. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  3512. # Double any \ or $.
  3513. # By default was `s,x,x', remove it if useless.
  3514. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  3515. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  3516. # Expand $ac_aux_dir to an absolute path.
  3517. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  3518. if test x"${MISSING+set}" != xset; then
  3519. case $am_aux_dir in
  3520. *\ * | *\ *)
  3521. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  3522. *)
  3523. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  3524. esac
  3525. fi
  3526. # Use eval to expand $SHELL
  3527. if eval "$MISSING --is-lightweight"; then
  3528. am_missing_run="$MISSING "
  3529. else
  3530. am_missing_run=
  3531. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  3532. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  3533. fi
  3534. if test x"${install_sh+set}" != xset; then
  3535. case $am_aux_dir in
  3536. *\ * | *\ *)
  3537. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  3538. *)
  3539. install_sh="\${SHELL} $am_aux_dir/install-sh"
  3540. esac
  3541. fi
  3542. # Installed binaries are usually stripped using 'strip' when the user
  3543. # run "make install-strip". However 'strip' might not be the right
  3544. # tool to use in cross-compilation environments, therefore Automake
  3545. # will honor the 'STRIP' environment variable to overrule this program.
  3546. if test "$cross_compiling" != no; then
  3547. if test -n "$ac_tool_prefix"; then
  3548. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  3549. set dummy ${ac_tool_prefix}strip; ac_word=$2
  3550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3551. $as_echo_n "checking for $ac_word... " >&6; }
  3552. if ${ac_cv_prog_STRIP+:} false; then :
  3553. $as_echo_n "(cached) " >&6
  3554. else
  3555. if test -n "$STRIP"; then
  3556. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  3557. else
  3558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3559. for as_dir in $PATH
  3560. do
  3561. IFS=$as_save_IFS
  3562. test -z "$as_dir" && as_dir=.
  3563. for ac_exec_ext in '' $ac_executable_extensions; do
  3564. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3565. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  3566. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3567. break 2
  3568. fi
  3569. done
  3570. done
  3571. IFS=$as_save_IFS
  3572. fi
  3573. fi
  3574. STRIP=$ac_cv_prog_STRIP
  3575. if test -n "$STRIP"; then
  3576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  3577. $as_echo "$STRIP" >&6; }
  3578. else
  3579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3580. $as_echo "no" >&6; }
  3581. fi
  3582. fi
  3583. if test -z "$ac_cv_prog_STRIP"; then
  3584. ac_ct_STRIP=$STRIP
  3585. # Extract the first word of "strip", so it can be a program name with args.
  3586. set dummy strip; ac_word=$2
  3587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3588. $as_echo_n "checking for $ac_word... " >&6; }
  3589. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  3590. $as_echo_n "(cached) " >&6
  3591. else
  3592. if test -n "$ac_ct_STRIP"; then
  3593. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  3594. else
  3595. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3596. for as_dir in $PATH
  3597. do
  3598. IFS=$as_save_IFS
  3599. test -z "$as_dir" && as_dir=.
  3600. for ac_exec_ext in '' $ac_executable_extensions; do
  3601. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3602. ac_cv_prog_ac_ct_STRIP="strip"
  3603. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3604. break 2
  3605. fi
  3606. done
  3607. done
  3608. IFS=$as_save_IFS
  3609. fi
  3610. fi
  3611. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  3612. if test -n "$ac_ct_STRIP"; then
  3613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  3614. $as_echo "$ac_ct_STRIP" >&6; }
  3615. else
  3616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3617. $as_echo "no" >&6; }
  3618. fi
  3619. if test "x$ac_ct_STRIP" = x; then
  3620. STRIP=":"
  3621. else
  3622. case $cross_compiling:$ac_tool_warned in
  3623. yes:)
  3624. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3625. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3626. ac_tool_warned=yes ;;
  3627. esac
  3628. STRIP=$ac_ct_STRIP
  3629. fi
  3630. else
  3631. STRIP="$ac_cv_prog_STRIP"
  3632. fi
  3633. fi
  3634. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  3635. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  3636. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  3637. if test -z "$MKDIR_P"; then
  3638. if ${ac_cv_path_mkdir+:} false; then :
  3639. $as_echo_n "(cached) " >&6
  3640. else
  3641. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3642. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  3643. do
  3644. IFS=$as_save_IFS
  3645. test -z "$as_dir" && as_dir=.
  3646. for ac_prog in mkdir gmkdir; do
  3647. for ac_exec_ext in '' $ac_executable_extensions; do
  3648. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  3649. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  3650. 'mkdir (GNU coreutils) '* | \
  3651. 'mkdir (coreutils) '* | \
  3652. 'mkdir (fileutils) '4.1*)
  3653. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  3654. break 3;;
  3655. esac
  3656. done
  3657. done
  3658. done
  3659. IFS=$as_save_IFS
  3660. fi
  3661. test -d ./--version && rmdir ./--version
  3662. if test "${ac_cv_path_mkdir+set}" = set; then
  3663. MKDIR_P="$ac_cv_path_mkdir -p"
  3664. else
  3665. # As a last resort, use the slow shell script. Don't cache a
  3666. # value for MKDIR_P within a source directory, because that will
  3667. # break other packages using the cache if that directory is
  3668. # removed, or if the value is a relative name.
  3669. MKDIR_P="$ac_install_sh -d"
  3670. fi
  3671. fi
  3672. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3673. $as_echo "$MKDIR_P" >&6; }
  3674. for ac_prog in gawk mawk nawk awk
  3675. do
  3676. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3677. set dummy $ac_prog; ac_word=$2
  3678. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3679. $as_echo_n "checking for $ac_word... " >&6; }
  3680. if ${ac_cv_prog_AWK+:} false; then :
  3681. $as_echo_n "(cached) " >&6
  3682. else
  3683. if test -n "$AWK"; then
  3684. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  3685. else
  3686. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3687. for as_dir in $PATH
  3688. do
  3689. IFS=$as_save_IFS
  3690. test -z "$as_dir" && as_dir=.
  3691. for ac_exec_ext in '' $ac_executable_extensions; do
  3692. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3693. ac_cv_prog_AWK="$ac_prog"
  3694. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3695. break 2
  3696. fi
  3697. done
  3698. done
  3699. IFS=$as_save_IFS
  3700. fi
  3701. fi
  3702. AWK=$ac_cv_prog_AWK
  3703. if test -n "$AWK"; then
  3704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  3705. $as_echo "$AWK" >&6; }
  3706. else
  3707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3708. $as_echo "no" >&6; }
  3709. fi
  3710. test -n "$AWK" && break
  3711. done
  3712. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3713. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3714. set x ${MAKE-make}
  3715. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3716. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3717. $as_echo_n "(cached) " >&6
  3718. else
  3719. cat >conftest.make <<\_ACEOF
  3720. SHELL = /bin/sh
  3721. all:
  3722. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3723. _ACEOF
  3724. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3725. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3726. *@@@%%%=?*=@@@%%%*)
  3727. eval ac_cv_prog_make_${ac_make}_set=yes;;
  3728. *)
  3729. eval ac_cv_prog_make_${ac_make}_set=no;;
  3730. esac
  3731. rm -f conftest.make
  3732. fi
  3733. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3735. $as_echo "yes" >&6; }
  3736. SET_MAKE=
  3737. else
  3738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3739. $as_echo "no" >&6; }
  3740. SET_MAKE="MAKE=${MAKE-make}"
  3741. fi
  3742. rm -rf .tst 2>/dev/null
  3743. mkdir .tst 2>/dev/null
  3744. if test -d .tst; then
  3745. am__leading_dot=.
  3746. else
  3747. am__leading_dot=_
  3748. fi
  3749. rmdir .tst 2>/dev/null
  3750. @%:@ Check whether --enable-silent-rules was given.
  3751. if test "${enable_silent_rules+set}" = set; then :
  3752. enableval=$enable_silent_rules;
  3753. fi
  3754. case $enable_silent_rules in @%:@ (((
  3755. yes) AM_DEFAULT_VERBOSITY=0;;
  3756. no) AM_DEFAULT_VERBOSITY=1;;
  3757. *) AM_DEFAULT_VERBOSITY=1;;
  3758. esac
  3759. am_make=${MAKE-make}
  3760. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3761. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3762. if ${am_cv_make_support_nested_variables+:} false; then :
  3763. $as_echo_n "(cached) " >&6
  3764. else
  3765. if $as_echo 'TRUE=$(BAR$(V))
  3766. BAR0=false
  3767. BAR1=true
  3768. V=1
  3769. am__doit:
  3770. @$(TRUE)
  3771. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3772. am_cv_make_support_nested_variables=yes
  3773. else
  3774. am_cv_make_support_nested_variables=no
  3775. fi
  3776. fi
  3777. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3778. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3779. if test $am_cv_make_support_nested_variables = yes; then
  3780. AM_V='$(V)'
  3781. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3782. else
  3783. AM_V=$AM_DEFAULT_VERBOSITY
  3784. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3785. fi
  3786. AM_BACKSLASH='\'
  3787. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  3788. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  3789. # is not polluted with repeated "-I."
  3790. am__isrc=' -I$(srcdir)'
  3791. # test to see if srcdir already configured
  3792. if test -f $srcdir/config.status; then
  3793. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  3794. fi
  3795. fi
  3796. # test whether we have cygpath
  3797. if test -z "$CYGPATH_W"; then
  3798. if (cygpath --version) >/dev/null 2>/dev/null; then
  3799. CYGPATH_W='cygpath -w'
  3800. else
  3801. CYGPATH_W=echo
  3802. fi
  3803. fi
  3804. # Define the identity of the package.
  3805. PACKAGE='strongswan'
  3806. VERSION='5.8.1'
  3807. cat >>confdefs.h <<_ACEOF
  3808. @%:@define PACKAGE "$PACKAGE"
  3809. _ACEOF
  3810. cat >>confdefs.h <<_ACEOF
  3811. @%:@define VERSION "$VERSION"
  3812. _ACEOF
  3813. # Some tools Automake needs.
  3814. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  3815. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  3816. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  3817. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  3818. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  3819. # For better backward compatibility. To be removed once Automake 1.9.x
  3820. # dies out for good. For more background, see:
  3821. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  3822. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  3823. mkdir_p='$(MKDIR_P)'
  3824. # We need awk for the "check" target (and possibly the TAP driver). The
  3825. # system "awk" is bad on some platforms.
  3826. # Always define AMTAR for backward compatibility. Yes, it's still used
  3827. # in the wild :-( We should find a proper way to deprecate it ...
  3828. AMTAR='$${TAR-tar}'
  3829. # We'll loop over all known methods to create a tar archive until one works.
  3830. _am_tools='gnutar plaintar pax cpio none'
  3831. # The POSIX 1988 'ustar' format is defined with fixed-size fields.
  3832. # There is notably a 21 bits limit for the UID and the GID. In fact,
  3833. # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  3834. # and bug#13588).
  3835. am_max_uid=2097151 # 2^21 - 1
  3836. am_max_gid=$am_max_uid
  3837. # The $UID and $GID variables are not portable, so we need to resort
  3838. # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  3839. # below are definitely unexpected, so allow the users to see them
  3840. # (that is, avoid stderr redirection).
  3841. am_uid=`id -u || echo unknown`
  3842. am_gid=`id -g || echo unknown`
  3843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
  3844. $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
  3845. if test $am_uid -le $am_max_uid; then
  3846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3847. $as_echo "yes" >&6; }
  3848. else
  3849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3850. $as_echo "no" >&6; }
  3851. _am_tools=none
  3852. fi
  3853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
  3854. $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
  3855. if test $am_gid -le $am_max_gid; then
  3856. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3857. $as_echo "yes" >&6; }
  3858. else
  3859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3860. $as_echo "no" >&6; }
  3861. _am_tools=none
  3862. fi
  3863. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
  3864. $as_echo_n "checking how to create a ustar tar archive... " >&6; }
  3865. # Go ahead even if we have the value already cached. We do so because we
  3866. # need to set the values for the 'am__tar' and 'am__untar' variables.
  3867. _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
  3868. for _am_tool in $_am_tools; do
  3869. case $_am_tool in
  3870. gnutar)
  3871. for _am_tar in tar gnutar gtar; do
  3872. { echo "$as_me:$LINENO: $_am_tar --version" >&5
  3873. ($_am_tar --version) >&5 2>&5
  3874. ac_status=$?
  3875. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3876. (exit $ac_status); } && break
  3877. done
  3878. am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
  3879. am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
  3880. am__untar="$_am_tar -xf -"
  3881. ;;
  3882. plaintar)
  3883. # Must skip GNU tar: if it does not support --format= it doesn't create
  3884. # ustar tarball either.
  3885. (tar --version) >/dev/null 2>&1 && continue
  3886. am__tar='tar chf - "$$tardir"'
  3887. am__tar_='tar chf - "$tardir"'
  3888. am__untar='tar xf -'
  3889. ;;
  3890. pax)
  3891. am__tar='pax -L -x ustar -w "$$tardir"'
  3892. am__tar_='pax -L -x ustar -w "$tardir"'
  3893. am__untar='pax -r'
  3894. ;;
  3895. cpio)
  3896. am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
  3897. am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
  3898. am__untar='cpio -i -H ustar -d'
  3899. ;;
  3900. none)
  3901. am__tar=false
  3902. am__tar_=false
  3903. am__untar=false
  3904. ;;
  3905. esac
  3906. # If the value was cached, stop now. We just wanted to have am__tar
  3907. # and am__untar set.
  3908. test -n "${am_cv_prog_tar_ustar}" && break
  3909. # tar/untar a dummy directory, and stop if the command works.
  3910. rm -rf conftest.dir
  3911. mkdir conftest.dir
  3912. echo GrepMe > conftest.dir/file
  3913. { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
  3914. (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
  3915. ac_status=$?
  3916. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3917. (exit $ac_status); }
  3918. rm -rf conftest.dir
  3919. if test -s conftest.tar; then
  3920. { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
  3921. ($am__untar <conftest.tar) >&5 2>&5
  3922. ac_status=$?
  3923. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3924. (exit $ac_status); }
  3925. { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
  3926. (cat conftest.dir/file) >&5 2>&5
  3927. ac_status=$?
  3928. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3929. (exit $ac_status); }
  3930. grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  3931. fi
  3932. done
  3933. rm -rf conftest.dir
  3934. if ${am_cv_prog_tar_ustar+:} false; then :
  3935. $as_echo_n "(cached) " >&6
  3936. else
  3937. am_cv_prog_tar_ustar=$_am_tool
  3938. fi
  3939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
  3940. $as_echo "$am_cv_prog_tar_ustar" >&6; }
  3941. # POSIX will say in a future version that running "rm -f" with no argument
  3942. # is OK; and we want to be able to make that assumption in our Makefile
  3943. # recipes. So use an aggressive probe to check that the usage we want is
  3944. # actually supported "in the wild" to an acceptable degree.
  3945. # See automake bug#10828.
  3946. # To make any issue more visible, cause the running configure to be aborted
  3947. # by default if the 'rm' program in use doesn't match our expectations; the
  3948. # user can still override this though.
  3949. if rm -f && rm -fr && rm -rf; then : OK; else
  3950. cat >&2 <<'END'
  3951. Oops!
  3952. Your 'rm' program seems unable to run without file operands specified
  3953. on the command line, even when the '-f' option is present. This is contrary
  3954. to the behaviour of most rm programs out there, and not conforming with
  3955. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  3956. Please tell bug-automake@gnu.org about your system, including the value
  3957. of your $PATH and any error possibly output before this message. This
  3958. can help us improve future automake versions.
  3959. END
  3960. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  3961. echo 'Configuration will proceed anyway, since you have set the' >&2
  3962. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  3963. echo >&2
  3964. else
  3965. cat >&2 <<'END'
  3966. Aborting the configuration process, to ensure you take notice of the issue.
  3967. You can download and install GNU coreutils to get an 'rm' implementation
  3968. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  3969. If you want to complete the configuration process using your problematic
  3970. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  3971. to "yes", and re-run configure.
  3972. END
  3973. as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  3974. fi
  3975. fi
  3976. @%:@ Check whether --enable-silent-rules was given.
  3977. if test "${enable_silent_rules+set}" = set; then :
  3978. enableval=$enable_silent_rules;
  3979. fi
  3980. case $enable_silent_rules in @%:@ (((
  3981. yes) AM_DEFAULT_VERBOSITY=0;;
  3982. no) AM_DEFAULT_VERBOSITY=1;;
  3983. *) AM_DEFAULT_VERBOSITY=1;;
  3984. esac
  3985. am_make=${MAKE-make}
  3986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3987. $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3988. if ${am_cv_make_support_nested_variables+:} false; then :
  3989. $as_echo_n "(cached) " >&6
  3990. else
  3991. if $as_echo 'TRUE=$(BAR$(V))
  3992. BAR0=false
  3993. BAR1=true
  3994. V=1
  3995. am__doit:
  3996. @$(TRUE)
  3997. .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3998. am_cv_make_support_nested_variables=yes
  3999. else
  4000. am_cv_make_support_nested_variables=no
  4001. fi
  4002. fi
  4003. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  4004. $as_echo "$am_cv_make_support_nested_variables" >&6; }
  4005. if test $am_cv_make_support_nested_variables = yes; then
  4006. AM_V='$(V)'
  4007. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  4008. else
  4009. AM_V=$AM_DEFAULT_VERBOSITY
  4010. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  4011. fi
  4012. AM_BACKSLASH='\'
  4013. ac_config_headers="$ac_config_headers config.h"
  4014. $as_echo "@%:@define CONFIG_H_INCLUDED /**/" >>confdefs.h
  4015. @%:@ Check whether --enable-static was given.
  4016. if test "${enable_static+set}" = set; then :
  4017. enableval=$enable_static; p=${PACKAGE-default}
  4018. case $enableval in
  4019. yes) enable_static=yes ;;
  4020. no) enable_static=no ;;
  4021. *)
  4022. enable_static=no
  4023. # Look at the argument we got. We use all the common list separators.
  4024. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  4025. for pkg in $enableval; do
  4026. IFS=$lt_save_ifs
  4027. if test "X$pkg" = "X$p"; then
  4028. enable_static=yes
  4029. fi
  4030. done
  4031. IFS=$lt_save_ifs
  4032. ;;
  4033. esac
  4034. else
  4035. enable_static=no
  4036. fi
  4037. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  4038. if test -n "$ac_tool_prefix"; then
  4039. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  4040. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  4041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4042. $as_echo_n "checking for $ac_word... " >&6; }
  4043. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  4044. $as_echo_n "(cached) " >&6
  4045. else
  4046. case $PKG_CONFIG in
  4047. [\\/]* | ?:[\\/]*)
  4048. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4049. ;;
  4050. *)
  4051. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4052. for as_dir in $PATH
  4053. do
  4054. IFS=$as_save_IFS
  4055. test -z "$as_dir" && as_dir=.
  4056. for ac_exec_ext in '' $ac_executable_extensions; do
  4057. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4058. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4059. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4060. break 2
  4061. fi
  4062. done
  4063. done
  4064. IFS=$as_save_IFS
  4065. ;;
  4066. esac
  4067. fi
  4068. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4069. if test -n "$PKG_CONFIG"; then
  4070. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  4071. $as_echo "$PKG_CONFIG" >&6; }
  4072. else
  4073. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4074. $as_echo "no" >&6; }
  4075. fi
  4076. fi
  4077. if test -z "$ac_cv_path_PKG_CONFIG"; then
  4078. ac_pt_PKG_CONFIG=$PKG_CONFIG
  4079. # Extract the first word of "pkg-config", so it can be a program name with args.
  4080. set dummy pkg-config; ac_word=$2
  4081. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4082. $as_echo_n "checking for $ac_word... " >&6; }
  4083. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  4084. $as_echo_n "(cached) " >&6
  4085. else
  4086. case $ac_pt_PKG_CONFIG in
  4087. [\\/]* | ?:[\\/]*)
  4088. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  4089. ;;
  4090. *)
  4091. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4092. for as_dir in $PATH
  4093. do
  4094. IFS=$as_save_IFS
  4095. test -z "$as_dir" && as_dir=.
  4096. for ac_exec_ext in '' $ac_executable_extensions; do
  4097. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4098. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4099. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4100. break 2
  4101. fi
  4102. done
  4103. done
  4104. IFS=$as_save_IFS
  4105. ;;
  4106. esac
  4107. fi
  4108. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  4109. if test -n "$ac_pt_PKG_CONFIG"; then
  4110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  4111. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  4112. else
  4113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4114. $as_echo "no" >&6; }
  4115. fi
  4116. if test "x$ac_pt_PKG_CONFIG" = x; then
  4117. PKG_CONFIG=""
  4118. else
  4119. case $cross_compiling:$ac_tool_warned in
  4120. yes:)
  4121. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4122. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4123. ac_tool_warned=yes ;;
  4124. esac
  4125. PKG_CONFIG=$ac_pt_PKG_CONFIG
  4126. fi
  4127. else
  4128. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  4129. fi
  4130. fi
  4131. if test -n "$PKG_CONFIG"; then
  4132. _pkg_min_version=0.9.0
  4133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  4134. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  4135. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  4136. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4137. $as_echo "yes" >&6; }
  4138. else
  4139. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4140. $as_echo "no" >&6; }
  4141. PKG_CONFIG=""
  4142. fi
  4143. fi
  4144. # SPLIT_PACKAGE_VERSION
  4145. # ---------------------------
  4146. # Split package version in four parts
  4147. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4148. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4149. if ${ac_cv_path_SED+:} false; then :
  4150. $as_echo_n "(cached) " >&6
  4151. else
  4152. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4153. for ac_i in 1 2 3 4 5 6 7; do
  4154. ac_script="$ac_script$as_nl$ac_script"
  4155. done
  4156. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4157. { ac_script=; unset ac_script;}
  4158. if test -z "$SED"; then
  4159. ac_path_SED_found=false
  4160. # Loop through the user's path and test for each of PROGNAME-LIST
  4161. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4162. for as_dir in $PATH
  4163. do
  4164. IFS=$as_save_IFS
  4165. test -z "$as_dir" && as_dir=.
  4166. for ac_prog in sed gsed; do
  4167. for ac_exec_ext in '' $ac_executable_extensions; do
  4168. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4169. as_fn_executable_p "$ac_path_SED" || continue
  4170. # Check for GNU ac_path_SED and select it if it is found.
  4171. # Check for GNU $ac_path_SED
  4172. case `"$ac_path_SED" --version 2>&1` in
  4173. *GNU*)
  4174. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4175. *)
  4176. ac_count=0
  4177. $as_echo_n 0123456789 >"conftest.in"
  4178. while :
  4179. do
  4180. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4181. mv "conftest.tmp" "conftest.in"
  4182. cp "conftest.in" "conftest.nl"
  4183. $as_echo '' >> "conftest.nl"
  4184. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4185. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4186. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4187. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4188. # Best one so far, save it but keep looking for a better one
  4189. ac_cv_path_SED="$ac_path_SED"
  4190. ac_path_SED_max=$ac_count
  4191. fi
  4192. # 10*(2^10) chars as input seems more than enough
  4193. test $ac_count -gt 10 && break
  4194. done
  4195. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4196. esac
  4197. $ac_path_SED_found && break 3
  4198. done
  4199. done
  4200. done
  4201. IFS=$as_save_IFS
  4202. if test -z "$ac_cv_path_SED"; then
  4203. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4204. fi
  4205. else
  4206. ac_cv_path_SED=$SED
  4207. fi
  4208. fi
  4209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4210. $as_echo "$ac_cv_path_SED" >&6; }
  4211. SED="$ac_cv_path_SED"
  4212. rm -f conftest.sed
  4213. PACKAGE_VERSION_MAJOR=`echo "$PACKAGE_VERSION" | $SED 's/\([0-9]\+\).*/\1/'`
  4214. PACKAGE_VERSION_MINOR=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.\([0-9]\+\).*/\1/'`
  4215. PACKAGE_VERSION_BUILD=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.\([0-9]\+\).*/\1/'`
  4216. PACKAGE_VERSION_REVIEW=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`
  4217. # =================================
  4218. # check --enable-xxx & --with-xxx
  4219. # =================================
  4220. # ARG_WITH_SUBST(option, default, help)
  4221. # -----------------------------------
  4222. # Create a --with-$1 option with helptext, AC_SUBST($1) to $withval/default
  4223. # ARG_WITH_SET(option, default, help)
  4224. # -----------------------------------
  4225. # Create a --with-$1 option with helptext, set a variable $1 to $withval/default
  4226. @%:@ Check whether --with-random-device was given.
  4227. if test "${with_random_device+set}" = set; then :
  4228. withval=$with_random_device; random_device="$withval"
  4229. else
  4230. random_device="/dev/random"
  4231. fi
  4232. @%:@ Check whether --with-urandom-device was given.
  4233. if test "${with_urandom_device+set}" = set; then :
  4234. withval=$with_urandom_device; urandom_device="$withval"
  4235. else
  4236. urandom_device="/dev/urandom"
  4237. fi
  4238. @%:@ Check whether --with-strongswan-conf was given.
  4239. if test "${with_strongswan_conf+set}" = set; then :
  4240. withval=$with_strongswan_conf; strongswan_conf="$withval"
  4241. else
  4242. strongswan_conf="${sysconfdir}/strongswan.conf"
  4243. fi
  4244. @%:@ Check whether --with-resolv-conf was given.
  4245. if test "${with_resolv_conf+set}" = set; then :
  4246. withval=$with_resolv_conf; resolv_conf="$withval"
  4247. else
  4248. resolv_conf="${sysconfdir}/resolv.conf"
  4249. fi
  4250. @%:@ Check whether --with-piddir was given.
  4251. if test "${with_piddir+set}" = set; then :
  4252. withval=$with_piddir; piddir="$withval"
  4253. else
  4254. piddir="/var/run"
  4255. fi
  4256. @%:@ Check whether --with-ipsecdir was given.
  4257. if test "${with_ipsecdir+set}" = set; then :
  4258. withval=$with_ipsecdir; ipsecdir="$withval"
  4259. else
  4260. ipsecdir="${libexecdir%/}/ipsec"
  4261. fi
  4262. @%:@ Check whether --with-ipseclibdir was given.
  4263. if test "${with_ipseclibdir+set}" = set; then :
  4264. withval=$with_ipseclibdir; ipseclibdir="$withval"
  4265. else
  4266. ipseclibdir="${libdir%/}/ipsec"
  4267. fi
  4268. @%:@ Check whether --with-plugindir was given.
  4269. if test "${with_plugindir+set}" = set; then :
  4270. withval=$with_plugindir; plugindir="$withval"
  4271. else
  4272. plugindir="${ipseclibdir%/}/plugins"
  4273. fi
  4274. @%:@ Check whether --with-imcvdir was given.
  4275. if test "${with_imcvdir+set}" = set; then :
  4276. withval=$with_imcvdir; imcvdir="$withval"
  4277. else
  4278. imcvdir="${ipseclibdir%/}/imcvs"
  4279. fi
  4280. @%:@ Check whether --with-nm-ca-dir was given.
  4281. if test "${with_nm_ca_dir+set}" = set; then :
  4282. withval=$with_nm_ca_dir; nm_ca_dir="$withval"
  4283. else
  4284. nm_ca_dir="/usr/share/ca-certificates"
  4285. fi
  4286. @%:@ Check whether --with-swanctldir was given.
  4287. if test "${with_swanctldir+set}" = set; then :
  4288. withval=$with_swanctldir; swanctldir="$withval"
  4289. else
  4290. swanctldir="${sysconfdir}/swanctl"
  4291. fi
  4292. @%:@ Check whether --with-linux-headers was given.
  4293. if test "${with_linux_headers+set}" = set; then :
  4294. withval=$with_linux_headers; linux_headers="$withval"
  4295. else
  4296. linux_headers="\${top_srcdir}/src/include"
  4297. fi
  4298. @%:@ Check whether --with-routing-table was given.
  4299. if test "${with_routing_table+set}" = set; then :
  4300. withval=$with_routing_table; routing_table="$withval"
  4301. else
  4302. routing_table="220"
  4303. fi
  4304. @%:@ Check whether --with-routing-table-prio was given.
  4305. if test "${with_routing_table_prio+set}" = set; then :
  4306. withval=$with_routing_table_prio; routing_table_prio="$withval"
  4307. else
  4308. routing_table_prio="220"
  4309. fi
  4310. @%:@ Check whether --with-ipsec-script was given.
  4311. if test "${with_ipsec_script+set}" = set; then :
  4312. withval=$with_ipsec_script; ipsec_script="$withval"
  4313. else
  4314. ipsec_script="ipsec"
  4315. fi
  4316. @%:@ Check whether --with-fips-mode was given.
  4317. if test "${with_fips_mode+set}" = set; then :
  4318. withval=$with_fips_mode; fips_mode="$withval"
  4319. else
  4320. fips_mode="0"
  4321. fi
  4322. @%:@ Check whether --with-libfuzzer was given.
  4323. if test "${with_libfuzzer+set}" = set; then :
  4324. withval=$with_libfuzzer; libfuzzer="$withval"
  4325. else
  4326. libfuzzer=""
  4327. fi
  4328. @%:@ Check whether --with-capabilities was given.
  4329. if test "${with_capabilities+set}" = set; then :
  4330. withval=$with_capabilities; capabilities="$withval"
  4331. else
  4332. capabilities=no
  4333. fi
  4334. @%:@ Check whether --with-mpz_powm_sec was given.
  4335. if test "${with_mpz_powm_sec+set}" = set; then :
  4336. withval=$with_mpz_powm_sec; mpz_powm_sec="$withval"
  4337. else
  4338. mpz_powm_sec=yes
  4339. fi
  4340. @%:@ Check whether --with-dev-headers was given.
  4341. if test "${with_dev_headers+set}" = set; then :
  4342. withval=$with_dev_headers; dev_headers="$withval"
  4343. else
  4344. dev_headers=no
  4345. fi
  4346. @%:@ Check whether --with-printf-hooks was given.
  4347. if test "${with_printf_hooks+set}" = set; then :
  4348. withval=$with_printf_hooks; printf_hooks="$withval"
  4349. else
  4350. printf_hooks=auto
  4351. fi
  4352. @%:@ Check whether --with-rubygemdir was given.
  4353. if test "${with_rubygemdir+set}" = set; then :
  4354. withval=$with_rubygemdir; rubygemdir="$withval"
  4355. else
  4356. rubygemdir="gem environment gemdir"
  4357. fi
  4358. @%:@ Check whether --with-pythoneggdir was given.
  4359. if test "${with_pythoneggdir+set}" = set; then :
  4360. withval=$with_pythoneggdir; pythoneggdir="$withval"
  4361. else
  4362. pythoneggdir="main site-packages directory"
  4363. fi
  4364. if test -n "$PKG_CONFIG"; then
  4365. systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
  4366. fi
  4367. @%:@ Check whether --with-systemdsystemunitdir was given.
  4368. if test "${with_systemdsystemunitdir+set}" = set; then :
  4369. withval=$with_systemdsystemunitdir; systemdsystemunitdir="$withval"
  4370. else
  4371. systemdsystemunitdir=$systemdsystemunitdir_default
  4372. fi
  4373. @%:@ Check whether --with-user was given.
  4374. if test "${with_user+set}" = set; then :
  4375. withval=$with_user;
  4376. cat >>confdefs.h <<_ACEOF
  4377. @%:@define IPSEC_USER "$withval"
  4378. _ACEOF
  4379. ipsecuser="$withval"
  4380. else
  4381. ipsecuser="root"
  4382. fi
  4383. @%:@ Check whether --with-group was given.
  4384. if test "${with_group+set}" = set; then :
  4385. withval=$with_group;
  4386. cat >>confdefs.h <<_ACEOF
  4387. @%:@define IPSEC_GROUP "$withval"
  4388. _ACEOF
  4389. ipsecgroup="$withval"
  4390. else
  4391. ipsecgroup="root"
  4392. fi
  4393. @%:@ Check whether --with-charon-udp-port was given.
  4394. if test "${with_charon_udp_port+set}" = set; then :
  4395. withval=$with_charon_udp_port;
  4396. cat >>confdefs.h <<_ACEOF
  4397. @%:@define CHARON_UDP_PORT $withval
  4398. _ACEOF
  4399. charon_udp_port=$withval
  4400. else
  4401. charon_udp_port=500
  4402. fi
  4403. @%:@ Check whether --with-charon-natt-port was given.
  4404. if test "${with_charon_natt_port+set}" = set; then :
  4405. withval=$with_charon_natt_port;
  4406. cat >>confdefs.h <<_ACEOF
  4407. @%:@define CHARON_NATT_PORT $withval
  4408. _ACEOF
  4409. charon_natt_port=$withval
  4410. else
  4411. charon_natt_port=4500
  4412. fi
  4413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured UDP ports ($charon_udp_port, $charon_natt_port)" >&5
  4414. $as_echo_n "checking configured UDP ports ($charon_udp_port, $charon_natt_port)... " >&6; }
  4415. if test x$charon_udp_port != x0 -a x$charon_udp_port = x$charon_natt_port; then
  4416. as_fn_error $? "the ports have to be different" "$LINENO" 5
  4417. else
  4418. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  4419. $as_echo "ok" >&6; }
  4420. fi
  4421. # convert script name to uppercase
  4422. ipsec_script_upper=`echo -n "$ipsec_script" | tr a-z A-Z`
  4423. # ARG_ENABL_SET(option, help)
  4424. # ---------------------------
  4425. # Create a --enable-$1 option with helptext, set a variable $1 to true/false
  4426. # All $1 are collected in the variable $disabled_by_default
  4427. # ARG_DISBL_SET(option, help)
  4428. # ---------------------------
  4429. # Create a --disable-$1 option with helptext, set a variable $1 to true/false
  4430. # All $1 are collected in the variable $enabled_by_default
  4431. # crypto plugins
  4432. @%:@ Check whether --enable-aes was given.
  4433. if test "${enable_aes+set}" = set; then :
  4434. enableval=$enable_aes; aes_given=true
  4435. if test x$enableval = xyes; then
  4436. aes=true
  4437. else
  4438. aes=false
  4439. fi
  4440. else
  4441. aes=true
  4442. aes_given=false
  4443. fi
  4444. enabled_by_default=${enabled_by_default}" aes"
  4445. @%:@ Check whether --enable-af-alg was given.
  4446. if test "${enable_af_alg+set}" = set; then :
  4447. enableval=$enable_af_alg; af_alg_given=true
  4448. if test x$enableval = xyes; then
  4449. af_alg=true
  4450. else
  4451. af_alg=false
  4452. fi
  4453. else
  4454. af_alg=false
  4455. af_alg_given=false
  4456. fi
  4457. disabled_by_default=${disabled_by_default}" af_alg"
  4458. @%:@ Check whether --enable-bliss was given.
  4459. if test "${enable_bliss+set}" = set; then :
  4460. enableval=$enable_bliss; bliss_given=true
  4461. if test x$enableval = xyes; then
  4462. bliss=true
  4463. else
  4464. bliss=false
  4465. fi
  4466. else
  4467. bliss=false
  4468. bliss_given=false
  4469. fi
  4470. disabled_by_default=${disabled_by_default}" bliss"
  4471. @%:@ Check whether --enable-blowfish was given.
  4472. if test "${enable_blowfish+set}" = set; then :
  4473. enableval=$enable_blowfish; blowfish_given=true
  4474. if test x$enableval = xyes; then
  4475. blowfish=true
  4476. else
  4477. blowfish=false
  4478. fi
  4479. else
  4480. blowfish=false
  4481. blowfish_given=false
  4482. fi
  4483. disabled_by_default=${disabled_by_default}" blowfish"
  4484. @%:@ Check whether --enable-botan was given.
  4485. if test "${enable_botan+set}" = set; then :
  4486. enableval=$enable_botan; botan_given=true
  4487. if test x$enableval = xyes; then
  4488. botan=true
  4489. else
  4490. botan=false
  4491. fi
  4492. else
  4493. botan=false
  4494. botan_given=false
  4495. fi
  4496. disabled_by_default=${disabled_by_default}" botan"
  4497. @%:@ Check whether --enable-ccm was given.
  4498. if test "${enable_ccm+set}" = set; then :
  4499. enableval=$enable_ccm; ccm_given=true
  4500. if test x$enableval = xyes; then
  4501. ccm=true
  4502. else
  4503. ccm=false
  4504. fi
  4505. else
  4506. ccm=false
  4507. ccm_given=false
  4508. fi
  4509. disabled_by_default=${disabled_by_default}" ccm"
  4510. @%:@ Check whether --enable-chapoly was given.
  4511. if test "${enable_chapoly+set}" = set; then :
  4512. enableval=$enable_chapoly; chapoly_given=true
  4513. if test x$enableval = xyes; then
  4514. chapoly=true
  4515. else
  4516. chapoly=false
  4517. fi
  4518. else
  4519. chapoly=false
  4520. chapoly_given=false
  4521. fi
  4522. disabled_by_default=${disabled_by_default}" chapoly"
  4523. @%:@ Check whether --enable-cmac was given.
  4524. if test "${enable_cmac+set}" = set; then :
  4525. enableval=$enable_cmac; cmac_given=true
  4526. if test x$enableval = xyes; then
  4527. cmac=true
  4528. else
  4529. cmac=false
  4530. fi
  4531. else
  4532. cmac=true
  4533. cmac_given=false
  4534. fi
  4535. enabled_by_default=${enabled_by_default}" cmac"
  4536. @%:@ Check whether --enable-ctr was given.
  4537. if test "${enable_ctr+set}" = set; then :
  4538. enableval=$enable_ctr; ctr_given=true
  4539. if test x$enableval = xyes; then
  4540. ctr=true
  4541. else
  4542. ctr=false
  4543. fi
  4544. else
  4545. ctr=false
  4546. ctr_given=false
  4547. fi
  4548. disabled_by_default=${disabled_by_default}" ctr"
  4549. @%:@ Check whether --enable-des was given.
  4550. if test "${enable_des+set}" = set; then :
  4551. enableval=$enable_des; des_given=true
  4552. if test x$enableval = xyes; then
  4553. des=true
  4554. else
  4555. des=false
  4556. fi
  4557. else
  4558. des=true
  4559. des_given=false
  4560. fi
  4561. enabled_by_default=${enabled_by_default}" des"
  4562. @%:@ Check whether --enable-fips-prf was given.
  4563. if test "${enable_fips_prf+set}" = set; then :
  4564. enableval=$enable_fips_prf; fips_prf_given=true
  4565. if test x$enableval = xyes; then
  4566. fips_prf=true
  4567. else
  4568. fips_prf=false
  4569. fi
  4570. else
  4571. fips_prf=true
  4572. fips_prf_given=false
  4573. fi
  4574. enabled_by_default=${enabled_by_default}" fips_prf"
  4575. @%:@ Check whether --enable-gcm was given.
  4576. if test "${enable_gcm+set}" = set; then :
  4577. enableval=$enable_gcm; gcm_given=true
  4578. if test x$enableval = xyes; then
  4579. gcm=true
  4580. else
  4581. gcm=false
  4582. fi
  4583. else
  4584. gcm=false
  4585. gcm_given=false
  4586. fi
  4587. disabled_by_default=${disabled_by_default}" gcm"
  4588. @%:@ Check whether --enable-gcrypt was given.
  4589. if test "${enable_gcrypt+set}" = set; then :
  4590. enableval=$enable_gcrypt; gcrypt_given=true
  4591. if test x$enableval = xyes; then
  4592. gcrypt=true
  4593. else
  4594. gcrypt=false
  4595. fi
  4596. else
  4597. gcrypt=false
  4598. gcrypt_given=false
  4599. fi
  4600. disabled_by_default=${disabled_by_default}" gcrypt"
  4601. @%:@ Check whether --enable-gmp was given.
  4602. if test "${enable_gmp+set}" = set; then :
  4603. enableval=$enable_gmp; gmp_given=true
  4604. if test x$enableval = xyes; then
  4605. gmp=true
  4606. else
  4607. gmp=false
  4608. fi
  4609. else
  4610. gmp=true
  4611. gmp_given=false
  4612. fi
  4613. enabled_by_default=${enabled_by_default}" gmp"
  4614. @%:@ Check whether --enable-curve25519 was given.
  4615. if test "${enable_curve25519+set}" = set; then :
  4616. enableval=$enable_curve25519; curve25519_given=true
  4617. if test x$enableval = xyes; then
  4618. curve25519=true
  4619. else
  4620. curve25519=false
  4621. fi
  4622. else
  4623. curve25519=true
  4624. curve25519_given=false
  4625. fi
  4626. enabled_by_default=${enabled_by_default}" curve25519"
  4627. @%:@ Check whether --enable-hmac was given.
  4628. if test "${enable_hmac+set}" = set; then :
  4629. enableval=$enable_hmac; hmac_given=true
  4630. if test x$enableval = xyes; then
  4631. hmac=true
  4632. else
  4633. hmac=false
  4634. fi
  4635. else
  4636. hmac=true
  4637. hmac_given=false
  4638. fi
  4639. enabled_by_default=${enabled_by_default}" hmac"
  4640. @%:@ Check whether --enable-md4 was given.
  4641. if test "${enable_md4+set}" = set; then :
  4642. enableval=$enable_md4; md4_given=true
  4643. if test x$enableval = xyes; then
  4644. md4=true
  4645. else
  4646. md4=false
  4647. fi
  4648. else
  4649. md4=false
  4650. md4_given=false
  4651. fi
  4652. disabled_by_default=${disabled_by_default}" md4"
  4653. @%:@ Check whether --enable-md5 was given.
  4654. if test "${enable_md5+set}" = set; then :
  4655. enableval=$enable_md5; md5_given=true
  4656. if test x$enableval = xyes; then
  4657. md5=true
  4658. else
  4659. md5=false
  4660. fi
  4661. else
  4662. md5=true
  4663. md5_given=false
  4664. fi
  4665. enabled_by_default=${enabled_by_default}" md5"
  4666. @%:@ Check whether --enable-mgf1 was given.
  4667. if test "${enable_mgf1+set}" = set; then :
  4668. enableval=$enable_mgf1; mgf1_given=true
  4669. if test x$enableval = xyes; then
  4670. mgf1=true
  4671. else
  4672. mgf1=false
  4673. fi
  4674. else
  4675. mgf1=false
  4676. mgf1_given=false
  4677. fi
  4678. disabled_by_default=${disabled_by_default}" mgf1"
  4679. @%:@ Check whether --enable-newhope was given.
  4680. if test "${enable_newhope+set}" = set; then :
  4681. enableval=$enable_newhope; newhope_given=true
  4682. if test x$enableval = xyes; then
  4683. newhope=true
  4684. else
  4685. newhope=false
  4686. fi
  4687. else
  4688. newhope=false
  4689. newhope_given=false
  4690. fi
  4691. disabled_by_default=${disabled_by_default}" newhope"
  4692. @%:@ Check whether --enable-nonce was given.
  4693. if test "${enable_nonce+set}" = set; then :
  4694. enableval=$enable_nonce; nonce_given=true
  4695. if test x$enableval = xyes; then
  4696. nonce=true
  4697. else
  4698. nonce=false
  4699. fi
  4700. else
  4701. nonce=true
  4702. nonce_given=false
  4703. fi
  4704. enabled_by_default=${enabled_by_default}" nonce"
  4705. @%:@ Check whether --enable-ntru was given.
  4706. if test "${enable_ntru+set}" = set; then :
  4707. enableval=$enable_ntru; ntru_given=true
  4708. if test x$enableval = xyes; then
  4709. ntru=true
  4710. else
  4711. ntru=false
  4712. fi
  4713. else
  4714. ntru=false
  4715. ntru_given=false
  4716. fi
  4717. disabled_by_default=${disabled_by_default}" ntru"
  4718. @%:@ Check whether --enable-openssl was given.
  4719. if test "${enable_openssl+set}" = set; then :
  4720. enableval=$enable_openssl; openssl_given=true
  4721. if test x$enableval = xyes; then
  4722. openssl=true
  4723. else
  4724. openssl=false
  4725. fi
  4726. else
  4727. openssl=false
  4728. openssl_given=false
  4729. fi
  4730. disabled_by_default=${disabled_by_default}" openssl"
  4731. @%:@ Check whether --enable-wolfssl was given.
  4732. if test "${enable_wolfssl+set}" = set; then :
  4733. enableval=$enable_wolfssl; wolfssl_given=true
  4734. if test x$enableval = xyes; then
  4735. wolfssl=true
  4736. else
  4737. wolfssl=false
  4738. fi
  4739. else
  4740. wolfssl=false
  4741. wolfssl_given=false
  4742. fi
  4743. disabled_by_default=${disabled_by_default}" wolfssl"
  4744. @%:@ Check whether --enable-padlock was given.
  4745. if test "${enable_padlock+set}" = set; then :
  4746. enableval=$enable_padlock; padlock_given=true
  4747. if test x$enableval = xyes; then
  4748. padlock=true
  4749. else
  4750. padlock=false
  4751. fi
  4752. else
  4753. padlock=false
  4754. padlock_given=false
  4755. fi
  4756. disabled_by_default=${disabled_by_default}" padlock"
  4757. @%:@ Check whether --enable-random was given.
  4758. if test "${enable_random+set}" = set; then :
  4759. enableval=$enable_random; random_given=true
  4760. if test x$enableval = xyes; then
  4761. random=true
  4762. else
  4763. random=false
  4764. fi
  4765. else
  4766. random=true
  4767. random_given=false
  4768. fi
  4769. enabled_by_default=${enabled_by_default}" random"
  4770. @%:@ Check whether --enable-rc2 was given.
  4771. if test "${enable_rc2+set}" = set; then :
  4772. enableval=$enable_rc2; rc2_given=true
  4773. if test x$enableval = xyes; then
  4774. rc2=true
  4775. else
  4776. rc2=false
  4777. fi
  4778. else
  4779. rc2=true
  4780. rc2_given=false
  4781. fi
  4782. enabled_by_default=${enabled_by_default}" rc2"
  4783. @%:@ Check whether --enable-rdrand was given.
  4784. if test "${enable_rdrand+set}" = set; then :
  4785. enableval=$enable_rdrand; rdrand_given=true
  4786. if test x$enableval = xyes; then
  4787. rdrand=true
  4788. else
  4789. rdrand=false
  4790. fi
  4791. else
  4792. rdrand=false
  4793. rdrand_given=false
  4794. fi
  4795. disabled_by_default=${disabled_by_default}" rdrand"
  4796. @%:@ Check whether --enable-aesni was given.
  4797. if test "${enable_aesni+set}" = set; then :
  4798. enableval=$enable_aesni; aesni_given=true
  4799. if test x$enableval = xyes; then
  4800. aesni=true
  4801. else
  4802. aesni=false
  4803. fi
  4804. else
  4805. aesni=false
  4806. aesni_given=false
  4807. fi
  4808. disabled_by_default=${disabled_by_default}" aesni"
  4809. @%:@ Check whether --enable-sha1 was given.
  4810. if test "${enable_sha1+set}" = set; then :
  4811. enableval=$enable_sha1; sha1_given=true
  4812. if test x$enableval = xyes; then
  4813. sha1=true
  4814. else
  4815. sha1=false
  4816. fi
  4817. else
  4818. sha1=true
  4819. sha1_given=false
  4820. fi
  4821. enabled_by_default=${enabled_by_default}" sha1"
  4822. @%:@ Check whether --enable-sha2 was given.
  4823. if test "${enable_sha2+set}" = set; then :
  4824. enableval=$enable_sha2; sha2_given=true
  4825. if test x$enableval = xyes; then
  4826. sha2=true
  4827. else
  4828. sha2=false
  4829. fi
  4830. else
  4831. sha2=true
  4832. sha2_given=false
  4833. fi
  4834. enabled_by_default=${enabled_by_default}" sha2"
  4835. @%:@ Check whether --enable-sha3 was given.
  4836. if test "${enable_sha3+set}" = set; then :
  4837. enableval=$enable_sha3; sha3_given=true
  4838. if test x$enableval = xyes; then
  4839. sha3=true
  4840. else
  4841. sha3=false
  4842. fi
  4843. else
  4844. sha3=false
  4845. sha3_given=false
  4846. fi
  4847. disabled_by_default=${disabled_by_default}" sha3"
  4848. @%:@ Check whether --enable-xcbc was given.
  4849. if test "${enable_xcbc+set}" = set; then :
  4850. enableval=$enable_xcbc; xcbc_given=true
  4851. if test x$enableval = xyes; then
  4852. xcbc=true
  4853. else
  4854. xcbc=false
  4855. fi
  4856. else
  4857. xcbc=true
  4858. xcbc_given=false
  4859. fi
  4860. enabled_by_default=${enabled_by_default}" xcbc"
  4861. # encoding/decoding plugins
  4862. @%:@ Check whether --enable-dnskey was given.
  4863. if test "${enable_dnskey+set}" = set; then :
  4864. enableval=$enable_dnskey; dnskey_given=true
  4865. if test x$enableval = xyes; then
  4866. dnskey=true
  4867. else
  4868. dnskey=false
  4869. fi
  4870. else
  4871. dnskey=true
  4872. dnskey_given=false
  4873. fi
  4874. enabled_by_default=${enabled_by_default}" dnskey"
  4875. @%:@ Check whether --enable-pem was given.
  4876. if test "${enable_pem+set}" = set; then :
  4877. enableval=$enable_pem; pem_given=true
  4878. if test x$enableval = xyes; then
  4879. pem=true
  4880. else
  4881. pem=false
  4882. fi
  4883. else
  4884. pem=true
  4885. pem_given=false
  4886. fi
  4887. enabled_by_default=${enabled_by_default}" pem"
  4888. @%:@ Check whether --enable-pgp was given.
  4889. if test "${enable_pgp+set}" = set; then :
  4890. enableval=$enable_pgp; pgp_given=true
  4891. if test x$enableval = xyes; then
  4892. pgp=true
  4893. else
  4894. pgp=false
  4895. fi
  4896. else
  4897. pgp=true
  4898. pgp_given=false
  4899. fi
  4900. enabled_by_default=${enabled_by_default}" pgp"
  4901. @%:@ Check whether --enable-pkcs1 was given.
  4902. if test "${enable_pkcs1+set}" = set; then :
  4903. enableval=$enable_pkcs1; pkcs1_given=true
  4904. if test x$enableval = xyes; then
  4905. pkcs1=true
  4906. else
  4907. pkcs1=false
  4908. fi
  4909. else
  4910. pkcs1=true
  4911. pkcs1_given=false
  4912. fi
  4913. enabled_by_default=${enabled_by_default}" pkcs1"
  4914. @%:@ Check whether --enable-pkcs7 was given.
  4915. if test "${enable_pkcs7+set}" = set; then :
  4916. enableval=$enable_pkcs7; pkcs7_given=true
  4917. if test x$enableval = xyes; then
  4918. pkcs7=true
  4919. else
  4920. pkcs7=false
  4921. fi
  4922. else
  4923. pkcs7=true
  4924. pkcs7_given=false
  4925. fi
  4926. enabled_by_default=${enabled_by_default}" pkcs7"
  4927. @%:@ Check whether --enable-pkcs8 was given.
  4928. if test "${enable_pkcs8+set}" = set; then :
  4929. enableval=$enable_pkcs8; pkcs8_given=true
  4930. if test x$enableval = xyes; then
  4931. pkcs8=true
  4932. else
  4933. pkcs8=false
  4934. fi
  4935. else
  4936. pkcs8=true
  4937. pkcs8_given=false
  4938. fi
  4939. enabled_by_default=${enabled_by_default}" pkcs8"
  4940. @%:@ Check whether --enable-pkcs12 was given.
  4941. if test "${enable_pkcs12+set}" = set; then :
  4942. enableval=$enable_pkcs12; pkcs12_given=true
  4943. if test x$enableval = xyes; then
  4944. pkcs12=true
  4945. else
  4946. pkcs12=false
  4947. fi
  4948. else
  4949. pkcs12=true
  4950. pkcs12_given=false
  4951. fi
  4952. enabled_by_default=${enabled_by_default}" pkcs12"
  4953. @%:@ Check whether --enable-pubkey was given.
  4954. if test "${enable_pubkey+set}" = set; then :
  4955. enableval=$enable_pubkey; pubkey_given=true
  4956. if test x$enableval = xyes; then
  4957. pubkey=true
  4958. else
  4959. pubkey=false
  4960. fi
  4961. else
  4962. pubkey=true
  4963. pubkey_given=false
  4964. fi
  4965. enabled_by_default=${enabled_by_default}" pubkey"
  4966. @%:@ Check whether --enable-sshkey was given.
  4967. if test "${enable_sshkey+set}" = set; then :
  4968. enableval=$enable_sshkey; sshkey_given=true
  4969. if test x$enableval = xyes; then
  4970. sshkey=true
  4971. else
  4972. sshkey=false
  4973. fi
  4974. else
  4975. sshkey=true
  4976. sshkey_given=false
  4977. fi
  4978. enabled_by_default=${enabled_by_default}" sshkey"
  4979. @%:@ Check whether --enable-x509 was given.
  4980. if test "${enable_x509+set}" = set; then :
  4981. enableval=$enable_x509; x509_given=true
  4982. if test x$enableval = xyes; then
  4983. x509=true
  4984. else
  4985. x509=false
  4986. fi
  4987. else
  4988. x509=true
  4989. x509_given=false
  4990. fi
  4991. enabled_by_default=${enabled_by_default}" x509"
  4992. # fetcher/resolver plugins
  4993. @%:@ Check whether --enable-curl was given.
  4994. if test "${enable_curl+set}" = set; then :
  4995. enableval=$enable_curl; curl_given=true
  4996. if test x$enableval = xyes; then
  4997. curl=true
  4998. else
  4999. curl=false
  5000. fi
  5001. else
  5002. curl=false
  5003. curl_given=false
  5004. fi
  5005. disabled_by_default=${disabled_by_default}" curl"
  5006. @%:@ Check whether --enable-files was given.
  5007. if test "${enable_files+set}" = set; then :
  5008. enableval=$enable_files; files_given=true
  5009. if test x$enableval = xyes; then
  5010. files=true
  5011. else
  5012. files=false
  5013. fi
  5014. else
  5015. files=false
  5016. files_given=false
  5017. fi
  5018. disabled_by_default=${disabled_by_default}" files"
  5019. @%:@ Check whether --enable-ldap was given.
  5020. if test "${enable_ldap+set}" = set; then :
  5021. enableval=$enable_ldap; ldap_given=true
  5022. if test x$enableval = xyes; then
  5023. ldap=true
  5024. else
  5025. ldap=false
  5026. fi
  5027. else
  5028. ldap=false
  5029. ldap_given=false
  5030. fi
  5031. disabled_by_default=${disabled_by_default}" ldap"
  5032. @%:@ Check whether --enable-soup was given.
  5033. if test "${enable_soup+set}" = set; then :
  5034. enableval=$enable_soup; soup_given=true
  5035. if test x$enableval = xyes; then
  5036. soup=true
  5037. else
  5038. soup=false
  5039. fi
  5040. else
  5041. soup=false
  5042. soup_given=false
  5043. fi
  5044. disabled_by_default=${disabled_by_default}" soup"
  5045. @%:@ Check whether --enable-unbound was given.
  5046. if test "${enable_unbound+set}" = set; then :
  5047. enableval=$enable_unbound; unbound_given=true
  5048. if test x$enableval = xyes; then
  5049. unbound=true
  5050. else
  5051. unbound=false
  5052. fi
  5053. else
  5054. unbound=false
  5055. unbound_given=false
  5056. fi
  5057. disabled_by_default=${disabled_by_default}" unbound"
  5058. @%:@ Check whether --enable-winhttp was given.
  5059. if test "${enable_winhttp+set}" = set; then :
  5060. enableval=$enable_winhttp; winhttp_given=true
  5061. if test x$enableval = xyes; then
  5062. winhttp=true
  5063. else
  5064. winhttp=false
  5065. fi
  5066. else
  5067. winhttp=false
  5068. winhttp_given=false
  5069. fi
  5070. disabled_by_default=${disabled_by_default}" winhttp"
  5071. # database plugins
  5072. @%:@ Check whether --enable-mysql was given.
  5073. if test "${enable_mysql+set}" = set; then :
  5074. enableval=$enable_mysql; mysql_given=true
  5075. if test x$enableval = xyes; then
  5076. mysql=true
  5077. else
  5078. mysql=false
  5079. fi
  5080. else
  5081. mysql=false
  5082. mysql_given=false
  5083. fi
  5084. disabled_by_default=${disabled_by_default}" mysql"
  5085. @%:@ Check whether --enable-sqlite was given.
  5086. if test "${enable_sqlite+set}" = set; then :
  5087. enableval=$enable_sqlite; sqlite_given=true
  5088. if test x$enableval = xyes; then
  5089. sqlite=true
  5090. else
  5091. sqlite=false
  5092. fi
  5093. else
  5094. sqlite=false
  5095. sqlite_given=false
  5096. fi
  5097. disabled_by_default=${disabled_by_default}" sqlite"
  5098. # authentication/credential plugins
  5099. @%:@ Check whether --enable-addrblock was given.
  5100. if test "${enable_addrblock+set}" = set; then :
  5101. enableval=$enable_addrblock; addrblock_given=true
  5102. if test x$enableval = xyes; then
  5103. addrblock=true
  5104. else
  5105. addrblock=false
  5106. fi
  5107. else
  5108. addrblock=false
  5109. addrblock_given=false
  5110. fi
  5111. disabled_by_default=${disabled_by_default}" addrblock"
  5112. @%:@ Check whether --enable-acert was given.
  5113. if test "${enable_acert+set}" = set; then :
  5114. enableval=$enable_acert; acert_given=true
  5115. if test x$enableval = xyes; then
  5116. acert=true
  5117. else
  5118. acert=false
  5119. fi
  5120. else
  5121. acert=false
  5122. acert_given=false
  5123. fi
  5124. disabled_by_default=${disabled_by_default}" acert"
  5125. @%:@ Check whether --enable-agent was given.
  5126. if test "${enable_agent+set}" = set; then :
  5127. enableval=$enable_agent; agent_given=true
  5128. if test x$enableval = xyes; then
  5129. agent=true
  5130. else
  5131. agent=false
  5132. fi
  5133. else
  5134. agent=false
  5135. agent_given=false
  5136. fi
  5137. disabled_by_default=${disabled_by_default}" agent"
  5138. @%:@ Check whether --enable-constraints was given.
  5139. if test "${enable_constraints+set}" = set; then :
  5140. enableval=$enable_constraints; constraints_given=true
  5141. if test x$enableval = xyes; then
  5142. constraints=true
  5143. else
  5144. constraints=false
  5145. fi
  5146. else
  5147. constraints=true
  5148. constraints_given=false
  5149. fi
  5150. enabled_by_default=${enabled_by_default}" constraints"
  5151. @%:@ Check whether --enable-coupling was given.
  5152. if test "${enable_coupling+set}" = set; then :
  5153. enableval=$enable_coupling; coupling_given=true
  5154. if test x$enableval = xyes; then
  5155. coupling=true
  5156. else
  5157. coupling=false
  5158. fi
  5159. else
  5160. coupling=false
  5161. coupling_given=false
  5162. fi
  5163. disabled_by_default=${disabled_by_default}" coupling"
  5164. @%:@ Check whether --enable-dnscert was given.
  5165. if test "${enable_dnscert+set}" = set; then :
  5166. enableval=$enable_dnscert; dnscert_given=true
  5167. if test x$enableval = xyes; then
  5168. dnscert=true
  5169. else
  5170. dnscert=false
  5171. fi
  5172. else
  5173. dnscert=false
  5174. dnscert_given=false
  5175. fi
  5176. disabled_by_default=${disabled_by_default}" dnscert"
  5177. @%:@ Check whether --enable-eap-sim was given.
  5178. if test "${enable_eap_sim+set}" = set; then :
  5179. enableval=$enable_eap_sim; eap_sim_given=true
  5180. if test x$enableval = xyes; then
  5181. eap_sim=true
  5182. else
  5183. eap_sim=false
  5184. fi
  5185. else
  5186. eap_sim=false
  5187. eap_sim_given=false
  5188. fi
  5189. disabled_by_default=${disabled_by_default}" eap_sim"
  5190. @%:@ Check whether --enable-eap-sim-file was given.
  5191. if test "${enable_eap_sim_file+set}" = set; then :
  5192. enableval=$enable_eap_sim_file; eap_sim_file_given=true
  5193. if test x$enableval = xyes; then
  5194. eap_sim_file=true
  5195. else
  5196. eap_sim_file=false
  5197. fi
  5198. else
  5199. eap_sim_file=false
  5200. eap_sim_file_given=false
  5201. fi
  5202. disabled_by_default=${disabled_by_default}" eap_sim_file"
  5203. @%:@ Check whether --enable-eap-sim-pcsc was given.
  5204. if test "${enable_eap_sim_pcsc+set}" = set; then :
  5205. enableval=$enable_eap_sim_pcsc; eap_sim_pcsc_given=true
  5206. if test x$enableval = xyes; then
  5207. eap_sim_pcsc=true
  5208. else
  5209. eap_sim_pcsc=false
  5210. fi
  5211. else
  5212. eap_sim_pcsc=false
  5213. eap_sim_pcsc_given=false
  5214. fi
  5215. disabled_by_default=${disabled_by_default}" eap_sim_pcsc"
  5216. @%:@ Check whether --enable-eap-aka was given.
  5217. if test "${enable_eap_aka+set}" = set; then :
  5218. enableval=$enable_eap_aka; eap_aka_given=true
  5219. if test x$enableval = xyes; then
  5220. eap_aka=true
  5221. else
  5222. eap_aka=false
  5223. fi
  5224. else
  5225. eap_aka=false
  5226. eap_aka_given=false
  5227. fi
  5228. disabled_by_default=${disabled_by_default}" eap_aka"
  5229. @%:@ Check whether --enable-eap-aka-3gpp was given.
  5230. if test "${enable_eap_aka_3gpp+set}" = set; then :
  5231. enableval=$enable_eap_aka_3gpp; eap_aka_3gpp_given=true
  5232. if test x$enableval = xyes; then
  5233. eap_aka_3gpp=true
  5234. else
  5235. eap_aka_3gpp=false
  5236. fi
  5237. else
  5238. eap_aka_3gpp=false
  5239. eap_aka_3gpp_given=false
  5240. fi
  5241. disabled_by_default=${disabled_by_default}" eap_aka_3gpp"
  5242. @%:@ Check whether --enable-eap-aka-3gpp2 was given.
  5243. if test "${enable_eap_aka_3gpp2+set}" = set; then :
  5244. enableval=$enable_eap_aka_3gpp2; eap_aka_3gpp2_given=true
  5245. if test x$enableval = xyes; then
  5246. eap_aka_3gpp2=true
  5247. else
  5248. eap_aka_3gpp2=false
  5249. fi
  5250. else
  5251. eap_aka_3gpp2=false
  5252. eap_aka_3gpp2_given=false
  5253. fi
  5254. disabled_by_default=${disabled_by_default}" eap_aka_3gpp2"
  5255. @%:@ Check whether --enable-eap-simaka-sql was given.
  5256. if test "${enable_eap_simaka_sql+set}" = set; then :
  5257. enableval=$enable_eap_simaka_sql; eap_simaka_sql_given=true
  5258. if test x$enableval = xyes; then
  5259. eap_simaka_sql=true
  5260. else
  5261. eap_simaka_sql=false
  5262. fi
  5263. else
  5264. eap_simaka_sql=false
  5265. eap_simaka_sql_given=false
  5266. fi
  5267. disabled_by_default=${disabled_by_default}" eap_simaka_sql"
  5268. @%:@ Check whether --enable-eap-simaka-pseudonym was given.
  5269. if test "${enable_eap_simaka_pseudonym+set}" = set; then :
  5270. enableval=$enable_eap_simaka_pseudonym; eap_simaka_pseudonym_given=true
  5271. if test x$enableval = xyes; then
  5272. eap_simaka_pseudonym=true
  5273. else
  5274. eap_simaka_pseudonym=false
  5275. fi
  5276. else
  5277. eap_simaka_pseudonym=false
  5278. eap_simaka_pseudonym_given=false
  5279. fi
  5280. disabled_by_default=${disabled_by_default}" eap_simaka_pseudonym"
  5281. @%:@ Check whether --enable-eap-simaka-reauth was given.
  5282. if test "${enable_eap_simaka_reauth+set}" = set; then :
  5283. enableval=$enable_eap_simaka_reauth; eap_simaka_reauth_given=true
  5284. if test x$enableval = xyes; then
  5285. eap_simaka_reauth=true
  5286. else
  5287. eap_simaka_reauth=false
  5288. fi
  5289. else
  5290. eap_simaka_reauth=false
  5291. eap_simaka_reauth_given=false
  5292. fi
  5293. disabled_by_default=${disabled_by_default}" eap_simaka_reauth"
  5294. @%:@ Check whether --enable-eap-identity was given.
  5295. if test "${enable_eap_identity+set}" = set; then :
  5296. enableval=$enable_eap_identity; eap_identity_given=true
  5297. if test x$enableval = xyes; then
  5298. eap_identity=true
  5299. else
  5300. eap_identity=false
  5301. fi
  5302. else
  5303. eap_identity=false
  5304. eap_identity_given=false
  5305. fi
  5306. disabled_by_default=${disabled_by_default}" eap_identity"
  5307. @%:@ Check whether --enable-eap-md5 was given.
  5308. if test "${enable_eap_md5+set}" = set; then :
  5309. enableval=$enable_eap_md5; eap_md5_given=true
  5310. if test x$enableval = xyes; then
  5311. eap_md5=true
  5312. else
  5313. eap_md5=false
  5314. fi
  5315. else
  5316. eap_md5=false
  5317. eap_md5_given=false
  5318. fi
  5319. disabled_by_default=${disabled_by_default}" eap_md5"
  5320. @%:@ Check whether --enable-eap-gtc was given.
  5321. if test "${enable_eap_gtc+set}" = set; then :
  5322. enableval=$enable_eap_gtc; eap_gtc_given=true
  5323. if test x$enableval = xyes; then
  5324. eap_gtc=true
  5325. else
  5326. eap_gtc=false
  5327. fi
  5328. else
  5329. eap_gtc=false
  5330. eap_gtc_given=false
  5331. fi
  5332. disabled_by_default=${disabled_by_default}" eap_gtc"
  5333. @%:@ Check whether --enable-eap-mschapv2 was given.
  5334. if test "${enable_eap_mschapv2+set}" = set; then :
  5335. enableval=$enable_eap_mschapv2; eap_mschapv2_given=true
  5336. if test x$enableval = xyes; then
  5337. eap_mschapv2=true
  5338. else
  5339. eap_mschapv2=false
  5340. fi
  5341. else
  5342. eap_mschapv2=false
  5343. eap_mschapv2_given=false
  5344. fi
  5345. disabled_by_default=${disabled_by_default}" eap_mschapv2"
  5346. @%:@ Check whether --enable-eap-tls was given.
  5347. if test "${enable_eap_tls+set}" = set; then :
  5348. enableval=$enable_eap_tls; eap_tls_given=true
  5349. if test x$enableval = xyes; then
  5350. eap_tls=true
  5351. else
  5352. eap_tls=false
  5353. fi
  5354. else
  5355. eap_tls=false
  5356. eap_tls_given=false
  5357. fi
  5358. disabled_by_default=${disabled_by_default}" eap_tls"
  5359. @%:@ Check whether --enable-eap-ttls was given.
  5360. if test "${enable_eap_ttls+set}" = set; then :
  5361. enableval=$enable_eap_ttls; eap_ttls_given=true
  5362. if test x$enableval = xyes; then
  5363. eap_ttls=true
  5364. else
  5365. eap_ttls=false
  5366. fi
  5367. else
  5368. eap_ttls=false
  5369. eap_ttls_given=false
  5370. fi
  5371. disabled_by_default=${disabled_by_default}" eap_ttls"
  5372. @%:@ Check whether --enable-eap-peap was given.
  5373. if test "${enable_eap_peap+set}" = set; then :
  5374. enableval=$enable_eap_peap; eap_peap_given=true
  5375. if test x$enableval = xyes; then
  5376. eap_peap=true
  5377. else
  5378. eap_peap=false
  5379. fi
  5380. else
  5381. eap_peap=false
  5382. eap_peap_given=false
  5383. fi
  5384. disabled_by_default=${disabled_by_default}" eap_peap"
  5385. @%:@ Check whether --enable-eap-tnc was given.
  5386. if test "${enable_eap_tnc+set}" = set; then :
  5387. enableval=$enable_eap_tnc; eap_tnc_given=true
  5388. if test x$enableval = xyes; then
  5389. eap_tnc=true
  5390. else
  5391. eap_tnc=false
  5392. fi
  5393. else
  5394. eap_tnc=false
  5395. eap_tnc_given=false
  5396. fi
  5397. disabled_by_default=${disabled_by_default}" eap_tnc"
  5398. @%:@ Check whether --enable-eap-dynamic was given.
  5399. if test "${enable_eap_dynamic+set}" = set; then :
  5400. enableval=$enable_eap_dynamic; eap_dynamic_given=true
  5401. if test x$enableval = xyes; then
  5402. eap_dynamic=true
  5403. else
  5404. eap_dynamic=false
  5405. fi
  5406. else
  5407. eap_dynamic=false
  5408. eap_dynamic_given=false
  5409. fi
  5410. disabled_by_default=${disabled_by_default}" eap_dynamic"
  5411. @%:@ Check whether --enable-eap-radius was given.
  5412. if test "${enable_eap_radius+set}" = set; then :
  5413. enableval=$enable_eap_radius; eap_radius_given=true
  5414. if test x$enableval = xyes; then
  5415. eap_radius=true
  5416. else
  5417. eap_radius=false
  5418. fi
  5419. else
  5420. eap_radius=false
  5421. eap_radius_given=false
  5422. fi
  5423. disabled_by_default=${disabled_by_default}" eap_radius"
  5424. @%:@ Check whether --enable-ext-auth was given.
  5425. if test "${enable_ext_auth+set}" = set; then :
  5426. enableval=$enable_ext_auth; ext_auth_given=true
  5427. if test x$enableval = xyes; then
  5428. ext_auth=true
  5429. else
  5430. ext_auth=false
  5431. fi
  5432. else
  5433. ext_auth=false
  5434. ext_auth_given=false
  5435. fi
  5436. disabled_by_default=${disabled_by_default}" ext_auth"
  5437. @%:@ Check whether --enable-ipseckey was given.
  5438. if test "${enable_ipseckey+set}" = set; then :
  5439. enableval=$enable_ipseckey; ipseckey_given=true
  5440. if test x$enableval = xyes; then
  5441. ipseckey=true
  5442. else
  5443. ipseckey=false
  5444. fi
  5445. else
  5446. ipseckey=false
  5447. ipseckey_given=false
  5448. fi
  5449. disabled_by_default=${disabled_by_default}" ipseckey"
  5450. @%:@ Check whether --enable-keychain was given.
  5451. if test "${enable_keychain+set}" = set; then :
  5452. enableval=$enable_keychain; keychain_given=true
  5453. if test x$enableval = xyes; then
  5454. keychain=true
  5455. else
  5456. keychain=false
  5457. fi
  5458. else
  5459. keychain=false
  5460. keychain_given=false
  5461. fi
  5462. disabled_by_default=${disabled_by_default}" keychain"
  5463. @%:@ Check whether --enable-pkcs11 was given.
  5464. if test "${enable_pkcs11+set}" = set; then :
  5465. enableval=$enable_pkcs11; pkcs11_given=true
  5466. if test x$enableval = xyes; then
  5467. pkcs11=true
  5468. else
  5469. pkcs11=false
  5470. fi
  5471. else
  5472. pkcs11=false
  5473. pkcs11_given=false
  5474. fi
  5475. disabled_by_default=${disabled_by_default}" pkcs11"
  5476. @%:@ Check whether --enable-tpm was given.
  5477. if test "${enable_tpm+set}" = set; then :
  5478. enableval=$enable_tpm; tpm_given=true
  5479. if test x$enableval = xyes; then
  5480. tpm=true
  5481. else
  5482. tpm=false
  5483. fi
  5484. else
  5485. tpm=false
  5486. tpm_given=false
  5487. fi
  5488. disabled_by_default=${disabled_by_default}" tpm"
  5489. @%:@ Check whether --enable-revocation was given.
  5490. if test "${enable_revocation+set}" = set; then :
  5491. enableval=$enable_revocation; revocation_given=true
  5492. if test x$enableval = xyes; then
  5493. revocation=true
  5494. else
  5495. revocation=false
  5496. fi
  5497. else
  5498. revocation=true
  5499. revocation_given=false
  5500. fi
  5501. enabled_by_default=${enabled_by_default}" revocation"
  5502. @%:@ Check whether --enable-whitelist was given.
  5503. if test "${enable_whitelist+set}" = set; then :
  5504. enableval=$enable_whitelist; whitelist_given=true
  5505. if test x$enableval = xyes; then
  5506. whitelist=true
  5507. else
  5508. whitelist=false
  5509. fi
  5510. else
  5511. whitelist=false
  5512. whitelist_given=false
  5513. fi
  5514. disabled_by_default=${disabled_by_default}" whitelist"
  5515. @%:@ Check whether --enable-xauth-generic was given.
  5516. if test "${enable_xauth_generic+set}" = set; then :
  5517. enableval=$enable_xauth_generic; xauth_generic_given=true
  5518. if test x$enableval = xyes; then
  5519. xauth_generic=true
  5520. else
  5521. xauth_generic=false
  5522. fi
  5523. else
  5524. xauth_generic=true
  5525. xauth_generic_given=false
  5526. fi
  5527. enabled_by_default=${enabled_by_default}" xauth_generic"
  5528. @%:@ Check whether --enable-xauth-eap was given.
  5529. if test "${enable_xauth_eap+set}" = set; then :
  5530. enableval=$enable_xauth_eap; xauth_eap_given=true
  5531. if test x$enableval = xyes; then
  5532. xauth_eap=true
  5533. else
  5534. xauth_eap=false
  5535. fi
  5536. else
  5537. xauth_eap=false
  5538. xauth_eap_given=false
  5539. fi
  5540. disabled_by_default=${disabled_by_default}" xauth_eap"
  5541. @%:@ Check whether --enable-xauth-pam was given.
  5542. if test "${enable_xauth_pam+set}" = set; then :
  5543. enableval=$enable_xauth_pam; xauth_pam_given=true
  5544. if test x$enableval = xyes; then
  5545. xauth_pam=true
  5546. else
  5547. xauth_pam=false
  5548. fi
  5549. else
  5550. xauth_pam=false
  5551. xauth_pam_given=false
  5552. fi
  5553. disabled_by_default=${disabled_by_default}" xauth_pam"
  5554. @%:@ Check whether --enable-xauth-noauth was given.
  5555. if test "${enable_xauth_noauth+set}" = set; then :
  5556. enableval=$enable_xauth_noauth; xauth_noauth_given=true
  5557. if test x$enableval = xyes; then
  5558. xauth_noauth=true
  5559. else
  5560. xauth_noauth=false
  5561. fi
  5562. else
  5563. xauth_noauth=false
  5564. xauth_noauth_given=false
  5565. fi
  5566. disabled_by_default=${disabled_by_default}" xauth_noauth"
  5567. # kernel interfaces / sockets
  5568. @%:@ Check whether --enable-kernel-netlink was given.
  5569. if test "${enable_kernel_netlink+set}" = set; then :
  5570. enableval=$enable_kernel_netlink; kernel_netlink_given=true
  5571. if test x$enableval = xyes; then
  5572. kernel_netlink=true
  5573. else
  5574. kernel_netlink=false
  5575. fi
  5576. else
  5577. kernel_netlink=true
  5578. kernel_netlink_given=false
  5579. fi
  5580. enabled_by_default=${enabled_by_default}" kernel_netlink"
  5581. @%:@ Check whether --enable-kernel-pfkey was given.
  5582. if test "${enable_kernel_pfkey+set}" = set; then :
  5583. enableval=$enable_kernel_pfkey; kernel_pfkey_given=true
  5584. if test x$enableval = xyes; then
  5585. kernel_pfkey=true
  5586. else
  5587. kernel_pfkey=false
  5588. fi
  5589. else
  5590. kernel_pfkey=false
  5591. kernel_pfkey_given=false
  5592. fi
  5593. disabled_by_default=${disabled_by_default}" kernel_pfkey"
  5594. @%:@ Check whether --enable-kernel-pfroute was given.
  5595. if test "${enable_kernel_pfroute+set}" = set; then :
  5596. enableval=$enable_kernel_pfroute; kernel_pfroute_given=true
  5597. if test x$enableval = xyes; then
  5598. kernel_pfroute=true
  5599. else
  5600. kernel_pfroute=false
  5601. fi
  5602. else
  5603. kernel_pfroute=false
  5604. kernel_pfroute_given=false
  5605. fi
  5606. disabled_by_default=${disabled_by_default}" kernel_pfroute"
  5607. @%:@ Check whether --enable-kernel-iph was given.
  5608. if test "${enable_kernel_iph+set}" = set; then :
  5609. enableval=$enable_kernel_iph; kernel_iph_given=true
  5610. if test x$enableval = xyes; then
  5611. kernel_iph=true
  5612. else
  5613. kernel_iph=false
  5614. fi
  5615. else
  5616. kernel_iph=false
  5617. kernel_iph_given=false
  5618. fi
  5619. disabled_by_default=${disabled_by_default}" kernel_iph"
  5620. @%:@ Check whether --enable-kernel-libipsec was given.
  5621. if test "${enable_kernel_libipsec+set}" = set; then :
  5622. enableval=$enable_kernel_libipsec; kernel_libipsec_given=true
  5623. if test x$enableval = xyes; then
  5624. kernel_libipsec=true
  5625. else
  5626. kernel_libipsec=false
  5627. fi
  5628. else
  5629. kernel_libipsec=false
  5630. kernel_libipsec_given=false
  5631. fi
  5632. disabled_by_default=${disabled_by_default}" kernel_libipsec"
  5633. @%:@ Check whether --enable-kernel-wfp was given.
  5634. if test "${enable_kernel_wfp+set}" = set; then :
  5635. enableval=$enable_kernel_wfp; kernel_wfp_given=true
  5636. if test x$enableval = xyes; then
  5637. kernel_wfp=true
  5638. else
  5639. kernel_wfp=false
  5640. fi
  5641. else
  5642. kernel_wfp=false
  5643. kernel_wfp_given=false
  5644. fi
  5645. disabled_by_default=${disabled_by_default}" kernel_wfp"
  5646. @%:@ Check whether --enable-socket-default was given.
  5647. if test "${enable_socket_default+set}" = set; then :
  5648. enableval=$enable_socket_default; socket_default_given=true
  5649. if test x$enableval = xyes; then
  5650. socket_default=true
  5651. else
  5652. socket_default=false
  5653. fi
  5654. else
  5655. socket_default=true
  5656. socket_default_given=false
  5657. fi
  5658. enabled_by_default=${enabled_by_default}" socket_default"
  5659. @%:@ Check whether --enable-socket-dynamic was given.
  5660. if test "${enable_socket_dynamic+set}" = set; then :
  5661. enableval=$enable_socket_dynamic; socket_dynamic_given=true
  5662. if test x$enableval = xyes; then
  5663. socket_dynamic=true
  5664. else
  5665. socket_dynamic=false
  5666. fi
  5667. else
  5668. socket_dynamic=false
  5669. socket_dynamic_given=false
  5670. fi
  5671. disabled_by_default=${disabled_by_default}" socket_dynamic"
  5672. @%:@ Check whether --enable-socket-win was given.
  5673. if test "${enable_socket_win+set}" = set; then :
  5674. enableval=$enable_socket_win; socket_win_given=true
  5675. if test x$enableval = xyes; then
  5676. socket_win=true
  5677. else
  5678. socket_win=false
  5679. fi
  5680. else
  5681. socket_win=false
  5682. socket_win_given=false
  5683. fi
  5684. disabled_by_default=${disabled_by_default}" socket_win"
  5685. # configuration/control plugins
  5686. @%:@ Check whether --enable-stroke was given.
  5687. if test "${enable_stroke+set}" = set; then :
  5688. enableval=$enable_stroke; stroke_given=true
  5689. if test x$enableval = xyes; then
  5690. stroke=true
  5691. else
  5692. stroke=false
  5693. fi
  5694. else
  5695. stroke=true
  5696. stroke_given=false
  5697. fi
  5698. enabled_by_default=${enabled_by_default}" stroke"
  5699. @%:@ Check whether --enable-smp was given.
  5700. if test "${enable_smp+set}" = set; then :
  5701. enableval=$enable_smp; smp_given=true
  5702. if test x$enableval = xyes; then
  5703. smp=true
  5704. else
  5705. smp=false
  5706. fi
  5707. else
  5708. smp=false
  5709. smp_given=false
  5710. fi
  5711. disabled_by_default=${disabled_by_default}" smp"
  5712. @%:@ Check whether --enable-sql was given.
  5713. if test "${enable_sql+set}" = set; then :
  5714. enableval=$enable_sql; sql_given=true
  5715. if test x$enableval = xyes; then
  5716. sql=true
  5717. else
  5718. sql=false
  5719. fi
  5720. else
  5721. sql=false
  5722. sql_given=false
  5723. fi
  5724. disabled_by_default=${disabled_by_default}" sql"
  5725. @%:@ Check whether --enable-uci was given.
  5726. if test "${enable_uci+set}" = set; then :
  5727. enableval=$enable_uci; uci_given=true
  5728. if test x$enableval = xyes; then
  5729. uci=true
  5730. else
  5731. uci=false
  5732. fi
  5733. else
  5734. uci=false
  5735. uci_given=false
  5736. fi
  5737. disabled_by_default=${disabled_by_default}" uci"
  5738. @%:@ Check whether --enable-vici was given.
  5739. if test "${enable_vici+set}" = set; then :
  5740. enableval=$enable_vici; vici_given=true
  5741. if test x$enableval = xyes; then
  5742. vici=true
  5743. else
  5744. vici=false
  5745. fi
  5746. else
  5747. vici=true
  5748. vici_given=false
  5749. fi
  5750. enabled_by_default=${enabled_by_default}" vici"
  5751. # attribute provider/consumer plugins
  5752. @%:@ Check whether --enable-android-dns was given.
  5753. if test "${enable_android_dns+set}" = set; then :
  5754. enableval=$enable_android_dns; android_dns_given=true
  5755. if test x$enableval = xyes; then
  5756. android_dns=true
  5757. else
  5758. android_dns=false
  5759. fi
  5760. else
  5761. android_dns=false
  5762. android_dns_given=false
  5763. fi
  5764. disabled_by_default=${disabled_by_default}" android_dns"
  5765. @%:@ Check whether --enable-attr was given.
  5766. if test "${enable_attr+set}" = set; then :
  5767. enableval=$enable_attr; attr_given=true
  5768. if test x$enableval = xyes; then
  5769. attr=true
  5770. else
  5771. attr=false
  5772. fi
  5773. else
  5774. attr=true
  5775. attr_given=false
  5776. fi
  5777. enabled_by_default=${enabled_by_default}" attr"
  5778. @%:@ Check whether --enable-attr-sql was given.
  5779. if test "${enable_attr_sql+set}" = set; then :
  5780. enableval=$enable_attr_sql; attr_sql_given=true
  5781. if test x$enableval = xyes; then
  5782. attr_sql=true
  5783. else
  5784. attr_sql=false
  5785. fi
  5786. else
  5787. attr_sql=false
  5788. attr_sql_given=false
  5789. fi
  5790. disabled_by_default=${disabled_by_default}" attr_sql"
  5791. @%:@ Check whether --enable-dhcp was given.
  5792. if test "${enable_dhcp+set}" = set; then :
  5793. enableval=$enable_dhcp; dhcp_given=true
  5794. if test x$enableval = xyes; then
  5795. dhcp=true
  5796. else
  5797. dhcp=false
  5798. fi
  5799. else
  5800. dhcp=false
  5801. dhcp_given=false
  5802. fi
  5803. disabled_by_default=${disabled_by_default}" dhcp"
  5804. @%:@ Check whether --enable-osx-attr was given.
  5805. if test "${enable_osx_attr+set}" = set; then :
  5806. enableval=$enable_osx_attr; osx_attr_given=true
  5807. if test x$enableval = xyes; then
  5808. osx_attr=true
  5809. else
  5810. osx_attr=false
  5811. fi
  5812. else
  5813. osx_attr=false
  5814. osx_attr_given=false
  5815. fi
  5816. disabled_by_default=${disabled_by_default}" osx_attr"
  5817. @%:@ Check whether --enable-p-cscf was given.
  5818. if test "${enable_p_cscf+set}" = set; then :
  5819. enableval=$enable_p_cscf; p_cscf_given=true
  5820. if test x$enableval = xyes; then
  5821. p_cscf=true
  5822. else
  5823. p_cscf=false
  5824. fi
  5825. else
  5826. p_cscf=false
  5827. p_cscf_given=false
  5828. fi
  5829. disabled_by_default=${disabled_by_default}" p_cscf"
  5830. @%:@ Check whether --enable-resolve was given.
  5831. if test "${enable_resolve+set}" = set; then :
  5832. enableval=$enable_resolve; resolve_given=true
  5833. if test x$enableval = xyes; then
  5834. resolve=true
  5835. else
  5836. resolve=false
  5837. fi
  5838. else
  5839. resolve=true
  5840. resolve_given=false
  5841. fi
  5842. enabled_by_default=${enabled_by_default}" resolve"
  5843. @%:@ Check whether --enable-unity was given.
  5844. if test "${enable_unity+set}" = set; then :
  5845. enableval=$enable_unity; unity_given=true
  5846. if test x$enableval = xyes; then
  5847. unity=true
  5848. else
  5849. unity=false
  5850. fi
  5851. else
  5852. unity=false
  5853. unity_given=false
  5854. fi
  5855. disabled_by_default=${disabled_by_default}" unity"
  5856. # TNC modules/plugins
  5857. @%:@ Check whether --enable-imc-test was given.
  5858. if test "${enable_imc_test+set}" = set; then :
  5859. enableval=$enable_imc_test; imc_test_given=true
  5860. if test x$enableval = xyes; then
  5861. imc_test=true
  5862. else
  5863. imc_test=false
  5864. fi
  5865. else
  5866. imc_test=false
  5867. imc_test_given=false
  5868. fi
  5869. disabled_by_default=${disabled_by_default}" imc_test"
  5870. @%:@ Check whether --enable-imv-test was given.
  5871. if test "${enable_imv_test+set}" = set; then :
  5872. enableval=$enable_imv_test; imv_test_given=true
  5873. if test x$enableval = xyes; then
  5874. imv_test=true
  5875. else
  5876. imv_test=false
  5877. fi
  5878. else
  5879. imv_test=false
  5880. imv_test_given=false
  5881. fi
  5882. disabled_by_default=${disabled_by_default}" imv_test"
  5883. @%:@ Check whether --enable-imc-scanner was given.
  5884. if test "${enable_imc_scanner+set}" = set; then :
  5885. enableval=$enable_imc_scanner; imc_scanner_given=true
  5886. if test x$enableval = xyes; then
  5887. imc_scanner=true
  5888. else
  5889. imc_scanner=false
  5890. fi
  5891. else
  5892. imc_scanner=false
  5893. imc_scanner_given=false
  5894. fi
  5895. disabled_by_default=${disabled_by_default}" imc_scanner"
  5896. @%:@ Check whether --enable-imv-scanner was given.
  5897. if test "${enable_imv_scanner+set}" = set; then :
  5898. enableval=$enable_imv_scanner; imv_scanner_given=true
  5899. if test x$enableval = xyes; then
  5900. imv_scanner=true
  5901. else
  5902. imv_scanner=false
  5903. fi
  5904. else
  5905. imv_scanner=false
  5906. imv_scanner_given=false
  5907. fi
  5908. disabled_by_default=${disabled_by_default}" imv_scanner"
  5909. @%:@ Check whether --enable-imc-os was given.
  5910. if test "${enable_imc_os+set}" = set; then :
  5911. enableval=$enable_imc_os; imc_os_given=true
  5912. if test x$enableval = xyes; then
  5913. imc_os=true
  5914. else
  5915. imc_os=false
  5916. fi
  5917. else
  5918. imc_os=false
  5919. imc_os_given=false
  5920. fi
  5921. disabled_by_default=${disabled_by_default}" imc_os"
  5922. @%:@ Check whether --enable-imv-os was given.
  5923. if test "${enable_imv_os+set}" = set; then :
  5924. enableval=$enable_imv_os; imv_os_given=true
  5925. if test x$enableval = xyes; then
  5926. imv_os=true
  5927. else
  5928. imv_os=false
  5929. fi
  5930. else
  5931. imv_os=false
  5932. imv_os_given=false
  5933. fi
  5934. disabled_by_default=${disabled_by_default}" imv_os"
  5935. @%:@ Check whether --enable-imc-attestation was given.
  5936. if test "${enable_imc_attestation+set}" = set; then :
  5937. enableval=$enable_imc_attestation; imc_attestation_given=true
  5938. if test x$enableval = xyes; then
  5939. imc_attestation=true
  5940. else
  5941. imc_attestation=false
  5942. fi
  5943. else
  5944. imc_attestation=false
  5945. imc_attestation_given=false
  5946. fi
  5947. disabled_by_default=${disabled_by_default}" imc_attestation"
  5948. @%:@ Check whether --enable-imv-attestation was given.
  5949. if test "${enable_imv_attestation+set}" = set; then :
  5950. enableval=$enable_imv_attestation; imv_attestation_given=true
  5951. if test x$enableval = xyes; then
  5952. imv_attestation=true
  5953. else
  5954. imv_attestation=false
  5955. fi
  5956. else
  5957. imv_attestation=false
  5958. imv_attestation_given=false
  5959. fi
  5960. disabled_by_default=${disabled_by_default}" imv_attestation"
  5961. @%:@ Check whether --enable-imc-swima was given.
  5962. if test "${enable_imc_swima+set}" = set; then :
  5963. enableval=$enable_imc_swima; imc_swima_given=true
  5964. if test x$enableval = xyes; then
  5965. imc_swima=true
  5966. else
  5967. imc_swima=false
  5968. fi
  5969. else
  5970. imc_swima=false
  5971. imc_swima_given=false
  5972. fi
  5973. disabled_by_default=${disabled_by_default}" imc_swima"
  5974. @%:@ Check whether --enable-imv-swima was given.
  5975. if test "${enable_imv_swima+set}" = set; then :
  5976. enableval=$enable_imv_swima; imv_swima_given=true
  5977. if test x$enableval = xyes; then
  5978. imv_swima=true
  5979. else
  5980. imv_swima=false
  5981. fi
  5982. else
  5983. imv_swima=false
  5984. imv_swima_given=false
  5985. fi
  5986. disabled_by_default=${disabled_by_default}" imv_swima"
  5987. @%:@ Check whether --enable-imc-hcd was given.
  5988. if test "${enable_imc_hcd+set}" = set; then :
  5989. enableval=$enable_imc_hcd; imc_hcd_given=true
  5990. if test x$enableval = xyes; then
  5991. imc_hcd=true
  5992. else
  5993. imc_hcd=false
  5994. fi
  5995. else
  5996. imc_hcd=false
  5997. imc_hcd_given=false
  5998. fi
  5999. disabled_by_default=${disabled_by_default}" imc_hcd"
  6000. @%:@ Check whether --enable-imv-hcd was given.
  6001. if test "${enable_imv_hcd+set}" = set; then :
  6002. enableval=$enable_imv_hcd; imv_hcd_given=true
  6003. if test x$enableval = xyes; then
  6004. imv_hcd=true
  6005. else
  6006. imv_hcd=false
  6007. fi
  6008. else
  6009. imv_hcd=false
  6010. imv_hcd_given=false
  6011. fi
  6012. disabled_by_default=${disabled_by_default}" imv_hcd"
  6013. @%:@ Check whether --enable-tnc-ifmap was given.
  6014. if test "${enable_tnc_ifmap+set}" = set; then :
  6015. enableval=$enable_tnc_ifmap; tnc_ifmap_given=true
  6016. if test x$enableval = xyes; then
  6017. tnc_ifmap=true
  6018. else
  6019. tnc_ifmap=false
  6020. fi
  6021. else
  6022. tnc_ifmap=false
  6023. tnc_ifmap_given=false
  6024. fi
  6025. disabled_by_default=${disabled_by_default}" tnc_ifmap"
  6026. @%:@ Check whether --enable-tnc-imc was given.
  6027. if test "${enable_tnc_imc+set}" = set; then :
  6028. enableval=$enable_tnc_imc; tnc_imc_given=true
  6029. if test x$enableval = xyes; then
  6030. tnc_imc=true
  6031. else
  6032. tnc_imc=false
  6033. fi
  6034. else
  6035. tnc_imc=false
  6036. tnc_imc_given=false
  6037. fi
  6038. disabled_by_default=${disabled_by_default}" tnc_imc"
  6039. @%:@ Check whether --enable-tnc-imv was given.
  6040. if test "${enable_tnc_imv+set}" = set; then :
  6041. enableval=$enable_tnc_imv; tnc_imv_given=true
  6042. if test x$enableval = xyes; then
  6043. tnc_imv=true
  6044. else
  6045. tnc_imv=false
  6046. fi
  6047. else
  6048. tnc_imv=false
  6049. tnc_imv_given=false
  6050. fi
  6051. disabled_by_default=${disabled_by_default}" tnc_imv"
  6052. @%:@ Check whether --enable-tnc-pdp was given.
  6053. if test "${enable_tnc_pdp+set}" = set; then :
  6054. enableval=$enable_tnc_pdp; tnc_pdp_given=true
  6055. if test x$enableval = xyes; then
  6056. tnc_pdp=true
  6057. else
  6058. tnc_pdp=false
  6059. fi
  6060. else
  6061. tnc_pdp=false
  6062. tnc_pdp_given=false
  6063. fi
  6064. disabled_by_default=${disabled_by_default}" tnc_pdp"
  6065. @%:@ Check whether --enable-tnccs-11 was given.
  6066. if test "${enable_tnccs_11+set}" = set; then :
  6067. enableval=$enable_tnccs_11; tnccs_11_given=true
  6068. if test x$enableval = xyes; then
  6069. tnccs_11=true
  6070. else
  6071. tnccs_11=false
  6072. fi
  6073. else
  6074. tnccs_11=false
  6075. tnccs_11_given=false
  6076. fi
  6077. disabled_by_default=${disabled_by_default}" tnccs_11"
  6078. @%:@ Check whether --enable-tnccs-20 was given.
  6079. if test "${enable_tnccs_20+set}" = set; then :
  6080. enableval=$enable_tnccs_20; tnccs_20_given=true
  6081. if test x$enableval = xyes; then
  6082. tnccs_20=true
  6083. else
  6084. tnccs_20=false
  6085. fi
  6086. else
  6087. tnccs_20=false
  6088. tnccs_20_given=false
  6089. fi
  6090. disabled_by_default=${disabled_by_default}" tnccs_20"
  6091. @%:@ Check whether --enable-tnccs-dynamic was given.
  6092. if test "${enable_tnccs_dynamic+set}" = set; then :
  6093. enableval=$enable_tnccs_dynamic; tnccs_dynamic_given=true
  6094. if test x$enableval = xyes; then
  6095. tnccs_dynamic=true
  6096. else
  6097. tnccs_dynamic=false
  6098. fi
  6099. else
  6100. tnccs_dynamic=false
  6101. tnccs_dynamic_given=false
  6102. fi
  6103. disabled_by_default=${disabled_by_default}" tnccs_dynamic"
  6104. # misc plugins
  6105. @%:@ Check whether --enable-android-log was given.
  6106. if test "${enable_android_log+set}" = set; then :
  6107. enableval=$enable_android_log; android_log_given=true
  6108. if test x$enableval = xyes; then
  6109. android_log=true
  6110. else
  6111. android_log=false
  6112. fi
  6113. else
  6114. android_log=false
  6115. android_log_given=false
  6116. fi
  6117. disabled_by_default=${disabled_by_default}" android_log"
  6118. @%:@ Check whether --enable-bypass-lan was given.
  6119. if test "${enable_bypass_lan+set}" = set; then :
  6120. enableval=$enable_bypass_lan; bypass_lan_given=true
  6121. if test x$enableval = xyes; then
  6122. bypass_lan=true
  6123. else
  6124. bypass_lan=false
  6125. fi
  6126. else
  6127. bypass_lan=false
  6128. bypass_lan_given=false
  6129. fi
  6130. disabled_by_default=${disabled_by_default}" bypass_lan"
  6131. @%:@ Check whether --enable-certexpire was given.
  6132. if test "${enable_certexpire+set}" = set; then :
  6133. enableval=$enable_certexpire; certexpire_given=true
  6134. if test x$enableval = xyes; then
  6135. certexpire=true
  6136. else
  6137. certexpire=false
  6138. fi
  6139. else
  6140. certexpire=false
  6141. certexpire_given=false
  6142. fi
  6143. disabled_by_default=${disabled_by_default}" certexpire"
  6144. @%:@ Check whether --enable-connmark was given.
  6145. if test "${enable_connmark+set}" = set; then :
  6146. enableval=$enable_connmark; connmark_given=true
  6147. if test x$enableval = xyes; then
  6148. connmark=true
  6149. else
  6150. connmark=false
  6151. fi
  6152. else
  6153. connmark=false
  6154. connmark_given=false
  6155. fi
  6156. disabled_by_default=${disabled_by_default}" connmark"
  6157. @%:@ Check whether --enable-counters was given.
  6158. if test "${enable_counters+set}" = set; then :
  6159. enableval=$enable_counters; counters_given=true
  6160. if test x$enableval = xyes; then
  6161. counters=true
  6162. else
  6163. counters=false
  6164. fi
  6165. else
  6166. counters=false
  6167. counters_given=false
  6168. fi
  6169. disabled_by_default=${disabled_by_default}" counters"
  6170. @%:@ Check whether --enable-forecast was given.
  6171. if test "${enable_forecast+set}" = set; then :
  6172. enableval=$enable_forecast; forecast_given=true
  6173. if test x$enableval = xyes; then
  6174. forecast=true
  6175. else
  6176. forecast=false
  6177. fi
  6178. else
  6179. forecast=false
  6180. forecast_given=false
  6181. fi
  6182. disabled_by_default=${disabled_by_default}" forecast"
  6183. @%:@ Check whether --enable-duplicheck was given.
  6184. if test "${enable_duplicheck+set}" = set; then :
  6185. enableval=$enable_duplicheck; duplicheck_given=true
  6186. if test x$enableval = xyes; then
  6187. duplicheck=true
  6188. else
  6189. duplicheck=false
  6190. fi
  6191. else
  6192. duplicheck=false
  6193. duplicheck_given=false
  6194. fi
  6195. disabled_by_default=${disabled_by_default}" duplicheck"
  6196. @%:@ Check whether --enable-error-notify was given.
  6197. if test "${enable_error_notify+set}" = set; then :
  6198. enableval=$enable_error_notify; error_notify_given=true
  6199. if test x$enableval = xyes; then
  6200. error_notify=true
  6201. else
  6202. error_notify=false
  6203. fi
  6204. else
  6205. error_notify=false
  6206. error_notify_given=false
  6207. fi
  6208. disabled_by_default=${disabled_by_default}" error_notify"
  6209. @%:@ Check whether --enable-farp was given.
  6210. if test "${enable_farp+set}" = set; then :
  6211. enableval=$enable_farp; farp_given=true
  6212. if test x$enableval = xyes; then
  6213. farp=true
  6214. else
  6215. farp=false
  6216. fi
  6217. else
  6218. farp=false
  6219. farp_given=false
  6220. fi
  6221. disabled_by_default=${disabled_by_default}" farp"
  6222. @%:@ Check whether --enable-ha was given.
  6223. if test "${enable_ha+set}" = set; then :
  6224. enableval=$enable_ha; ha_given=true
  6225. if test x$enableval = xyes; then
  6226. ha=true
  6227. else
  6228. ha=false
  6229. fi
  6230. else
  6231. ha=false
  6232. ha_given=false
  6233. fi
  6234. disabled_by_default=${disabled_by_default}" ha"
  6235. @%:@ Check whether --enable-led was given.
  6236. if test "${enable_led+set}" = set; then :
  6237. enableval=$enable_led; led_given=true
  6238. if test x$enableval = xyes; then
  6239. led=true
  6240. else
  6241. led=false
  6242. fi
  6243. else
  6244. led=false
  6245. led_given=false
  6246. fi
  6247. disabled_by_default=${disabled_by_default}" led"
  6248. @%:@ Check whether --enable-load-tester was given.
  6249. if test "${enable_load_tester+set}" = set; then :
  6250. enableval=$enable_load_tester; load_tester_given=true
  6251. if test x$enableval = xyes; then
  6252. load_tester=true
  6253. else
  6254. load_tester=false
  6255. fi
  6256. else
  6257. load_tester=false
  6258. load_tester_given=false
  6259. fi
  6260. disabled_by_default=${disabled_by_default}" load_tester"
  6261. @%:@ Check whether --enable-lookip was given.
  6262. if test "${enable_lookip+set}" = set; then :
  6263. enableval=$enable_lookip; lookip_given=true
  6264. if test x$enableval = xyes; then
  6265. lookip=true
  6266. else
  6267. lookip=false
  6268. fi
  6269. else
  6270. lookip=false
  6271. lookip_given=false
  6272. fi
  6273. disabled_by_default=${disabled_by_default}" lookip"
  6274. @%:@ Check whether --enable-radattr was given.
  6275. if test "${enable_radattr+set}" = set; then :
  6276. enableval=$enable_radattr; radattr_given=true
  6277. if test x$enableval = xyes; then
  6278. radattr=true
  6279. else
  6280. radattr=false
  6281. fi
  6282. else
  6283. radattr=false
  6284. radattr_given=false
  6285. fi
  6286. disabled_by_default=${disabled_by_default}" radattr"
  6287. @%:@ Check whether --enable-save-keys was given.
  6288. if test "${enable_save_keys+set}" = set; then :
  6289. enableval=$enable_save_keys; save_keys_given=true
  6290. if test x$enableval = xyes; then
  6291. save_keys=true
  6292. else
  6293. save_keys=false
  6294. fi
  6295. else
  6296. save_keys=false
  6297. save_keys_given=false
  6298. fi
  6299. disabled_by_default=${disabled_by_default}" save_keys"
  6300. @%:@ Check whether --enable-systime-fix was given.
  6301. if test "${enable_systime_fix+set}" = set; then :
  6302. enableval=$enable_systime_fix; systime_fix_given=true
  6303. if test x$enableval = xyes; then
  6304. systime_fix=true
  6305. else
  6306. systime_fix=false
  6307. fi
  6308. else
  6309. systime_fix=false
  6310. systime_fix_given=false
  6311. fi
  6312. disabled_by_default=${disabled_by_default}" systime_fix"
  6313. @%:@ Check whether --enable-test-vectors was given.
  6314. if test "${enable_test_vectors+set}" = set; then :
  6315. enableval=$enable_test_vectors; test_vectors_given=true
  6316. if test x$enableval = xyes; then
  6317. test_vectors=true
  6318. else
  6319. test_vectors=false
  6320. fi
  6321. else
  6322. test_vectors=false
  6323. test_vectors_given=false
  6324. fi
  6325. disabled_by_default=${disabled_by_default}" test_vectors"
  6326. @%:@ Check whether --enable-updown was given.
  6327. if test "${enable_updown+set}" = set; then :
  6328. enableval=$enable_updown; updown_given=true
  6329. if test x$enableval = xyes; then
  6330. updown=true
  6331. else
  6332. updown=false
  6333. fi
  6334. else
  6335. updown=true
  6336. updown_given=false
  6337. fi
  6338. enabled_by_default=${enabled_by_default}" updown"
  6339. # programs/components
  6340. @%:@ Check whether --enable-aikgen was given.
  6341. if test "${enable_aikgen+set}" = set; then :
  6342. enableval=$enable_aikgen; aikgen_given=true
  6343. if test x$enableval = xyes; then
  6344. aikgen=true
  6345. else
  6346. aikgen=false
  6347. fi
  6348. else
  6349. aikgen=false
  6350. aikgen_given=false
  6351. fi
  6352. disabled_by_default=${disabled_by_default}" aikgen"
  6353. @%:@ Check whether --enable-charon was given.
  6354. if test "${enable_charon+set}" = set; then :
  6355. enableval=$enable_charon; charon_given=true
  6356. if test x$enableval = xyes; then
  6357. charon=true
  6358. else
  6359. charon=false
  6360. fi
  6361. else
  6362. charon=true
  6363. charon_given=false
  6364. fi
  6365. enabled_by_default=${enabled_by_default}" charon"
  6366. @%:@ Check whether --enable-cmd was given.
  6367. if test "${enable_cmd+set}" = set; then :
  6368. enableval=$enable_cmd; cmd_given=true
  6369. if test x$enableval = xyes; then
  6370. cmd=true
  6371. else
  6372. cmd=false
  6373. fi
  6374. else
  6375. cmd=false
  6376. cmd_given=false
  6377. fi
  6378. disabled_by_default=${disabled_by_default}" cmd"
  6379. @%:@ Check whether --enable-conftest was given.
  6380. if test "${enable_conftest+set}" = set; then :
  6381. enableval=$enable_conftest; conftest_given=true
  6382. if test x$enableval = xyes; then
  6383. conftest=true
  6384. else
  6385. conftest=false
  6386. fi
  6387. else
  6388. conftest=false
  6389. conftest_given=false
  6390. fi
  6391. disabled_by_default=${disabled_by_default}" conftest"
  6392. @%:@ Check whether --enable-fast was given.
  6393. if test "${enable_fast+set}" = set; then :
  6394. enableval=$enable_fast; fast_given=true
  6395. if test x$enableval = xyes; then
  6396. fast=true
  6397. else
  6398. fast=false
  6399. fi
  6400. else
  6401. fast=false
  6402. fast_given=false
  6403. fi
  6404. disabled_by_default=${disabled_by_default}" fast"
  6405. @%:@ Check whether --enable-fuzzing was given.
  6406. if test "${enable_fuzzing+set}" = set; then :
  6407. enableval=$enable_fuzzing; fuzzing_given=true
  6408. if test x$enableval = xyes; then
  6409. fuzzing=true
  6410. else
  6411. fuzzing=false
  6412. fi
  6413. else
  6414. fuzzing=false
  6415. fuzzing_given=false
  6416. fi
  6417. disabled_by_default=${disabled_by_default}" fuzzing"
  6418. @%:@ Check whether --enable-libipsec was given.
  6419. if test "${enable_libipsec+set}" = set; then :
  6420. enableval=$enable_libipsec; libipsec_given=true
  6421. if test x$enableval = xyes; then
  6422. libipsec=true
  6423. else
  6424. libipsec=false
  6425. fi
  6426. else
  6427. libipsec=false
  6428. libipsec_given=false
  6429. fi
  6430. disabled_by_default=${disabled_by_default}" libipsec"
  6431. @%:@ Check whether --enable-manager was given.
  6432. if test "${enable_manager+set}" = set; then :
  6433. enableval=$enable_manager; manager_given=true
  6434. if test x$enableval = xyes; then
  6435. manager=true
  6436. else
  6437. manager=false
  6438. fi
  6439. else
  6440. manager=false
  6441. manager_given=false
  6442. fi
  6443. disabled_by_default=${disabled_by_default}" manager"
  6444. @%:@ Check whether --enable-medcli was given.
  6445. if test "${enable_medcli+set}" = set; then :
  6446. enableval=$enable_medcli; medcli_given=true
  6447. if test x$enableval = xyes; then
  6448. medcli=true
  6449. else
  6450. medcli=false
  6451. fi
  6452. else
  6453. medcli=false
  6454. medcli_given=false
  6455. fi
  6456. disabled_by_default=${disabled_by_default}" medcli"
  6457. @%:@ Check whether --enable-medsrv was given.
  6458. if test "${enable_medsrv+set}" = set; then :
  6459. enableval=$enable_medsrv; medsrv_given=true
  6460. if test x$enableval = xyes; then
  6461. medsrv=true
  6462. else
  6463. medsrv=false
  6464. fi
  6465. else
  6466. medsrv=false
  6467. medsrv_given=false
  6468. fi
  6469. disabled_by_default=${disabled_by_default}" medsrv"
  6470. @%:@ Check whether --enable-nm was given.
  6471. if test "${enable_nm+set}" = set; then :
  6472. enableval=$enable_nm; nm_given=true
  6473. if test x$enableval = xyes; then
  6474. nm=true
  6475. else
  6476. nm=false
  6477. fi
  6478. else
  6479. nm=false
  6480. nm_given=false
  6481. fi
  6482. disabled_by_default=${disabled_by_default}" nm"
  6483. @%:@ Check whether --enable-pki was given.
  6484. if test "${enable_pki+set}" = set; then :
  6485. enableval=$enable_pki; pki_given=true
  6486. if test x$enableval = xyes; then
  6487. pki=true
  6488. else
  6489. pki=false
  6490. fi
  6491. else
  6492. pki=true
  6493. pki_given=false
  6494. fi
  6495. enabled_by_default=${enabled_by_default}" pki"
  6496. @%:@ Check whether --enable-scepclient was given.
  6497. if test "${enable_scepclient+set}" = set; then :
  6498. enableval=$enable_scepclient; scepclient_given=true
  6499. if test x$enableval = xyes; then
  6500. scepclient=true
  6501. else
  6502. scepclient=false
  6503. fi
  6504. else
  6505. scepclient=true
  6506. scepclient_given=false
  6507. fi
  6508. enabled_by_default=${enabled_by_default}" scepclient"
  6509. @%:@ Check whether --enable-scripts was given.
  6510. if test "${enable_scripts+set}" = set; then :
  6511. enableval=$enable_scripts; scripts_given=true
  6512. if test x$enableval = xyes; then
  6513. scripts=true
  6514. else
  6515. scripts=false
  6516. fi
  6517. else
  6518. scripts=true
  6519. scripts_given=false
  6520. fi
  6521. enabled_by_default=${enabled_by_default}" scripts"
  6522. @%:@ Check whether --enable-svc was given.
  6523. if test "${enable_svc+set}" = set; then :
  6524. enableval=$enable_svc; svc_given=true
  6525. if test x$enableval = xyes; then
  6526. svc=true
  6527. else
  6528. svc=false
  6529. fi
  6530. else
  6531. svc=false
  6532. svc_given=false
  6533. fi
  6534. disabled_by_default=${disabled_by_default}" svc"
  6535. @%:@ Check whether --enable-systemd was given.
  6536. if test "${enable_systemd+set}" = set; then :
  6537. enableval=$enable_systemd; systemd_given=true
  6538. if test x$enableval = xyes; then
  6539. systemd=true
  6540. else
  6541. systemd=false
  6542. fi
  6543. else
  6544. systemd=false
  6545. systemd_given=false
  6546. fi
  6547. disabled_by_default=${disabled_by_default}" systemd"
  6548. @%:@ Check whether --enable-swanctl was given.
  6549. if test "${enable_swanctl+set}" = set; then :
  6550. enableval=$enable_swanctl; swanctl_given=true
  6551. if test x$enableval = xyes; then
  6552. swanctl=true
  6553. else
  6554. swanctl=false
  6555. fi
  6556. else
  6557. swanctl=true
  6558. swanctl_given=false
  6559. fi
  6560. enabled_by_default=${enabled_by_default}" swanctl"
  6561. @%:@ Check whether --enable-tkm was given.
  6562. if test "${enable_tkm+set}" = set; then :
  6563. enableval=$enable_tkm; tkm_given=true
  6564. if test x$enableval = xyes; then
  6565. tkm=true
  6566. else
  6567. tkm=false
  6568. fi
  6569. else
  6570. tkm=false
  6571. tkm_given=false
  6572. fi
  6573. disabled_by_default=${disabled_by_default}" tkm"
  6574. # optional features
  6575. @%:@ Check whether --enable-bfd-backtraces was given.
  6576. if test "${enable_bfd_backtraces+set}" = set; then :
  6577. enableval=$enable_bfd_backtraces; bfd_backtraces_given=true
  6578. if test x$enableval = xyes; then
  6579. bfd_backtraces=true
  6580. else
  6581. bfd_backtraces=false
  6582. fi
  6583. else
  6584. bfd_backtraces=false
  6585. bfd_backtraces_given=false
  6586. fi
  6587. disabled_by_default=${disabled_by_default}" bfd_backtraces"
  6588. @%:@ Check whether --enable-dbghelp-backtraces was given.
  6589. if test "${enable_dbghelp_backtraces+set}" = set; then :
  6590. enableval=$enable_dbghelp_backtraces; dbghelp_backtraces_given=true
  6591. if test x$enableval = xyes; then
  6592. dbghelp_backtraces=true
  6593. else
  6594. dbghelp_backtraces=false
  6595. fi
  6596. else
  6597. dbghelp_backtraces=false
  6598. dbghelp_backtraces_given=false
  6599. fi
  6600. disabled_by_default=${disabled_by_default}" dbghelp_backtraces"
  6601. @%:@ Check whether --enable-ikev1 was given.
  6602. if test "${enable_ikev1+set}" = set; then :
  6603. enableval=$enable_ikev1; ikev1_given=true
  6604. if test x$enableval = xyes; then
  6605. ikev1=true
  6606. else
  6607. ikev1=false
  6608. fi
  6609. else
  6610. ikev1=true
  6611. ikev1_given=false
  6612. fi
  6613. enabled_by_default=${enabled_by_default}" ikev1"
  6614. @%:@ Check whether --enable-ikev2 was given.
  6615. if test "${enable_ikev2+set}" = set; then :
  6616. enableval=$enable_ikev2; ikev2_given=true
  6617. if test x$enableval = xyes; then
  6618. ikev2=true
  6619. else
  6620. ikev2=false
  6621. fi
  6622. else
  6623. ikev2=true
  6624. ikev2_given=false
  6625. fi
  6626. enabled_by_default=${enabled_by_default}" ikev2"
  6627. @%:@ Check whether --enable-integrity-test was given.
  6628. if test "${enable_integrity_test+set}" = set; then :
  6629. enableval=$enable_integrity_test; integrity_test_given=true
  6630. if test x$enableval = xyes; then
  6631. integrity_test=true
  6632. else
  6633. integrity_test=false
  6634. fi
  6635. else
  6636. integrity_test=false
  6637. integrity_test_given=false
  6638. fi
  6639. disabled_by_default=${disabled_by_default}" integrity_test"
  6640. @%:@ Check whether --enable-load-warning was given.
  6641. if test "${enable_load_warning+set}" = set; then :
  6642. enableval=$enable_load_warning; load_warning_given=true
  6643. if test x$enableval = xyes; then
  6644. load_warning=true
  6645. else
  6646. load_warning=false
  6647. fi
  6648. else
  6649. load_warning=true
  6650. load_warning_given=false
  6651. fi
  6652. enabled_by_default=${enabled_by_default}" load_warning"
  6653. @%:@ Check whether --enable-mediation was given.
  6654. if test "${enable_mediation+set}" = set; then :
  6655. enableval=$enable_mediation; mediation_given=true
  6656. if test x$enableval = xyes; then
  6657. mediation=true
  6658. else
  6659. mediation=false
  6660. fi
  6661. else
  6662. mediation=false
  6663. mediation_given=false
  6664. fi
  6665. disabled_by_default=${disabled_by_default}" mediation"
  6666. @%:@ Check whether --enable-unwind-backtraces was given.
  6667. if test "${enable_unwind_backtraces+set}" = set; then :
  6668. enableval=$enable_unwind_backtraces; unwind_backtraces_given=true
  6669. if test x$enableval = xyes; then
  6670. unwind_backtraces=true
  6671. else
  6672. unwind_backtraces=false
  6673. fi
  6674. else
  6675. unwind_backtraces=false
  6676. unwind_backtraces_given=false
  6677. fi
  6678. disabled_by_default=${disabled_by_default}" unwind_backtraces"
  6679. @%:@ Check whether --enable-ruby-gems was given.
  6680. if test "${enable_ruby_gems+set}" = set; then :
  6681. enableval=$enable_ruby_gems; ruby_gems_given=true
  6682. if test x$enableval = xyes; then
  6683. ruby_gems=true
  6684. else
  6685. ruby_gems=false
  6686. fi
  6687. else
  6688. ruby_gems=false
  6689. ruby_gems_given=false
  6690. fi
  6691. disabled_by_default=${disabled_by_default}" ruby_gems"
  6692. @%:@ Check whether --enable-ruby-gems-install was given.
  6693. if test "${enable_ruby_gems_install+set}" = set; then :
  6694. enableval=$enable_ruby_gems_install; ruby_gems_install_given=true
  6695. if test x$enableval = xyes; then
  6696. ruby_gems_install=true
  6697. else
  6698. ruby_gems_install=false
  6699. fi
  6700. else
  6701. ruby_gems_install=false
  6702. ruby_gems_install_given=false
  6703. fi
  6704. disabled_by_default=${disabled_by_default}" ruby_gems_install"
  6705. @%:@ Check whether --enable-python-eggs was given.
  6706. if test "${enable_python_eggs+set}" = set; then :
  6707. enableval=$enable_python_eggs; python_eggs_given=true
  6708. if test x$enableval = xyes; then
  6709. python_eggs=true
  6710. else
  6711. python_eggs=false
  6712. fi
  6713. else
  6714. python_eggs=false
  6715. python_eggs_given=false
  6716. fi
  6717. disabled_by_default=${disabled_by_default}" python_eggs"
  6718. @%:@ Check whether --enable-python-eggs-install was given.
  6719. if test "${enable_python_eggs_install+set}" = set; then :
  6720. enableval=$enable_python_eggs_install; python_eggs_install_given=true
  6721. if test x$enableval = xyes; then
  6722. python_eggs_install=true
  6723. else
  6724. python_eggs_install=false
  6725. fi
  6726. else
  6727. python_eggs_install=false
  6728. python_eggs_install_given=false
  6729. fi
  6730. disabled_by_default=${disabled_by_default}" python_eggs_install"
  6731. @%:@ Check whether --enable-perl-cpan was given.
  6732. if test "${enable_perl_cpan+set}" = set; then :
  6733. enableval=$enable_perl_cpan; perl_cpan_given=true
  6734. if test x$enableval = xyes; then
  6735. perl_cpan=true
  6736. else
  6737. perl_cpan=false
  6738. fi
  6739. else
  6740. perl_cpan=false
  6741. perl_cpan_given=false
  6742. fi
  6743. disabled_by_default=${disabled_by_default}" perl_cpan"
  6744. @%:@ Check whether --enable-perl-cpan-install was given.
  6745. if test "${enable_perl_cpan_install+set}" = set; then :
  6746. enableval=$enable_perl_cpan_install; perl_cpan_install_given=true
  6747. if test x$enableval = xyes; then
  6748. perl_cpan_install=true
  6749. else
  6750. perl_cpan_install=false
  6751. fi
  6752. else
  6753. perl_cpan_install=false
  6754. perl_cpan_install_given=false
  6755. fi
  6756. disabled_by_default=${disabled_by_default}" perl_cpan_install"
  6757. @%:@ Check whether --enable-tss-trousers was given.
  6758. if test "${enable_tss_trousers+set}" = set; then :
  6759. enableval=$enable_tss_trousers; tss_trousers_given=true
  6760. if test x$enableval = xyes; then
  6761. tss_trousers=true
  6762. else
  6763. tss_trousers=false
  6764. fi
  6765. else
  6766. tss_trousers=false
  6767. tss_trousers_given=false
  6768. fi
  6769. disabled_by_default=${disabled_by_default}" tss_trousers"
  6770. @%:@ Check whether --enable-tss-tss2 was given.
  6771. if test "${enable_tss_tss2+set}" = set; then :
  6772. enableval=$enable_tss_tss2; tss_tss2_given=true
  6773. if test x$enableval = xyes; then
  6774. tss_tss2=true
  6775. else
  6776. tss_tss2=false
  6777. fi
  6778. else
  6779. tss_tss2=false
  6780. tss_tss2_given=false
  6781. fi
  6782. disabled_by_default=${disabled_by_default}" tss_tss2"
  6783. # compile options
  6784. @%:@ Check whether --enable-coverage was given.
  6785. if test "${enable_coverage+set}" = set; then :
  6786. enableval=$enable_coverage; coverage_given=true
  6787. if test x$enableval = xyes; then
  6788. coverage=true
  6789. else
  6790. coverage=false
  6791. fi
  6792. else
  6793. coverage=false
  6794. coverage_given=false
  6795. fi
  6796. disabled_by_default=${disabled_by_default}" coverage"
  6797. @%:@ Check whether --enable-leak-detective was given.
  6798. if test "${enable_leak_detective+set}" = set; then :
  6799. enableval=$enable_leak_detective; leak_detective_given=true
  6800. if test x$enableval = xyes; then
  6801. leak_detective=true
  6802. else
  6803. leak_detective=false
  6804. fi
  6805. else
  6806. leak_detective=false
  6807. leak_detective_given=false
  6808. fi
  6809. disabled_by_default=${disabled_by_default}" leak_detective"
  6810. @%:@ Check whether --enable-lock-profiler was given.
  6811. if test "${enable_lock_profiler+set}" = set; then :
  6812. enableval=$enable_lock_profiler; lock_profiler_given=true
  6813. if test x$enableval = xyes; then
  6814. lock_profiler=true
  6815. else
  6816. lock_profiler=false
  6817. fi
  6818. else
  6819. lock_profiler=false
  6820. lock_profiler_given=false
  6821. fi
  6822. disabled_by_default=${disabled_by_default}" lock_profiler"
  6823. @%:@ Check whether --enable-log-thread-ids was given.
  6824. if test "${enable_log_thread_ids+set}" = set; then :
  6825. enableval=$enable_log_thread_ids; log_thread_ids_given=true
  6826. if test x$enableval = xyes; then
  6827. log_thread_ids=true
  6828. else
  6829. log_thread_ids=false
  6830. fi
  6831. else
  6832. log_thread_ids=false
  6833. log_thread_ids_given=false
  6834. fi
  6835. disabled_by_default=${disabled_by_default}" log_thread_ids"
  6836. @%:@ Check whether --enable-monolithic was given.
  6837. if test "${enable_monolithic+set}" = set; then :
  6838. enableval=$enable_monolithic; monolithic_given=true
  6839. if test x$enableval = xyes; then
  6840. monolithic=true
  6841. else
  6842. monolithic=false
  6843. fi
  6844. else
  6845. monolithic=false
  6846. monolithic_given=false
  6847. fi
  6848. disabled_by_default=${disabled_by_default}" monolithic"
  6849. # ===================================
  6850. # option to disable default options
  6851. # ===================================
  6852. @%:@ Check whether --enable-defaults was given.
  6853. if test "${enable_defaults+set}" = set; then :
  6854. enableval=$enable_defaults; defaults_given=true
  6855. if test x$enableval = xyes; then
  6856. defaults=true
  6857. else
  6858. defaults=false
  6859. fi
  6860. else
  6861. defaults=true
  6862. defaults_given=false
  6863. fi
  6864. enabled_by_default=${enabled_by_default}" defaults"
  6865. if test x$defaults = xfalse; then
  6866. for option in $enabled_by_default; do
  6867. eval test x\${${option}_given} = xtrue && continue
  6868. eval $option=false
  6869. done
  6870. fi
  6871. # ==============================
  6872. # option to enable all options
  6873. # ==============================
  6874. @%:@ Check whether --enable-all was given.
  6875. if test "${enable_all+set}" = set; then :
  6876. enableval=$enable_all; all_given=true
  6877. if test x$enableval = xyes; then
  6878. all=true
  6879. else
  6880. all=false
  6881. fi
  6882. else
  6883. all=false
  6884. all_given=false
  6885. fi
  6886. disabled_by_default=${disabled_by_default}" all"
  6887. if test x$all_given = xtrue; then
  6888. for option in $disabled_by_default; do
  6889. eval test x\${${option}_given} = xtrue && continue
  6890. eval $option=true
  6891. done
  6892. fi
  6893. # ===========================
  6894. # set up compiler and flags
  6895. # ===========================
  6896. if test -z "$CFLAGS"; then
  6897. CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign"
  6898. fi
  6899. ac_ext=c
  6900. ac_cpp='$CPP $CPPFLAGS'
  6901. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6902. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6903. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6904. if test -n "$ac_tool_prefix"; then
  6905. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  6906. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  6907. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6908. $as_echo_n "checking for $ac_word... " >&6; }
  6909. if ${ac_cv_prog_CC+:} false; then :
  6910. $as_echo_n "(cached) " >&6
  6911. else
  6912. if test -n "$CC"; then
  6913. ac_cv_prog_CC="$CC" # Let the user override the test.
  6914. else
  6915. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6916. for as_dir in $PATH
  6917. do
  6918. IFS=$as_save_IFS
  6919. test -z "$as_dir" && as_dir=.
  6920. for ac_exec_ext in '' $ac_executable_extensions; do
  6921. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6922. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  6923. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6924. break 2
  6925. fi
  6926. done
  6927. done
  6928. IFS=$as_save_IFS
  6929. fi
  6930. fi
  6931. CC=$ac_cv_prog_CC
  6932. if test -n "$CC"; then
  6933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  6934. $as_echo "$CC" >&6; }
  6935. else
  6936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6937. $as_echo "no" >&6; }
  6938. fi
  6939. fi
  6940. if test -z "$ac_cv_prog_CC"; then
  6941. ac_ct_CC=$CC
  6942. # Extract the first word of "gcc", so it can be a program name with args.
  6943. set dummy gcc; ac_word=$2
  6944. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6945. $as_echo_n "checking for $ac_word... " >&6; }
  6946. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  6947. $as_echo_n "(cached) " >&6
  6948. else
  6949. if test -n "$ac_ct_CC"; then
  6950. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  6951. else
  6952. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6953. for as_dir in $PATH
  6954. do
  6955. IFS=$as_save_IFS
  6956. test -z "$as_dir" && as_dir=.
  6957. for ac_exec_ext in '' $ac_executable_extensions; do
  6958. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6959. ac_cv_prog_ac_ct_CC="gcc"
  6960. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6961. break 2
  6962. fi
  6963. done
  6964. done
  6965. IFS=$as_save_IFS
  6966. fi
  6967. fi
  6968. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  6969. if test -n "$ac_ct_CC"; then
  6970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  6971. $as_echo "$ac_ct_CC" >&6; }
  6972. else
  6973. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6974. $as_echo "no" >&6; }
  6975. fi
  6976. if test "x$ac_ct_CC" = x; then
  6977. CC=""
  6978. else
  6979. case $cross_compiling:$ac_tool_warned in
  6980. yes:)
  6981. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6982. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6983. ac_tool_warned=yes ;;
  6984. esac
  6985. CC=$ac_ct_CC
  6986. fi
  6987. else
  6988. CC="$ac_cv_prog_CC"
  6989. fi
  6990. if test -z "$CC"; then
  6991. if test -n "$ac_tool_prefix"; then
  6992. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  6993. set dummy ${ac_tool_prefix}cc; ac_word=$2
  6994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6995. $as_echo_n "checking for $ac_word... " >&6; }
  6996. if ${ac_cv_prog_CC+:} false; then :
  6997. $as_echo_n "(cached) " >&6
  6998. else
  6999. if test -n "$CC"; then
  7000. ac_cv_prog_CC="$CC" # Let the user override the test.
  7001. else
  7002. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7003. for as_dir in $PATH
  7004. do
  7005. IFS=$as_save_IFS
  7006. test -z "$as_dir" && as_dir=.
  7007. for ac_exec_ext in '' $ac_executable_extensions; do
  7008. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7009. ac_cv_prog_CC="${ac_tool_prefix}cc"
  7010. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7011. break 2
  7012. fi
  7013. done
  7014. done
  7015. IFS=$as_save_IFS
  7016. fi
  7017. fi
  7018. CC=$ac_cv_prog_CC
  7019. if test -n "$CC"; then
  7020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7021. $as_echo "$CC" >&6; }
  7022. else
  7023. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7024. $as_echo "no" >&6; }
  7025. fi
  7026. fi
  7027. fi
  7028. if test -z "$CC"; then
  7029. # Extract the first word of "cc", so it can be a program name with args.
  7030. set dummy cc; ac_word=$2
  7031. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7032. $as_echo_n "checking for $ac_word... " >&6; }
  7033. if ${ac_cv_prog_CC+:} false; then :
  7034. $as_echo_n "(cached) " >&6
  7035. else
  7036. if test -n "$CC"; then
  7037. ac_cv_prog_CC="$CC" # Let the user override the test.
  7038. else
  7039. ac_prog_rejected=no
  7040. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7041. for as_dir in $PATH
  7042. do
  7043. IFS=$as_save_IFS
  7044. test -z "$as_dir" && as_dir=.
  7045. for ac_exec_ext in '' $ac_executable_extensions; do
  7046. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7047. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  7048. ac_prog_rejected=yes
  7049. continue
  7050. fi
  7051. ac_cv_prog_CC="cc"
  7052. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7053. break 2
  7054. fi
  7055. done
  7056. done
  7057. IFS=$as_save_IFS
  7058. if test $ac_prog_rejected = yes; then
  7059. # We found a bogon in the path, so make sure we never use it.
  7060. set dummy $ac_cv_prog_CC
  7061. shift
  7062. if test $@%:@ != 0; then
  7063. # We chose a different compiler from the bogus one.
  7064. # However, it has the same basename, so the bogon will be chosen
  7065. # first if we set CC to just the basename; use the full file name.
  7066. shift
  7067. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  7068. fi
  7069. fi
  7070. fi
  7071. fi
  7072. CC=$ac_cv_prog_CC
  7073. if test -n "$CC"; then
  7074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7075. $as_echo "$CC" >&6; }
  7076. else
  7077. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7078. $as_echo "no" >&6; }
  7079. fi
  7080. fi
  7081. if test -z "$CC"; then
  7082. if test -n "$ac_tool_prefix"; then
  7083. for ac_prog in cl.exe
  7084. do
  7085. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7086. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7088. $as_echo_n "checking for $ac_word... " >&6; }
  7089. if ${ac_cv_prog_CC+:} false; then :
  7090. $as_echo_n "(cached) " >&6
  7091. else
  7092. if test -n "$CC"; then
  7093. ac_cv_prog_CC="$CC" # Let the user override the test.
  7094. else
  7095. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7096. for as_dir in $PATH
  7097. do
  7098. IFS=$as_save_IFS
  7099. test -z "$as_dir" && as_dir=.
  7100. for ac_exec_ext in '' $ac_executable_extensions; do
  7101. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7102. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  7103. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7104. break 2
  7105. fi
  7106. done
  7107. done
  7108. IFS=$as_save_IFS
  7109. fi
  7110. fi
  7111. CC=$ac_cv_prog_CC
  7112. if test -n "$CC"; then
  7113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  7114. $as_echo "$CC" >&6; }
  7115. else
  7116. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7117. $as_echo "no" >&6; }
  7118. fi
  7119. test -n "$CC" && break
  7120. done
  7121. fi
  7122. if test -z "$CC"; then
  7123. ac_ct_CC=$CC
  7124. for ac_prog in cl.exe
  7125. do
  7126. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7127. set dummy $ac_prog; ac_word=$2
  7128. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7129. $as_echo_n "checking for $ac_word... " >&6; }
  7130. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  7131. $as_echo_n "(cached) " >&6
  7132. else
  7133. if test -n "$ac_ct_CC"; then
  7134. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  7135. else
  7136. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7137. for as_dir in $PATH
  7138. do
  7139. IFS=$as_save_IFS
  7140. test -z "$as_dir" && as_dir=.
  7141. for ac_exec_ext in '' $ac_executable_extensions; do
  7142. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7143. ac_cv_prog_ac_ct_CC="$ac_prog"
  7144. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7145. break 2
  7146. fi
  7147. done
  7148. done
  7149. IFS=$as_save_IFS
  7150. fi
  7151. fi
  7152. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  7153. if test -n "$ac_ct_CC"; then
  7154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  7155. $as_echo "$ac_ct_CC" >&6; }
  7156. else
  7157. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7158. $as_echo "no" >&6; }
  7159. fi
  7160. test -n "$ac_ct_CC" && break
  7161. done
  7162. if test "x$ac_ct_CC" = x; then
  7163. CC=""
  7164. else
  7165. case $cross_compiling:$ac_tool_warned in
  7166. yes:)
  7167. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7168. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7169. ac_tool_warned=yes ;;
  7170. esac
  7171. CC=$ac_ct_CC
  7172. fi
  7173. fi
  7174. fi
  7175. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7176. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7177. as_fn_error $? "no acceptable C compiler found in \$PATH
  7178. See \`config.log' for more details" "$LINENO" 5; }
  7179. # Provide some information about the compiler.
  7180. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  7181. set X $ac_compile
  7182. ac_compiler=$2
  7183. for ac_option in --version -v -V -qversion; do
  7184. { { ac_try="$ac_compiler $ac_option >&5"
  7185. case "(($ac_try" in
  7186. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7187. *) ac_try_echo=$ac_try;;
  7188. esac
  7189. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7190. $as_echo "$ac_try_echo"; } >&5
  7191. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7192. ac_status=$?
  7193. if test -s conftest.err; then
  7194. sed '10a\
  7195. ... rest of stderr output deleted ...
  7196. 10q' conftest.err >conftest.er1
  7197. cat conftest.er1 >&5
  7198. fi
  7199. rm -f conftest.er1 conftest.err
  7200. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7201. test $ac_status = 0; }
  7202. done
  7203. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7204. /* end confdefs.h. */
  7205. int
  7206. main ()
  7207. {
  7208. ;
  7209. return 0;
  7210. }
  7211. _ACEOF
  7212. ac_clean_files_save=$ac_clean_files
  7213. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  7214. # Try to create an executable without -o first, disregard a.out.
  7215. # It will help us diagnose broken compilers, and finding out an intuition
  7216. # of exeext.
  7217. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  7218. $as_echo_n "checking whether the C compiler works... " >&6; }
  7219. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  7220. # The possible output files:
  7221. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  7222. ac_rmfiles=
  7223. for ac_file in $ac_files
  7224. do
  7225. case $ac_file in
  7226. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  7227. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  7228. esac
  7229. done
  7230. rm -f $ac_rmfiles
  7231. if { { ac_try="$ac_link_default"
  7232. case "(($ac_try" in
  7233. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7234. *) ac_try_echo=$ac_try;;
  7235. esac
  7236. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7237. $as_echo "$ac_try_echo"; } >&5
  7238. (eval "$ac_link_default") 2>&5
  7239. ac_status=$?
  7240. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7241. test $ac_status = 0; }; then :
  7242. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  7243. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  7244. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  7245. # so that the user can short-circuit this test for compilers unknown to
  7246. # Autoconf.
  7247. for ac_file in $ac_files ''
  7248. do
  7249. test -f "$ac_file" || continue
  7250. case $ac_file in
  7251. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  7252. ;;
  7253. [ab].out )
  7254. # We found the default executable, but exeext='' is most
  7255. # certainly right.
  7256. break;;
  7257. *.* )
  7258. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  7259. then :; else
  7260. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  7261. fi
  7262. # We set ac_cv_exeext here because the later test for it is not
  7263. # safe: cross compilers may not add the suffix if given an `-o'
  7264. # argument, so we may need to know it at that point already.
  7265. # Even if this section looks crufty: it has the advantage of
  7266. # actually working.
  7267. break;;
  7268. * )
  7269. break;;
  7270. esac
  7271. done
  7272. test "$ac_cv_exeext" = no && ac_cv_exeext=
  7273. else
  7274. ac_file=''
  7275. fi
  7276. if test -z "$ac_file"; then :
  7277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7278. $as_echo "no" >&6; }
  7279. $as_echo "$as_me: failed program was:" >&5
  7280. sed 's/^/| /' conftest.$ac_ext >&5
  7281. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7282. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7283. as_fn_error 77 "C compiler cannot create executables
  7284. See \`config.log' for more details" "$LINENO" 5; }
  7285. else
  7286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7287. $as_echo "yes" >&6; }
  7288. fi
  7289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  7290. $as_echo_n "checking for C compiler default output file name... " >&6; }
  7291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  7292. $as_echo "$ac_file" >&6; }
  7293. ac_exeext=$ac_cv_exeext
  7294. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  7295. ac_clean_files=$ac_clean_files_save
  7296. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  7297. $as_echo_n "checking for suffix of executables... " >&6; }
  7298. if { { ac_try="$ac_link"
  7299. case "(($ac_try" in
  7300. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7301. *) ac_try_echo=$ac_try;;
  7302. esac
  7303. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7304. $as_echo "$ac_try_echo"; } >&5
  7305. (eval "$ac_link") 2>&5
  7306. ac_status=$?
  7307. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7308. test $ac_status = 0; }; then :
  7309. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  7310. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  7311. # work properly (i.e., refer to `conftest.exe'), while it won't with
  7312. # `rm'.
  7313. for ac_file in conftest.exe conftest conftest.*; do
  7314. test -f "$ac_file" || continue
  7315. case $ac_file in
  7316. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  7317. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  7318. break;;
  7319. * ) break;;
  7320. esac
  7321. done
  7322. else
  7323. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7324. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7325. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  7326. See \`config.log' for more details" "$LINENO" 5; }
  7327. fi
  7328. rm -f conftest conftest$ac_cv_exeext
  7329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  7330. $as_echo "$ac_cv_exeext" >&6; }
  7331. rm -f conftest.$ac_ext
  7332. EXEEXT=$ac_cv_exeext
  7333. ac_exeext=$EXEEXT
  7334. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7335. /* end confdefs.h. */
  7336. @%:@include <stdio.h>
  7337. int
  7338. main ()
  7339. {
  7340. FILE *f = fopen ("conftest.out", "w");
  7341. return ferror (f) || fclose (f) != 0;
  7342. ;
  7343. return 0;
  7344. }
  7345. _ACEOF
  7346. ac_clean_files="$ac_clean_files conftest.out"
  7347. # Check that the compiler produces executables we can run. If not, either
  7348. # the compiler is broken, or we cross compile.
  7349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  7350. $as_echo_n "checking whether we are cross compiling... " >&6; }
  7351. if test "$cross_compiling" != yes; then
  7352. { { ac_try="$ac_link"
  7353. case "(($ac_try" in
  7354. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7355. *) ac_try_echo=$ac_try;;
  7356. esac
  7357. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7358. $as_echo "$ac_try_echo"; } >&5
  7359. (eval "$ac_link") 2>&5
  7360. ac_status=$?
  7361. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7362. test $ac_status = 0; }
  7363. if { ac_try='./conftest$ac_cv_exeext'
  7364. { { case "(($ac_try" in
  7365. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7366. *) ac_try_echo=$ac_try;;
  7367. esac
  7368. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7369. $as_echo "$ac_try_echo"; } >&5
  7370. (eval "$ac_try") 2>&5
  7371. ac_status=$?
  7372. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7373. test $ac_status = 0; }; }; then
  7374. cross_compiling=no
  7375. else
  7376. if test "$cross_compiling" = maybe; then
  7377. cross_compiling=yes
  7378. else
  7379. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7380. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7381. as_fn_error $? "cannot run C compiled programs.
  7382. If you meant to cross compile, use \`--host'.
  7383. See \`config.log' for more details" "$LINENO" 5; }
  7384. fi
  7385. fi
  7386. fi
  7387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  7388. $as_echo "$cross_compiling" >&6; }
  7389. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  7390. ac_clean_files=$ac_clean_files_save
  7391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  7392. $as_echo_n "checking for suffix of object files... " >&6; }
  7393. if ${ac_cv_objext+:} false; then :
  7394. $as_echo_n "(cached) " >&6
  7395. else
  7396. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7397. /* end confdefs.h. */
  7398. int
  7399. main ()
  7400. {
  7401. ;
  7402. return 0;
  7403. }
  7404. _ACEOF
  7405. rm -f conftest.o conftest.obj
  7406. if { { ac_try="$ac_compile"
  7407. case "(($ac_try" in
  7408. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7409. *) ac_try_echo=$ac_try;;
  7410. esac
  7411. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7412. $as_echo "$ac_try_echo"; } >&5
  7413. (eval "$ac_compile") 2>&5
  7414. ac_status=$?
  7415. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7416. test $ac_status = 0; }; then :
  7417. for ac_file in conftest.o conftest.obj conftest.*; do
  7418. test -f "$ac_file" || continue;
  7419. case $ac_file in
  7420. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  7421. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  7422. break;;
  7423. esac
  7424. done
  7425. else
  7426. $as_echo "$as_me: failed program was:" >&5
  7427. sed 's/^/| /' conftest.$ac_ext >&5
  7428. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7429. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7430. as_fn_error $? "cannot compute suffix of object files: cannot compile
  7431. See \`config.log' for more details" "$LINENO" 5; }
  7432. fi
  7433. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  7434. fi
  7435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  7436. $as_echo "$ac_cv_objext" >&6; }
  7437. OBJEXT=$ac_cv_objext
  7438. ac_objext=$OBJEXT
  7439. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  7440. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  7441. if ${ac_cv_c_compiler_gnu+:} false; then :
  7442. $as_echo_n "(cached) " >&6
  7443. else
  7444. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7445. /* end confdefs.h. */
  7446. int
  7447. main ()
  7448. {
  7449. #ifndef __GNUC__
  7450. choke me
  7451. #endif
  7452. ;
  7453. return 0;
  7454. }
  7455. _ACEOF
  7456. if ac_fn_c_try_compile "$LINENO"; then :
  7457. ac_compiler_gnu=yes
  7458. else
  7459. ac_compiler_gnu=no
  7460. fi
  7461. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7462. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  7463. fi
  7464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  7465. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  7466. if test $ac_compiler_gnu = yes; then
  7467. GCC=yes
  7468. else
  7469. GCC=
  7470. fi
  7471. ac_test_CFLAGS=${CFLAGS+set}
  7472. ac_save_CFLAGS=$CFLAGS
  7473. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  7474. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  7475. if ${ac_cv_prog_cc_g+:} false; then :
  7476. $as_echo_n "(cached) " >&6
  7477. else
  7478. ac_save_c_werror_flag=$ac_c_werror_flag
  7479. ac_c_werror_flag=yes
  7480. ac_cv_prog_cc_g=no
  7481. CFLAGS="-g"
  7482. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7483. /* end confdefs.h. */
  7484. int
  7485. main ()
  7486. {
  7487. ;
  7488. return 0;
  7489. }
  7490. _ACEOF
  7491. if ac_fn_c_try_compile "$LINENO"; then :
  7492. ac_cv_prog_cc_g=yes
  7493. else
  7494. CFLAGS=""
  7495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7496. /* end confdefs.h. */
  7497. int
  7498. main ()
  7499. {
  7500. ;
  7501. return 0;
  7502. }
  7503. _ACEOF
  7504. if ac_fn_c_try_compile "$LINENO"; then :
  7505. else
  7506. ac_c_werror_flag=$ac_save_c_werror_flag
  7507. CFLAGS="-g"
  7508. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7509. /* end confdefs.h. */
  7510. int
  7511. main ()
  7512. {
  7513. ;
  7514. return 0;
  7515. }
  7516. _ACEOF
  7517. if ac_fn_c_try_compile "$LINENO"; then :
  7518. ac_cv_prog_cc_g=yes
  7519. fi
  7520. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7521. fi
  7522. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7523. fi
  7524. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7525. ac_c_werror_flag=$ac_save_c_werror_flag
  7526. fi
  7527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  7528. $as_echo "$ac_cv_prog_cc_g" >&6; }
  7529. if test "$ac_test_CFLAGS" = set; then
  7530. CFLAGS=$ac_save_CFLAGS
  7531. elif test $ac_cv_prog_cc_g = yes; then
  7532. if test "$GCC" = yes; then
  7533. CFLAGS="-g -O2"
  7534. else
  7535. CFLAGS="-g"
  7536. fi
  7537. else
  7538. if test "$GCC" = yes; then
  7539. CFLAGS="-O2"
  7540. else
  7541. CFLAGS=
  7542. fi
  7543. fi
  7544. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  7545. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  7546. if ${ac_cv_prog_cc_c89+:} false; then :
  7547. $as_echo_n "(cached) " >&6
  7548. else
  7549. ac_cv_prog_cc_c89=no
  7550. ac_save_CC=$CC
  7551. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7552. /* end confdefs.h. */
  7553. #include <stdarg.h>
  7554. #include <stdio.h>
  7555. struct stat;
  7556. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  7557. struct buf { int x; };
  7558. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  7559. static char *e (p, i)
  7560. char **p;
  7561. int i;
  7562. {
  7563. return p[i];
  7564. }
  7565. static char *f (char * (*g) (char **, int), char **p, ...)
  7566. {
  7567. char *s;
  7568. va_list v;
  7569. va_start (v,p);
  7570. s = g (p, va_arg (v,int));
  7571. va_end (v);
  7572. return s;
  7573. }
  7574. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  7575. function prototypes and stuff, but not '\xHH' hex character constants.
  7576. These don't provoke an error unfortunately, instead are silently treated
  7577. as 'x'. The following induces an error, until -std is added to get
  7578. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  7579. array size at least. It's necessary to write '\x00'==0 to get something
  7580. that's true only with -std. */
  7581. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  7582. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  7583. inside strings and character constants. */
  7584. #define FOO(x) 'x'
  7585. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  7586. int test (int i, double x);
  7587. struct s1 {int (*f) (int a);};
  7588. struct s2 {int (*f) (double a);};
  7589. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  7590. int argc;
  7591. char **argv;
  7592. int
  7593. main ()
  7594. {
  7595. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  7596. ;
  7597. return 0;
  7598. }
  7599. _ACEOF
  7600. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  7601. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  7602. do
  7603. CC="$ac_save_CC $ac_arg"
  7604. if ac_fn_c_try_compile "$LINENO"; then :
  7605. ac_cv_prog_cc_c89=$ac_arg
  7606. fi
  7607. rm -f core conftest.err conftest.$ac_objext
  7608. test "x$ac_cv_prog_cc_c89" != "xno" && break
  7609. done
  7610. rm -f conftest.$ac_ext
  7611. CC=$ac_save_CC
  7612. fi
  7613. # AC_CACHE_VAL
  7614. case "x$ac_cv_prog_cc_c89" in
  7615. x)
  7616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  7617. $as_echo "none needed" >&6; } ;;
  7618. xno)
  7619. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  7620. $as_echo "unsupported" >&6; } ;;
  7621. *)
  7622. CC="$CC $ac_cv_prog_cc_c89"
  7623. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  7624. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  7625. esac
  7626. if test "x$ac_cv_prog_cc_c89" != xno; then :
  7627. fi
  7628. ac_ext=c
  7629. ac_cpp='$CPP $CPPFLAGS'
  7630. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7631. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7632. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7633. ac_ext=c
  7634. ac_cpp='$CPP $CPPFLAGS'
  7635. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7636. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7637. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  7639. $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  7640. if ${am_cv_prog_cc_c_o+:} false; then :
  7641. $as_echo_n "(cached) " >&6
  7642. else
  7643. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7644. /* end confdefs.h. */
  7645. int
  7646. main ()
  7647. {
  7648. ;
  7649. return 0;
  7650. }
  7651. _ACEOF
  7652. # Make sure it works both with $CC and with simple cc.
  7653. # Following AC_PROG_CC_C_O, we do the test twice because some
  7654. # compilers refuse to overwrite an existing .o file with -o,
  7655. # though they will create one.
  7656. am_cv_prog_cc_c_o=yes
  7657. for am_i in 1 2; do
  7658. if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  7659. ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  7660. ac_status=$?
  7661. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7662. (exit $ac_status); } \
  7663. && test -f conftest2.$ac_objext; then
  7664. : OK
  7665. else
  7666. am_cv_prog_cc_c_o=no
  7667. break
  7668. fi
  7669. done
  7670. rm -f core conftest*
  7671. unset am_i
  7672. fi
  7673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  7674. $as_echo "$am_cv_prog_cc_c_o" >&6; }
  7675. if test "$am_cv_prog_cc_c_o" != yes; then
  7676. # Losing compiler, so override with the script.
  7677. # FIXME: It is wrong to rewrite CC.
  7678. # But if we don't then we get into trouble of one sort or another.
  7679. # A longer-term fix would be to have automake use am__CC in this case,
  7680. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  7681. CC="$am_aux_dir/compile $CC"
  7682. fi
  7683. ac_ext=c
  7684. ac_cpp='$CPP $CPPFLAGS'
  7685. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7686. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7687. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7688. DEPDIR="${am__leading_dot}deps"
  7689. ac_config_commands="$ac_config_commands depfiles"
  7690. am_make=${MAKE-make}
  7691. cat > confinc << 'END'
  7692. am__doit:
  7693. @echo this is the am__doit target
  7694. .PHONY: am__doit
  7695. END
  7696. # If we don't find an include directive, just comment out the code.
  7697. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  7698. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  7699. am__include="#"
  7700. am__quote=
  7701. _am_result=none
  7702. # First try GNU make style include.
  7703. echo "include confinc" > confmf
  7704. # Ignore all kinds of additional output from 'make'.
  7705. case `$am_make -s -f confmf 2> /dev/null` in #(
  7706. *the\ am__doit\ target*)
  7707. am__include=include
  7708. am__quote=
  7709. _am_result=GNU
  7710. ;;
  7711. esac
  7712. # Now try BSD make style include.
  7713. if test "$am__include" = "#"; then
  7714. echo '.include "confinc"' > confmf
  7715. case `$am_make -s -f confmf 2> /dev/null` in #(
  7716. *the\ am__doit\ target*)
  7717. am__include=.include
  7718. am__quote="\""
  7719. _am_result=BSD
  7720. ;;
  7721. esac
  7722. fi
  7723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  7724. $as_echo "$_am_result" >&6; }
  7725. rm -f confinc confmf
  7726. @%:@ Check whether --enable-dependency-tracking was given.
  7727. if test "${enable_dependency_tracking+set}" = set; then :
  7728. enableval=$enable_dependency_tracking;
  7729. fi
  7730. if test "x$enable_dependency_tracking" != xno; then
  7731. am_depcomp="$ac_aux_dir/depcomp"
  7732. AMDEPBACKSLASH='\'
  7733. am__nodep='_no'
  7734. fi
  7735. if test "x$enable_dependency_tracking" != xno; then
  7736. AMDEP_TRUE=
  7737. AMDEP_FALSE='#'
  7738. else
  7739. AMDEP_TRUE='#'
  7740. AMDEP_FALSE=
  7741. fi
  7742. depcc="$CC" am_compiler_list=
  7743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  7744. $as_echo_n "checking dependency style of $depcc... " >&6; }
  7745. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  7746. $as_echo_n "(cached) " >&6
  7747. else
  7748. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  7749. # We make a subdir and do the tests there. Otherwise we can end up
  7750. # making bogus files that we don't know about and never remove. For
  7751. # instance it was reported that on HP-UX the gcc test will end up
  7752. # making a dummy file named 'D' -- because '-MD' means "put the output
  7753. # in D".
  7754. rm -rf conftest.dir
  7755. mkdir conftest.dir
  7756. # Copy depcomp to subdir because otherwise we won't find it if we're
  7757. # using a relative directory.
  7758. cp "$am_depcomp" conftest.dir
  7759. cd conftest.dir
  7760. # We will build objects and dependencies in a subdirectory because
  7761. # it helps to detect inapplicable dependency modes. For instance
  7762. # both Tru64's cc and ICC support -MD to output dependencies as a
  7763. # side effect of compilation, but ICC will put the dependencies in
  7764. # the current directory while Tru64 will put them in the object
  7765. # directory.
  7766. mkdir sub
  7767. am_cv_CC_dependencies_compiler_type=none
  7768. if test "$am_compiler_list" = ""; then
  7769. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  7770. fi
  7771. am__universal=false
  7772. case " $depcc " in #(
  7773. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  7774. esac
  7775. for depmode in $am_compiler_list; do
  7776. # Setup a source with many dependencies, because some compilers
  7777. # like to wrap large dependency lists on column 80 (with \), and
  7778. # we should not choose a depcomp mode which is confused by this.
  7779. #
  7780. # We need to recreate these files for each test, as the compiler may
  7781. # overwrite some of them when testing with obscure command lines.
  7782. # This happens at least with the AIX C compiler.
  7783. : > sub/conftest.c
  7784. for i in 1 2 3 4 5 6; do
  7785. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  7786. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  7787. # Solaris 10 /bin/sh.
  7788. echo '/* dummy */' > sub/conftst$i.h
  7789. done
  7790. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  7791. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  7792. # mode. It turns out that the SunPro C++ compiler does not properly
  7793. # handle '-M -o', and we need to detect this. Also, some Intel
  7794. # versions had trouble with output in subdirs.
  7795. am__obj=sub/conftest.${OBJEXT-o}
  7796. am__minus_obj="-o $am__obj"
  7797. case $depmode in
  7798. gcc)
  7799. # This depmode causes a compiler race in universal mode.
  7800. test "$am__universal" = false || continue
  7801. ;;
  7802. nosideeffect)
  7803. # After this tag, mechanisms are not by side-effect, so they'll
  7804. # only be used when explicitly requested.
  7805. if test "x$enable_dependency_tracking" = xyes; then
  7806. continue
  7807. else
  7808. break
  7809. fi
  7810. ;;
  7811. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  7812. # This compiler won't grok '-c -o', but also, the minuso test has
  7813. # not run yet. These depmodes are late enough in the game, and
  7814. # so weak that their functioning should not be impacted.
  7815. am__obj=conftest.${OBJEXT-o}
  7816. am__minus_obj=
  7817. ;;
  7818. none) break ;;
  7819. esac
  7820. if depmode=$depmode \
  7821. source=sub/conftest.c object=$am__obj \
  7822. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  7823. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  7824. >/dev/null 2>conftest.err &&
  7825. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  7826. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  7827. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  7828. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  7829. # icc doesn't choke on unknown options, it will just issue warnings
  7830. # or remarks (even with -Werror). So we grep stderr for any message
  7831. # that says an option was ignored or not supported.
  7832. # When given -MP, icc 7.0 and 7.1 complain thusly:
  7833. # icc: Command line warning: ignoring option '-M'; no argument required
  7834. # The diagnosis changed in icc 8.0:
  7835. # icc: Command line remark: option '-MP' not supported
  7836. if (grep 'ignoring option' conftest.err ||
  7837. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  7838. am_cv_CC_dependencies_compiler_type=$depmode
  7839. break
  7840. fi
  7841. fi
  7842. done
  7843. cd ..
  7844. rm -rf conftest.dir
  7845. else
  7846. am_cv_CC_dependencies_compiler_type=none
  7847. fi
  7848. fi
  7849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  7850. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  7851. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  7852. if
  7853. test "x$enable_dependency_tracking" != xno \
  7854. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  7855. am__fastdepCC_TRUE=
  7856. am__fastdepCC_FALSE='#'
  7857. else
  7858. am__fastdepCC_TRUE='#'
  7859. am__fastdepCC_FALSE=
  7860. fi
  7861. # Make sure we can run config.sub.
  7862. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  7863. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  7864. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  7865. $as_echo_n "checking build system type... " >&6; }
  7866. if ${ac_cv_build+:} false; then :
  7867. $as_echo_n "(cached) " >&6
  7868. else
  7869. ac_build_alias=$build_alias
  7870. test "x$ac_build_alias" = x &&
  7871. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  7872. test "x$ac_build_alias" = x &&
  7873. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  7874. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  7875. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  7876. fi
  7877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  7878. $as_echo "$ac_cv_build" >&6; }
  7879. case $ac_cv_build in
  7880. *-*-*) ;;
  7881. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  7882. esac
  7883. build=$ac_cv_build
  7884. ac_save_IFS=$IFS; IFS='-'
  7885. set x $ac_cv_build
  7886. shift
  7887. build_cpu=$1
  7888. build_vendor=$2
  7889. shift; shift
  7890. # Remember, the first character of IFS is used to create $*,
  7891. # except with old shells:
  7892. build_os=$*
  7893. IFS=$ac_save_IFS
  7894. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  7895. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  7896. $as_echo_n "checking host system type... " >&6; }
  7897. if ${ac_cv_host+:} false; then :
  7898. $as_echo_n "(cached) " >&6
  7899. else
  7900. if test "x$host_alias" = x; then
  7901. ac_cv_host=$ac_cv_build
  7902. else
  7903. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  7904. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  7905. fi
  7906. fi
  7907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  7908. $as_echo "$ac_cv_host" >&6; }
  7909. case $ac_cv_host in
  7910. *-*-*) ;;
  7911. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  7912. esac
  7913. host=$ac_cv_host
  7914. ac_save_IFS=$IFS; IFS='-'
  7915. set x $ac_cv_host
  7916. shift
  7917. host_cpu=$1
  7918. host_vendor=$2
  7919. shift; shift
  7920. # Remember, the first character of IFS is used to create $*,
  7921. # except with old shells:
  7922. host_os=$*
  7923. IFS=$ac_save_IFS
  7924. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  7925. ac_ext=c
  7926. ac_cpp='$CPP $CPPFLAGS'
  7927. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7928. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7929. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7930. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  7931. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  7932. # On Suns, sometimes $CPP names a directory.
  7933. if test -n "$CPP" && test -d "$CPP"; then
  7934. CPP=
  7935. fi
  7936. if test -z "$CPP"; then
  7937. if ${ac_cv_prog_CPP+:} false; then :
  7938. $as_echo_n "(cached) " >&6
  7939. else
  7940. # Double quotes because CPP needs to be expanded
  7941. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7942. do
  7943. ac_preproc_ok=false
  7944. for ac_c_preproc_warn_flag in '' yes
  7945. do
  7946. # Use a header file that comes with gcc, so configuring glibc
  7947. # with a fresh cross-compiler works.
  7948. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7949. # <limits.h> exists even on freestanding compilers.
  7950. # On the NeXT, cc -E runs the code through the compiler's parser,
  7951. # not just through cpp. "Syntax error" is here to catch this case.
  7952. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7953. /* end confdefs.h. */
  7954. @%:@ifdef __STDC__
  7955. @%:@ include <limits.h>
  7956. @%:@else
  7957. @%:@ include <assert.h>
  7958. @%:@endif
  7959. Syntax error
  7960. _ACEOF
  7961. if ac_fn_c_try_cpp "$LINENO"; then :
  7962. else
  7963. # Broken: fails on valid input.
  7964. continue
  7965. fi
  7966. rm -f conftest.err conftest.i conftest.$ac_ext
  7967. # OK, works on sane cases. Now check whether nonexistent headers
  7968. # can be detected and how.
  7969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7970. /* end confdefs.h. */
  7971. @%:@include <ac_nonexistent.h>
  7972. _ACEOF
  7973. if ac_fn_c_try_cpp "$LINENO"; then :
  7974. # Broken: success on invalid input.
  7975. continue
  7976. else
  7977. # Passes both tests.
  7978. ac_preproc_ok=:
  7979. break
  7980. fi
  7981. rm -f conftest.err conftest.i conftest.$ac_ext
  7982. done
  7983. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7984. rm -f conftest.i conftest.err conftest.$ac_ext
  7985. if $ac_preproc_ok; then :
  7986. break
  7987. fi
  7988. done
  7989. ac_cv_prog_CPP=$CPP
  7990. fi
  7991. CPP=$ac_cv_prog_CPP
  7992. else
  7993. ac_cv_prog_CPP=$CPP
  7994. fi
  7995. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  7996. $as_echo "$CPP" >&6; }
  7997. ac_preproc_ok=false
  7998. for ac_c_preproc_warn_flag in '' yes
  7999. do
  8000. # Use a header file that comes with gcc, so configuring glibc
  8001. # with a fresh cross-compiler works.
  8002. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8003. # <limits.h> exists even on freestanding compilers.
  8004. # On the NeXT, cc -E runs the code through the compiler's parser,
  8005. # not just through cpp. "Syntax error" is here to catch this case.
  8006. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8007. /* end confdefs.h. */
  8008. @%:@ifdef __STDC__
  8009. @%:@ include <limits.h>
  8010. @%:@else
  8011. @%:@ include <assert.h>
  8012. @%:@endif
  8013. Syntax error
  8014. _ACEOF
  8015. if ac_fn_c_try_cpp "$LINENO"; then :
  8016. else
  8017. # Broken: fails on valid input.
  8018. continue
  8019. fi
  8020. rm -f conftest.err conftest.i conftest.$ac_ext
  8021. # OK, works on sane cases. Now check whether nonexistent headers
  8022. # can be detected and how.
  8023. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8024. /* end confdefs.h. */
  8025. @%:@include <ac_nonexistent.h>
  8026. _ACEOF
  8027. if ac_fn_c_try_cpp "$LINENO"; then :
  8028. # Broken: success on invalid input.
  8029. continue
  8030. else
  8031. # Passes both tests.
  8032. ac_preproc_ok=:
  8033. break
  8034. fi
  8035. rm -f conftest.err conftest.i conftest.$ac_ext
  8036. done
  8037. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  8038. rm -f conftest.i conftest.err conftest.$ac_ext
  8039. if $ac_preproc_ok; then :
  8040. else
  8041. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  8042. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  8043. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  8044. See \`config.log' for more details" "$LINENO" 5; }
  8045. fi
  8046. ac_ext=c
  8047. ac_cpp='$CPP $CPPFLAGS'
  8048. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8049. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8050. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  8052. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  8053. if ${ac_cv_path_GREP+:} false; then :
  8054. $as_echo_n "(cached) " >&6
  8055. else
  8056. if test -z "$GREP"; then
  8057. ac_path_GREP_found=false
  8058. # Loop through the user's path and test for each of PROGNAME-LIST
  8059. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8060. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  8061. do
  8062. IFS=$as_save_IFS
  8063. test -z "$as_dir" && as_dir=.
  8064. for ac_prog in grep ggrep; do
  8065. for ac_exec_ext in '' $ac_executable_extensions; do
  8066. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  8067. as_fn_executable_p "$ac_path_GREP" || continue
  8068. # Check for GNU ac_path_GREP and select it if it is found.
  8069. # Check for GNU $ac_path_GREP
  8070. case `"$ac_path_GREP" --version 2>&1` in
  8071. *GNU*)
  8072. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  8073. *)
  8074. ac_count=0
  8075. $as_echo_n 0123456789 >"conftest.in"
  8076. while :
  8077. do
  8078. cat "conftest.in" "conftest.in" >"conftest.tmp"
  8079. mv "conftest.tmp" "conftest.in"
  8080. cp "conftest.in" "conftest.nl"
  8081. $as_echo 'GREP' >> "conftest.nl"
  8082. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  8083. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  8084. as_fn_arith $ac_count + 1 && ac_count=$as_val
  8085. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  8086. # Best one so far, save it but keep looking for a better one
  8087. ac_cv_path_GREP="$ac_path_GREP"
  8088. ac_path_GREP_max=$ac_count
  8089. fi
  8090. # 10*(2^10) chars as input seems more than enough
  8091. test $ac_count -gt 10 && break
  8092. done
  8093. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  8094. esac
  8095. $ac_path_GREP_found && break 3
  8096. done
  8097. done
  8098. done
  8099. IFS=$as_save_IFS
  8100. if test -z "$ac_cv_path_GREP"; then
  8101. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  8102. fi
  8103. else
  8104. ac_cv_path_GREP=$GREP
  8105. fi
  8106. fi
  8107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  8108. $as_echo "$ac_cv_path_GREP" >&6; }
  8109. GREP="$ac_cv_path_GREP"
  8110. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  8111. $as_echo_n "checking for egrep... " >&6; }
  8112. if ${ac_cv_path_EGREP+:} false; then :
  8113. $as_echo_n "(cached) " >&6
  8114. else
  8115. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  8116. then ac_cv_path_EGREP="$GREP -E"
  8117. else
  8118. if test -z "$EGREP"; then
  8119. ac_path_EGREP_found=false
  8120. # Loop through the user's path and test for each of PROGNAME-LIST
  8121. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8122. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  8123. do
  8124. IFS=$as_save_IFS
  8125. test -z "$as_dir" && as_dir=.
  8126. for ac_prog in egrep; do
  8127. for ac_exec_ext in '' $ac_executable_extensions; do
  8128. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  8129. as_fn_executable_p "$ac_path_EGREP" || continue
  8130. # Check for GNU ac_path_EGREP and select it if it is found.
  8131. # Check for GNU $ac_path_EGREP
  8132. case `"$ac_path_EGREP" --version 2>&1` in
  8133. *GNU*)
  8134. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  8135. *)
  8136. ac_count=0
  8137. $as_echo_n 0123456789 >"conftest.in"
  8138. while :
  8139. do
  8140. cat "conftest.in" "conftest.in" >"conftest.tmp"
  8141. mv "conftest.tmp" "conftest.in"
  8142. cp "conftest.in" "conftest.nl"
  8143. $as_echo 'EGREP' >> "conftest.nl"
  8144. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  8145. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  8146. as_fn_arith $ac_count + 1 && ac_count=$as_val
  8147. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  8148. # Best one so far, save it but keep looking for a better one
  8149. ac_cv_path_EGREP="$ac_path_EGREP"
  8150. ac_path_EGREP_max=$ac_count
  8151. fi
  8152. # 10*(2^10) chars as input seems more than enough
  8153. test $ac_count -gt 10 && break
  8154. done
  8155. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  8156. esac
  8157. $ac_path_EGREP_found && break 3
  8158. done
  8159. done
  8160. done
  8161. IFS=$as_save_IFS
  8162. if test -z "$ac_cv_path_EGREP"; then
  8163. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  8164. fi
  8165. else
  8166. ac_cv_path_EGREP=$EGREP
  8167. fi
  8168. fi
  8169. fi
  8170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  8171. $as_echo "$ac_cv_path_EGREP" >&6; }
  8172. EGREP="$ac_cv_path_EGREP"
  8173. acl_libdirstem=lib
  8174. acl_libdirstem2=
  8175. case "$host_os" in
  8176. solaris*)
  8177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
  8178. $as_echo_n "checking for 64-bit host... " >&6; }
  8179. if ${gl_cv_solaris_64bit+:} false; then :
  8180. $as_echo_n "(cached) " >&6
  8181. else
  8182. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8183. /* end confdefs.h. */
  8184. #ifdef _LP64
  8185. sixtyfour bits
  8186. #endif
  8187. _ACEOF
  8188. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8189. $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
  8190. gl_cv_solaris_64bit=yes
  8191. else
  8192. gl_cv_solaris_64bit=no
  8193. fi
  8194. rm -f conftest*
  8195. fi
  8196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
  8197. $as_echo "$gl_cv_solaris_64bit" >&6; }
  8198. if test $gl_cv_solaris_64bit = yes; then
  8199. acl_libdirstem=lib/64
  8200. case "$host_cpu" in
  8201. sparc*) acl_libdirstem2=lib/sparcv9 ;;
  8202. i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
  8203. esac
  8204. fi
  8205. ;;
  8206. *)
  8207. searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
  8208. if test -n "$searchpath"; then
  8209. acl_save_IFS="${IFS= }"; IFS=":"
  8210. for searchdir in $searchpath; do
  8211. if test -d "$searchdir"; then
  8212. case "$searchdir" in
  8213. */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
  8214. */../ | */.. )
  8215. # Better ignore directories of this form. They are misleading.
  8216. ;;
  8217. *) searchdir=`cd "$searchdir" && pwd`
  8218. case "$searchdir" in
  8219. */lib64 ) acl_libdirstem=lib64 ;;
  8220. esac ;;
  8221. esac
  8222. fi
  8223. done
  8224. IFS="$acl_save_IFS"
  8225. fi
  8226. ;;
  8227. esac
  8228. test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
  8229. if test "X$prefix" = "XNONE"; then
  8230. acl_final_prefix="$ac_default_prefix"
  8231. else
  8232. acl_final_prefix="$prefix"
  8233. fi
  8234. if test "X$exec_prefix" = "XNONE"; then
  8235. acl_final_exec_prefix='${prefix}'
  8236. else
  8237. acl_final_exec_prefix="$exec_prefix"
  8238. fi
  8239. acl_save_prefix="$prefix"
  8240. prefix="$acl_final_prefix"
  8241. eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  8242. prefix="$acl_save_prefix"
  8243. use_additional=yes
  8244. acl_save_prefix="$prefix"
  8245. prefix="$acl_final_prefix"
  8246. acl_save_exec_prefix="$exec_prefix"
  8247. exec_prefix="$acl_final_exec_prefix"
  8248. eval additional_includedir=\"$includedir\"
  8249. eval additional_libdir=\"$libdir\"
  8250. exec_prefix="$acl_save_exec_prefix"
  8251. prefix="$acl_save_prefix"
  8252. @%:@ Check whether --with-lib-prefix was given.
  8253. if test "${with_lib_prefix+set}" = set; then :
  8254. withval=$with_lib_prefix;
  8255. if test "X$withval" = "Xno"; then
  8256. use_additional=no
  8257. else
  8258. if test "X$withval" = "X"; then
  8259. acl_save_prefix="$prefix"
  8260. prefix="$acl_final_prefix"
  8261. acl_save_exec_prefix="$exec_prefix"
  8262. exec_prefix="$acl_final_exec_prefix"
  8263. eval additional_includedir=\"$includedir\"
  8264. eval additional_libdir=\"$libdir\"
  8265. exec_prefix="$acl_save_exec_prefix"
  8266. prefix="$acl_save_prefix"
  8267. else
  8268. additional_includedir="$withval/include"
  8269. additional_libdir="$withval/$acl_libdirstem"
  8270. fi
  8271. fi
  8272. fi
  8273. if test $use_additional = yes; then
  8274. if test "X$additional_includedir" != "X/usr/include"; then
  8275. haveit=
  8276. for x in $CPPFLAGS; do
  8277. acl_save_prefix="$prefix"
  8278. prefix="$acl_final_prefix"
  8279. acl_save_exec_prefix="$exec_prefix"
  8280. exec_prefix="$acl_final_exec_prefix"
  8281. eval x=\"$x\"
  8282. exec_prefix="$acl_save_exec_prefix"
  8283. prefix="$acl_save_prefix"
  8284. if test "X$x" = "X-I$additional_includedir"; then
  8285. haveit=yes
  8286. break
  8287. fi
  8288. done
  8289. if test -z "$haveit"; then
  8290. if test "X$additional_includedir" = "X/usr/local/include"; then
  8291. if test -n "$GCC"; then
  8292. case $host_os in
  8293. linux* | gnu* | k*bsd*-gnu) haveit=yes;;
  8294. esac
  8295. fi
  8296. fi
  8297. if test -z "$haveit"; then
  8298. if test -d "$additional_includedir"; then
  8299. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
  8300. fi
  8301. fi
  8302. fi
  8303. fi
  8304. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
  8305. haveit=
  8306. for x in $LDFLAGS; do
  8307. acl_save_prefix="$prefix"
  8308. prefix="$acl_final_prefix"
  8309. acl_save_exec_prefix="$exec_prefix"
  8310. exec_prefix="$acl_final_exec_prefix"
  8311. eval x=\"$x\"
  8312. exec_prefix="$acl_save_exec_prefix"
  8313. prefix="$acl_save_prefix"
  8314. if test "X$x" = "X-L$additional_libdir"; then
  8315. haveit=yes
  8316. break
  8317. fi
  8318. done
  8319. if test -z "$haveit"; then
  8320. if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
  8321. if test -n "$GCC"; then
  8322. case $host_os in
  8323. linux*) haveit=yes;;
  8324. esac
  8325. fi
  8326. fi
  8327. if test -z "$haveit"; then
  8328. if test -d "$additional_libdir"; then
  8329. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
  8330. fi
  8331. fi
  8332. fi
  8333. fi
  8334. fi
  8335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  8336. $as_echo_n "checking for ANSI C header files... " >&6; }
  8337. if ${ac_cv_header_stdc+:} false; then :
  8338. $as_echo_n "(cached) " >&6
  8339. else
  8340. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8341. /* end confdefs.h. */
  8342. #include <stdlib.h>
  8343. #include <stdarg.h>
  8344. #include <string.h>
  8345. #include <float.h>
  8346. int
  8347. main ()
  8348. {
  8349. ;
  8350. return 0;
  8351. }
  8352. _ACEOF
  8353. if ac_fn_c_try_compile "$LINENO"; then :
  8354. ac_cv_header_stdc=yes
  8355. else
  8356. ac_cv_header_stdc=no
  8357. fi
  8358. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8359. if test $ac_cv_header_stdc = yes; then
  8360. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  8361. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8362. /* end confdefs.h. */
  8363. #include <string.h>
  8364. _ACEOF
  8365. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8366. $EGREP "memchr" >/dev/null 2>&1; then :
  8367. else
  8368. ac_cv_header_stdc=no
  8369. fi
  8370. rm -f conftest*
  8371. fi
  8372. if test $ac_cv_header_stdc = yes; then
  8373. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  8374. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8375. /* end confdefs.h. */
  8376. #include <stdlib.h>
  8377. _ACEOF
  8378. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8379. $EGREP "free" >/dev/null 2>&1; then :
  8380. else
  8381. ac_cv_header_stdc=no
  8382. fi
  8383. rm -f conftest*
  8384. fi
  8385. if test $ac_cv_header_stdc = yes; then
  8386. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  8387. if test "$cross_compiling" = yes; then :
  8388. :
  8389. else
  8390. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8391. /* end confdefs.h. */
  8392. #include <ctype.h>
  8393. #include <stdlib.h>
  8394. #if ((' ' & 0x0FF) == 0x020)
  8395. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  8396. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  8397. #else
  8398. # define ISLOWER(c) \
  8399. (('a' <= (c) && (c) <= 'i') \
  8400. || ('j' <= (c) && (c) <= 'r') \
  8401. || ('s' <= (c) && (c) <= 'z'))
  8402. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  8403. #endif
  8404. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  8405. int
  8406. main ()
  8407. {
  8408. int i;
  8409. for (i = 0; i < 256; i++)
  8410. if (XOR (islower (i), ISLOWER (i))
  8411. || toupper (i) != TOUPPER (i))
  8412. return 2;
  8413. return 0;
  8414. }
  8415. _ACEOF
  8416. if ac_fn_c_try_run "$LINENO"; then :
  8417. else
  8418. ac_cv_header_stdc=no
  8419. fi
  8420. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8421. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8422. fi
  8423. fi
  8424. fi
  8425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  8426. $as_echo "$ac_cv_header_stdc" >&6; }
  8427. if test $ac_cv_header_stdc = yes; then
  8428. $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
  8429. fi
  8430. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  8431. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  8432. inttypes.h stdint.h unistd.h
  8433. do :
  8434. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  8435. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  8436. "
  8437. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  8438. cat >>confdefs.h <<_ACEOF
  8439. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  8440. _ACEOF
  8441. fi
  8442. done
  8443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  8444. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  8445. if ${ac_cv_c_bigendian+:} false; then :
  8446. $as_echo_n "(cached) " >&6
  8447. else
  8448. ac_cv_c_bigendian=unknown
  8449. # See if we're dealing with a universal compiler.
  8450. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8451. /* end confdefs.h. */
  8452. #ifndef __APPLE_CC__
  8453. not a universal capable compiler
  8454. #endif
  8455. typedef int dummy;
  8456. _ACEOF
  8457. if ac_fn_c_try_compile "$LINENO"; then :
  8458. # Check for potential -arch flags. It is not universal unless
  8459. # there are at least two -arch flags with different values.
  8460. ac_arch=
  8461. ac_prev=
  8462. for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  8463. if test -n "$ac_prev"; then
  8464. case $ac_word in
  8465. i?86 | x86_64 | ppc | ppc64)
  8466. if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  8467. ac_arch=$ac_word
  8468. else
  8469. ac_cv_c_bigendian=universal
  8470. break
  8471. fi
  8472. ;;
  8473. esac
  8474. ac_prev=
  8475. elif test "x$ac_word" = "x-arch"; then
  8476. ac_prev=arch
  8477. fi
  8478. done
  8479. fi
  8480. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8481. if test $ac_cv_c_bigendian = unknown; then
  8482. # See if sys/param.h defines the BYTE_ORDER macro.
  8483. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8484. /* end confdefs.h. */
  8485. #include <sys/types.h>
  8486. #include <sys/param.h>
  8487. int
  8488. main ()
  8489. {
  8490. #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  8491. && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  8492. && LITTLE_ENDIAN)
  8493. bogus endian macros
  8494. #endif
  8495. ;
  8496. return 0;
  8497. }
  8498. _ACEOF
  8499. if ac_fn_c_try_compile "$LINENO"; then :
  8500. # It does; now see whether it defined to BIG_ENDIAN or not.
  8501. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8502. /* end confdefs.h. */
  8503. #include <sys/types.h>
  8504. #include <sys/param.h>
  8505. int
  8506. main ()
  8507. {
  8508. #if BYTE_ORDER != BIG_ENDIAN
  8509. not big endian
  8510. #endif
  8511. ;
  8512. return 0;
  8513. }
  8514. _ACEOF
  8515. if ac_fn_c_try_compile "$LINENO"; then :
  8516. ac_cv_c_bigendian=yes
  8517. else
  8518. ac_cv_c_bigendian=no
  8519. fi
  8520. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8521. fi
  8522. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8523. fi
  8524. if test $ac_cv_c_bigendian = unknown; then
  8525. # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  8526. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8527. /* end confdefs.h. */
  8528. #include <limits.h>
  8529. int
  8530. main ()
  8531. {
  8532. #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  8533. bogus endian macros
  8534. #endif
  8535. ;
  8536. return 0;
  8537. }
  8538. _ACEOF
  8539. if ac_fn_c_try_compile "$LINENO"; then :
  8540. # It does; now see whether it defined to _BIG_ENDIAN or not.
  8541. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8542. /* end confdefs.h. */
  8543. #include <limits.h>
  8544. int
  8545. main ()
  8546. {
  8547. #ifndef _BIG_ENDIAN
  8548. not big endian
  8549. #endif
  8550. ;
  8551. return 0;
  8552. }
  8553. _ACEOF
  8554. if ac_fn_c_try_compile "$LINENO"; then :
  8555. ac_cv_c_bigendian=yes
  8556. else
  8557. ac_cv_c_bigendian=no
  8558. fi
  8559. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8560. fi
  8561. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8562. fi
  8563. if test $ac_cv_c_bigendian = unknown; then
  8564. # Compile a test program.
  8565. if test "$cross_compiling" = yes; then :
  8566. # Try to guess by grepping values from an object file.
  8567. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8568. /* end confdefs.h. */
  8569. short int ascii_mm[] =
  8570. { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  8571. short int ascii_ii[] =
  8572. { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  8573. int use_ascii (int i) {
  8574. return ascii_mm[i] + ascii_ii[i];
  8575. }
  8576. short int ebcdic_ii[] =
  8577. { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  8578. short int ebcdic_mm[] =
  8579. { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  8580. int use_ebcdic (int i) {
  8581. return ebcdic_mm[i] + ebcdic_ii[i];
  8582. }
  8583. extern int foo;
  8584. int
  8585. main ()
  8586. {
  8587. return use_ascii (foo) == use_ebcdic (foo);
  8588. ;
  8589. return 0;
  8590. }
  8591. _ACEOF
  8592. if ac_fn_c_try_compile "$LINENO"; then :
  8593. if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  8594. ac_cv_c_bigendian=yes
  8595. fi
  8596. if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  8597. if test "$ac_cv_c_bigendian" = unknown; then
  8598. ac_cv_c_bigendian=no
  8599. else
  8600. # finding both strings is unlikely to happen, but who knows?
  8601. ac_cv_c_bigendian=unknown
  8602. fi
  8603. fi
  8604. fi
  8605. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8606. else
  8607. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8608. /* end confdefs.h. */
  8609. $ac_includes_default
  8610. int
  8611. main ()
  8612. {
  8613. /* Are we little or big endian? From Harbison&Steele. */
  8614. union
  8615. {
  8616. long int l;
  8617. char c[sizeof (long int)];
  8618. } u;
  8619. u.l = 1;
  8620. return u.c[sizeof (long int) - 1] == 1;
  8621. ;
  8622. return 0;
  8623. }
  8624. _ACEOF
  8625. if ac_fn_c_try_run "$LINENO"; then :
  8626. ac_cv_c_bigendian=no
  8627. else
  8628. ac_cv_c_bigendian=yes
  8629. fi
  8630. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8631. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8632. fi
  8633. fi
  8634. fi
  8635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  8636. $as_echo "$ac_cv_c_bigendian" >&6; }
  8637. case $ac_cv_c_bigendian in #(
  8638. yes)
  8639. $as_echo "@%:@define WORDS_BIGENDIAN 1" >>confdefs.h
  8640. ;; #(
  8641. no)
  8642. ;; #(
  8643. universal)
  8644. $as_echo "@%:@define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  8645. ;; #(
  8646. *)
  8647. as_fn_error $? "unknown endianness
  8648. presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  8649. esac
  8650. # =========================
  8651. # check required programs
  8652. # =========================
  8653. case `pwd` in
  8654. *\ * | *\ *)
  8655. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  8656. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  8657. esac
  8658. macro_version='2.4.6'
  8659. macro_revision='2.4.6'
  8660. ltmain=$ac_aux_dir/ltmain.sh
  8661. # Backslashify metacharacters that are still active within
  8662. # double-quoted strings.
  8663. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  8664. # Same as above, but do not quote variable references.
  8665. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  8666. # Sed substitution to delay expansion of an escaped shell variable in a
  8667. # double_quote_subst'ed string.
  8668. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  8669. # Sed substitution to delay expansion of an escaped single quote.
  8670. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  8671. # Sed substitution to avoid accidental globbing in evaled expressions
  8672. no_glob_subst='s/\*/\\\*/g'
  8673. ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  8674. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  8675. ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  8676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  8677. $as_echo_n "checking how to print strings... " >&6; }
  8678. # Test print first, because it will be a builtin if present.
  8679. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
  8680. test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  8681. ECHO='print -r --'
  8682. elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  8683. ECHO='printf %s\n'
  8684. else
  8685. # Use this function as a fallback that always works.
  8686. func_fallback_echo ()
  8687. {
  8688. eval 'cat <<_LTECHO_EOF
  8689. $1
  8690. _LTECHO_EOF'
  8691. }
  8692. ECHO='func_fallback_echo'
  8693. fi
  8694. # func_echo_all arg...
  8695. # Invoke $ECHO with all args, space-separated.
  8696. func_echo_all ()
  8697. {
  8698. $ECHO ""
  8699. }
  8700. case $ECHO in
  8701. printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  8702. $as_echo "printf" >&6; } ;;
  8703. print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  8704. $as_echo "print -r" >&6; } ;;
  8705. *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  8706. $as_echo "cat" >&6; } ;;
  8707. esac
  8708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  8709. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  8710. if ${ac_cv_path_SED+:} false; then :
  8711. $as_echo_n "(cached) " >&6
  8712. else
  8713. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  8714. for ac_i in 1 2 3 4 5 6 7; do
  8715. ac_script="$ac_script$as_nl$ac_script"
  8716. done
  8717. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  8718. { ac_script=; unset ac_script;}
  8719. if test -z "$SED"; then
  8720. ac_path_SED_found=false
  8721. # Loop through the user's path and test for each of PROGNAME-LIST
  8722. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8723. for as_dir in $PATH
  8724. do
  8725. IFS=$as_save_IFS
  8726. test -z "$as_dir" && as_dir=.
  8727. for ac_prog in sed gsed; do
  8728. for ac_exec_ext in '' $ac_executable_extensions; do
  8729. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  8730. as_fn_executable_p "$ac_path_SED" || continue
  8731. # Check for GNU ac_path_SED and select it if it is found.
  8732. # Check for GNU $ac_path_SED
  8733. case `"$ac_path_SED" --version 2>&1` in
  8734. *GNU*)
  8735. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  8736. *)
  8737. ac_count=0
  8738. $as_echo_n 0123456789 >"conftest.in"
  8739. while :
  8740. do
  8741. cat "conftest.in" "conftest.in" >"conftest.tmp"
  8742. mv "conftest.tmp" "conftest.in"
  8743. cp "conftest.in" "conftest.nl"
  8744. $as_echo '' >> "conftest.nl"
  8745. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  8746. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  8747. as_fn_arith $ac_count + 1 && ac_count=$as_val
  8748. if test $ac_count -gt ${ac_path_SED_max-0}; then
  8749. # Best one so far, save it but keep looking for a better one
  8750. ac_cv_path_SED="$ac_path_SED"
  8751. ac_path_SED_max=$ac_count
  8752. fi
  8753. # 10*(2^10) chars as input seems more than enough
  8754. test $ac_count -gt 10 && break
  8755. done
  8756. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  8757. esac
  8758. $ac_path_SED_found && break 3
  8759. done
  8760. done
  8761. done
  8762. IFS=$as_save_IFS
  8763. if test -z "$ac_cv_path_SED"; then
  8764. as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  8765. fi
  8766. else
  8767. ac_cv_path_SED=$SED
  8768. fi
  8769. fi
  8770. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  8771. $as_echo "$ac_cv_path_SED" >&6; }
  8772. SED="$ac_cv_path_SED"
  8773. rm -f conftest.sed
  8774. test -z "$SED" && SED=sed
  8775. Xsed="$SED -e 1s/^X//"
  8776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  8777. $as_echo_n "checking for fgrep... " >&6; }
  8778. if ${ac_cv_path_FGREP+:} false; then :
  8779. $as_echo_n "(cached) " >&6
  8780. else
  8781. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  8782. then ac_cv_path_FGREP="$GREP -F"
  8783. else
  8784. if test -z "$FGREP"; then
  8785. ac_path_FGREP_found=false
  8786. # Loop through the user's path and test for each of PROGNAME-LIST
  8787. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8788. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  8789. do
  8790. IFS=$as_save_IFS
  8791. test -z "$as_dir" && as_dir=.
  8792. for ac_prog in fgrep; do
  8793. for ac_exec_ext in '' $ac_executable_extensions; do
  8794. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  8795. as_fn_executable_p "$ac_path_FGREP" || continue
  8796. # Check for GNU ac_path_FGREP and select it if it is found.
  8797. # Check for GNU $ac_path_FGREP
  8798. case `"$ac_path_FGREP" --version 2>&1` in
  8799. *GNU*)
  8800. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  8801. *)
  8802. ac_count=0
  8803. $as_echo_n 0123456789 >"conftest.in"
  8804. while :
  8805. do
  8806. cat "conftest.in" "conftest.in" >"conftest.tmp"
  8807. mv "conftest.tmp" "conftest.in"
  8808. cp "conftest.in" "conftest.nl"
  8809. $as_echo 'FGREP' >> "conftest.nl"
  8810. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  8811. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  8812. as_fn_arith $ac_count + 1 && ac_count=$as_val
  8813. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  8814. # Best one so far, save it but keep looking for a better one
  8815. ac_cv_path_FGREP="$ac_path_FGREP"
  8816. ac_path_FGREP_max=$ac_count
  8817. fi
  8818. # 10*(2^10) chars as input seems more than enough
  8819. test $ac_count -gt 10 && break
  8820. done
  8821. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  8822. esac
  8823. $ac_path_FGREP_found && break 3
  8824. done
  8825. done
  8826. done
  8827. IFS=$as_save_IFS
  8828. if test -z "$ac_cv_path_FGREP"; then
  8829. as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  8830. fi
  8831. else
  8832. ac_cv_path_FGREP=$FGREP
  8833. fi
  8834. fi
  8835. fi
  8836. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  8837. $as_echo "$ac_cv_path_FGREP" >&6; }
  8838. FGREP="$ac_cv_path_FGREP"
  8839. test -z "$GREP" && GREP=grep
  8840. @%:@ Check whether --with-gnu-ld was given.
  8841. if test "${with_gnu_ld+set}" = set; then :
  8842. withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
  8843. else
  8844. with_gnu_ld=no
  8845. fi
  8846. ac_prog=ld
  8847. if test yes = "$GCC"; then
  8848. # Check if gcc -print-prog-name=ld gives a path.
  8849. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  8850. $as_echo_n "checking for ld used by $CC... " >&6; }
  8851. case $host in
  8852. *-*-mingw*)
  8853. # gcc leaves a trailing carriage return, which upsets mingw
  8854. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  8855. *)
  8856. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  8857. esac
  8858. case $ac_prog in
  8859. # Accept absolute paths.
  8860. [\\/]* | ?:[\\/]*)
  8861. re_direlt='/[^/][^/]*/\.\./'
  8862. # Canonicalize the pathname of ld
  8863. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  8864. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  8865. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  8866. done
  8867. test -z "$LD" && LD=$ac_prog
  8868. ;;
  8869. "")
  8870. # If it fails, then pretend we aren't using GCC.
  8871. ac_prog=ld
  8872. ;;
  8873. *)
  8874. # If it is relative, then search for the first ld in PATH.
  8875. with_gnu_ld=unknown
  8876. ;;
  8877. esac
  8878. elif test yes = "$with_gnu_ld"; then
  8879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  8880. $as_echo_n "checking for GNU ld... " >&6; }
  8881. else
  8882. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  8883. $as_echo_n "checking for non-GNU ld... " >&6; }
  8884. fi
  8885. if ${lt_cv_path_LD+:} false; then :
  8886. $as_echo_n "(cached) " >&6
  8887. else
  8888. if test -z "$LD"; then
  8889. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  8890. for ac_dir in $PATH; do
  8891. IFS=$lt_save_ifs
  8892. test -z "$ac_dir" && ac_dir=.
  8893. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  8894. lt_cv_path_LD=$ac_dir/$ac_prog
  8895. # Check to see if the program is GNU ld. I'd rather use --version,
  8896. # but apparently some variants of GNU ld only accept -v.
  8897. # Break only if it was the GNU/non-GNU ld that we prefer.
  8898. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  8899. *GNU* | *'with BFD'*)
  8900. test no != "$with_gnu_ld" && break
  8901. ;;
  8902. *)
  8903. test yes != "$with_gnu_ld" && break
  8904. ;;
  8905. esac
  8906. fi
  8907. done
  8908. IFS=$lt_save_ifs
  8909. else
  8910. lt_cv_path_LD=$LD # Let the user override the test with a path.
  8911. fi
  8912. fi
  8913. LD=$lt_cv_path_LD
  8914. if test -n "$LD"; then
  8915. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  8916. $as_echo "$LD" >&6; }
  8917. else
  8918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8919. $as_echo "no" >&6; }
  8920. fi
  8921. test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
  8922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  8923. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  8924. if ${lt_cv_prog_gnu_ld+:} false; then :
  8925. $as_echo_n "(cached) " >&6
  8926. else
  8927. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  8928. case `$LD -v 2>&1 </dev/null` in
  8929. *GNU* | *'with BFD'*)
  8930. lt_cv_prog_gnu_ld=yes
  8931. ;;
  8932. *)
  8933. lt_cv_prog_gnu_ld=no
  8934. ;;
  8935. esac
  8936. fi
  8937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  8938. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  8939. with_gnu_ld=$lt_cv_prog_gnu_ld
  8940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  8941. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  8942. if ${lt_cv_path_NM+:} false; then :
  8943. $as_echo_n "(cached) " >&6
  8944. else
  8945. if test -n "$NM"; then
  8946. # Let the user override the test.
  8947. lt_cv_path_NM=$NM
  8948. else
  8949. lt_nm_to_check=${ac_tool_prefix}nm
  8950. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  8951. lt_nm_to_check="$lt_nm_to_check nm"
  8952. fi
  8953. for lt_tmp_nm in $lt_nm_to_check; do
  8954. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  8955. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  8956. IFS=$lt_save_ifs
  8957. test -z "$ac_dir" && ac_dir=.
  8958. tmp_nm=$ac_dir/$lt_tmp_nm
  8959. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
  8960. # Check to see if the nm accepts a BSD-compat flag.
  8961. # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
  8962. # nm: unknown option "B" ignored
  8963. # Tru64's nm complains that /dev/null is an invalid object file
  8964. # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
  8965. case $build_os in
  8966. mingw*) lt_bad_file=conftest.nm/nofile ;;
  8967. *) lt_bad_file=/dev/null ;;
  8968. esac
  8969. case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
  8970. *$lt_bad_file* | *'Invalid file or object type'*)
  8971. lt_cv_path_NM="$tmp_nm -B"
  8972. break 2
  8973. ;;
  8974. *)
  8975. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  8976. */dev/null*)
  8977. lt_cv_path_NM="$tmp_nm -p"
  8978. break 2
  8979. ;;
  8980. *)
  8981. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  8982. continue # so that we can try to find one that supports BSD flags
  8983. ;;
  8984. esac
  8985. ;;
  8986. esac
  8987. fi
  8988. done
  8989. IFS=$lt_save_ifs
  8990. done
  8991. : ${lt_cv_path_NM=no}
  8992. fi
  8993. fi
  8994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  8995. $as_echo "$lt_cv_path_NM" >&6; }
  8996. if test no != "$lt_cv_path_NM"; then
  8997. NM=$lt_cv_path_NM
  8998. else
  8999. # Didn't find any BSD compatible name lister, look for dumpbin.
  9000. if test -n "$DUMPBIN"; then :
  9001. # Let the user override the test.
  9002. else
  9003. if test -n "$ac_tool_prefix"; then
  9004. for ac_prog in dumpbin "link -dump"
  9005. do
  9006. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  9007. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  9008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9009. $as_echo_n "checking for $ac_word... " >&6; }
  9010. if ${ac_cv_prog_DUMPBIN+:} false; then :
  9011. $as_echo_n "(cached) " >&6
  9012. else
  9013. if test -n "$DUMPBIN"; then
  9014. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  9015. else
  9016. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9017. for as_dir in $PATH
  9018. do
  9019. IFS=$as_save_IFS
  9020. test -z "$as_dir" && as_dir=.
  9021. for ac_exec_ext in '' $ac_executable_extensions; do
  9022. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9023. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  9024. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9025. break 2
  9026. fi
  9027. done
  9028. done
  9029. IFS=$as_save_IFS
  9030. fi
  9031. fi
  9032. DUMPBIN=$ac_cv_prog_DUMPBIN
  9033. if test -n "$DUMPBIN"; then
  9034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  9035. $as_echo "$DUMPBIN" >&6; }
  9036. else
  9037. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9038. $as_echo "no" >&6; }
  9039. fi
  9040. test -n "$DUMPBIN" && break
  9041. done
  9042. fi
  9043. if test -z "$DUMPBIN"; then
  9044. ac_ct_DUMPBIN=$DUMPBIN
  9045. for ac_prog in dumpbin "link -dump"
  9046. do
  9047. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9048. set dummy $ac_prog; ac_word=$2
  9049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9050. $as_echo_n "checking for $ac_word... " >&6; }
  9051. if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
  9052. $as_echo_n "(cached) " >&6
  9053. else
  9054. if test -n "$ac_ct_DUMPBIN"; then
  9055. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  9056. else
  9057. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9058. for as_dir in $PATH
  9059. do
  9060. IFS=$as_save_IFS
  9061. test -z "$as_dir" && as_dir=.
  9062. for ac_exec_ext in '' $ac_executable_extensions; do
  9063. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9064. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  9065. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9066. break 2
  9067. fi
  9068. done
  9069. done
  9070. IFS=$as_save_IFS
  9071. fi
  9072. fi
  9073. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  9074. if test -n "$ac_ct_DUMPBIN"; then
  9075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  9076. $as_echo "$ac_ct_DUMPBIN" >&6; }
  9077. else
  9078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9079. $as_echo "no" >&6; }
  9080. fi
  9081. test -n "$ac_ct_DUMPBIN" && break
  9082. done
  9083. if test "x$ac_ct_DUMPBIN" = x; then
  9084. DUMPBIN=":"
  9085. else
  9086. case $cross_compiling:$ac_tool_warned in
  9087. yes:)
  9088. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9089. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9090. ac_tool_warned=yes ;;
  9091. esac
  9092. DUMPBIN=$ac_ct_DUMPBIN
  9093. fi
  9094. fi
  9095. case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
  9096. *COFF*)
  9097. DUMPBIN="$DUMPBIN -symbols -headers"
  9098. ;;
  9099. *)
  9100. DUMPBIN=:
  9101. ;;
  9102. esac
  9103. fi
  9104. if test : != "$DUMPBIN"; then
  9105. NM=$DUMPBIN
  9106. fi
  9107. fi
  9108. test -z "$NM" && NM=nm
  9109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  9110. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  9111. if ${lt_cv_nm_interface+:} false; then :
  9112. $as_echo_n "(cached) " >&6
  9113. else
  9114. lt_cv_nm_interface="BSD nm"
  9115. echo "int some_variable = 0;" > conftest.$ac_ext
  9116. (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  9117. (eval "$ac_compile" 2>conftest.err)
  9118. cat conftest.err >&5
  9119. (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  9120. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  9121. cat conftest.err >&5
  9122. (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  9123. cat conftest.out >&5
  9124. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  9125. lt_cv_nm_interface="MS dumpbin"
  9126. fi
  9127. rm -f conftest*
  9128. fi
  9129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  9130. $as_echo "$lt_cv_nm_interface" >&6; }
  9131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  9132. $as_echo_n "checking whether ln -s works... " >&6; }
  9133. LN_S=$as_ln_s
  9134. if test "$LN_S" = "ln -s"; then
  9135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  9136. $as_echo "yes" >&6; }
  9137. else
  9138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  9139. $as_echo "no, using $LN_S" >&6; }
  9140. fi
  9141. # find the maximum length of command line arguments
  9142. { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  9143. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  9144. if ${lt_cv_sys_max_cmd_len+:} false; then :
  9145. $as_echo_n "(cached) " >&6
  9146. else
  9147. i=0
  9148. teststring=ABCD
  9149. case $build_os in
  9150. msdosdjgpp*)
  9151. # On DJGPP, this test can blow up pretty badly due to problems in libc
  9152. # (any single argument exceeding 2000 bytes causes a buffer overrun
  9153. # during glob expansion). Even if it were fixed, the result of this
  9154. # check would be larger than it should be.
  9155. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  9156. ;;
  9157. gnu*)
  9158. # Under GNU Hurd, this test is not required because there is
  9159. # no limit to the length of command line arguments.
  9160. # Libtool will interpret -1 as no limit whatsoever
  9161. lt_cv_sys_max_cmd_len=-1;
  9162. ;;
  9163. cygwin* | mingw* | cegcc*)
  9164. # On Win9x/ME, this test blows up -- it succeeds, but takes
  9165. # about 5 minutes as the teststring grows exponentially.
  9166. # Worse, since 9x/ME are not pre-emptively multitasking,
  9167. # you end up with a "frozen" computer, even though with patience
  9168. # the test eventually succeeds (with a max line length of 256k).
  9169. # Instead, let's just punt: use the minimum linelength reported by
  9170. # all of the supported platforms: 8192 (on NT/2K/XP).
  9171. lt_cv_sys_max_cmd_len=8192;
  9172. ;;
  9173. mint*)
  9174. # On MiNT this can take a long time and run out of memory.
  9175. lt_cv_sys_max_cmd_len=8192;
  9176. ;;
  9177. amigaos*)
  9178. # On AmigaOS with pdksh, this test takes hours, literally.
  9179. # So we just punt and use a minimum line length of 8192.
  9180. lt_cv_sys_max_cmd_len=8192;
  9181. ;;
  9182. bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
  9183. # This has been around since 386BSD, at least. Likely further.
  9184. if test -x /sbin/sysctl; then
  9185. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  9186. elif test -x /usr/sbin/sysctl; then
  9187. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  9188. else
  9189. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  9190. fi
  9191. # And add a safety zone
  9192. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  9193. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  9194. ;;
  9195. interix*)
  9196. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  9197. lt_cv_sys_max_cmd_len=196608
  9198. ;;
  9199. os2*)
  9200. # The test takes a long time on OS/2.
  9201. lt_cv_sys_max_cmd_len=8192
  9202. ;;
  9203. osf*)
  9204. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  9205. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  9206. # nice to cause kernel panics so lets avoid the loop below.
  9207. # First set a reasonable default.
  9208. lt_cv_sys_max_cmd_len=16384
  9209. #
  9210. if test -x /sbin/sysconfig; then
  9211. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  9212. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  9213. esac
  9214. fi
  9215. ;;
  9216. sco3.2v5*)
  9217. lt_cv_sys_max_cmd_len=102400
  9218. ;;
  9219. sysv5* | sco5v6* | sysv4.2uw2*)
  9220. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  9221. if test -n "$kargmax"; then
  9222. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  9223. else
  9224. lt_cv_sys_max_cmd_len=32768
  9225. fi
  9226. ;;
  9227. *)
  9228. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  9229. if test -n "$lt_cv_sys_max_cmd_len" && \
  9230. test undefined != "$lt_cv_sys_max_cmd_len"; then
  9231. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  9232. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  9233. else
  9234. # Make teststring a little bigger before we do anything with it.
  9235. # a 1K string should be a reasonable start.
  9236. for i in 1 2 3 4 5 6 7 8; do
  9237. teststring=$teststring$teststring
  9238. done
  9239. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  9240. # If test is not a shell built-in, we'll probably end up computing a
  9241. # maximum length that is only half of the actual maximum length, but
  9242. # we can't tell.
  9243. while { test X`env echo "$teststring$teststring" 2>/dev/null` \
  9244. = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  9245. test 17 != "$i" # 1/2 MB should be enough
  9246. do
  9247. i=`expr $i + 1`
  9248. teststring=$teststring$teststring
  9249. done
  9250. # Only check the string length outside the loop.
  9251. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  9252. teststring=
  9253. # Add a significant safety factor because C++ compilers can tack on
  9254. # massive amounts of additional arguments before passing them to the
  9255. # linker. It appears as though 1/2 is a usable value.
  9256. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  9257. fi
  9258. ;;
  9259. esac
  9260. fi
  9261. if test -n "$lt_cv_sys_max_cmd_len"; then
  9262. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  9263. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  9264. else
  9265. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  9266. $as_echo "none" >&6; }
  9267. fi
  9268. max_cmd_len=$lt_cv_sys_max_cmd_len
  9269. : ${CP="cp -f"}
  9270. : ${MV="mv -f"}
  9271. : ${RM="rm -f"}
  9272. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  9273. lt_unset=unset
  9274. else
  9275. lt_unset=false
  9276. fi
  9277. # test EBCDIC or ASCII
  9278. case `echo X|tr X '\101'` in
  9279. A) # ASCII based system
  9280. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  9281. lt_SP2NL='tr \040 \012'
  9282. lt_NL2SP='tr \015\012 \040\040'
  9283. ;;
  9284. *) # EBCDIC based system
  9285. lt_SP2NL='tr \100 \n'
  9286. lt_NL2SP='tr \r\n \100\100'
  9287. ;;
  9288. esac
  9289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
  9290. $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
  9291. if ${lt_cv_to_host_file_cmd+:} false; then :
  9292. $as_echo_n "(cached) " >&6
  9293. else
  9294. case $host in
  9295. *-*-mingw* )
  9296. case $build in
  9297. *-*-mingw* ) # actually msys
  9298. lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
  9299. ;;
  9300. *-*-cygwin* )
  9301. lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
  9302. ;;
  9303. * ) # otherwise, assume *nix
  9304. lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
  9305. ;;
  9306. esac
  9307. ;;
  9308. *-*-cygwin* )
  9309. case $build in
  9310. *-*-mingw* ) # actually msys
  9311. lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
  9312. ;;
  9313. *-*-cygwin* )
  9314. lt_cv_to_host_file_cmd=func_convert_file_noop
  9315. ;;
  9316. * ) # otherwise, assume *nix
  9317. lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
  9318. ;;
  9319. esac
  9320. ;;
  9321. * ) # unhandled hosts (and "normal" native builds)
  9322. lt_cv_to_host_file_cmd=func_convert_file_noop
  9323. ;;
  9324. esac
  9325. fi
  9326. to_host_file_cmd=$lt_cv_to_host_file_cmd
  9327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
  9328. $as_echo "$lt_cv_to_host_file_cmd" >&6; }
  9329. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
  9330. $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
  9331. if ${lt_cv_to_tool_file_cmd+:} false; then :
  9332. $as_echo_n "(cached) " >&6
  9333. else
  9334. #assume ordinary cross tools, or native build.
  9335. lt_cv_to_tool_file_cmd=func_convert_file_noop
  9336. case $host in
  9337. *-*-mingw* )
  9338. case $build in
  9339. *-*-mingw* ) # actually msys
  9340. lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
  9341. ;;
  9342. esac
  9343. ;;
  9344. esac
  9345. fi
  9346. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  9347. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
  9348. $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
  9349. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  9350. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  9351. if ${lt_cv_ld_reload_flag+:} false; then :
  9352. $as_echo_n "(cached) " >&6
  9353. else
  9354. lt_cv_ld_reload_flag='-r'
  9355. fi
  9356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  9357. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  9358. reload_flag=$lt_cv_ld_reload_flag
  9359. case $reload_flag in
  9360. "" | " "*) ;;
  9361. *) reload_flag=" $reload_flag" ;;
  9362. esac
  9363. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  9364. case $host_os in
  9365. cygwin* | mingw* | pw32* | cegcc*)
  9366. if test yes != "$GCC"; then
  9367. reload_cmds=false
  9368. fi
  9369. ;;
  9370. darwin*)
  9371. if test yes = "$GCC"; then
  9372. reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
  9373. else
  9374. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  9375. fi
  9376. ;;
  9377. esac
  9378. if test -n "$ac_tool_prefix"; then
  9379. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  9380. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  9381. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9382. $as_echo_n "checking for $ac_word... " >&6; }
  9383. if ${ac_cv_prog_OBJDUMP+:} false; then :
  9384. $as_echo_n "(cached) " >&6
  9385. else
  9386. if test -n "$OBJDUMP"; then
  9387. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  9388. else
  9389. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9390. for as_dir in $PATH
  9391. do
  9392. IFS=$as_save_IFS
  9393. test -z "$as_dir" && as_dir=.
  9394. for ac_exec_ext in '' $ac_executable_extensions; do
  9395. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9396. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  9397. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9398. break 2
  9399. fi
  9400. done
  9401. done
  9402. IFS=$as_save_IFS
  9403. fi
  9404. fi
  9405. OBJDUMP=$ac_cv_prog_OBJDUMP
  9406. if test -n "$OBJDUMP"; then
  9407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  9408. $as_echo "$OBJDUMP" >&6; }
  9409. else
  9410. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9411. $as_echo "no" >&6; }
  9412. fi
  9413. fi
  9414. if test -z "$ac_cv_prog_OBJDUMP"; then
  9415. ac_ct_OBJDUMP=$OBJDUMP
  9416. # Extract the first word of "objdump", so it can be a program name with args.
  9417. set dummy objdump; ac_word=$2
  9418. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9419. $as_echo_n "checking for $ac_word... " >&6; }
  9420. if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
  9421. $as_echo_n "(cached) " >&6
  9422. else
  9423. if test -n "$ac_ct_OBJDUMP"; then
  9424. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  9425. else
  9426. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9427. for as_dir in $PATH
  9428. do
  9429. IFS=$as_save_IFS
  9430. test -z "$as_dir" && as_dir=.
  9431. for ac_exec_ext in '' $ac_executable_extensions; do
  9432. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9433. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  9434. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9435. break 2
  9436. fi
  9437. done
  9438. done
  9439. IFS=$as_save_IFS
  9440. fi
  9441. fi
  9442. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  9443. if test -n "$ac_ct_OBJDUMP"; then
  9444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  9445. $as_echo "$ac_ct_OBJDUMP" >&6; }
  9446. else
  9447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9448. $as_echo "no" >&6; }
  9449. fi
  9450. if test "x$ac_ct_OBJDUMP" = x; then
  9451. OBJDUMP="false"
  9452. else
  9453. case $cross_compiling:$ac_tool_warned in
  9454. yes:)
  9455. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9456. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9457. ac_tool_warned=yes ;;
  9458. esac
  9459. OBJDUMP=$ac_ct_OBJDUMP
  9460. fi
  9461. else
  9462. OBJDUMP="$ac_cv_prog_OBJDUMP"
  9463. fi
  9464. test -z "$OBJDUMP" && OBJDUMP=objdump
  9465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  9466. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  9467. if ${lt_cv_deplibs_check_method+:} false; then :
  9468. $as_echo_n "(cached) " >&6
  9469. else
  9470. lt_cv_file_magic_cmd='$MAGIC_CMD'
  9471. lt_cv_file_magic_test_file=
  9472. lt_cv_deplibs_check_method='unknown'
  9473. # Need to set the preceding variable on all platforms that support
  9474. # interlibrary dependencies.
  9475. # 'none' -- dependencies not supported.
  9476. # 'unknown' -- same as none, but documents that we really don't know.
  9477. # 'pass_all' -- all dependencies passed with no checks.
  9478. # 'test_compile' -- check by making test program.
  9479. # 'file_magic [[regex]]' -- check by looking for files in library path
  9480. # that responds to the $file_magic_cmd with a given extended regex.
  9481. # If you have 'file' or equivalent on your system and you're not sure
  9482. # whether 'pass_all' will *always* work, you probably want this one.
  9483. case $host_os in
  9484. aix[4-9]*)
  9485. lt_cv_deplibs_check_method=pass_all
  9486. ;;
  9487. beos*)
  9488. lt_cv_deplibs_check_method=pass_all
  9489. ;;
  9490. bsdi[45]*)
  9491. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  9492. lt_cv_file_magic_cmd='/usr/bin/file -L'
  9493. lt_cv_file_magic_test_file=/shlib/libc.so
  9494. ;;
  9495. cygwin*)
  9496. # func_win32_libid is a shell function defined in ltmain.sh
  9497. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  9498. lt_cv_file_magic_cmd='func_win32_libid'
  9499. ;;
  9500. mingw* | pw32*)
  9501. # Base MSYS/MinGW do not provide the 'file' command needed by
  9502. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  9503. # unless we find 'file', for example because we are cross-compiling.
  9504. if ( file / ) >/dev/null 2>&1; then
  9505. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  9506. lt_cv_file_magic_cmd='func_win32_libid'
  9507. else
  9508. # Keep this pattern in sync with the one in func_win32_libid.
  9509. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  9510. lt_cv_file_magic_cmd='$OBJDUMP -f'
  9511. fi
  9512. ;;
  9513. cegcc*)
  9514. # use the weaker test based on 'objdump'. See mingw*.
  9515. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  9516. lt_cv_file_magic_cmd='$OBJDUMP -f'
  9517. ;;
  9518. darwin* | rhapsody*)
  9519. lt_cv_deplibs_check_method=pass_all
  9520. ;;
  9521. freebsd* | dragonfly*)
  9522. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  9523. case $host_cpu in
  9524. i*86 )
  9525. # Not sure whether the presence of OpenBSD here was a mistake.
  9526. # Let's accept both of them until this is cleared up.
  9527. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  9528. lt_cv_file_magic_cmd=/usr/bin/file
  9529. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  9530. ;;
  9531. esac
  9532. else
  9533. lt_cv_deplibs_check_method=pass_all
  9534. fi
  9535. ;;
  9536. haiku*)
  9537. lt_cv_deplibs_check_method=pass_all
  9538. ;;
  9539. hpux10.20* | hpux11*)
  9540. lt_cv_file_magic_cmd=/usr/bin/file
  9541. case $host_cpu in
  9542. ia64*)
  9543. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  9544. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  9545. ;;
  9546. hppa*64*)
  9547. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  9548. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  9549. ;;
  9550. *)
  9551. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  9552. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  9553. ;;
  9554. esac
  9555. ;;
  9556. interix[3-9]*)
  9557. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  9558. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  9559. ;;
  9560. irix5* | irix6* | nonstopux*)
  9561. case $LD in
  9562. *-32|*"-32 ") libmagic=32-bit;;
  9563. *-n32|*"-n32 ") libmagic=N32;;
  9564. *-64|*"-64 ") libmagic=64-bit;;
  9565. *) libmagic=never-match;;
  9566. esac
  9567. lt_cv_deplibs_check_method=pass_all
  9568. ;;
  9569. # This must be glibc/ELF.
  9570. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  9571. lt_cv_deplibs_check_method=pass_all
  9572. ;;
  9573. netbsd* | netbsdelf*-gnu)
  9574. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  9575. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  9576. else
  9577. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  9578. fi
  9579. ;;
  9580. newos6*)
  9581. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  9582. lt_cv_file_magic_cmd=/usr/bin/file
  9583. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  9584. ;;
  9585. *nto* | *qnx*)
  9586. lt_cv_deplibs_check_method=pass_all
  9587. ;;
  9588. openbsd* | bitrig*)
  9589. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  9590. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  9591. else
  9592. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  9593. fi
  9594. ;;
  9595. osf3* | osf4* | osf5*)
  9596. lt_cv_deplibs_check_method=pass_all
  9597. ;;
  9598. rdos*)
  9599. lt_cv_deplibs_check_method=pass_all
  9600. ;;
  9601. solaris*)
  9602. lt_cv_deplibs_check_method=pass_all
  9603. ;;
  9604. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9605. lt_cv_deplibs_check_method=pass_all
  9606. ;;
  9607. sysv4 | sysv4.3*)
  9608. case $host_vendor in
  9609. motorola)
  9610. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  9611. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  9612. ;;
  9613. ncr)
  9614. lt_cv_deplibs_check_method=pass_all
  9615. ;;
  9616. sequent)
  9617. lt_cv_file_magic_cmd='/bin/file'
  9618. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  9619. ;;
  9620. sni)
  9621. lt_cv_file_magic_cmd='/bin/file'
  9622. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  9623. lt_cv_file_magic_test_file=/lib/libc.so
  9624. ;;
  9625. siemens)
  9626. lt_cv_deplibs_check_method=pass_all
  9627. ;;
  9628. pc)
  9629. lt_cv_deplibs_check_method=pass_all
  9630. ;;
  9631. esac
  9632. ;;
  9633. tpf*)
  9634. lt_cv_deplibs_check_method=pass_all
  9635. ;;
  9636. os2*)
  9637. lt_cv_deplibs_check_method=pass_all
  9638. ;;
  9639. esac
  9640. fi
  9641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  9642. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  9643. file_magic_glob=
  9644. want_nocaseglob=no
  9645. if test "$build" = "$host"; then
  9646. case $host_os in
  9647. mingw* | pw32*)
  9648. if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
  9649. want_nocaseglob=yes
  9650. else
  9651. file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
  9652. fi
  9653. ;;
  9654. esac
  9655. fi
  9656. file_magic_cmd=$lt_cv_file_magic_cmd
  9657. deplibs_check_method=$lt_cv_deplibs_check_method
  9658. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  9659. if test -n "$ac_tool_prefix"; then
  9660. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  9661. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  9662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9663. $as_echo_n "checking for $ac_word... " >&6; }
  9664. if ${ac_cv_prog_DLLTOOL+:} false; then :
  9665. $as_echo_n "(cached) " >&6
  9666. else
  9667. if test -n "$DLLTOOL"; then
  9668. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  9669. else
  9670. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9671. for as_dir in $PATH
  9672. do
  9673. IFS=$as_save_IFS
  9674. test -z "$as_dir" && as_dir=.
  9675. for ac_exec_ext in '' $ac_executable_extensions; do
  9676. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9677. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  9678. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9679. break 2
  9680. fi
  9681. done
  9682. done
  9683. IFS=$as_save_IFS
  9684. fi
  9685. fi
  9686. DLLTOOL=$ac_cv_prog_DLLTOOL
  9687. if test -n "$DLLTOOL"; then
  9688. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  9689. $as_echo "$DLLTOOL" >&6; }
  9690. else
  9691. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9692. $as_echo "no" >&6; }
  9693. fi
  9694. fi
  9695. if test -z "$ac_cv_prog_DLLTOOL"; then
  9696. ac_ct_DLLTOOL=$DLLTOOL
  9697. # Extract the first word of "dlltool", so it can be a program name with args.
  9698. set dummy dlltool; ac_word=$2
  9699. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9700. $as_echo_n "checking for $ac_word... " >&6; }
  9701. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  9702. $as_echo_n "(cached) " >&6
  9703. else
  9704. if test -n "$ac_ct_DLLTOOL"; then
  9705. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  9706. else
  9707. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9708. for as_dir in $PATH
  9709. do
  9710. IFS=$as_save_IFS
  9711. test -z "$as_dir" && as_dir=.
  9712. for ac_exec_ext in '' $ac_executable_extensions; do
  9713. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9714. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  9715. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9716. break 2
  9717. fi
  9718. done
  9719. done
  9720. IFS=$as_save_IFS
  9721. fi
  9722. fi
  9723. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  9724. if test -n "$ac_ct_DLLTOOL"; then
  9725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  9726. $as_echo "$ac_ct_DLLTOOL" >&6; }
  9727. else
  9728. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9729. $as_echo "no" >&6; }
  9730. fi
  9731. if test "x$ac_ct_DLLTOOL" = x; then
  9732. DLLTOOL="false"
  9733. else
  9734. case $cross_compiling:$ac_tool_warned in
  9735. yes:)
  9736. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9737. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9738. ac_tool_warned=yes ;;
  9739. esac
  9740. DLLTOOL=$ac_ct_DLLTOOL
  9741. fi
  9742. else
  9743. DLLTOOL="$ac_cv_prog_DLLTOOL"
  9744. fi
  9745. test -z "$DLLTOOL" && DLLTOOL=dlltool
  9746. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
  9747. $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
  9748. if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
  9749. $as_echo_n "(cached) " >&6
  9750. else
  9751. lt_cv_sharedlib_from_linklib_cmd='unknown'
  9752. case $host_os in
  9753. cygwin* | mingw* | pw32* | cegcc*)
  9754. # two different shell functions defined in ltmain.sh;
  9755. # decide which one to use based on capabilities of $DLLTOOL
  9756. case `$DLLTOOL --help 2>&1` in
  9757. *--identify-strict*)
  9758. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
  9759. ;;
  9760. *)
  9761. lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
  9762. ;;
  9763. esac
  9764. ;;
  9765. *)
  9766. # fallback: assume linklib IS sharedlib
  9767. lt_cv_sharedlib_from_linklib_cmd=$ECHO
  9768. ;;
  9769. esac
  9770. fi
  9771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
  9772. $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
  9773. sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
  9774. test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
  9775. if test -n "$ac_tool_prefix"; then
  9776. for ac_prog in ar
  9777. do
  9778. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  9779. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  9780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9781. $as_echo_n "checking for $ac_word... " >&6; }
  9782. if ${ac_cv_prog_AR+:} false; then :
  9783. $as_echo_n "(cached) " >&6
  9784. else
  9785. if test -n "$AR"; then
  9786. ac_cv_prog_AR="$AR" # Let the user override the test.
  9787. else
  9788. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9789. for as_dir in $PATH
  9790. do
  9791. IFS=$as_save_IFS
  9792. test -z "$as_dir" && as_dir=.
  9793. for ac_exec_ext in '' $ac_executable_extensions; do
  9794. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9795. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  9796. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9797. break 2
  9798. fi
  9799. done
  9800. done
  9801. IFS=$as_save_IFS
  9802. fi
  9803. fi
  9804. AR=$ac_cv_prog_AR
  9805. if test -n "$AR"; then
  9806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  9807. $as_echo "$AR" >&6; }
  9808. else
  9809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9810. $as_echo "no" >&6; }
  9811. fi
  9812. test -n "$AR" && break
  9813. done
  9814. fi
  9815. if test -z "$AR"; then
  9816. ac_ct_AR=$AR
  9817. for ac_prog in ar
  9818. do
  9819. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9820. set dummy $ac_prog; ac_word=$2
  9821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9822. $as_echo_n "checking for $ac_word... " >&6; }
  9823. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  9824. $as_echo_n "(cached) " >&6
  9825. else
  9826. if test -n "$ac_ct_AR"; then
  9827. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  9828. else
  9829. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9830. for as_dir in $PATH
  9831. do
  9832. IFS=$as_save_IFS
  9833. test -z "$as_dir" && as_dir=.
  9834. for ac_exec_ext in '' $ac_executable_extensions; do
  9835. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9836. ac_cv_prog_ac_ct_AR="$ac_prog"
  9837. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9838. break 2
  9839. fi
  9840. done
  9841. done
  9842. IFS=$as_save_IFS
  9843. fi
  9844. fi
  9845. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  9846. if test -n "$ac_ct_AR"; then
  9847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  9848. $as_echo "$ac_ct_AR" >&6; }
  9849. else
  9850. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9851. $as_echo "no" >&6; }
  9852. fi
  9853. test -n "$ac_ct_AR" && break
  9854. done
  9855. if test "x$ac_ct_AR" = x; then
  9856. AR="false"
  9857. else
  9858. case $cross_compiling:$ac_tool_warned in
  9859. yes:)
  9860. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9861. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9862. ac_tool_warned=yes ;;
  9863. esac
  9864. AR=$ac_ct_AR
  9865. fi
  9866. fi
  9867. : ${AR=ar}
  9868. : ${AR_FLAGS=cru}
  9869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
  9870. $as_echo_n "checking for archiver @FILE support... " >&6; }
  9871. if ${lt_cv_ar_at_file+:} false; then :
  9872. $as_echo_n "(cached) " >&6
  9873. else
  9874. lt_cv_ar_at_file=no
  9875. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9876. /* end confdefs.h. */
  9877. int
  9878. main ()
  9879. {
  9880. ;
  9881. return 0;
  9882. }
  9883. _ACEOF
  9884. if ac_fn_c_try_compile "$LINENO"; then :
  9885. echo conftest.$ac_objext > conftest.lst
  9886. lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
  9887. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  9888. (eval $lt_ar_try) 2>&5
  9889. ac_status=$?
  9890. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9891. test $ac_status = 0; }
  9892. if test 0 -eq "$ac_status"; then
  9893. # Ensure the archiver fails upon bogus file names.
  9894. rm -f conftest.$ac_objext libconftest.a
  9895. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  9896. (eval $lt_ar_try) 2>&5
  9897. ac_status=$?
  9898. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9899. test $ac_status = 0; }
  9900. if test 0 -ne "$ac_status"; then
  9901. lt_cv_ar_at_file=@
  9902. fi
  9903. fi
  9904. rm -f conftest.* libconftest.a
  9905. fi
  9906. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9907. fi
  9908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
  9909. $as_echo "$lt_cv_ar_at_file" >&6; }
  9910. if test no = "$lt_cv_ar_at_file"; then
  9911. archiver_list_spec=
  9912. else
  9913. archiver_list_spec=$lt_cv_ar_at_file
  9914. fi
  9915. if test -n "$ac_tool_prefix"; then
  9916. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  9917. set dummy ${ac_tool_prefix}strip; ac_word=$2
  9918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9919. $as_echo_n "checking for $ac_word... " >&6; }
  9920. if ${ac_cv_prog_STRIP+:} false; then :
  9921. $as_echo_n "(cached) " >&6
  9922. else
  9923. if test -n "$STRIP"; then
  9924. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  9925. else
  9926. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9927. for as_dir in $PATH
  9928. do
  9929. IFS=$as_save_IFS
  9930. test -z "$as_dir" && as_dir=.
  9931. for ac_exec_ext in '' $ac_executable_extensions; do
  9932. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9933. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  9934. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9935. break 2
  9936. fi
  9937. done
  9938. done
  9939. IFS=$as_save_IFS
  9940. fi
  9941. fi
  9942. STRIP=$ac_cv_prog_STRIP
  9943. if test -n "$STRIP"; then
  9944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  9945. $as_echo "$STRIP" >&6; }
  9946. else
  9947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9948. $as_echo "no" >&6; }
  9949. fi
  9950. fi
  9951. if test -z "$ac_cv_prog_STRIP"; then
  9952. ac_ct_STRIP=$STRIP
  9953. # Extract the first word of "strip", so it can be a program name with args.
  9954. set dummy strip; ac_word=$2
  9955. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9956. $as_echo_n "checking for $ac_word... " >&6; }
  9957. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  9958. $as_echo_n "(cached) " >&6
  9959. else
  9960. if test -n "$ac_ct_STRIP"; then
  9961. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  9962. else
  9963. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9964. for as_dir in $PATH
  9965. do
  9966. IFS=$as_save_IFS
  9967. test -z "$as_dir" && as_dir=.
  9968. for ac_exec_ext in '' $ac_executable_extensions; do
  9969. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9970. ac_cv_prog_ac_ct_STRIP="strip"
  9971. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9972. break 2
  9973. fi
  9974. done
  9975. done
  9976. IFS=$as_save_IFS
  9977. fi
  9978. fi
  9979. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  9980. if test -n "$ac_ct_STRIP"; then
  9981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  9982. $as_echo "$ac_ct_STRIP" >&6; }
  9983. else
  9984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9985. $as_echo "no" >&6; }
  9986. fi
  9987. if test "x$ac_ct_STRIP" = x; then
  9988. STRIP=":"
  9989. else
  9990. case $cross_compiling:$ac_tool_warned in
  9991. yes:)
  9992. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  9993. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  9994. ac_tool_warned=yes ;;
  9995. esac
  9996. STRIP=$ac_ct_STRIP
  9997. fi
  9998. else
  9999. STRIP="$ac_cv_prog_STRIP"
  10000. fi
  10001. test -z "$STRIP" && STRIP=:
  10002. if test -n "$ac_tool_prefix"; then
  10003. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  10004. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  10005. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10006. $as_echo_n "checking for $ac_word... " >&6; }
  10007. if ${ac_cv_prog_RANLIB+:} false; then :
  10008. $as_echo_n "(cached) " >&6
  10009. else
  10010. if test -n "$RANLIB"; then
  10011. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  10012. else
  10013. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10014. for as_dir in $PATH
  10015. do
  10016. IFS=$as_save_IFS
  10017. test -z "$as_dir" && as_dir=.
  10018. for ac_exec_ext in '' $ac_executable_extensions; do
  10019. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10020. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  10021. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10022. break 2
  10023. fi
  10024. done
  10025. done
  10026. IFS=$as_save_IFS
  10027. fi
  10028. fi
  10029. RANLIB=$ac_cv_prog_RANLIB
  10030. if test -n "$RANLIB"; then
  10031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  10032. $as_echo "$RANLIB" >&6; }
  10033. else
  10034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10035. $as_echo "no" >&6; }
  10036. fi
  10037. fi
  10038. if test -z "$ac_cv_prog_RANLIB"; then
  10039. ac_ct_RANLIB=$RANLIB
  10040. # Extract the first word of "ranlib", so it can be a program name with args.
  10041. set dummy ranlib; ac_word=$2
  10042. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10043. $as_echo_n "checking for $ac_word... " >&6; }
  10044. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  10045. $as_echo_n "(cached) " >&6
  10046. else
  10047. if test -n "$ac_ct_RANLIB"; then
  10048. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  10049. else
  10050. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10051. for as_dir in $PATH
  10052. do
  10053. IFS=$as_save_IFS
  10054. test -z "$as_dir" && as_dir=.
  10055. for ac_exec_ext in '' $ac_executable_extensions; do
  10056. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10057. ac_cv_prog_ac_ct_RANLIB="ranlib"
  10058. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10059. break 2
  10060. fi
  10061. done
  10062. done
  10063. IFS=$as_save_IFS
  10064. fi
  10065. fi
  10066. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  10067. if test -n "$ac_ct_RANLIB"; then
  10068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  10069. $as_echo "$ac_ct_RANLIB" >&6; }
  10070. else
  10071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10072. $as_echo "no" >&6; }
  10073. fi
  10074. if test "x$ac_ct_RANLIB" = x; then
  10075. RANLIB=":"
  10076. else
  10077. case $cross_compiling:$ac_tool_warned in
  10078. yes:)
  10079. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10080. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10081. ac_tool_warned=yes ;;
  10082. esac
  10083. RANLIB=$ac_ct_RANLIB
  10084. fi
  10085. else
  10086. RANLIB="$ac_cv_prog_RANLIB"
  10087. fi
  10088. test -z "$RANLIB" && RANLIB=:
  10089. # Determine commands to create old-style static archives.
  10090. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  10091. old_postinstall_cmds='chmod 644 $oldlib'
  10092. old_postuninstall_cmds=
  10093. if test -n "$RANLIB"; then
  10094. case $host_os in
  10095. bitrig* | openbsd*)
  10096. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
  10097. ;;
  10098. *)
  10099. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
  10100. ;;
  10101. esac
  10102. old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
  10103. fi
  10104. case $host_os in
  10105. darwin*)
  10106. lock_old_archive_extraction=yes ;;
  10107. *)
  10108. lock_old_archive_extraction=no ;;
  10109. esac
  10110. # If no C compiler was specified, use CC.
  10111. LTCC=${LTCC-"$CC"}
  10112. # If no C compiler flags were specified, use CFLAGS.
  10113. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  10114. # Allow CC to be a program name with arguments.
  10115. compiler=$CC
  10116. # Check for command to grab the raw symbol name followed by C symbol from nm.
  10117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  10118. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  10119. if ${lt_cv_sys_global_symbol_pipe+:} false; then :
  10120. $as_echo_n "(cached) " >&6
  10121. else
  10122. # These are sane defaults that work on at least a few old systems.
  10123. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  10124. # Character class describing NM global symbol codes.
  10125. symcode='[BCDEGRST]'
  10126. # Regexp to match symbols that can be accessed directly from C.
  10127. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  10128. # Define system-specific variables.
  10129. case $host_os in
  10130. aix*)
  10131. symcode='[BCDT]'
  10132. ;;
  10133. cygwin* | mingw* | pw32* | cegcc*)
  10134. symcode='[ABCDGISTW]'
  10135. ;;
  10136. hpux*)
  10137. if test ia64 = "$host_cpu"; then
  10138. symcode='[ABCDEGRST]'
  10139. fi
  10140. ;;
  10141. irix* | nonstopux*)
  10142. symcode='[BCDEGRST]'
  10143. ;;
  10144. osf*)
  10145. symcode='[BCDEGQRST]'
  10146. ;;
  10147. solaris*)
  10148. symcode='[BDRT]'
  10149. ;;
  10150. sco3.2v5*)
  10151. symcode='[DT]'
  10152. ;;
  10153. sysv4.2uw2*)
  10154. symcode='[DT]'
  10155. ;;
  10156. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  10157. symcode='[ABDT]'
  10158. ;;
  10159. sysv4)
  10160. symcode='[DFNSTU]'
  10161. ;;
  10162. esac
  10163. # If we're using GNU nm, then use its standard symbol codes.
  10164. case `$NM -V 2>&1` in
  10165. *GNU* | *'with BFD'*)
  10166. symcode='[ABCDGIRSTW]' ;;
  10167. esac
  10168. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  10169. # Gets list of data symbols to import.
  10170. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
  10171. # Adjust the below global symbol transforms to fixup imported variables.
  10172. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
  10173. lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
  10174. lt_c_name_lib_hook="\
  10175. -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
  10176. -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
  10177. else
  10178. # Disable hooks by default.
  10179. lt_cv_sys_global_symbol_to_import=
  10180. lt_cdecl_hook=
  10181. lt_c_name_hook=
  10182. lt_c_name_lib_hook=
  10183. fi
  10184. # Transform an extracted symbol line into a proper C declaration.
  10185. # Some systems (esp. on ia64) link data and code symbols differently,
  10186. # so use this general approach.
  10187. lt_cv_sys_global_symbol_to_cdecl="sed -n"\
  10188. $lt_cdecl_hook\
  10189. " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
  10190. " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
  10191. # Transform an extracted symbol line into symbol name and symbol address
  10192. lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
  10193. $lt_c_name_hook\
  10194. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  10195. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
  10196. # Transform an extracted symbol line into symbol name with lib prefix and
  10197. # symbol address.
  10198. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
  10199. $lt_c_name_lib_hook\
  10200. " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
  10201. " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
  10202. " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
  10203. # Handle CRLF in mingw tool chain
  10204. opt_cr=
  10205. case $build_os in
  10206. mingw*)
  10207. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  10208. ;;
  10209. esac
  10210. # Try without a prefix underscore, then with it.
  10211. for ac_symprfx in "" "_"; do
  10212. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  10213. symxfrm="\\1 $ac_symprfx\\2 \\2"
  10214. # Write the raw and C identifiers.
  10215. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  10216. # Fake it for dumpbin and say T for any non-static function,
  10217. # D for any global variable and I for any imported variable.
  10218. # Also find C++ and __fastcall symbols from MSVC++,
  10219. # which start with @ or ?.
  10220. lt_cv_sys_global_symbol_pipe="$AWK '"\
  10221. " {last_section=section; section=\$ 3};"\
  10222. " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
  10223. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  10224. " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
  10225. " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
  10226. " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
  10227. " \$ 0!~/External *\|/{next};"\
  10228. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  10229. " {if(hide[section]) next};"\
  10230. " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
  10231. " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
  10232. " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
  10233. " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
  10234. " ' prfx=^$ac_symprfx"
  10235. else
  10236. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  10237. fi
  10238. lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
  10239. # Check to see that the pipe works correctly.
  10240. pipe_works=no
  10241. rm -f conftest*
  10242. cat > conftest.$ac_ext <<_LT_EOF
  10243. #ifdef __cplusplus
  10244. extern "C" {
  10245. #endif
  10246. char nm_test_var;
  10247. void nm_test_func(void);
  10248. void nm_test_func(void){}
  10249. #ifdef __cplusplus
  10250. }
  10251. #endif
  10252. int main(){nm_test_var='a';nm_test_func();return(0);}
  10253. _LT_EOF
  10254. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10255. (eval $ac_compile) 2>&5
  10256. ac_status=$?
  10257. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10258. test $ac_status = 0; }; then
  10259. # Now try to grab the symbols.
  10260. nlist=conftest.nm
  10261. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  10262. (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  10263. ac_status=$?
  10264. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10265. test $ac_status = 0; } && test -s "$nlist"; then
  10266. # Try sorting and uniquifying the output.
  10267. if sort "$nlist" | uniq > "$nlist"T; then
  10268. mv -f "$nlist"T "$nlist"
  10269. else
  10270. rm -f "$nlist"T
  10271. fi
  10272. # Make sure that we snagged all the symbols we need.
  10273. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  10274. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  10275. cat <<_LT_EOF > conftest.$ac_ext
  10276. /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
  10277. #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
  10278. /* DATA imports from DLLs on WIN32 can't be const, because runtime
  10279. relocations are performed -- see ld's documentation on pseudo-relocs. */
  10280. # define LT@&t@_DLSYM_CONST
  10281. #elif defined __osf__
  10282. /* This system does not cope well with relocations in const data. */
  10283. # define LT@&t@_DLSYM_CONST
  10284. #else
  10285. # define LT@&t@_DLSYM_CONST const
  10286. #endif
  10287. #ifdef __cplusplus
  10288. extern "C" {
  10289. #endif
  10290. _LT_EOF
  10291. # Now generate the symbol file.
  10292. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  10293. cat <<_LT_EOF >> conftest.$ac_ext
  10294. /* The mapping between symbol names and symbols. */
  10295. LT@&t@_DLSYM_CONST struct {
  10296. const char *name;
  10297. void *address;
  10298. }
  10299. lt__PROGRAM__LTX_preloaded_symbols[] =
  10300. {
  10301. { "@PROGRAM@", (void *) 0 },
  10302. _LT_EOF
  10303. $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  10304. cat <<\_LT_EOF >> conftest.$ac_ext
  10305. {0, (void *) 0}
  10306. };
  10307. /* This works around a problem in FreeBSD linker */
  10308. #ifdef FREEBSD_WORKAROUND
  10309. static const void *lt_preloaded_setup() {
  10310. return lt__PROGRAM__LTX_preloaded_symbols;
  10311. }
  10312. #endif
  10313. #ifdef __cplusplus
  10314. }
  10315. #endif
  10316. _LT_EOF
  10317. # Now try linking the two files.
  10318. mv conftest.$ac_objext conftstm.$ac_objext
  10319. lt_globsym_save_LIBS=$LIBS
  10320. lt_globsym_save_CFLAGS=$CFLAGS
  10321. LIBS=conftstm.$ac_objext
  10322. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  10323. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  10324. (eval $ac_link) 2>&5
  10325. ac_status=$?
  10326. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10327. test $ac_status = 0; } && test -s conftest$ac_exeext; then
  10328. pipe_works=yes
  10329. fi
  10330. LIBS=$lt_globsym_save_LIBS
  10331. CFLAGS=$lt_globsym_save_CFLAGS
  10332. else
  10333. echo "cannot find nm_test_func in $nlist" >&5
  10334. fi
  10335. else
  10336. echo "cannot find nm_test_var in $nlist" >&5
  10337. fi
  10338. else
  10339. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  10340. fi
  10341. else
  10342. echo "$progname: failed program was:" >&5
  10343. cat conftest.$ac_ext >&5
  10344. fi
  10345. rm -rf conftest* conftst*
  10346. # Do not use the global_symbol_pipe unless it works.
  10347. if test yes = "$pipe_works"; then
  10348. break
  10349. else
  10350. lt_cv_sys_global_symbol_pipe=
  10351. fi
  10352. done
  10353. fi
  10354. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  10355. lt_cv_sys_global_symbol_to_cdecl=
  10356. fi
  10357. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  10358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  10359. $as_echo "failed" >&6; }
  10360. else
  10361. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  10362. $as_echo "ok" >&6; }
  10363. fi
  10364. # Response file support.
  10365. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  10366. nm_file_list_spec='@'
  10367. elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
  10368. nm_file_list_spec='@'
  10369. fi
  10370. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
  10371. $as_echo_n "checking for sysroot... " >&6; }
  10372. @%:@ Check whether --with-sysroot was given.
  10373. if test "${with_sysroot+set}" = set; then :
  10374. withval=$with_sysroot;
  10375. else
  10376. with_sysroot=no
  10377. fi
  10378. lt_sysroot=
  10379. case $with_sysroot in #(
  10380. yes)
  10381. if test yes = "$GCC"; then
  10382. lt_sysroot=`$CC --print-sysroot 2>/dev/null`
  10383. fi
  10384. ;; #(
  10385. /*)
  10386. lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
  10387. ;; #(
  10388. no|'')
  10389. ;; #(
  10390. *)
  10391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
  10392. $as_echo "$with_sysroot" >&6; }
  10393. as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
  10394. ;;
  10395. esac
  10396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
  10397. $as_echo "${lt_sysroot:-no}" >&6; }
  10398. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
  10399. $as_echo_n "checking for a working dd... " >&6; }
  10400. if ${ac_cv_path_lt_DD+:} false; then :
  10401. $as_echo_n "(cached) " >&6
  10402. else
  10403. printf 0123456789abcdef0123456789abcdef >conftest.i
  10404. cat conftest.i conftest.i >conftest2.i
  10405. : ${lt_DD:=$DD}
  10406. if test -z "$lt_DD"; then
  10407. ac_path_lt_DD_found=false
  10408. # Loop through the user's path and test for each of PROGNAME-LIST
  10409. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10410. for as_dir in $PATH
  10411. do
  10412. IFS=$as_save_IFS
  10413. test -z "$as_dir" && as_dir=.
  10414. for ac_prog in dd; do
  10415. for ac_exec_ext in '' $ac_executable_extensions; do
  10416. ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
  10417. as_fn_executable_p "$ac_path_lt_DD" || continue
  10418. if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  10419. cmp -s conftest.i conftest.out \
  10420. && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
  10421. fi
  10422. $ac_path_lt_DD_found && break 3
  10423. done
  10424. done
  10425. done
  10426. IFS=$as_save_IFS
  10427. if test -z "$ac_cv_path_lt_DD"; then
  10428. :
  10429. fi
  10430. else
  10431. ac_cv_path_lt_DD=$lt_DD
  10432. fi
  10433. rm -f conftest.i conftest2.i conftest.out
  10434. fi
  10435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
  10436. $as_echo "$ac_cv_path_lt_DD" >&6; }
  10437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
  10438. $as_echo_n "checking how to truncate binary pipes... " >&6; }
  10439. if ${lt_cv_truncate_bin+:} false; then :
  10440. $as_echo_n "(cached) " >&6
  10441. else
  10442. printf 0123456789abcdef0123456789abcdef >conftest.i
  10443. cat conftest.i conftest.i >conftest2.i
  10444. lt_cv_truncate_bin=
  10445. if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
  10446. cmp -s conftest.i conftest.out \
  10447. && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
  10448. fi
  10449. rm -f conftest.i conftest2.i conftest.out
  10450. test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
  10451. fi
  10452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
  10453. $as_echo "$lt_cv_truncate_bin" >&6; }
  10454. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  10455. func_cc_basename ()
  10456. {
  10457. for cc_temp in @S|@*""; do
  10458. case $cc_temp in
  10459. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  10460. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  10461. \-*) ;;
  10462. *) break;;
  10463. esac
  10464. done
  10465. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  10466. }
  10467. @%:@ Check whether --enable-libtool-lock was given.
  10468. if test "${enable_libtool_lock+set}" = set; then :
  10469. enableval=$enable_libtool_lock;
  10470. fi
  10471. test no = "$enable_libtool_lock" || enable_libtool_lock=yes
  10472. # Some flags need to be propagated to the compiler or linker for good
  10473. # libtool support.
  10474. case $host in
  10475. ia64-*-hpux*)
  10476. # Find out what ABI is being produced by ac_compile, and set mode
  10477. # options accordingly.
  10478. echo 'int i;' > conftest.$ac_ext
  10479. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10480. (eval $ac_compile) 2>&5
  10481. ac_status=$?
  10482. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10483. test $ac_status = 0; }; then
  10484. case `/usr/bin/file conftest.$ac_objext` in
  10485. *ELF-32*)
  10486. HPUX_IA64_MODE=32
  10487. ;;
  10488. *ELF-64*)
  10489. HPUX_IA64_MODE=64
  10490. ;;
  10491. esac
  10492. fi
  10493. rm -rf conftest*
  10494. ;;
  10495. *-*-irix6*)
  10496. # Find out what ABI is being produced by ac_compile, and set linker
  10497. # options accordingly.
  10498. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  10499. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10500. (eval $ac_compile) 2>&5
  10501. ac_status=$?
  10502. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10503. test $ac_status = 0; }; then
  10504. if test yes = "$lt_cv_prog_gnu_ld"; then
  10505. case `/usr/bin/file conftest.$ac_objext` in
  10506. *32-bit*)
  10507. LD="${LD-ld} -melf32bsmip"
  10508. ;;
  10509. *N32*)
  10510. LD="${LD-ld} -melf32bmipn32"
  10511. ;;
  10512. *64-bit*)
  10513. LD="${LD-ld} -melf64bmip"
  10514. ;;
  10515. esac
  10516. else
  10517. case `/usr/bin/file conftest.$ac_objext` in
  10518. *32-bit*)
  10519. LD="${LD-ld} -32"
  10520. ;;
  10521. *N32*)
  10522. LD="${LD-ld} -n32"
  10523. ;;
  10524. *64-bit*)
  10525. LD="${LD-ld} -64"
  10526. ;;
  10527. esac
  10528. fi
  10529. fi
  10530. rm -rf conftest*
  10531. ;;
  10532. mips64*-*linux*)
  10533. # Find out what ABI is being produced by ac_compile, and set linker
  10534. # options accordingly.
  10535. echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  10536. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10537. (eval $ac_compile) 2>&5
  10538. ac_status=$?
  10539. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10540. test $ac_status = 0; }; then
  10541. emul=elf
  10542. case `/usr/bin/file conftest.$ac_objext` in
  10543. *32-bit*)
  10544. emul="${emul}32"
  10545. ;;
  10546. *64-bit*)
  10547. emul="${emul}64"
  10548. ;;
  10549. esac
  10550. case `/usr/bin/file conftest.$ac_objext` in
  10551. *MSB*)
  10552. emul="${emul}btsmip"
  10553. ;;
  10554. *LSB*)
  10555. emul="${emul}ltsmip"
  10556. ;;
  10557. esac
  10558. case `/usr/bin/file conftest.$ac_objext` in
  10559. *N32*)
  10560. emul="${emul}n32"
  10561. ;;
  10562. esac
  10563. LD="${LD-ld} -m $emul"
  10564. fi
  10565. rm -rf conftest*
  10566. ;;
  10567. x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
  10568. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  10569. # Find out what ABI is being produced by ac_compile, and set linker
  10570. # options accordingly. Note that the listed cases only cover the
  10571. # situations where additional linker options are needed (such as when
  10572. # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  10573. # vice versa); the common cases where no linker options are needed do
  10574. # not appear in the list.
  10575. echo 'int i;' > conftest.$ac_ext
  10576. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10577. (eval $ac_compile) 2>&5
  10578. ac_status=$?
  10579. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10580. test $ac_status = 0; }; then
  10581. case `/usr/bin/file conftest.o` in
  10582. *32-bit*)
  10583. case $host in
  10584. x86_64-*kfreebsd*-gnu)
  10585. LD="${LD-ld} -m elf_i386_fbsd"
  10586. ;;
  10587. x86_64-*linux*)
  10588. case `/usr/bin/file conftest.o` in
  10589. *x86-64*)
  10590. LD="${LD-ld} -m elf32_x86_64"
  10591. ;;
  10592. *)
  10593. LD="${LD-ld} -m elf_i386"
  10594. ;;
  10595. esac
  10596. ;;
  10597. powerpc64le-*linux*)
  10598. LD="${LD-ld} -m elf32lppclinux"
  10599. ;;
  10600. powerpc64-*linux*)
  10601. LD="${LD-ld} -m elf32ppclinux"
  10602. ;;
  10603. s390x-*linux*)
  10604. LD="${LD-ld} -m elf_s390"
  10605. ;;
  10606. sparc64-*linux*)
  10607. LD="${LD-ld} -m elf32_sparc"
  10608. ;;
  10609. esac
  10610. ;;
  10611. *64-bit*)
  10612. case $host in
  10613. x86_64-*kfreebsd*-gnu)
  10614. LD="${LD-ld} -m elf_x86_64_fbsd"
  10615. ;;
  10616. x86_64-*linux*)
  10617. LD="${LD-ld} -m elf_x86_64"
  10618. ;;
  10619. powerpcle-*linux*)
  10620. LD="${LD-ld} -m elf64lppc"
  10621. ;;
  10622. powerpc-*linux*)
  10623. LD="${LD-ld} -m elf64ppc"
  10624. ;;
  10625. s390*-*linux*|s390*-*tpf*)
  10626. LD="${LD-ld} -m elf64_s390"
  10627. ;;
  10628. sparc*-*linux*)
  10629. LD="${LD-ld} -m elf64_sparc"
  10630. ;;
  10631. esac
  10632. ;;
  10633. esac
  10634. fi
  10635. rm -rf conftest*
  10636. ;;
  10637. *-*-sco3.2v5*)
  10638. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  10639. SAVE_CFLAGS=$CFLAGS
  10640. CFLAGS="$CFLAGS -belf"
  10641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  10642. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  10643. if ${lt_cv_cc_needs_belf+:} false; then :
  10644. $as_echo_n "(cached) " >&6
  10645. else
  10646. ac_ext=c
  10647. ac_cpp='$CPP $CPPFLAGS'
  10648. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10649. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10650. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10651. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10652. /* end confdefs.h. */
  10653. int
  10654. main ()
  10655. {
  10656. ;
  10657. return 0;
  10658. }
  10659. _ACEOF
  10660. if ac_fn_c_try_link "$LINENO"; then :
  10661. lt_cv_cc_needs_belf=yes
  10662. else
  10663. lt_cv_cc_needs_belf=no
  10664. fi
  10665. rm -f core conftest.err conftest.$ac_objext \
  10666. conftest$ac_exeext conftest.$ac_ext
  10667. ac_ext=c
  10668. ac_cpp='$CPP $CPPFLAGS'
  10669. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10670. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10671. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10672. fi
  10673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  10674. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  10675. if test yes != "$lt_cv_cc_needs_belf"; then
  10676. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  10677. CFLAGS=$SAVE_CFLAGS
  10678. fi
  10679. ;;
  10680. *-*solaris*)
  10681. # Find out what ABI is being produced by ac_compile, and set linker
  10682. # options accordingly.
  10683. echo 'int i;' > conftest.$ac_ext
  10684. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  10685. (eval $ac_compile) 2>&5
  10686. ac_status=$?
  10687. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10688. test $ac_status = 0; }; then
  10689. case `/usr/bin/file conftest.o` in
  10690. *64-bit*)
  10691. case $lt_cv_prog_gnu_ld in
  10692. yes*)
  10693. case $host in
  10694. i?86-*-solaris*|x86_64-*-solaris*)
  10695. LD="${LD-ld} -m elf_x86_64"
  10696. ;;
  10697. sparc*-*-solaris*)
  10698. LD="${LD-ld} -m elf64_sparc"
  10699. ;;
  10700. esac
  10701. # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
  10702. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
  10703. LD=${LD-ld}_sol2
  10704. fi
  10705. ;;
  10706. *)
  10707. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  10708. LD="${LD-ld} -64"
  10709. fi
  10710. ;;
  10711. esac
  10712. ;;
  10713. esac
  10714. fi
  10715. rm -rf conftest*
  10716. ;;
  10717. esac
  10718. need_locks=$enable_libtool_lock
  10719. if test -n "$ac_tool_prefix"; then
  10720. # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
  10721. set dummy ${ac_tool_prefix}mt; ac_word=$2
  10722. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10723. $as_echo_n "checking for $ac_word... " >&6; }
  10724. if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
  10725. $as_echo_n "(cached) " >&6
  10726. else
  10727. if test -n "$MANIFEST_TOOL"; then
  10728. ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
  10729. else
  10730. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10731. for as_dir in $PATH
  10732. do
  10733. IFS=$as_save_IFS
  10734. test -z "$as_dir" && as_dir=.
  10735. for ac_exec_ext in '' $ac_executable_extensions; do
  10736. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10737. ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
  10738. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10739. break 2
  10740. fi
  10741. done
  10742. done
  10743. IFS=$as_save_IFS
  10744. fi
  10745. fi
  10746. MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
  10747. if test -n "$MANIFEST_TOOL"; then
  10748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
  10749. $as_echo "$MANIFEST_TOOL" >&6; }
  10750. else
  10751. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10752. $as_echo "no" >&6; }
  10753. fi
  10754. fi
  10755. if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
  10756. ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
  10757. # Extract the first word of "mt", so it can be a program name with args.
  10758. set dummy mt; ac_word=$2
  10759. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10760. $as_echo_n "checking for $ac_word... " >&6; }
  10761. if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
  10762. $as_echo_n "(cached) " >&6
  10763. else
  10764. if test -n "$ac_ct_MANIFEST_TOOL"; then
  10765. ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
  10766. else
  10767. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10768. for as_dir in $PATH
  10769. do
  10770. IFS=$as_save_IFS
  10771. test -z "$as_dir" && as_dir=.
  10772. for ac_exec_ext in '' $ac_executable_extensions; do
  10773. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10774. ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
  10775. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10776. break 2
  10777. fi
  10778. done
  10779. done
  10780. IFS=$as_save_IFS
  10781. fi
  10782. fi
  10783. ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
  10784. if test -n "$ac_ct_MANIFEST_TOOL"; then
  10785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
  10786. $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
  10787. else
  10788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10789. $as_echo "no" >&6; }
  10790. fi
  10791. if test "x$ac_ct_MANIFEST_TOOL" = x; then
  10792. MANIFEST_TOOL=":"
  10793. else
  10794. case $cross_compiling:$ac_tool_warned in
  10795. yes:)
  10796. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10797. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10798. ac_tool_warned=yes ;;
  10799. esac
  10800. MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
  10801. fi
  10802. else
  10803. MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
  10804. fi
  10805. test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
  10806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
  10807. $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
  10808. if ${lt_cv_path_mainfest_tool+:} false; then :
  10809. $as_echo_n "(cached) " >&6
  10810. else
  10811. lt_cv_path_mainfest_tool=no
  10812. echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
  10813. $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
  10814. cat conftest.err >&5
  10815. if $GREP 'Manifest Tool' conftest.out > /dev/null; then
  10816. lt_cv_path_mainfest_tool=yes
  10817. fi
  10818. rm -f conftest*
  10819. fi
  10820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
  10821. $as_echo "$lt_cv_path_mainfest_tool" >&6; }
  10822. if test yes != "$lt_cv_path_mainfest_tool"; then
  10823. MANIFEST_TOOL=:
  10824. fi
  10825. case $host_os in
  10826. rhapsody* | darwin*)
  10827. if test -n "$ac_tool_prefix"; then
  10828. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  10829. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  10830. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10831. $as_echo_n "checking for $ac_word... " >&6; }
  10832. if ${ac_cv_prog_DSYMUTIL+:} false; then :
  10833. $as_echo_n "(cached) " >&6
  10834. else
  10835. if test -n "$DSYMUTIL"; then
  10836. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  10837. else
  10838. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10839. for as_dir in $PATH
  10840. do
  10841. IFS=$as_save_IFS
  10842. test -z "$as_dir" && as_dir=.
  10843. for ac_exec_ext in '' $ac_executable_extensions; do
  10844. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10845. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  10846. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10847. break 2
  10848. fi
  10849. done
  10850. done
  10851. IFS=$as_save_IFS
  10852. fi
  10853. fi
  10854. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  10855. if test -n "$DSYMUTIL"; then
  10856. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  10857. $as_echo "$DSYMUTIL" >&6; }
  10858. else
  10859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10860. $as_echo "no" >&6; }
  10861. fi
  10862. fi
  10863. if test -z "$ac_cv_prog_DSYMUTIL"; then
  10864. ac_ct_DSYMUTIL=$DSYMUTIL
  10865. # Extract the first word of "dsymutil", so it can be a program name with args.
  10866. set dummy dsymutil; ac_word=$2
  10867. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10868. $as_echo_n "checking for $ac_word... " >&6; }
  10869. if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
  10870. $as_echo_n "(cached) " >&6
  10871. else
  10872. if test -n "$ac_ct_DSYMUTIL"; then
  10873. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  10874. else
  10875. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10876. for as_dir in $PATH
  10877. do
  10878. IFS=$as_save_IFS
  10879. test -z "$as_dir" && as_dir=.
  10880. for ac_exec_ext in '' $ac_executable_extensions; do
  10881. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10882. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  10883. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10884. break 2
  10885. fi
  10886. done
  10887. done
  10888. IFS=$as_save_IFS
  10889. fi
  10890. fi
  10891. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  10892. if test -n "$ac_ct_DSYMUTIL"; then
  10893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  10894. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  10895. else
  10896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10897. $as_echo "no" >&6; }
  10898. fi
  10899. if test "x$ac_ct_DSYMUTIL" = x; then
  10900. DSYMUTIL=":"
  10901. else
  10902. case $cross_compiling:$ac_tool_warned in
  10903. yes:)
  10904. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10905. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10906. ac_tool_warned=yes ;;
  10907. esac
  10908. DSYMUTIL=$ac_ct_DSYMUTIL
  10909. fi
  10910. else
  10911. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  10912. fi
  10913. if test -n "$ac_tool_prefix"; then
  10914. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  10915. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  10916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10917. $as_echo_n "checking for $ac_word... " >&6; }
  10918. if ${ac_cv_prog_NMEDIT+:} false; then :
  10919. $as_echo_n "(cached) " >&6
  10920. else
  10921. if test -n "$NMEDIT"; then
  10922. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  10923. else
  10924. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10925. for as_dir in $PATH
  10926. do
  10927. IFS=$as_save_IFS
  10928. test -z "$as_dir" && as_dir=.
  10929. for ac_exec_ext in '' $ac_executable_extensions; do
  10930. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10931. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  10932. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10933. break 2
  10934. fi
  10935. done
  10936. done
  10937. IFS=$as_save_IFS
  10938. fi
  10939. fi
  10940. NMEDIT=$ac_cv_prog_NMEDIT
  10941. if test -n "$NMEDIT"; then
  10942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  10943. $as_echo "$NMEDIT" >&6; }
  10944. else
  10945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10946. $as_echo "no" >&6; }
  10947. fi
  10948. fi
  10949. if test -z "$ac_cv_prog_NMEDIT"; then
  10950. ac_ct_NMEDIT=$NMEDIT
  10951. # Extract the first word of "nmedit", so it can be a program name with args.
  10952. set dummy nmedit; ac_word=$2
  10953. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  10954. $as_echo_n "checking for $ac_word... " >&6; }
  10955. if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
  10956. $as_echo_n "(cached) " >&6
  10957. else
  10958. if test -n "$ac_ct_NMEDIT"; then
  10959. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  10960. else
  10961. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  10962. for as_dir in $PATH
  10963. do
  10964. IFS=$as_save_IFS
  10965. test -z "$as_dir" && as_dir=.
  10966. for ac_exec_ext in '' $ac_executable_extensions; do
  10967. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  10968. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  10969. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  10970. break 2
  10971. fi
  10972. done
  10973. done
  10974. IFS=$as_save_IFS
  10975. fi
  10976. fi
  10977. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  10978. if test -n "$ac_ct_NMEDIT"; then
  10979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  10980. $as_echo "$ac_ct_NMEDIT" >&6; }
  10981. else
  10982. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10983. $as_echo "no" >&6; }
  10984. fi
  10985. if test "x$ac_ct_NMEDIT" = x; then
  10986. NMEDIT=":"
  10987. else
  10988. case $cross_compiling:$ac_tool_warned in
  10989. yes:)
  10990. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  10991. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  10992. ac_tool_warned=yes ;;
  10993. esac
  10994. NMEDIT=$ac_ct_NMEDIT
  10995. fi
  10996. else
  10997. NMEDIT="$ac_cv_prog_NMEDIT"
  10998. fi
  10999. if test -n "$ac_tool_prefix"; then
  11000. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  11001. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  11002. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11003. $as_echo_n "checking for $ac_word... " >&6; }
  11004. if ${ac_cv_prog_LIPO+:} false; then :
  11005. $as_echo_n "(cached) " >&6
  11006. else
  11007. if test -n "$LIPO"; then
  11008. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  11009. else
  11010. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11011. for as_dir in $PATH
  11012. do
  11013. IFS=$as_save_IFS
  11014. test -z "$as_dir" && as_dir=.
  11015. for ac_exec_ext in '' $ac_executable_extensions; do
  11016. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11017. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  11018. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11019. break 2
  11020. fi
  11021. done
  11022. done
  11023. IFS=$as_save_IFS
  11024. fi
  11025. fi
  11026. LIPO=$ac_cv_prog_LIPO
  11027. if test -n "$LIPO"; then
  11028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  11029. $as_echo "$LIPO" >&6; }
  11030. else
  11031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11032. $as_echo "no" >&6; }
  11033. fi
  11034. fi
  11035. if test -z "$ac_cv_prog_LIPO"; then
  11036. ac_ct_LIPO=$LIPO
  11037. # Extract the first word of "lipo", so it can be a program name with args.
  11038. set dummy lipo; ac_word=$2
  11039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11040. $as_echo_n "checking for $ac_word... " >&6; }
  11041. if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
  11042. $as_echo_n "(cached) " >&6
  11043. else
  11044. if test -n "$ac_ct_LIPO"; then
  11045. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  11046. else
  11047. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11048. for as_dir in $PATH
  11049. do
  11050. IFS=$as_save_IFS
  11051. test -z "$as_dir" && as_dir=.
  11052. for ac_exec_ext in '' $ac_executable_extensions; do
  11053. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11054. ac_cv_prog_ac_ct_LIPO="lipo"
  11055. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11056. break 2
  11057. fi
  11058. done
  11059. done
  11060. IFS=$as_save_IFS
  11061. fi
  11062. fi
  11063. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  11064. if test -n "$ac_ct_LIPO"; then
  11065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  11066. $as_echo "$ac_ct_LIPO" >&6; }
  11067. else
  11068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11069. $as_echo "no" >&6; }
  11070. fi
  11071. if test "x$ac_ct_LIPO" = x; then
  11072. LIPO=":"
  11073. else
  11074. case $cross_compiling:$ac_tool_warned in
  11075. yes:)
  11076. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11077. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11078. ac_tool_warned=yes ;;
  11079. esac
  11080. LIPO=$ac_ct_LIPO
  11081. fi
  11082. else
  11083. LIPO="$ac_cv_prog_LIPO"
  11084. fi
  11085. if test -n "$ac_tool_prefix"; then
  11086. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  11087. set dummy ${ac_tool_prefix}otool; ac_word=$2
  11088. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11089. $as_echo_n "checking for $ac_word... " >&6; }
  11090. if ${ac_cv_prog_OTOOL+:} false; then :
  11091. $as_echo_n "(cached) " >&6
  11092. else
  11093. if test -n "$OTOOL"; then
  11094. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  11095. else
  11096. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11097. for as_dir in $PATH
  11098. do
  11099. IFS=$as_save_IFS
  11100. test -z "$as_dir" && as_dir=.
  11101. for ac_exec_ext in '' $ac_executable_extensions; do
  11102. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11103. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  11104. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11105. break 2
  11106. fi
  11107. done
  11108. done
  11109. IFS=$as_save_IFS
  11110. fi
  11111. fi
  11112. OTOOL=$ac_cv_prog_OTOOL
  11113. if test -n "$OTOOL"; then
  11114. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  11115. $as_echo "$OTOOL" >&6; }
  11116. else
  11117. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11118. $as_echo "no" >&6; }
  11119. fi
  11120. fi
  11121. if test -z "$ac_cv_prog_OTOOL"; then
  11122. ac_ct_OTOOL=$OTOOL
  11123. # Extract the first word of "otool", so it can be a program name with args.
  11124. set dummy otool; ac_word=$2
  11125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11126. $as_echo_n "checking for $ac_word... " >&6; }
  11127. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  11128. $as_echo_n "(cached) " >&6
  11129. else
  11130. if test -n "$ac_ct_OTOOL"; then
  11131. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  11132. else
  11133. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11134. for as_dir in $PATH
  11135. do
  11136. IFS=$as_save_IFS
  11137. test -z "$as_dir" && as_dir=.
  11138. for ac_exec_ext in '' $ac_executable_extensions; do
  11139. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11140. ac_cv_prog_ac_ct_OTOOL="otool"
  11141. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11142. break 2
  11143. fi
  11144. done
  11145. done
  11146. IFS=$as_save_IFS
  11147. fi
  11148. fi
  11149. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  11150. if test -n "$ac_ct_OTOOL"; then
  11151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  11152. $as_echo "$ac_ct_OTOOL" >&6; }
  11153. else
  11154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11155. $as_echo "no" >&6; }
  11156. fi
  11157. if test "x$ac_ct_OTOOL" = x; then
  11158. OTOOL=":"
  11159. else
  11160. case $cross_compiling:$ac_tool_warned in
  11161. yes:)
  11162. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11163. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11164. ac_tool_warned=yes ;;
  11165. esac
  11166. OTOOL=$ac_ct_OTOOL
  11167. fi
  11168. else
  11169. OTOOL="$ac_cv_prog_OTOOL"
  11170. fi
  11171. if test -n "$ac_tool_prefix"; then
  11172. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  11173. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  11174. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11175. $as_echo_n "checking for $ac_word... " >&6; }
  11176. if ${ac_cv_prog_OTOOL64+:} false; then :
  11177. $as_echo_n "(cached) " >&6
  11178. else
  11179. if test -n "$OTOOL64"; then
  11180. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  11181. else
  11182. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11183. for as_dir in $PATH
  11184. do
  11185. IFS=$as_save_IFS
  11186. test -z "$as_dir" && as_dir=.
  11187. for ac_exec_ext in '' $ac_executable_extensions; do
  11188. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11189. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  11190. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11191. break 2
  11192. fi
  11193. done
  11194. done
  11195. IFS=$as_save_IFS
  11196. fi
  11197. fi
  11198. OTOOL64=$ac_cv_prog_OTOOL64
  11199. if test -n "$OTOOL64"; then
  11200. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  11201. $as_echo "$OTOOL64" >&6; }
  11202. else
  11203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11204. $as_echo "no" >&6; }
  11205. fi
  11206. fi
  11207. if test -z "$ac_cv_prog_OTOOL64"; then
  11208. ac_ct_OTOOL64=$OTOOL64
  11209. # Extract the first word of "otool64", so it can be a program name with args.
  11210. set dummy otool64; ac_word=$2
  11211. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  11212. $as_echo_n "checking for $ac_word... " >&6; }
  11213. if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
  11214. $as_echo_n "(cached) " >&6
  11215. else
  11216. if test -n "$ac_ct_OTOOL64"; then
  11217. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  11218. else
  11219. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11220. for as_dir in $PATH
  11221. do
  11222. IFS=$as_save_IFS
  11223. test -z "$as_dir" && as_dir=.
  11224. for ac_exec_ext in '' $ac_executable_extensions; do
  11225. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  11226. ac_cv_prog_ac_ct_OTOOL64="otool64"
  11227. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  11228. break 2
  11229. fi
  11230. done
  11231. done
  11232. IFS=$as_save_IFS
  11233. fi
  11234. fi
  11235. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  11236. if test -n "$ac_ct_OTOOL64"; then
  11237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  11238. $as_echo "$ac_ct_OTOOL64" >&6; }
  11239. else
  11240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11241. $as_echo "no" >&6; }
  11242. fi
  11243. if test "x$ac_ct_OTOOL64" = x; then
  11244. OTOOL64=":"
  11245. else
  11246. case $cross_compiling:$ac_tool_warned in
  11247. yes:)
  11248. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  11249. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  11250. ac_tool_warned=yes ;;
  11251. esac
  11252. OTOOL64=$ac_ct_OTOOL64
  11253. fi
  11254. else
  11255. OTOOL64="$ac_cv_prog_OTOOL64"
  11256. fi
  11257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  11258. $as_echo_n "checking for -single_module linker flag... " >&6; }
  11259. if ${lt_cv_apple_cc_single_mod+:} false; then :
  11260. $as_echo_n "(cached) " >&6
  11261. else
  11262. lt_cv_apple_cc_single_mod=no
  11263. if test -z "$LT_MULTI_MODULE"; then
  11264. # By default we will add the -single_module flag. You can override
  11265. # by either setting the environment variable LT_MULTI_MODULE
  11266. # non-empty at configure time, or by adding -multi_module to the
  11267. # link flags.
  11268. rm -rf libconftest.dylib*
  11269. echo "int foo(void){return 1;}" > conftest.c
  11270. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  11271. -dynamiclib -Wl,-single_module conftest.c" >&5
  11272. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  11273. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  11274. _lt_result=$?
  11275. # If there is a non-empty error log, and "single_module"
  11276. # appears in it, assume the flag caused a linker warning
  11277. if test -s conftest.err && $GREP single_module conftest.err; then
  11278. cat conftest.err >&5
  11279. # Otherwise, if the output was created with a 0 exit code from
  11280. # the compiler, it worked.
  11281. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
  11282. lt_cv_apple_cc_single_mod=yes
  11283. else
  11284. cat conftest.err >&5
  11285. fi
  11286. rm -rf libconftest.dylib*
  11287. rm -f conftest.*
  11288. fi
  11289. fi
  11290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  11291. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  11292. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  11293. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  11294. if ${lt_cv_ld_exported_symbols_list+:} false; then :
  11295. $as_echo_n "(cached) " >&6
  11296. else
  11297. lt_cv_ld_exported_symbols_list=no
  11298. save_LDFLAGS=$LDFLAGS
  11299. echo "_main" > conftest.sym
  11300. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  11301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11302. /* end confdefs.h. */
  11303. int
  11304. main ()
  11305. {
  11306. ;
  11307. return 0;
  11308. }
  11309. _ACEOF
  11310. if ac_fn_c_try_link "$LINENO"; then :
  11311. lt_cv_ld_exported_symbols_list=yes
  11312. else
  11313. lt_cv_ld_exported_symbols_list=no
  11314. fi
  11315. rm -f core conftest.err conftest.$ac_objext \
  11316. conftest$ac_exeext conftest.$ac_ext
  11317. LDFLAGS=$save_LDFLAGS
  11318. fi
  11319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  11320. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  11321. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  11322. $as_echo_n "checking for -force_load linker flag... " >&6; }
  11323. if ${lt_cv_ld_force_load+:} false; then :
  11324. $as_echo_n "(cached) " >&6
  11325. else
  11326. lt_cv_ld_force_load=no
  11327. cat > conftest.c << _LT_EOF
  11328. int forced_loaded() { return 2;}
  11329. _LT_EOF
  11330. echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  11331. $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  11332. echo "$AR cru libconftest.a conftest.o" >&5
  11333. $AR cru libconftest.a conftest.o 2>&5
  11334. echo "$RANLIB libconftest.a" >&5
  11335. $RANLIB libconftest.a 2>&5
  11336. cat > conftest.c << _LT_EOF
  11337. int main() { return 0;}
  11338. _LT_EOF
  11339. echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  11340. $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  11341. _lt_result=$?
  11342. if test -s conftest.err && $GREP force_load conftest.err; then
  11343. cat conftest.err >&5
  11344. elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
  11345. lt_cv_ld_force_load=yes
  11346. else
  11347. cat conftest.err >&5
  11348. fi
  11349. rm -f conftest.err libconftest.a conftest conftest.c
  11350. rm -rf conftest.dSYM
  11351. fi
  11352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  11353. $as_echo "$lt_cv_ld_force_load" >&6; }
  11354. case $host_os in
  11355. rhapsody* | darwin1.[012])
  11356. _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
  11357. darwin1.*)
  11358. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  11359. darwin*) # darwin 5.x on
  11360. # if running on 10.5 or later, the deployment target defaults
  11361. # to the OS version, if on x86, and 10.4, the deployment
  11362. # target defaults to 10.4. Don't you love it?
  11363. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  11364. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  11365. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  11366. 10.[012][,.]*)
  11367. _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
  11368. 10.*)
  11369. _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
  11370. esac
  11371. ;;
  11372. esac
  11373. if test yes = "$lt_cv_apple_cc_single_mod"; then
  11374. _lt_dar_single_mod='$single_module'
  11375. fi
  11376. if test yes = "$lt_cv_ld_exported_symbols_list"; then
  11377. _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
  11378. else
  11379. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
  11380. fi
  11381. if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
  11382. _lt_dsymutil='~$DSYMUTIL $lib || :'
  11383. else
  11384. _lt_dsymutil=
  11385. fi
  11386. ;;
  11387. esac
  11388. # func_munge_path_list VARIABLE PATH
  11389. # -----------------------------------
  11390. # VARIABLE is name of variable containing _space_ separated list of
  11391. # directories to be munged by the contents of PATH, which is string
  11392. # having a format:
  11393. # "DIR[:DIR]:"
  11394. # string "DIR[ DIR]" will be prepended to VARIABLE
  11395. # ":DIR[:DIR]"
  11396. # string "DIR[ DIR]" will be appended to VARIABLE
  11397. # "DIRP[:DIRP]::[DIRA:]DIRA"
  11398. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  11399. # "DIRA[ DIRA]" will be appended to VARIABLE
  11400. # "DIR[:DIR]"
  11401. # VARIABLE will be replaced by "DIR[ DIR]"
  11402. func_munge_path_list ()
  11403. {
  11404. case x@S|@2 in
  11405. x)
  11406. ;;
  11407. *:)
  11408. eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  11409. ;;
  11410. x:*)
  11411. eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  11412. ;;
  11413. *::*)
  11414. eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  11415. eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  11416. ;;
  11417. *)
  11418. eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  11419. ;;
  11420. esac
  11421. }
  11422. for ac_header in dlfcn.h
  11423. do :
  11424. ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  11425. "
  11426. if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  11427. cat >>confdefs.h <<_ACEOF
  11428. @%:@define HAVE_DLFCN_H 1
  11429. _ACEOF
  11430. fi
  11431. done
  11432. # Set options
  11433. enable_dlopen=no
  11434. enable_win32_dll=no
  11435. @%:@ Check whether --enable-shared was given.
  11436. if test "${enable_shared+set}" = set; then :
  11437. enableval=$enable_shared; p=${PACKAGE-default}
  11438. case $enableval in
  11439. yes) enable_shared=yes ;;
  11440. no) enable_shared=no ;;
  11441. *)
  11442. enable_shared=no
  11443. # Look at the argument we got. We use all the common list separators.
  11444. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  11445. for pkg in $enableval; do
  11446. IFS=$lt_save_ifs
  11447. if test "X$pkg" = "X$p"; then
  11448. enable_shared=yes
  11449. fi
  11450. done
  11451. IFS=$lt_save_ifs
  11452. ;;
  11453. esac
  11454. else
  11455. enable_shared=yes
  11456. fi
  11457. @%:@ Check whether --with-pic was given.
  11458. if test "${with_pic+set}" = set; then :
  11459. withval=$with_pic; lt_p=${PACKAGE-default}
  11460. case $withval in
  11461. yes|no) pic_mode=$withval ;;
  11462. *)
  11463. pic_mode=default
  11464. # Look at the argument we got. We use all the common list separators.
  11465. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  11466. for lt_pkg in $withval; do
  11467. IFS=$lt_save_ifs
  11468. if test "X$lt_pkg" = "X$lt_p"; then
  11469. pic_mode=yes
  11470. fi
  11471. done
  11472. IFS=$lt_save_ifs
  11473. ;;
  11474. esac
  11475. else
  11476. pic_mode=default
  11477. fi
  11478. @%:@ Check whether --enable-fast-install was given.
  11479. if test "${enable_fast_install+set}" = set; then :
  11480. enableval=$enable_fast_install; p=${PACKAGE-default}
  11481. case $enableval in
  11482. yes) enable_fast_install=yes ;;
  11483. no) enable_fast_install=no ;;
  11484. *)
  11485. enable_fast_install=no
  11486. # Look at the argument we got. We use all the common list separators.
  11487. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
  11488. for pkg in $enableval; do
  11489. IFS=$lt_save_ifs
  11490. if test "X$pkg" = "X$p"; then
  11491. enable_fast_install=yes
  11492. fi
  11493. done
  11494. IFS=$lt_save_ifs
  11495. ;;
  11496. esac
  11497. else
  11498. enable_fast_install=yes
  11499. fi
  11500. shared_archive_member_spec=
  11501. case $host,$enable_shared in
  11502. power*-*-aix[5-9]*,yes)
  11503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
  11504. $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
  11505. @%:@ Check whether --with-aix-soname was given.
  11506. if test "${with_aix_soname+set}" = set; then :
  11507. withval=$with_aix_soname; case $withval in
  11508. aix|svr4|both)
  11509. ;;
  11510. *)
  11511. as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
  11512. ;;
  11513. esac
  11514. lt_cv_with_aix_soname=$with_aix_soname
  11515. else
  11516. if ${lt_cv_with_aix_soname+:} false; then :
  11517. $as_echo_n "(cached) " >&6
  11518. else
  11519. lt_cv_with_aix_soname=aix
  11520. fi
  11521. with_aix_soname=$lt_cv_with_aix_soname
  11522. fi
  11523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
  11524. $as_echo "$with_aix_soname" >&6; }
  11525. if test aix != "$with_aix_soname"; then
  11526. # For the AIX way of multilib, we name the shared archive member
  11527. # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
  11528. # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
  11529. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
  11530. # the AIX toolchain works better with OBJECT_MODE set (default 32).
  11531. if test 64 = "${OBJECT_MODE-32}"; then
  11532. shared_archive_member_spec=shr_64
  11533. else
  11534. shared_archive_member_spec=shr
  11535. fi
  11536. fi
  11537. ;;
  11538. *)
  11539. with_aix_soname=aix
  11540. ;;
  11541. esac
  11542. # This can be used to rebuild libtool when needed
  11543. LIBTOOL_DEPS=$ltmain
  11544. # Always use our own libtool.
  11545. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  11546. test -z "$LN_S" && LN_S="ln -s"
  11547. if test -n "${ZSH_VERSION+set}"; then
  11548. setopt NO_GLOB_SUBST
  11549. fi
  11550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  11551. $as_echo_n "checking for objdir... " >&6; }
  11552. if ${lt_cv_objdir+:} false; then :
  11553. $as_echo_n "(cached) " >&6
  11554. else
  11555. rm -f .libs 2>/dev/null
  11556. mkdir .libs 2>/dev/null
  11557. if test -d .libs; then
  11558. lt_cv_objdir=.libs
  11559. else
  11560. # MS-DOS does not allow filenames that begin with a dot.
  11561. lt_cv_objdir=_libs
  11562. fi
  11563. rmdir .libs 2>/dev/null
  11564. fi
  11565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  11566. $as_echo "$lt_cv_objdir" >&6; }
  11567. objdir=$lt_cv_objdir
  11568. cat >>confdefs.h <<_ACEOF
  11569. @%:@define LT_OBJDIR "$lt_cv_objdir/"
  11570. _ACEOF
  11571. case $host_os in
  11572. aix3*)
  11573. # AIX sometimes has problems with the GCC collect2 program. For some
  11574. # reason, if we set the COLLECT_NAMES environment variable, the problems
  11575. # vanish in a puff of smoke.
  11576. if test set != "${COLLECT_NAMES+set}"; then
  11577. COLLECT_NAMES=
  11578. export COLLECT_NAMES
  11579. fi
  11580. ;;
  11581. esac
  11582. # Global variables:
  11583. ofile=libtool
  11584. can_build_shared=yes
  11585. # All known linkers require a '.a' archive for static linking (except MSVC,
  11586. # which needs '.lib').
  11587. libext=a
  11588. with_gnu_ld=$lt_cv_prog_gnu_ld
  11589. old_CC=$CC
  11590. old_CFLAGS=$CFLAGS
  11591. # Set sane defaults for various variables
  11592. test -z "$CC" && CC=cc
  11593. test -z "$LTCC" && LTCC=$CC
  11594. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  11595. test -z "$LD" && LD=ld
  11596. test -z "$ac_objext" && ac_objext=o
  11597. func_cc_basename $compiler
  11598. cc_basename=$func_cc_basename_result
  11599. # Only perform the check for file, if the check method requires it
  11600. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  11601. case $deplibs_check_method in
  11602. file_magic*)
  11603. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  11604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  11605. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  11606. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  11607. $as_echo_n "(cached) " >&6
  11608. else
  11609. case $MAGIC_CMD in
  11610. [\\/*] | ?:[\\/]*)
  11611. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  11612. ;;
  11613. *)
  11614. lt_save_MAGIC_CMD=$MAGIC_CMD
  11615. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  11616. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  11617. for ac_dir in $ac_dummy; do
  11618. IFS=$lt_save_ifs
  11619. test -z "$ac_dir" && ac_dir=.
  11620. if test -f "$ac_dir/${ac_tool_prefix}file"; then
  11621. lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
  11622. if test -n "$file_magic_test_file"; then
  11623. case $deplibs_check_method in
  11624. "file_magic "*)
  11625. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  11626. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  11627. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  11628. $EGREP "$file_magic_regex" > /dev/null; then
  11629. :
  11630. else
  11631. cat <<_LT_EOF 1>&2
  11632. *** Warning: the command libtool uses to detect shared libraries,
  11633. *** $file_magic_cmd, produces output that libtool cannot recognize.
  11634. *** The result is that libtool may fail to recognize shared libraries
  11635. *** as such. This will affect the creation of libtool libraries that
  11636. *** depend on shared libraries, but programs linked with such libtool
  11637. *** libraries will work regardless of this problem. Nevertheless, you
  11638. *** may want to report the problem to your system manager and/or to
  11639. *** bug-libtool@gnu.org
  11640. _LT_EOF
  11641. fi ;;
  11642. esac
  11643. fi
  11644. break
  11645. fi
  11646. done
  11647. IFS=$lt_save_ifs
  11648. MAGIC_CMD=$lt_save_MAGIC_CMD
  11649. ;;
  11650. esac
  11651. fi
  11652. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  11653. if test -n "$MAGIC_CMD"; then
  11654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  11655. $as_echo "$MAGIC_CMD" >&6; }
  11656. else
  11657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11658. $as_echo "no" >&6; }
  11659. fi
  11660. if test -z "$lt_cv_path_MAGIC_CMD"; then
  11661. if test -n "$ac_tool_prefix"; then
  11662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  11663. $as_echo_n "checking for file... " >&6; }
  11664. if ${lt_cv_path_MAGIC_CMD+:} false; then :
  11665. $as_echo_n "(cached) " >&6
  11666. else
  11667. case $MAGIC_CMD in
  11668. [\\/*] | ?:[\\/]*)
  11669. lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
  11670. ;;
  11671. *)
  11672. lt_save_MAGIC_CMD=$MAGIC_CMD
  11673. lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
  11674. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  11675. for ac_dir in $ac_dummy; do
  11676. IFS=$lt_save_ifs
  11677. test -z "$ac_dir" && ac_dir=.
  11678. if test -f "$ac_dir/file"; then
  11679. lt_cv_path_MAGIC_CMD=$ac_dir/"file"
  11680. if test -n "$file_magic_test_file"; then
  11681. case $deplibs_check_method in
  11682. "file_magic "*)
  11683. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  11684. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  11685. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  11686. $EGREP "$file_magic_regex" > /dev/null; then
  11687. :
  11688. else
  11689. cat <<_LT_EOF 1>&2
  11690. *** Warning: the command libtool uses to detect shared libraries,
  11691. *** $file_magic_cmd, produces output that libtool cannot recognize.
  11692. *** The result is that libtool may fail to recognize shared libraries
  11693. *** as such. This will affect the creation of libtool libraries that
  11694. *** depend on shared libraries, but programs linked with such libtool
  11695. *** libraries will work regardless of this problem. Nevertheless, you
  11696. *** may want to report the problem to your system manager and/or to
  11697. *** bug-libtool@gnu.org
  11698. _LT_EOF
  11699. fi ;;
  11700. esac
  11701. fi
  11702. break
  11703. fi
  11704. done
  11705. IFS=$lt_save_ifs
  11706. MAGIC_CMD=$lt_save_MAGIC_CMD
  11707. ;;
  11708. esac
  11709. fi
  11710. MAGIC_CMD=$lt_cv_path_MAGIC_CMD
  11711. if test -n "$MAGIC_CMD"; then
  11712. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  11713. $as_echo "$MAGIC_CMD" >&6; }
  11714. else
  11715. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  11716. $as_echo "no" >&6; }
  11717. fi
  11718. else
  11719. MAGIC_CMD=:
  11720. fi
  11721. fi
  11722. fi
  11723. ;;
  11724. esac
  11725. # Use C for the default configuration in the libtool script
  11726. lt_save_CC=$CC
  11727. ac_ext=c
  11728. ac_cpp='$CPP $CPPFLAGS'
  11729. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  11730. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  11731. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  11732. # Source file extension for C test sources.
  11733. ac_ext=c
  11734. # Object file extension for compiled C test sources.
  11735. objext=o
  11736. objext=$objext
  11737. # Code to be used in simple compile tests
  11738. lt_simple_compile_test_code="int some_variable = 0;"
  11739. # Code to be used in simple link tests
  11740. lt_simple_link_test_code='int main(){return(0);}'
  11741. # If no C compiler was specified, use CC.
  11742. LTCC=${LTCC-"$CC"}
  11743. # If no C compiler flags were specified, use CFLAGS.
  11744. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  11745. # Allow CC to be a program name with arguments.
  11746. compiler=$CC
  11747. # Save the default compiler, since it gets overwritten when the other
  11748. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  11749. compiler_DEFAULT=$CC
  11750. # save warnings/boilerplate of simple test code
  11751. ac_outfile=conftest.$ac_objext
  11752. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  11753. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11754. _lt_compiler_boilerplate=`cat conftest.err`
  11755. $RM conftest*
  11756. ac_outfile=conftest.$ac_objext
  11757. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  11758. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  11759. _lt_linker_boilerplate=`cat conftest.err`
  11760. $RM -r conftest*
  11761. ## CAVEAT EMPTOR:
  11762. ## There is no encapsulation within the following macros, do not change
  11763. ## the running order or otherwise move them around unless you know exactly
  11764. ## what you are doing...
  11765. if test -n "$compiler"; then
  11766. lt_prog_compiler_no_builtin_flag=
  11767. if test yes = "$GCC"; then
  11768. case $cc_basename in
  11769. nvcc*)
  11770. lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  11771. *)
  11772. lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  11773. esac
  11774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  11775. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  11776. if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
  11777. $as_echo_n "(cached) " >&6
  11778. else
  11779. lt_cv_prog_compiler_rtti_exceptions=no
  11780. ac_outfile=conftest.$ac_objext
  11781. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  11782. lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
  11783. # Insert the option either (1) after the last *FLAGS variable, or
  11784. # (2) before a word containing "conftest.", or (3) at the end.
  11785. # Note that $ac_compile itself does not contain backslashes and begins
  11786. # with a dollar sign (not a hyphen), so the echo should work correctly.
  11787. # The option is referenced via a variable to avoid confusing sed.
  11788. lt_compile=`echo "$ac_compile" | $SED \
  11789. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  11790. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  11791. -e 's:$: $lt_compiler_flag:'`
  11792. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  11793. (eval "$lt_compile" 2>conftest.err)
  11794. ac_status=$?
  11795. cat conftest.err >&5
  11796. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11797. if (exit $ac_status) && test -s "$ac_outfile"; then
  11798. # The compiler can only warn and ignore the option if not recognized
  11799. # So say no if there are warnings other than the usual output.
  11800. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  11801. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  11802. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  11803. lt_cv_prog_compiler_rtti_exceptions=yes
  11804. fi
  11805. fi
  11806. $RM conftest*
  11807. fi
  11808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  11809. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  11810. if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
  11811. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  11812. else
  11813. :
  11814. fi
  11815. fi
  11816. lt_prog_compiler_wl=
  11817. lt_prog_compiler_pic=
  11818. lt_prog_compiler_static=
  11819. if test yes = "$GCC"; then
  11820. lt_prog_compiler_wl='-Wl,'
  11821. lt_prog_compiler_static='-static'
  11822. case $host_os in
  11823. aix*)
  11824. # All AIX code is PIC.
  11825. if test ia64 = "$host_cpu"; then
  11826. # AIX 5 now supports IA64 processor
  11827. lt_prog_compiler_static='-Bstatic'
  11828. fi
  11829. lt_prog_compiler_pic='-fPIC'
  11830. ;;
  11831. amigaos*)
  11832. case $host_cpu in
  11833. powerpc)
  11834. # see comment about AmigaOS4 .so support
  11835. lt_prog_compiler_pic='-fPIC'
  11836. ;;
  11837. m68k)
  11838. # FIXME: we need at least 68020 code to build shared libraries, but
  11839. # adding the '-m68020' flag to GCC prevents building anything better,
  11840. # like '-m68040'.
  11841. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  11842. ;;
  11843. esac
  11844. ;;
  11845. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  11846. # PIC is the default for these OSes.
  11847. ;;
  11848. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11849. # This hack is so that the source file can tell whether it is being
  11850. # built for inclusion in a dll (and should export symbols for example).
  11851. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  11852. # (--disable-auto-import) libraries
  11853. lt_prog_compiler_pic='-DDLL_EXPORT'
  11854. case $host_os in
  11855. os2*)
  11856. lt_prog_compiler_static='$wl-static'
  11857. ;;
  11858. esac
  11859. ;;
  11860. darwin* | rhapsody*)
  11861. # PIC is the default on this platform
  11862. # Common symbols not allowed in MH_DYLIB files
  11863. lt_prog_compiler_pic='-fno-common'
  11864. ;;
  11865. haiku*)
  11866. # PIC is the default for Haiku.
  11867. # The "-static" flag exists, but is broken.
  11868. lt_prog_compiler_static=
  11869. ;;
  11870. hpux*)
  11871. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  11872. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  11873. # sets the default TLS model and affects inlining.
  11874. case $host_cpu in
  11875. hppa*64*)
  11876. # +Z the default
  11877. ;;
  11878. *)
  11879. lt_prog_compiler_pic='-fPIC'
  11880. ;;
  11881. esac
  11882. ;;
  11883. interix[3-9]*)
  11884. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  11885. # Instead, we relocate shared libraries at runtime.
  11886. ;;
  11887. msdosdjgpp*)
  11888. # Just because we use GCC doesn't mean we suddenly get shared libraries
  11889. # on systems that don't support them.
  11890. lt_prog_compiler_can_build_shared=no
  11891. enable_shared=no
  11892. ;;
  11893. *nto* | *qnx*)
  11894. # QNX uses GNU C++, but need to define -shared option too, otherwise
  11895. # it will coredump.
  11896. lt_prog_compiler_pic='-fPIC -shared'
  11897. ;;
  11898. sysv4*MP*)
  11899. if test -d /usr/nec; then
  11900. lt_prog_compiler_pic=-Kconform_pic
  11901. fi
  11902. ;;
  11903. *)
  11904. lt_prog_compiler_pic='-fPIC'
  11905. ;;
  11906. esac
  11907. case $cc_basename in
  11908. nvcc*) # Cuda Compiler Driver 2.2
  11909. lt_prog_compiler_wl='-Xlinker '
  11910. if test -n "$lt_prog_compiler_pic"; then
  11911. lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
  11912. fi
  11913. ;;
  11914. esac
  11915. else
  11916. # PORTME Check for flag to pass linker flags through the system compiler.
  11917. case $host_os in
  11918. aix*)
  11919. lt_prog_compiler_wl='-Wl,'
  11920. if test ia64 = "$host_cpu"; then
  11921. # AIX 5 now supports IA64 processor
  11922. lt_prog_compiler_static='-Bstatic'
  11923. else
  11924. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  11925. fi
  11926. ;;
  11927. darwin* | rhapsody*)
  11928. # PIC is the default on this platform
  11929. # Common symbols not allowed in MH_DYLIB files
  11930. lt_prog_compiler_pic='-fno-common'
  11931. case $cc_basename in
  11932. nagfor*)
  11933. # NAG Fortran compiler
  11934. lt_prog_compiler_wl='-Wl,-Wl,,'
  11935. lt_prog_compiler_pic='-PIC'
  11936. lt_prog_compiler_static='-Bstatic'
  11937. ;;
  11938. esac
  11939. ;;
  11940. mingw* | cygwin* | pw32* | os2* | cegcc*)
  11941. # This hack is so that the source file can tell whether it is being
  11942. # built for inclusion in a dll (and should export symbols for example).
  11943. lt_prog_compiler_pic='-DDLL_EXPORT'
  11944. case $host_os in
  11945. os2*)
  11946. lt_prog_compiler_static='$wl-static'
  11947. ;;
  11948. esac
  11949. ;;
  11950. hpux9* | hpux10* | hpux11*)
  11951. lt_prog_compiler_wl='-Wl,'
  11952. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  11953. # not for PA HP-UX.
  11954. case $host_cpu in
  11955. hppa*64*|ia64*)
  11956. # +Z the default
  11957. ;;
  11958. *)
  11959. lt_prog_compiler_pic='+Z'
  11960. ;;
  11961. esac
  11962. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  11963. lt_prog_compiler_static='$wl-a ${wl}archive'
  11964. ;;
  11965. irix5* | irix6* | nonstopux*)
  11966. lt_prog_compiler_wl='-Wl,'
  11967. # PIC (with -KPIC) is the default.
  11968. lt_prog_compiler_static='-non_shared'
  11969. ;;
  11970. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  11971. case $cc_basename in
  11972. # old Intel for x86_64, which still supported -KPIC.
  11973. ecc*)
  11974. lt_prog_compiler_wl='-Wl,'
  11975. lt_prog_compiler_pic='-KPIC'
  11976. lt_prog_compiler_static='-static'
  11977. ;;
  11978. # icc used to be incompatible with GCC.
  11979. # ICC 10 doesn't accept -KPIC any more.
  11980. icc* | ifort*)
  11981. lt_prog_compiler_wl='-Wl,'
  11982. lt_prog_compiler_pic='-fPIC'
  11983. lt_prog_compiler_static='-static'
  11984. ;;
  11985. # Lahey Fortran 8.1.
  11986. lf95*)
  11987. lt_prog_compiler_wl='-Wl,'
  11988. lt_prog_compiler_pic='--shared'
  11989. lt_prog_compiler_static='--static'
  11990. ;;
  11991. nagfor*)
  11992. # NAG Fortran compiler
  11993. lt_prog_compiler_wl='-Wl,-Wl,,'
  11994. lt_prog_compiler_pic='-PIC'
  11995. lt_prog_compiler_static='-Bstatic'
  11996. ;;
  11997. tcc*)
  11998. # Fabrice Bellard et al's Tiny C Compiler
  11999. lt_prog_compiler_wl='-Wl,'
  12000. lt_prog_compiler_pic='-fPIC'
  12001. lt_prog_compiler_static='-static'
  12002. ;;
  12003. pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  12004. # Portland Group compilers (*not* the Pentium gcc compiler,
  12005. # which looks to be a dead project)
  12006. lt_prog_compiler_wl='-Wl,'
  12007. lt_prog_compiler_pic='-fpic'
  12008. lt_prog_compiler_static='-Bstatic'
  12009. ;;
  12010. ccc*)
  12011. lt_prog_compiler_wl='-Wl,'
  12012. # All Alpha code is PIC.
  12013. lt_prog_compiler_static='-non_shared'
  12014. ;;
  12015. xl* | bgxl* | bgf* | mpixl*)
  12016. # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  12017. lt_prog_compiler_wl='-Wl,'
  12018. lt_prog_compiler_pic='-qpic'
  12019. lt_prog_compiler_static='-qstaticlink'
  12020. ;;
  12021. *)
  12022. case `$CC -V 2>&1 | sed 5q` in
  12023. *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
  12024. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  12025. lt_prog_compiler_pic='-KPIC'
  12026. lt_prog_compiler_static='-Bstatic'
  12027. lt_prog_compiler_wl=''
  12028. ;;
  12029. *Sun\ F* | *Sun*Fortran*)
  12030. lt_prog_compiler_pic='-KPIC'
  12031. lt_prog_compiler_static='-Bstatic'
  12032. lt_prog_compiler_wl='-Qoption ld '
  12033. ;;
  12034. *Sun\ C*)
  12035. # Sun C 5.9
  12036. lt_prog_compiler_pic='-KPIC'
  12037. lt_prog_compiler_static='-Bstatic'
  12038. lt_prog_compiler_wl='-Wl,'
  12039. ;;
  12040. *Intel*\ [CF]*Compiler*)
  12041. lt_prog_compiler_wl='-Wl,'
  12042. lt_prog_compiler_pic='-fPIC'
  12043. lt_prog_compiler_static='-static'
  12044. ;;
  12045. *Portland\ Group*)
  12046. lt_prog_compiler_wl='-Wl,'
  12047. lt_prog_compiler_pic='-fpic'
  12048. lt_prog_compiler_static='-Bstatic'
  12049. ;;
  12050. esac
  12051. ;;
  12052. esac
  12053. ;;
  12054. newsos6)
  12055. lt_prog_compiler_pic='-KPIC'
  12056. lt_prog_compiler_static='-Bstatic'
  12057. ;;
  12058. *nto* | *qnx*)
  12059. # QNX uses GNU C++, but need to define -shared option too, otherwise
  12060. # it will coredump.
  12061. lt_prog_compiler_pic='-fPIC -shared'
  12062. ;;
  12063. osf3* | osf4* | osf5*)
  12064. lt_prog_compiler_wl='-Wl,'
  12065. # All OSF/1 code is PIC.
  12066. lt_prog_compiler_static='-non_shared'
  12067. ;;
  12068. rdos*)
  12069. lt_prog_compiler_static='-non_shared'
  12070. ;;
  12071. solaris*)
  12072. lt_prog_compiler_pic='-KPIC'
  12073. lt_prog_compiler_static='-Bstatic'
  12074. case $cc_basename in
  12075. f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  12076. lt_prog_compiler_wl='-Qoption ld ';;
  12077. *)
  12078. lt_prog_compiler_wl='-Wl,';;
  12079. esac
  12080. ;;
  12081. sunos4*)
  12082. lt_prog_compiler_wl='-Qoption ld '
  12083. lt_prog_compiler_pic='-PIC'
  12084. lt_prog_compiler_static='-Bstatic'
  12085. ;;
  12086. sysv4 | sysv4.2uw2* | sysv4.3*)
  12087. lt_prog_compiler_wl='-Wl,'
  12088. lt_prog_compiler_pic='-KPIC'
  12089. lt_prog_compiler_static='-Bstatic'
  12090. ;;
  12091. sysv4*MP*)
  12092. if test -d /usr/nec; then
  12093. lt_prog_compiler_pic='-Kconform_pic'
  12094. lt_prog_compiler_static='-Bstatic'
  12095. fi
  12096. ;;
  12097. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  12098. lt_prog_compiler_wl='-Wl,'
  12099. lt_prog_compiler_pic='-KPIC'
  12100. lt_prog_compiler_static='-Bstatic'
  12101. ;;
  12102. unicos*)
  12103. lt_prog_compiler_wl='-Wl,'
  12104. lt_prog_compiler_can_build_shared=no
  12105. ;;
  12106. uts4*)
  12107. lt_prog_compiler_pic='-pic'
  12108. lt_prog_compiler_static='-Bstatic'
  12109. ;;
  12110. *)
  12111. lt_prog_compiler_can_build_shared=no
  12112. ;;
  12113. esac
  12114. fi
  12115. case $host_os in
  12116. # For platforms that do not support PIC, -DPIC is meaningless:
  12117. *djgpp*)
  12118. lt_prog_compiler_pic=
  12119. ;;
  12120. *)
  12121. lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
  12122. ;;
  12123. esac
  12124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  12125. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  12126. if ${lt_cv_prog_compiler_pic+:} false; then :
  12127. $as_echo_n "(cached) " >&6
  12128. else
  12129. lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
  12130. fi
  12131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
  12132. $as_echo "$lt_cv_prog_compiler_pic" >&6; }
  12133. lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
  12134. #
  12135. # Check to make sure the PIC flag actually works.
  12136. #
  12137. if test -n "$lt_prog_compiler_pic"; then
  12138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  12139. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  12140. if ${lt_cv_prog_compiler_pic_works+:} false; then :
  12141. $as_echo_n "(cached) " >&6
  12142. else
  12143. lt_cv_prog_compiler_pic_works=no
  12144. ac_outfile=conftest.$ac_objext
  12145. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12146. lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" ## exclude from sc_useless_quotes_in_assignment
  12147. # Insert the option either (1) after the last *FLAGS variable, or
  12148. # (2) before a word containing "conftest.", or (3) at the end.
  12149. # Note that $ac_compile itself does not contain backslashes and begins
  12150. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12151. # The option is referenced via a variable to avoid confusing sed.
  12152. lt_compile=`echo "$ac_compile" | $SED \
  12153. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12154. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12155. -e 's:$: $lt_compiler_flag:'`
  12156. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12157. (eval "$lt_compile" 2>conftest.err)
  12158. ac_status=$?
  12159. cat conftest.err >&5
  12160. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12161. if (exit $ac_status) && test -s "$ac_outfile"; then
  12162. # The compiler can only warn and ignore the option if not recognized
  12163. # So say no if there are warnings other than the usual output.
  12164. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  12165. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12166. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  12167. lt_cv_prog_compiler_pic_works=yes
  12168. fi
  12169. fi
  12170. $RM conftest*
  12171. fi
  12172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  12173. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  12174. if test yes = "$lt_cv_prog_compiler_pic_works"; then
  12175. case $lt_prog_compiler_pic in
  12176. "" | " "*) ;;
  12177. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  12178. esac
  12179. else
  12180. lt_prog_compiler_pic=
  12181. lt_prog_compiler_can_build_shared=no
  12182. fi
  12183. fi
  12184. #
  12185. # Check to make sure the static flag actually works.
  12186. #
  12187. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  12188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  12189. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  12190. if ${lt_cv_prog_compiler_static_works+:} false; then :
  12191. $as_echo_n "(cached) " >&6
  12192. else
  12193. lt_cv_prog_compiler_static_works=no
  12194. save_LDFLAGS=$LDFLAGS
  12195. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  12196. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  12197. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  12198. # The linker can only warn and ignore the option if not recognized
  12199. # So say no if there are warnings
  12200. if test -s conftest.err; then
  12201. # Append any errors to the config.log.
  12202. cat conftest.err 1>&5
  12203. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  12204. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  12205. if diff conftest.exp conftest.er2 >/dev/null; then
  12206. lt_cv_prog_compiler_static_works=yes
  12207. fi
  12208. else
  12209. lt_cv_prog_compiler_static_works=yes
  12210. fi
  12211. fi
  12212. $RM -r conftest*
  12213. LDFLAGS=$save_LDFLAGS
  12214. fi
  12215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  12216. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  12217. if test yes = "$lt_cv_prog_compiler_static_works"; then
  12218. :
  12219. else
  12220. lt_prog_compiler_static=
  12221. fi
  12222. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12223. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12224. if ${lt_cv_prog_compiler_c_o+:} false; then :
  12225. $as_echo_n "(cached) " >&6
  12226. else
  12227. lt_cv_prog_compiler_c_o=no
  12228. $RM -r conftest 2>/dev/null
  12229. mkdir conftest
  12230. cd conftest
  12231. mkdir out
  12232. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12233. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12234. # Insert the option either (1) after the last *FLAGS variable, or
  12235. # (2) before a word containing "conftest.", or (3) at the end.
  12236. # Note that $ac_compile itself does not contain backslashes and begins
  12237. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12238. lt_compile=`echo "$ac_compile" | $SED \
  12239. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12240. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12241. -e 's:$: $lt_compiler_flag:'`
  12242. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12243. (eval "$lt_compile" 2>out/conftest.err)
  12244. ac_status=$?
  12245. cat out/conftest.err >&5
  12246. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12247. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12248. then
  12249. # The compiler can only warn and ignore the option if not recognized
  12250. # So say no if there are warnings
  12251. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12252. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12253. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12254. lt_cv_prog_compiler_c_o=yes
  12255. fi
  12256. fi
  12257. chmod u+w . 2>&5
  12258. $RM conftest*
  12259. # SGI C++ compiler will create directory out/ii_files/ for
  12260. # template instantiation
  12261. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12262. $RM out/* && rmdir out
  12263. cd ..
  12264. $RM -r conftest
  12265. $RM conftest*
  12266. fi
  12267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  12268. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  12269. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  12270. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  12271. if ${lt_cv_prog_compiler_c_o+:} false; then :
  12272. $as_echo_n "(cached) " >&6
  12273. else
  12274. lt_cv_prog_compiler_c_o=no
  12275. $RM -r conftest 2>/dev/null
  12276. mkdir conftest
  12277. cd conftest
  12278. mkdir out
  12279. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  12280. lt_compiler_flag="-o out/conftest2.$ac_objext"
  12281. # Insert the option either (1) after the last *FLAGS variable, or
  12282. # (2) before a word containing "conftest.", or (3) at the end.
  12283. # Note that $ac_compile itself does not contain backslashes and begins
  12284. # with a dollar sign (not a hyphen), so the echo should work correctly.
  12285. lt_compile=`echo "$ac_compile" | $SED \
  12286. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  12287. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  12288. -e 's:$: $lt_compiler_flag:'`
  12289. (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  12290. (eval "$lt_compile" 2>out/conftest.err)
  12291. ac_status=$?
  12292. cat out/conftest.err >&5
  12293. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12294. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  12295. then
  12296. # The compiler can only warn and ignore the option if not recognized
  12297. # So say no if there are warnings
  12298. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  12299. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  12300. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  12301. lt_cv_prog_compiler_c_o=yes
  12302. fi
  12303. fi
  12304. chmod u+w . 2>&5
  12305. $RM conftest*
  12306. # SGI C++ compiler will create directory out/ii_files/ for
  12307. # template instantiation
  12308. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  12309. $RM out/* && rmdir out
  12310. cd ..
  12311. $RM -r conftest
  12312. $RM conftest*
  12313. fi
  12314. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  12315. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  12316. hard_links=nottested
  12317. if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
  12318. # do not overwrite the value of need_locks provided by the user
  12319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  12320. $as_echo_n "checking if we can lock with hard links... " >&6; }
  12321. hard_links=yes
  12322. $RM conftest*
  12323. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12324. touch conftest.a
  12325. ln conftest.a conftest.b 2>&5 || hard_links=no
  12326. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  12327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  12328. $as_echo "$hard_links" >&6; }
  12329. if test no = "$hard_links"; then
  12330. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
  12331. $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
  12332. need_locks=warn
  12333. fi
  12334. else
  12335. need_locks=no
  12336. fi
  12337. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  12338. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  12339. runpath_var=
  12340. allow_undefined_flag=
  12341. always_export_symbols=no
  12342. archive_cmds=
  12343. archive_expsym_cmds=
  12344. compiler_needs_object=no
  12345. enable_shared_with_static_runtimes=no
  12346. export_dynamic_flag_spec=
  12347. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  12348. hardcode_automatic=no
  12349. hardcode_direct=no
  12350. hardcode_direct_absolute=no
  12351. hardcode_libdir_flag_spec=
  12352. hardcode_libdir_separator=
  12353. hardcode_minus_L=no
  12354. hardcode_shlibpath_var=unsupported
  12355. inherit_rpath=no
  12356. link_all_deplibs=unknown
  12357. module_cmds=
  12358. module_expsym_cmds=
  12359. old_archive_from_new_cmds=
  12360. old_archive_from_expsyms_cmds=
  12361. thread_safe_flag_spec=
  12362. whole_archive_flag_spec=
  12363. # include_expsyms should be a list of space-separated symbols to be *always*
  12364. # included in the symbol list
  12365. include_expsyms=
  12366. # exclude_expsyms can be an extended regexp of symbols to exclude
  12367. # it will be wrapped by ' (' and ')$', so one must not match beginning or
  12368. # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
  12369. # as well as any symbol that contains 'd'.
  12370. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  12371. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  12372. # platforms (ab)use it in PIC code, but their linkers get confused if
  12373. # the symbol is explicitly referenced. Since portable code cannot
  12374. # rely on this symbol name, it's probably fine to never include it in
  12375. # preloaded symbol tables.
  12376. # Exclude shared library initialization/finalization symbols.
  12377. extract_expsyms_cmds=
  12378. case $host_os in
  12379. cygwin* | mingw* | pw32* | cegcc*)
  12380. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  12381. # When not using gcc, we currently assume that we are using
  12382. # Microsoft Visual C++.
  12383. if test yes != "$GCC"; then
  12384. with_gnu_ld=no
  12385. fi
  12386. ;;
  12387. interix*)
  12388. # we just hope/assume this is gcc and not c89 (= MSVC++)
  12389. with_gnu_ld=yes
  12390. ;;
  12391. openbsd* | bitrig*)
  12392. with_gnu_ld=no
  12393. ;;
  12394. linux* | k*bsd*-gnu | gnu*)
  12395. link_all_deplibs=no
  12396. ;;
  12397. esac
  12398. ld_shlibs=yes
  12399. # On some targets, GNU ld is compatible enough with the native linker
  12400. # that we're better off using the native interface for both.
  12401. lt_use_gnu_ld_interface=no
  12402. if test yes = "$with_gnu_ld"; then
  12403. case $host_os in
  12404. aix*)
  12405. # The AIX port of GNU ld has always aspired to compatibility
  12406. # with the native linker. However, as the warning in the GNU ld
  12407. # block says, versions before 2.19.5* couldn't really create working
  12408. # shared libraries, regardless of the interface used.
  12409. case `$LD -v 2>&1` in
  12410. *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  12411. *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  12412. *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  12413. *)
  12414. lt_use_gnu_ld_interface=yes
  12415. ;;
  12416. esac
  12417. ;;
  12418. *)
  12419. lt_use_gnu_ld_interface=yes
  12420. ;;
  12421. esac
  12422. fi
  12423. if test yes = "$lt_use_gnu_ld_interface"; then
  12424. # If archive_cmds runs LD, not CC, wlarc should be empty
  12425. wlarc='$wl'
  12426. # Set some defaults for GNU ld with shared library support. These
  12427. # are reset later if shared libraries are not supported. Putting them
  12428. # here allows them to be overridden if necessary.
  12429. runpath_var=LD_RUN_PATH
  12430. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  12431. export_dynamic_flag_spec='$wl--export-dynamic'
  12432. # ancient GNU ld didn't support --whole-archive et. al.
  12433. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  12434. whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
  12435. else
  12436. whole_archive_flag_spec=
  12437. fi
  12438. supports_anon_versioning=no
  12439. case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
  12440. *GNU\ gold*) supports_anon_versioning=yes ;;
  12441. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  12442. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  12443. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  12444. *\ 2.11.*) ;; # other 2.11 versions
  12445. *) supports_anon_versioning=yes ;;
  12446. esac
  12447. # See if GNU ld supports shared libraries.
  12448. case $host_os in
  12449. aix[3-9]*)
  12450. # On AIX/PPC, the GNU linker is very broken
  12451. if test ia64 != "$host_cpu"; then
  12452. ld_shlibs=no
  12453. cat <<_LT_EOF 1>&2
  12454. *** Warning: the GNU linker, at least up to release 2.19, is reported
  12455. *** to be unable to reliably create shared libraries on AIX.
  12456. *** Therefore, libtool is disabling shared libraries support. If you
  12457. *** really care for shared libraries, you may want to install binutils
  12458. *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  12459. *** You will then need to restart the configuration process.
  12460. _LT_EOF
  12461. fi
  12462. ;;
  12463. amigaos*)
  12464. case $host_cpu in
  12465. powerpc)
  12466. # see comment about AmigaOS4 .so support
  12467. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12468. archive_expsym_cmds=''
  12469. ;;
  12470. m68k)
  12471. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  12472. hardcode_libdir_flag_spec='-L$libdir'
  12473. hardcode_minus_L=yes
  12474. ;;
  12475. esac
  12476. ;;
  12477. beos*)
  12478. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12479. allow_undefined_flag=unsupported
  12480. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  12481. # support --undefined. This deserves some investigation. FIXME
  12482. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12483. else
  12484. ld_shlibs=no
  12485. fi
  12486. ;;
  12487. cygwin* | mingw* | pw32* | cegcc*)
  12488. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  12489. # as there is no search path for DLLs.
  12490. hardcode_libdir_flag_spec='-L$libdir'
  12491. export_dynamic_flag_spec='$wl--export-all-symbols'
  12492. allow_undefined_flag=unsupported
  12493. always_export_symbols=no
  12494. enable_shared_with_static_runtimes=yes
  12495. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  12496. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  12497. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  12498. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12499. # If the export-symbols file already is a .def file, use it as
  12500. # is; otherwise, prepend EXPORTS...
  12501. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  12502. cp $export_symbols $output_objdir/$soname.def;
  12503. else
  12504. echo EXPORTS > $output_objdir/$soname.def;
  12505. cat $export_symbols >> $output_objdir/$soname.def;
  12506. fi~
  12507. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  12508. else
  12509. ld_shlibs=no
  12510. fi
  12511. ;;
  12512. haiku*)
  12513. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12514. link_all_deplibs=yes
  12515. ;;
  12516. os2*)
  12517. hardcode_libdir_flag_spec='-L$libdir'
  12518. hardcode_minus_L=yes
  12519. allow_undefined_flag=unsupported
  12520. shrext_cmds=.dll
  12521. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  12522. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  12523. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  12524. $ECHO EXPORTS >> $output_objdir/$libname.def~
  12525. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  12526. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  12527. emximp -o $lib $output_objdir/$libname.def'
  12528. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  12529. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  12530. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  12531. $ECHO EXPORTS >> $output_objdir/$libname.def~
  12532. prefix_cmds="$SED"~
  12533. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  12534. prefix_cmds="$prefix_cmds -e 1d";
  12535. fi~
  12536. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  12537. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  12538. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  12539. emximp -o $lib $output_objdir/$libname.def'
  12540. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  12541. enable_shared_with_static_runtimes=yes
  12542. ;;
  12543. interix[3-9]*)
  12544. hardcode_direct=no
  12545. hardcode_shlibpath_var=no
  12546. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  12547. export_dynamic_flag_spec='$wl-E'
  12548. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  12549. # Instead, shared libraries are loaded at an image base (0x10000000 by
  12550. # default) and relocated if they conflict, which is a slow very memory
  12551. # consuming and fragmenting process. To avoid this, we pick a random,
  12552. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  12553. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  12554. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  12555. archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  12556. ;;
  12557. gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  12558. tmp_diet=no
  12559. if test linux-dietlibc = "$host_os"; then
  12560. case $cc_basename in
  12561. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  12562. esac
  12563. fi
  12564. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  12565. && test no = "$tmp_diet"
  12566. then
  12567. tmp_addflag=' $pic_flag'
  12568. tmp_sharedflag='-shared'
  12569. case $cc_basename,$host_cpu in
  12570. pgcc*) # Portland Group C compiler
  12571. whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  12572. tmp_addflag=' $pic_flag'
  12573. ;;
  12574. pgf77* | pgf90* | pgf95* | pgfortran*)
  12575. # Portland Group f77 and f90 compilers
  12576. whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  12577. tmp_addflag=' $pic_flag -Mnomain' ;;
  12578. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  12579. tmp_addflag=' -i_dynamic' ;;
  12580. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  12581. tmp_addflag=' -i_dynamic -nofor_main' ;;
  12582. ifc* | ifort*) # Intel Fortran compiler
  12583. tmp_addflag=' -nofor_main' ;;
  12584. lf95*) # Lahey Fortran 8.1
  12585. whole_archive_flag_spec=
  12586. tmp_sharedflag='--shared' ;;
  12587. nagfor*) # NAGFOR 5.3
  12588. tmp_sharedflag='-Wl,-shared' ;;
  12589. xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  12590. tmp_sharedflag='-qmkshrobj'
  12591. tmp_addflag= ;;
  12592. nvcc*) # Cuda Compiler Driver 2.2
  12593. whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  12594. compiler_needs_object=yes
  12595. ;;
  12596. esac
  12597. case `$CC -V 2>&1 | sed 5q` in
  12598. *Sun\ C*) # Sun C 5.9
  12599. whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
  12600. compiler_needs_object=yes
  12601. tmp_sharedflag='-G' ;;
  12602. *Sun\ F*) # Sun Fortran 8.3
  12603. tmp_sharedflag='-G' ;;
  12604. esac
  12605. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12606. if test yes = "$supports_anon_versioning"; then
  12607. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  12608. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12609. echo "local: *; };" >> $output_objdir/$libname.ver~
  12610. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
  12611. fi
  12612. case $cc_basename in
  12613. tcc*)
  12614. export_dynamic_flag_spec='-rdynamic'
  12615. ;;
  12616. xlf* | bgf* | bgxlf* | mpixlf*)
  12617. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  12618. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  12619. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  12620. archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  12621. if test yes = "$supports_anon_versioning"; then
  12622. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  12623. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  12624. echo "local: *; };" >> $output_objdir/$libname.ver~
  12625. $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  12626. fi
  12627. ;;
  12628. esac
  12629. else
  12630. ld_shlibs=no
  12631. fi
  12632. ;;
  12633. netbsd* | netbsdelf*-gnu)
  12634. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  12635. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  12636. wlarc=
  12637. else
  12638. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12639. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  12640. fi
  12641. ;;
  12642. solaris*)
  12643. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  12644. ld_shlibs=no
  12645. cat <<_LT_EOF 1>&2
  12646. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  12647. *** create shared libraries on Solaris systems. Therefore, libtool
  12648. *** is disabling shared libraries support. We urge you to upgrade GNU
  12649. *** binutils to release 2.9.1 or newer. Another option is to modify
  12650. *** your PATH or compiler configuration so that the native linker is
  12651. *** used, and then restart.
  12652. _LT_EOF
  12653. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12654. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12655. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  12656. else
  12657. ld_shlibs=no
  12658. fi
  12659. ;;
  12660. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  12661. case `$LD -v 2>&1` in
  12662. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  12663. ld_shlibs=no
  12664. cat <<_LT_EOF 1>&2
  12665. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
  12666. *** reliably create shared libraries on SCO systems. Therefore, libtool
  12667. *** is disabling shared libraries support. We urge you to upgrade GNU
  12668. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  12669. *** your PATH or compiler configuration so that the native linker is
  12670. *** used, and then restart.
  12671. _LT_EOF
  12672. ;;
  12673. *)
  12674. # For security reasons, it is highly recommended that you always
  12675. # use absolute paths for naming shared libraries, and exclude the
  12676. # DT_RUNPATH tag from executables and libraries. But doing so
  12677. # requires that you compile everything twice, which is a pain.
  12678. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12679. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  12680. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12681. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  12682. else
  12683. ld_shlibs=no
  12684. fi
  12685. ;;
  12686. esac
  12687. ;;
  12688. sunos4*)
  12689. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  12690. wlarc=
  12691. hardcode_direct=yes
  12692. hardcode_shlibpath_var=no
  12693. ;;
  12694. *)
  12695. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  12696. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12697. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
  12698. else
  12699. ld_shlibs=no
  12700. fi
  12701. ;;
  12702. esac
  12703. if test no = "$ld_shlibs"; then
  12704. runpath_var=
  12705. hardcode_libdir_flag_spec=
  12706. export_dynamic_flag_spec=
  12707. whole_archive_flag_spec=
  12708. fi
  12709. else
  12710. # PORTME fill in a description of your system's linker (not GNU ld)
  12711. case $host_os in
  12712. aix3*)
  12713. allow_undefined_flag=unsupported
  12714. always_export_symbols=yes
  12715. archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  12716. # Note: this linker hardcodes the directories in LIBPATH if there
  12717. # are no directories specified by -L.
  12718. hardcode_minus_L=yes
  12719. if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
  12720. # Neither direct hardcoding nor static linking is supported with a
  12721. # broken collect2.
  12722. hardcode_direct=unsupported
  12723. fi
  12724. ;;
  12725. aix[4-9]*)
  12726. if test ia64 = "$host_cpu"; then
  12727. # On IA64, the linker does run time linking by default, so we don't
  12728. # have to do anything special.
  12729. aix_use_runtimelinking=no
  12730. exp_sym_flag='-Bexport'
  12731. no_entry_flag=
  12732. else
  12733. # If we're using GNU nm, then we don't want the "-C" option.
  12734. # -C means demangle to GNU nm, but means don't demangle to AIX nm.
  12735. # Without the "-l" option, or with the "-B" option, AIX nm treats
  12736. # weak defined symbols like other global defined symbols, whereas
  12737. # GNU nm marks them as "W".
  12738. # While the 'weak' keyword is ignored in the Export File, we need
  12739. # it in the Import File for the 'aix-soname' feature, so we have
  12740. # to replace the "-B" option with "-P" for AIX nm.
  12741. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  12742. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
  12743. else
  12744. export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
  12745. fi
  12746. aix_use_runtimelinking=no
  12747. # Test if we are trying to use run time linking or normal
  12748. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  12749. # have runtime linking enabled, and use it for executables.
  12750. # For shared libraries, we enable/disable runtime linking
  12751. # depending on the kind of the shared library created -
  12752. # when "with_aix_soname,aix_use_runtimelinking" is:
  12753. # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
  12754. # "aix,yes" lib.so shared, rtl:yes, for executables
  12755. # lib.a static archive
  12756. # "both,no" lib.so.V(shr.o) shared, rtl:yes
  12757. # lib.a(lib.so.V) shared, rtl:no, for executables
  12758. # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
  12759. # lib.a(lib.so.V) shared, rtl:no
  12760. # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
  12761. # lib.a static archive
  12762. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  12763. for ld_flag in $LDFLAGS; do
  12764. if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
  12765. aix_use_runtimelinking=yes
  12766. break
  12767. fi
  12768. done
  12769. if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
  12770. # With aix-soname=svr4, we create the lib.so.V shared archives only,
  12771. # so we don't have lib.a shared libs to link our executables.
  12772. # We have to force runtime linking in this case.
  12773. aix_use_runtimelinking=yes
  12774. LDFLAGS="$LDFLAGS -Wl,-brtl"
  12775. fi
  12776. ;;
  12777. esac
  12778. exp_sym_flag='-bexport'
  12779. no_entry_flag='-bnoentry'
  12780. fi
  12781. # When large executables or shared objects are built, AIX ld can
  12782. # have problems creating the table of contents. If linking a library
  12783. # or program results in "error TOC overflow" add -mminimal-toc to
  12784. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  12785. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  12786. archive_cmds=''
  12787. hardcode_direct=yes
  12788. hardcode_direct_absolute=yes
  12789. hardcode_libdir_separator=':'
  12790. link_all_deplibs=yes
  12791. file_list_spec='$wl-f,'
  12792. case $with_aix_soname,$aix_use_runtimelinking in
  12793. aix,*) ;; # traditional, no import file
  12794. svr4,* | *,yes) # use import file
  12795. # The Import File defines what to hardcode.
  12796. hardcode_direct=no
  12797. hardcode_direct_absolute=no
  12798. ;;
  12799. esac
  12800. if test yes = "$GCC"; then
  12801. case $host_os in aix4.[012]|aix4.[012].*)
  12802. # We only want to do this on AIX 4.2 and lower, the check
  12803. # below for broken collect2 doesn't work under 4.3+
  12804. collect2name=`$CC -print-prog-name=collect2`
  12805. if test -f "$collect2name" &&
  12806. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  12807. then
  12808. # We have reworked collect2
  12809. :
  12810. else
  12811. # We have old collect2
  12812. hardcode_direct=unsupported
  12813. # It fails to find uninstalled libraries when the uninstalled
  12814. # path is not listed in the libpath. Setting hardcode_minus_L
  12815. # to unsupported forces relinking
  12816. hardcode_minus_L=yes
  12817. hardcode_libdir_flag_spec='-L$libdir'
  12818. hardcode_libdir_separator=
  12819. fi
  12820. ;;
  12821. esac
  12822. shared_flag='-shared'
  12823. if test yes = "$aix_use_runtimelinking"; then
  12824. shared_flag="$shared_flag "'$wl-G'
  12825. fi
  12826. # Need to ensure runtime linking is disabled for the traditional
  12827. # shared library, or the linker may eventually find shared libraries
  12828. # /with/ Import File - we do not want to mix them.
  12829. shared_flag_aix='-shared'
  12830. shared_flag_svr4='-shared $wl-G'
  12831. else
  12832. # not using gcc
  12833. if test ia64 = "$host_cpu"; then
  12834. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  12835. # chokes on -Wl,-G. The following line is correct:
  12836. shared_flag='-G'
  12837. else
  12838. if test yes = "$aix_use_runtimelinking"; then
  12839. shared_flag='$wl-G'
  12840. else
  12841. shared_flag='$wl-bM:SRE'
  12842. fi
  12843. shared_flag_aix='$wl-bM:SRE'
  12844. shared_flag_svr4='$wl-G'
  12845. fi
  12846. fi
  12847. export_dynamic_flag_spec='$wl-bexpall'
  12848. # It seems that -bexpall does not export symbols beginning with
  12849. # underscore (_), so it is better to generate a list of symbols to export.
  12850. always_export_symbols=yes
  12851. if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
  12852. # Warning - without using the other runtime loading flags (-brtl),
  12853. # -berok will link without error, but may produce a broken library.
  12854. allow_undefined_flag='-berok'
  12855. # Determine the default libpath from the value encoded in an
  12856. # empty executable.
  12857. if test set = "${lt_cv_aix_libpath+set}"; then
  12858. aix_libpath=$lt_cv_aix_libpath
  12859. else
  12860. if ${lt_cv_aix_libpath_+:} false; then :
  12861. $as_echo_n "(cached) " >&6
  12862. else
  12863. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12864. /* end confdefs.h. */
  12865. int
  12866. main ()
  12867. {
  12868. ;
  12869. return 0;
  12870. }
  12871. _ACEOF
  12872. if ac_fn_c_try_link "$LINENO"; then :
  12873. lt_aix_libpath_sed='
  12874. /Import File Strings/,/^$/ {
  12875. /^0/ {
  12876. s/^0 *\([^ ]*\) *$/\1/
  12877. p
  12878. }
  12879. }'
  12880. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12881. # Check for a 64-bit object if we didn't find anything.
  12882. if test -z "$lt_cv_aix_libpath_"; then
  12883. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12884. fi
  12885. fi
  12886. rm -f core conftest.err conftest.$ac_objext \
  12887. conftest$ac_exeext conftest.$ac_ext
  12888. if test -z "$lt_cv_aix_libpath_"; then
  12889. lt_cv_aix_libpath_=/usr/lib:/lib
  12890. fi
  12891. fi
  12892. aix_libpath=$lt_cv_aix_libpath_
  12893. fi
  12894. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  12895. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
  12896. else
  12897. if test ia64 = "$host_cpu"; then
  12898. hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
  12899. allow_undefined_flag="-z nodefs"
  12900. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
  12901. else
  12902. # Determine the default libpath from the value encoded in an
  12903. # empty executable.
  12904. if test set = "${lt_cv_aix_libpath+set}"; then
  12905. aix_libpath=$lt_cv_aix_libpath
  12906. else
  12907. if ${lt_cv_aix_libpath_+:} false; then :
  12908. $as_echo_n "(cached) " >&6
  12909. else
  12910. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12911. /* end confdefs.h. */
  12912. int
  12913. main ()
  12914. {
  12915. ;
  12916. return 0;
  12917. }
  12918. _ACEOF
  12919. if ac_fn_c_try_link "$LINENO"; then :
  12920. lt_aix_libpath_sed='
  12921. /Import File Strings/,/^$/ {
  12922. /^0/ {
  12923. s/^0 *\([^ ]*\) *$/\1/
  12924. p
  12925. }
  12926. }'
  12927. lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12928. # Check for a 64-bit object if we didn't find anything.
  12929. if test -z "$lt_cv_aix_libpath_"; then
  12930. lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  12931. fi
  12932. fi
  12933. rm -f core conftest.err conftest.$ac_objext \
  12934. conftest$ac_exeext conftest.$ac_ext
  12935. if test -z "$lt_cv_aix_libpath_"; then
  12936. lt_cv_aix_libpath_=/usr/lib:/lib
  12937. fi
  12938. fi
  12939. aix_libpath=$lt_cv_aix_libpath_
  12940. fi
  12941. hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
  12942. # Warning - without using the other run time loading flags,
  12943. # -berok will link without error, but may produce a broken library.
  12944. no_undefined_flag=' $wl-bernotok'
  12945. allow_undefined_flag=' $wl-berok'
  12946. if test yes = "$with_gnu_ld"; then
  12947. # We only use this code for GNU lds that support --whole-archive.
  12948. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
  12949. else
  12950. # Exported symbols can be pulled into shared objects from archives
  12951. whole_archive_flag_spec='$convenience'
  12952. fi
  12953. archive_cmds_need_lc=yes
  12954. archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
  12955. # -brtl affects multiple linker settings, -berok does not and is overridden later
  12956. compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
  12957. if test svr4 != "$with_aix_soname"; then
  12958. # This is similar to how AIX traditionally builds its shared libraries.
  12959. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
  12960. fi
  12961. if test aix != "$with_aix_soname"; then
  12962. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
  12963. else
  12964. # used by -dlpreopen to get the symbols
  12965. archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
  12966. fi
  12967. archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
  12968. fi
  12969. fi
  12970. ;;
  12971. amigaos*)
  12972. case $host_cpu in
  12973. powerpc)
  12974. # see comment about AmigaOS4 .so support
  12975. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
  12976. archive_expsym_cmds=''
  12977. ;;
  12978. m68k)
  12979. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  12980. hardcode_libdir_flag_spec='-L$libdir'
  12981. hardcode_minus_L=yes
  12982. ;;
  12983. esac
  12984. ;;
  12985. bsdi[45]*)
  12986. export_dynamic_flag_spec=-rdynamic
  12987. ;;
  12988. cygwin* | mingw* | pw32* | cegcc*)
  12989. # When not using gcc, we currently assume that we are using
  12990. # Microsoft Visual C++.
  12991. # hardcode_libdir_flag_spec is actually meaningless, as there is
  12992. # no search path for DLLs.
  12993. case $cc_basename in
  12994. cl*)
  12995. # Native MSVC
  12996. hardcode_libdir_flag_spec=' '
  12997. allow_undefined_flag=unsupported
  12998. always_export_symbols=yes
  12999. file_list_spec='@'
  13000. # Tell ltmain to make .lib files, not .a files.
  13001. libext=lib
  13002. # Tell ltmain to make .dll files, not .so files.
  13003. shrext_cmds=.dll
  13004. # FIXME: Setting linknames here is a bad hack.
  13005. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
  13006. archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
  13007. cp "$export_symbols" "$output_objdir/$soname.def";
  13008. echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
  13009. else
  13010. $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
  13011. fi~
  13012. $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
  13013. linknames='
  13014. # The linker will not automatically build a static lib if we build a DLL.
  13015. # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
  13016. enable_shared_with_static_runtimes=yes
  13017. exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
  13018. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  13019. # Don't use ranlib
  13020. old_postinstall_cmds='chmod 644 $oldlib'
  13021. postlink_cmds='lt_outputfile="@OUTPUT@"~
  13022. lt_tool_outputfile="@TOOL_OUTPUT@"~
  13023. case $lt_outputfile in
  13024. *.exe|*.EXE) ;;
  13025. *)
  13026. lt_outputfile=$lt_outputfile.exe
  13027. lt_tool_outputfile=$lt_tool_outputfile.exe
  13028. ;;
  13029. esac~
  13030. if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
  13031. $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
  13032. $RM "$lt_outputfile.manifest";
  13033. fi'
  13034. ;;
  13035. *)
  13036. # Assume MSVC wrapper
  13037. hardcode_libdir_flag_spec=' '
  13038. allow_undefined_flag=unsupported
  13039. # Tell ltmain to make .lib files, not .a files.
  13040. libext=lib
  13041. # Tell ltmain to make .dll files, not .so files.
  13042. shrext_cmds=.dll
  13043. # FIXME: Setting linknames here is a bad hack.
  13044. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  13045. # The linker will automatically build a .lib file if we build a DLL.
  13046. old_archive_from_new_cmds='true'
  13047. # FIXME: Should let the user specify the lib program.
  13048. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  13049. enable_shared_with_static_runtimes=yes
  13050. ;;
  13051. esac
  13052. ;;
  13053. darwin* | rhapsody*)
  13054. archive_cmds_need_lc=no
  13055. hardcode_direct=no
  13056. hardcode_automatic=yes
  13057. hardcode_shlibpath_var=unsupported
  13058. if test yes = "$lt_cv_ld_force_load"; then
  13059. whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  13060. else
  13061. whole_archive_flag_spec=''
  13062. fi
  13063. link_all_deplibs=yes
  13064. allow_undefined_flag=$_lt_dar_allow_undefined
  13065. case $cc_basename in
  13066. ifort*|nagfor*) _lt_dar_can_shared=yes ;;
  13067. *) _lt_dar_can_shared=$GCC ;;
  13068. esac
  13069. if test yes = "$_lt_dar_can_shared"; then
  13070. output_verbose_link_cmd=func_echo_all
  13071. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
  13072. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  13073. archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
  13074. module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
  13075. else
  13076. ld_shlibs=no
  13077. fi
  13078. ;;
  13079. dgux*)
  13080. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13081. hardcode_libdir_flag_spec='-L$libdir'
  13082. hardcode_shlibpath_var=no
  13083. ;;
  13084. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  13085. # support. Future versions do this automatically, but an explicit c++rt0.o
  13086. # does not break anything, and helps significantly (at the cost of a little
  13087. # extra space).
  13088. freebsd2.2*)
  13089. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  13090. hardcode_libdir_flag_spec='-R$libdir'
  13091. hardcode_direct=yes
  13092. hardcode_shlibpath_var=no
  13093. ;;
  13094. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  13095. freebsd2.*)
  13096. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  13097. hardcode_direct=yes
  13098. hardcode_minus_L=yes
  13099. hardcode_shlibpath_var=no
  13100. ;;
  13101. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  13102. freebsd* | dragonfly*)
  13103. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13104. hardcode_libdir_flag_spec='-R$libdir'
  13105. hardcode_direct=yes
  13106. hardcode_shlibpath_var=no
  13107. ;;
  13108. hpux9*)
  13109. if test yes = "$GCC"; then
  13110. archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  13111. else
  13112. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
  13113. fi
  13114. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  13115. hardcode_libdir_separator=:
  13116. hardcode_direct=yes
  13117. # hardcode_minus_L: Not really in the search PATH,
  13118. # but as the default location of the library.
  13119. hardcode_minus_L=yes
  13120. export_dynamic_flag_spec='$wl-E'
  13121. ;;
  13122. hpux10*)
  13123. if test yes,no = "$GCC,$with_gnu_ld"; then
  13124. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  13125. else
  13126. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  13127. fi
  13128. if test no = "$with_gnu_ld"; then
  13129. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  13130. hardcode_libdir_separator=:
  13131. hardcode_direct=yes
  13132. hardcode_direct_absolute=yes
  13133. export_dynamic_flag_spec='$wl-E'
  13134. # hardcode_minus_L: Not really in the search PATH,
  13135. # but as the default location of the library.
  13136. hardcode_minus_L=yes
  13137. fi
  13138. ;;
  13139. hpux11*)
  13140. if test yes,no = "$GCC,$with_gnu_ld"; then
  13141. case $host_cpu in
  13142. hppa*64*)
  13143. archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  13144. ;;
  13145. ia64*)
  13146. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13147. ;;
  13148. *)
  13149. archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  13150. ;;
  13151. esac
  13152. else
  13153. case $host_cpu in
  13154. hppa*64*)
  13155. archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  13156. ;;
  13157. ia64*)
  13158. archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  13159. ;;
  13160. *)
  13161. # Older versions of the 11.00 compiler do not understand -b yet
  13162. # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  13163. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  13164. $as_echo_n "checking if $CC understands -b... " >&6; }
  13165. if ${lt_cv_prog_compiler__b+:} false; then :
  13166. $as_echo_n "(cached) " >&6
  13167. else
  13168. lt_cv_prog_compiler__b=no
  13169. save_LDFLAGS=$LDFLAGS
  13170. LDFLAGS="$LDFLAGS -b"
  13171. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  13172. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  13173. # The linker can only warn and ignore the option if not recognized
  13174. # So say no if there are warnings
  13175. if test -s conftest.err; then
  13176. # Append any errors to the config.log.
  13177. cat conftest.err 1>&5
  13178. $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  13179. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  13180. if diff conftest.exp conftest.er2 >/dev/null; then
  13181. lt_cv_prog_compiler__b=yes
  13182. fi
  13183. else
  13184. lt_cv_prog_compiler__b=yes
  13185. fi
  13186. fi
  13187. $RM -r conftest*
  13188. LDFLAGS=$save_LDFLAGS
  13189. fi
  13190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  13191. $as_echo "$lt_cv_prog_compiler__b" >&6; }
  13192. if test yes = "$lt_cv_prog_compiler__b"; then
  13193. archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  13194. else
  13195. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  13196. fi
  13197. ;;
  13198. esac
  13199. fi
  13200. if test no = "$with_gnu_ld"; then
  13201. hardcode_libdir_flag_spec='$wl+b $wl$libdir'
  13202. hardcode_libdir_separator=:
  13203. case $host_cpu in
  13204. hppa*64*|ia64*)
  13205. hardcode_direct=no
  13206. hardcode_shlibpath_var=no
  13207. ;;
  13208. *)
  13209. hardcode_direct=yes
  13210. hardcode_direct_absolute=yes
  13211. export_dynamic_flag_spec='$wl-E'
  13212. # hardcode_minus_L: Not really in the search PATH,
  13213. # but as the default location of the library.
  13214. hardcode_minus_L=yes
  13215. ;;
  13216. esac
  13217. fi
  13218. ;;
  13219. irix5* | irix6* | nonstopux*)
  13220. if test yes = "$GCC"; then
  13221. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  13222. # Try to use the -exported_symbol ld option, if it does not
  13223. # work, assume that -exports_file does not work either and
  13224. # implicitly export all symbols.
  13225. # This should be the same for all languages, so no per-tag cache variable.
  13226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
  13227. $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
  13228. if ${lt_cv_irix_exported_symbol+:} false; then :
  13229. $as_echo_n "(cached) " >&6
  13230. else
  13231. save_LDFLAGS=$LDFLAGS
  13232. LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
  13233. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13234. /* end confdefs.h. */
  13235. int foo (void) { return 0; }
  13236. _ACEOF
  13237. if ac_fn_c_try_link "$LINENO"; then :
  13238. lt_cv_irix_exported_symbol=yes
  13239. else
  13240. lt_cv_irix_exported_symbol=no
  13241. fi
  13242. rm -f core conftest.err conftest.$ac_objext \
  13243. conftest$ac_exeext conftest.$ac_ext
  13244. LDFLAGS=$save_LDFLAGS
  13245. fi
  13246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
  13247. $as_echo "$lt_cv_irix_exported_symbol" >&6; }
  13248. if test yes = "$lt_cv_irix_exported_symbol"; then
  13249. archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
  13250. fi
  13251. link_all_deplibs=no
  13252. else
  13253. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  13254. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
  13255. fi
  13256. archive_cmds_need_lc='no'
  13257. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  13258. hardcode_libdir_separator=:
  13259. inherit_rpath=yes
  13260. link_all_deplibs=yes
  13261. ;;
  13262. linux*)
  13263. case $cc_basename in
  13264. tcc*)
  13265. # Fabrice Bellard et al's Tiny C Compiler
  13266. ld_shlibs=yes
  13267. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13268. ;;
  13269. esac
  13270. ;;
  13271. netbsd* | netbsdelf*-gnu)
  13272. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  13273. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  13274. else
  13275. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  13276. fi
  13277. hardcode_libdir_flag_spec='-R$libdir'
  13278. hardcode_direct=yes
  13279. hardcode_shlibpath_var=no
  13280. ;;
  13281. newsos6)
  13282. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13283. hardcode_direct=yes
  13284. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  13285. hardcode_libdir_separator=:
  13286. hardcode_shlibpath_var=no
  13287. ;;
  13288. *nto* | *qnx*)
  13289. ;;
  13290. openbsd* | bitrig*)
  13291. if test -f /usr/libexec/ld.so; then
  13292. hardcode_direct=yes
  13293. hardcode_shlibpath_var=no
  13294. hardcode_direct_absolute=yes
  13295. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  13296. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13297. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
  13298. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  13299. export_dynamic_flag_spec='$wl-E'
  13300. else
  13301. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  13302. hardcode_libdir_flag_spec='$wl-rpath,$libdir'
  13303. fi
  13304. else
  13305. ld_shlibs=no
  13306. fi
  13307. ;;
  13308. os2*)
  13309. hardcode_libdir_flag_spec='-L$libdir'
  13310. hardcode_minus_L=yes
  13311. allow_undefined_flag=unsupported
  13312. shrext_cmds=.dll
  13313. archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  13314. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  13315. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  13316. $ECHO EXPORTS >> $output_objdir/$libname.def~
  13317. emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
  13318. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  13319. emximp -o $lib $output_objdir/$libname.def'
  13320. archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
  13321. $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
  13322. $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
  13323. $ECHO EXPORTS >> $output_objdir/$libname.def~
  13324. prefix_cmds="$SED"~
  13325. if test EXPORTS = "`$SED 1q $export_symbols`"; then
  13326. prefix_cmds="$prefix_cmds -e 1d";
  13327. fi~
  13328. prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
  13329. cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
  13330. $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
  13331. emximp -o $lib $output_objdir/$libname.def'
  13332. old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
  13333. enable_shared_with_static_runtimes=yes
  13334. ;;
  13335. osf3*)
  13336. if test yes = "$GCC"; then
  13337. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  13338. archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  13339. else
  13340. allow_undefined_flag=' -expect_unresolved \*'
  13341. archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  13342. fi
  13343. archive_cmds_need_lc='no'
  13344. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  13345. hardcode_libdir_separator=:
  13346. ;;
  13347. osf4* | osf5*) # as osf3* with the addition of -msym flag
  13348. if test yes = "$GCC"; then
  13349. allow_undefined_flag=' $wl-expect_unresolved $wl\*'
  13350. archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
  13351. hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
  13352. else
  13353. allow_undefined_flag=' -expect_unresolved \*'
  13354. archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
  13355. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  13356. $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
  13357. # Both c and cxx compiler support -rpath directly
  13358. hardcode_libdir_flag_spec='-rpath $libdir'
  13359. fi
  13360. archive_cmds_need_lc='no'
  13361. hardcode_libdir_separator=:
  13362. ;;
  13363. solaris*)
  13364. no_undefined_flag=' -z defs'
  13365. if test yes = "$GCC"; then
  13366. wlarc='$wl'
  13367. archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
  13368. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13369. $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  13370. else
  13371. case `$CC -V 2>&1` in
  13372. *"Compilers 5.0"*)
  13373. wlarc=''
  13374. archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13375. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13376. $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  13377. ;;
  13378. *)
  13379. wlarc='$wl'
  13380. archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  13381. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  13382. $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  13383. ;;
  13384. esac
  13385. fi
  13386. hardcode_libdir_flag_spec='-R$libdir'
  13387. hardcode_shlibpath_var=no
  13388. case $host_os in
  13389. solaris2.[0-5] | solaris2.[0-5].*) ;;
  13390. *)
  13391. # The compiler driver will combine and reorder linker options,
  13392. # but understands '-z linker_flag'. GCC discards it without '$wl',
  13393. # but is careful enough not to reorder.
  13394. # Supported since Solaris 2.6 (maybe 2.5.1?)
  13395. if test yes = "$GCC"; then
  13396. whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
  13397. else
  13398. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  13399. fi
  13400. ;;
  13401. esac
  13402. link_all_deplibs=yes
  13403. ;;
  13404. sunos4*)
  13405. if test sequent = "$host_vendor"; then
  13406. # Use $CC to link under sequent, because it throws in some extra .o
  13407. # files that make .init and .fini sections work.
  13408. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  13409. else
  13410. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  13411. fi
  13412. hardcode_libdir_flag_spec='-L$libdir'
  13413. hardcode_direct=yes
  13414. hardcode_minus_L=yes
  13415. hardcode_shlibpath_var=no
  13416. ;;
  13417. sysv4)
  13418. case $host_vendor in
  13419. sni)
  13420. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13421. hardcode_direct=yes # is this really true???
  13422. ;;
  13423. siemens)
  13424. ## LD is ld it makes a PLAMLIB
  13425. ## CC just makes a GrossModule.
  13426. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  13427. reload_cmds='$CC -r -o $output$reload_objs'
  13428. hardcode_direct=no
  13429. ;;
  13430. motorola)
  13431. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13432. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  13433. ;;
  13434. esac
  13435. runpath_var='LD_RUN_PATH'
  13436. hardcode_shlibpath_var=no
  13437. ;;
  13438. sysv4.3*)
  13439. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13440. hardcode_shlibpath_var=no
  13441. export_dynamic_flag_spec='-Bexport'
  13442. ;;
  13443. sysv4*MP*)
  13444. if test -d /usr/nec; then
  13445. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13446. hardcode_shlibpath_var=no
  13447. runpath_var=LD_RUN_PATH
  13448. hardcode_runpath_var=yes
  13449. ld_shlibs=yes
  13450. fi
  13451. ;;
  13452. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  13453. no_undefined_flag='$wl-z,text'
  13454. archive_cmds_need_lc=no
  13455. hardcode_shlibpath_var=no
  13456. runpath_var='LD_RUN_PATH'
  13457. if test yes = "$GCC"; then
  13458. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13459. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13460. else
  13461. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13462. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13463. fi
  13464. ;;
  13465. sysv5* | sco3.2v5* | sco5v6*)
  13466. # Note: We CANNOT use -z defs as we might desire, because we do not
  13467. # link with -lc, and that would cause any symbols used from libc to
  13468. # always be unresolved, which means just about no library would
  13469. # ever link correctly. If we're not using GNU ld we use -z text
  13470. # though, which does catch some bad symbols but isn't as heavy-handed
  13471. # as -z defs.
  13472. no_undefined_flag='$wl-z,text'
  13473. allow_undefined_flag='$wl-z,nodefs'
  13474. archive_cmds_need_lc=no
  13475. hardcode_shlibpath_var=no
  13476. hardcode_libdir_flag_spec='$wl-R,$libdir'
  13477. hardcode_libdir_separator=':'
  13478. link_all_deplibs=yes
  13479. export_dynamic_flag_spec='$wl-Bexport'
  13480. runpath_var='LD_RUN_PATH'
  13481. if test yes = "$GCC"; then
  13482. archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13483. archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13484. else
  13485. archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13486. archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  13487. fi
  13488. ;;
  13489. uts4*)
  13490. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  13491. hardcode_libdir_flag_spec='-L$libdir'
  13492. hardcode_shlibpath_var=no
  13493. ;;
  13494. *)
  13495. ld_shlibs=no
  13496. ;;
  13497. esac
  13498. if test sni = "$host_vendor"; then
  13499. case $host in
  13500. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  13501. export_dynamic_flag_spec='$wl-Blargedynsym'
  13502. ;;
  13503. esac
  13504. fi
  13505. fi
  13506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  13507. $as_echo "$ld_shlibs" >&6; }
  13508. test no = "$ld_shlibs" && can_build_shared=no
  13509. with_gnu_ld=$with_gnu_ld
  13510. #
  13511. # Do we need to explicitly link libc?
  13512. #
  13513. case "x$archive_cmds_need_lc" in
  13514. x|xyes)
  13515. # Assume -lc should be added
  13516. archive_cmds_need_lc=yes
  13517. if test yes,yes = "$GCC,$enable_shared"; then
  13518. case $archive_cmds in
  13519. *'~'*)
  13520. # FIXME: we may have to deal with multi-command sequences.
  13521. ;;
  13522. '$CC '*)
  13523. # Test whether the compiler implicitly links with -lc since on some
  13524. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  13525. # to ld, don't add -lc before -lgcc.
  13526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  13527. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  13528. if ${lt_cv_archive_cmds_need_lc+:} false; then :
  13529. $as_echo_n "(cached) " >&6
  13530. else
  13531. $RM conftest*
  13532. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  13533. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  13534. (eval $ac_compile) 2>&5
  13535. ac_status=$?
  13536. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13537. test $ac_status = 0; } 2>conftest.err; then
  13538. soname=conftest
  13539. lib=conftest
  13540. libobjs=conftest.$ac_objext
  13541. deplibs=
  13542. wl=$lt_prog_compiler_wl
  13543. pic_flag=$lt_prog_compiler_pic
  13544. compiler_flags=-v
  13545. linker_flags=-v
  13546. verstring=
  13547. output_objdir=.
  13548. libname=conftest
  13549. lt_save_allow_undefined_flag=$allow_undefined_flag
  13550. allow_undefined_flag=
  13551. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  13552. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  13553. ac_status=$?
  13554. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13555. test $ac_status = 0; }
  13556. then
  13557. lt_cv_archive_cmds_need_lc=no
  13558. else
  13559. lt_cv_archive_cmds_need_lc=yes
  13560. fi
  13561. allow_undefined_flag=$lt_save_allow_undefined_flag
  13562. else
  13563. cat conftest.err 1>&5
  13564. fi
  13565. $RM conftest*
  13566. fi
  13567. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  13568. $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  13569. archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  13570. ;;
  13571. esac
  13572. fi
  13573. ;;
  13574. esac
  13575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
  13576. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  13577. if test yes = "$GCC"; then
  13578. case $host_os in
  13579. darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
  13580. *) lt_awk_arg='/^libraries:/' ;;
  13581. esac
  13582. case $host_os in
  13583. mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
  13584. *) lt_sed_strip_eq='s|=/|/|g' ;;
  13585. esac
  13586. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
  13587. case $lt_search_path_spec in
  13588. *\;*)
  13589. # if the path contains ";" then we assume it to be the separator
  13590. # otherwise default to the standard path separator (i.e. ":") - it is
  13591. # assumed that no part of a normal pathname contains ";" but that should
  13592. # okay in the real world where ";" in dirpaths is itself problematic.
  13593. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
  13594. ;;
  13595. *)
  13596. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
  13597. ;;
  13598. esac
  13599. # Ok, now we have the path, separated by spaces, we can step through it
  13600. # and add multilib dir if necessary...
  13601. lt_tmp_lt_search_path_spec=
  13602. lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  13603. # ...but if some path component already ends with the multilib dir we assume
  13604. # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
  13605. case "$lt_multi_os_dir; $lt_search_path_spec " in
  13606. "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
  13607. lt_multi_os_dir=
  13608. ;;
  13609. esac
  13610. for lt_sys_path in $lt_search_path_spec; do
  13611. if test -d "$lt_sys_path$lt_multi_os_dir"; then
  13612. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
  13613. elif test -n "$lt_multi_os_dir"; then
  13614. test -d "$lt_sys_path" && \
  13615. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  13616. fi
  13617. done
  13618. lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
  13619. BEGIN {RS = " "; FS = "/|\n";} {
  13620. lt_foo = "";
  13621. lt_count = 0;
  13622. for (lt_i = NF; lt_i > 0; lt_i--) {
  13623. if ($lt_i != "" && $lt_i != ".") {
  13624. if ($lt_i == "..") {
  13625. lt_count++;
  13626. } else {
  13627. if (lt_count == 0) {
  13628. lt_foo = "/" $lt_i lt_foo;
  13629. } else {
  13630. lt_count--;
  13631. }
  13632. }
  13633. }
  13634. }
  13635. if (lt_foo != "") { lt_freq[lt_foo]++; }
  13636. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  13637. }'`
  13638. # AWK program above erroneously prepends '/' to C:/dos/paths
  13639. # for these hosts.
  13640. case $host_os in
  13641. mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
  13642. $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
  13643. esac
  13644. sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
  13645. else
  13646. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  13647. fi
  13648. library_names_spec=
  13649. libname_spec='lib$name'
  13650. soname_spec=
  13651. shrext_cmds=.so
  13652. postinstall_cmds=
  13653. postuninstall_cmds=
  13654. finish_cmds=
  13655. finish_eval=
  13656. shlibpath_var=
  13657. shlibpath_overrides_runpath=unknown
  13658. version_type=none
  13659. dynamic_linker="$host_os ld.so"
  13660. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  13661. need_lib_prefix=unknown
  13662. hardcode_into_libs=no
  13663. # when you set need_version to no, make sure it does not cause -set_version
  13664. # flags to be left without arguments
  13665. need_version=unknown
  13666. case $host_os in
  13667. aix3*)
  13668. version_type=linux # correct to gnu/linux during the next big refactor
  13669. library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
  13670. shlibpath_var=LIBPATH
  13671. # AIX 3 has no versioning support, so we append a major version to the name.
  13672. soname_spec='$libname$release$shared_ext$major'
  13673. ;;
  13674. aix[4-9]*)
  13675. version_type=linux # correct to gnu/linux during the next big refactor
  13676. need_lib_prefix=no
  13677. need_version=no
  13678. hardcode_into_libs=yes
  13679. if test ia64 = "$host_cpu"; then
  13680. # AIX 5 supports IA64
  13681. library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
  13682. shlibpath_var=LD_LIBRARY_PATH
  13683. else
  13684. # With GCC up to 2.95.x, collect2 would create an import file
  13685. # for dependence libraries. The import file would start with
  13686. # the line '#! .'. This would cause the generated library to
  13687. # depend on '.', always an invalid library. This was fixed in
  13688. # development snapshots of GCC prior to 3.0.
  13689. case $host_os in
  13690. aix4 | aix4.[01] | aix4.[01].*)
  13691. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  13692. echo ' yes '
  13693. echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
  13694. :
  13695. else
  13696. can_build_shared=no
  13697. fi
  13698. ;;
  13699. esac
  13700. # Using Import Files as archive members, it is possible to support
  13701. # filename-based versioning of shared library archives on AIX. While
  13702. # this would work for both with and without runtime linking, it will
  13703. # prevent static linking of such archives. So we do filename-based
  13704. # shared library versioning with .so extension only, which is used
  13705. # when both runtime linking and shared linking is enabled.
  13706. # Unfortunately, runtime linking may impact performance, so we do
  13707. # not want this to be the default eventually. Also, we use the
  13708. # versioned .so libs for executables only if there is the -brtl
  13709. # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
  13710. # To allow for filename-based versioning support, we need to create
  13711. # libNAME.so.V as an archive file, containing:
  13712. # *) an Import File, referring to the versioned filename of the
  13713. # archive as well as the shared archive member, telling the
  13714. # bitwidth (32 or 64) of that shared object, and providing the
  13715. # list of exported symbols of that shared object, eventually
  13716. # decorated with the 'weak' keyword
  13717. # *) the shared object with the F_LOADONLY flag set, to really avoid
  13718. # it being seen by the linker.
  13719. # At run time we better use the real file rather than another symlink,
  13720. # but for link time we create the symlink libNAME.so -> libNAME.so.V
  13721. case $with_aix_soname,$aix_use_runtimelinking in
  13722. # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
  13723. # soname into executable. Probably we can add versioning support to
  13724. # collect2, so additional links can be useful in future.
  13725. aix,yes) # traditional libtool
  13726. dynamic_linker='AIX unversionable lib.so'
  13727. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  13728. # instead of lib<name>.a to let people know that these are not
  13729. # typical AIX shared libraries.
  13730. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13731. ;;
  13732. aix,no) # traditional AIX only
  13733. dynamic_linker='AIX lib.a(lib.so.V)'
  13734. # We preserve .a as extension for shared libraries through AIX4.2
  13735. # and later when we are not doing run time linking.
  13736. library_names_spec='$libname$release.a $libname.a'
  13737. soname_spec='$libname$release$shared_ext$major'
  13738. ;;
  13739. svr4,*) # full svr4 only
  13740. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
  13741. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  13742. # We do not specify a path in Import Files, so LIBPATH fires.
  13743. shlibpath_overrides_runpath=yes
  13744. ;;
  13745. *,yes) # both, prefer svr4
  13746. dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
  13747. library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
  13748. # unpreferred sharedlib libNAME.a needs extra handling
  13749. postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
  13750. postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
  13751. # We do not specify a path in Import Files, so LIBPATH fires.
  13752. shlibpath_overrides_runpath=yes
  13753. ;;
  13754. *,no) # both, prefer aix
  13755. dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
  13756. library_names_spec='$libname$release.a $libname.a'
  13757. soname_spec='$libname$release$shared_ext$major'
  13758. # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
  13759. postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
  13760. postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
  13761. ;;
  13762. esac
  13763. shlibpath_var=LIBPATH
  13764. fi
  13765. ;;
  13766. amigaos*)
  13767. case $host_cpu in
  13768. powerpc)
  13769. # Since July 2007 AmigaOS4 officially supports .so libraries.
  13770. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  13771. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13772. ;;
  13773. m68k)
  13774. library_names_spec='$libname.ixlibrary $libname.a'
  13775. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  13776. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  13777. ;;
  13778. esac
  13779. ;;
  13780. beos*)
  13781. library_names_spec='$libname$shared_ext'
  13782. dynamic_linker="$host_os ld.so"
  13783. shlibpath_var=LIBRARY_PATH
  13784. ;;
  13785. bsdi[45]*)
  13786. version_type=linux # correct to gnu/linux during the next big refactor
  13787. need_version=no
  13788. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13789. soname_spec='$libname$release$shared_ext$major'
  13790. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  13791. shlibpath_var=LD_LIBRARY_PATH
  13792. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  13793. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  13794. # the default ld.so.conf also contains /usr/contrib/lib and
  13795. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  13796. # libtool to hard-code these into programs
  13797. ;;
  13798. cygwin* | mingw* | pw32* | cegcc*)
  13799. version_type=windows
  13800. shrext_cmds=.dll
  13801. need_version=no
  13802. need_lib_prefix=no
  13803. case $GCC,$cc_basename in
  13804. yes,*)
  13805. # gcc
  13806. library_names_spec='$libname.dll.a'
  13807. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  13808. postinstall_cmds='base_file=`basename \$file`~
  13809. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  13810. dldir=$destdir/`dirname \$dlpath`~
  13811. test -d \$dldir || mkdir -p \$dldir~
  13812. $install_prog $dir/$dlname \$dldir/$dlname~
  13813. chmod a+x \$dldir/$dlname~
  13814. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  13815. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  13816. fi'
  13817. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  13818. dlpath=$dir/\$dldll~
  13819. $RM \$dlpath'
  13820. shlibpath_overrides_runpath=yes
  13821. case $host_os in
  13822. cygwin*)
  13823. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  13824. soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  13825. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
  13826. ;;
  13827. mingw* | cegcc*)
  13828. # MinGW DLLs use traditional 'lib' prefix
  13829. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  13830. ;;
  13831. pw32*)
  13832. # pw32 DLLs use 'pw' prefix rather than 'lib'
  13833. library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  13834. ;;
  13835. esac
  13836. dynamic_linker='Win32 ld.exe'
  13837. ;;
  13838. *,cl*)
  13839. # Native MSVC
  13840. libname_spec='$name'
  13841. soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
  13842. library_names_spec='$libname.dll.lib'
  13843. case $build_os in
  13844. mingw*)
  13845. sys_lib_search_path_spec=
  13846. lt_save_ifs=$IFS
  13847. IFS=';'
  13848. for lt_path in $LIB
  13849. do
  13850. IFS=$lt_save_ifs
  13851. # Let DOS variable expansion print the short 8.3 style file name.
  13852. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
  13853. sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
  13854. done
  13855. IFS=$lt_save_ifs
  13856. # Convert to MSYS style.
  13857. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
  13858. ;;
  13859. cygwin*)
  13860. # Convert to unix form, then to dos form, then back to unix form
  13861. # but this time dos style (no spaces!) so that the unix form looks
  13862. # like /cygdrive/c/PROGRA~1:/cygdr...
  13863. sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
  13864. sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
  13865. sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  13866. ;;
  13867. *)
  13868. sys_lib_search_path_spec=$LIB
  13869. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  13870. # It is most probably a Windows format PATH.
  13871. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  13872. else
  13873. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  13874. fi
  13875. # FIXME: find the short name or the path components, as spaces are
  13876. # common. (e.g. "Program Files" -> "PROGRA~1")
  13877. ;;
  13878. esac
  13879. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  13880. postinstall_cmds='base_file=`basename \$file`~
  13881. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
  13882. dldir=$destdir/`dirname \$dlpath`~
  13883. test -d \$dldir || mkdir -p \$dldir~
  13884. $install_prog $dir/$dlname \$dldir/$dlname'
  13885. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  13886. dlpath=$dir/\$dldll~
  13887. $RM \$dlpath'
  13888. shlibpath_overrides_runpath=yes
  13889. dynamic_linker='Win32 link.exe'
  13890. ;;
  13891. *)
  13892. # Assume MSVC wrapper
  13893. library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
  13894. dynamic_linker='Win32 ld.exe'
  13895. ;;
  13896. esac
  13897. # FIXME: first we should search . and the directory the executable is in
  13898. shlibpath_var=PATH
  13899. ;;
  13900. darwin* | rhapsody*)
  13901. dynamic_linker="$host_os dyld"
  13902. version_type=darwin
  13903. need_lib_prefix=no
  13904. need_version=no
  13905. library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
  13906. soname_spec='$libname$release$major$shared_ext'
  13907. shlibpath_overrides_runpath=yes
  13908. shlibpath_var=DYLD_LIBRARY_PATH
  13909. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  13910. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  13911. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  13912. ;;
  13913. dgux*)
  13914. version_type=linux # correct to gnu/linux during the next big refactor
  13915. need_lib_prefix=no
  13916. need_version=no
  13917. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13918. soname_spec='$libname$release$shared_ext$major'
  13919. shlibpath_var=LD_LIBRARY_PATH
  13920. ;;
  13921. freebsd* | dragonfly*)
  13922. # DragonFly does not have aout. When/if they implement a new
  13923. # versioning mechanism, adjust this.
  13924. if test -x /usr/bin/objformat; then
  13925. objformat=`/usr/bin/objformat`
  13926. else
  13927. case $host_os in
  13928. freebsd[23].*) objformat=aout ;;
  13929. *) objformat=elf ;;
  13930. esac
  13931. fi
  13932. version_type=freebsd-$objformat
  13933. case $version_type in
  13934. freebsd-elf*)
  13935. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13936. soname_spec='$libname$release$shared_ext$major'
  13937. need_version=no
  13938. need_lib_prefix=no
  13939. ;;
  13940. freebsd-*)
  13941. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  13942. need_version=yes
  13943. ;;
  13944. esac
  13945. shlibpath_var=LD_LIBRARY_PATH
  13946. case $host_os in
  13947. freebsd2.*)
  13948. shlibpath_overrides_runpath=yes
  13949. ;;
  13950. freebsd3.[01]* | freebsdelf3.[01]*)
  13951. shlibpath_overrides_runpath=yes
  13952. hardcode_into_libs=yes
  13953. ;;
  13954. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  13955. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  13956. shlibpath_overrides_runpath=no
  13957. hardcode_into_libs=yes
  13958. ;;
  13959. *) # from 4.6 on, and DragonFly
  13960. shlibpath_overrides_runpath=yes
  13961. hardcode_into_libs=yes
  13962. ;;
  13963. esac
  13964. ;;
  13965. haiku*)
  13966. version_type=linux # correct to gnu/linux during the next big refactor
  13967. need_lib_prefix=no
  13968. need_version=no
  13969. dynamic_linker="$host_os runtime_loader"
  13970. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13971. soname_spec='$libname$release$shared_ext$major'
  13972. shlibpath_var=LIBRARY_PATH
  13973. shlibpath_overrides_runpath=no
  13974. sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
  13975. hardcode_into_libs=yes
  13976. ;;
  13977. hpux9* | hpux10* | hpux11*)
  13978. # Give a soname corresponding to the major version so that dld.sl refuses to
  13979. # link against other versions.
  13980. version_type=sunos
  13981. need_lib_prefix=no
  13982. need_version=no
  13983. case $host_cpu in
  13984. ia64*)
  13985. shrext_cmds='.so'
  13986. hardcode_into_libs=yes
  13987. dynamic_linker="$host_os dld.so"
  13988. shlibpath_var=LD_LIBRARY_PATH
  13989. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  13990. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  13991. soname_spec='$libname$release$shared_ext$major'
  13992. if test 32 = "$HPUX_IA64_MODE"; then
  13993. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  13994. sys_lib_dlsearch_path_spec=/usr/lib/hpux32
  13995. else
  13996. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  13997. sys_lib_dlsearch_path_spec=/usr/lib/hpux64
  13998. fi
  13999. ;;
  14000. hppa*64*)
  14001. shrext_cmds='.sl'
  14002. hardcode_into_libs=yes
  14003. dynamic_linker="$host_os dld.sl"
  14004. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  14005. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  14006. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14007. soname_spec='$libname$release$shared_ext$major'
  14008. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  14009. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  14010. ;;
  14011. *)
  14012. shrext_cmds='.sl'
  14013. dynamic_linker="$host_os dld.sl"
  14014. shlibpath_var=SHLIB_PATH
  14015. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  14016. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14017. soname_spec='$libname$release$shared_ext$major'
  14018. ;;
  14019. esac
  14020. # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
  14021. postinstall_cmds='chmod 555 $lib'
  14022. # or fails outright, so override atomically:
  14023. install_override_mode=555
  14024. ;;
  14025. interix[3-9]*)
  14026. version_type=linux # correct to gnu/linux during the next big refactor
  14027. need_lib_prefix=no
  14028. need_version=no
  14029. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14030. soname_spec='$libname$release$shared_ext$major'
  14031. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  14032. shlibpath_var=LD_LIBRARY_PATH
  14033. shlibpath_overrides_runpath=no
  14034. hardcode_into_libs=yes
  14035. ;;
  14036. irix5* | irix6* | nonstopux*)
  14037. case $host_os in
  14038. nonstopux*) version_type=nonstopux ;;
  14039. *)
  14040. if test yes = "$lt_cv_prog_gnu_ld"; then
  14041. version_type=linux # correct to gnu/linux during the next big refactor
  14042. else
  14043. version_type=irix
  14044. fi ;;
  14045. esac
  14046. need_lib_prefix=no
  14047. need_version=no
  14048. soname_spec='$libname$release$shared_ext$major'
  14049. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
  14050. case $host_os in
  14051. irix5* | nonstopux*)
  14052. libsuff= shlibsuff=
  14053. ;;
  14054. *)
  14055. case $LD in # libtool.m4 will add one of these switches to LD
  14056. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  14057. libsuff= shlibsuff= libmagic=32-bit;;
  14058. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  14059. libsuff=32 shlibsuff=N32 libmagic=N32;;
  14060. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  14061. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  14062. *) libsuff= shlibsuff= libmagic=never-match;;
  14063. esac
  14064. ;;
  14065. esac
  14066. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  14067. shlibpath_overrides_runpath=no
  14068. sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
  14069. sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
  14070. hardcode_into_libs=yes
  14071. ;;
  14072. # No shared lib support for Linux oldld, aout, or coff.
  14073. linux*oldld* | linux*aout* | linux*coff*)
  14074. dynamic_linker=no
  14075. ;;
  14076. linux*android*)
  14077. version_type=none # Android doesn't support versioned libraries.
  14078. need_lib_prefix=no
  14079. need_version=no
  14080. library_names_spec='$libname$release$shared_ext'
  14081. soname_spec='$libname$release$shared_ext'
  14082. finish_cmds=
  14083. shlibpath_var=LD_LIBRARY_PATH
  14084. shlibpath_overrides_runpath=yes
  14085. # This implies no fast_install, which is unacceptable.
  14086. # Some rework will be needed to allow for fast_install
  14087. # before this can be enabled.
  14088. hardcode_into_libs=yes
  14089. dynamic_linker='Android linker'
  14090. # Don't embed -rpath directories since the linker doesn't support them.
  14091. hardcode_libdir_flag_spec='-L$libdir'
  14092. ;;
  14093. # This must be glibc/ELF.
  14094. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
  14095. version_type=linux # correct to gnu/linux during the next big refactor
  14096. need_lib_prefix=no
  14097. need_version=no
  14098. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14099. soname_spec='$libname$release$shared_ext$major'
  14100. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  14101. shlibpath_var=LD_LIBRARY_PATH
  14102. shlibpath_overrides_runpath=no
  14103. # Some binutils ld are patched to set DT_RUNPATH
  14104. if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
  14105. $as_echo_n "(cached) " >&6
  14106. else
  14107. lt_cv_shlibpath_overrides_runpath=no
  14108. save_LDFLAGS=$LDFLAGS
  14109. save_libdir=$libdir
  14110. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  14111. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  14112. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14113. /* end confdefs.h. */
  14114. int
  14115. main ()
  14116. {
  14117. ;
  14118. return 0;
  14119. }
  14120. _ACEOF
  14121. if ac_fn_c_try_link "$LINENO"; then :
  14122. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
  14123. lt_cv_shlibpath_overrides_runpath=yes
  14124. fi
  14125. fi
  14126. rm -f core conftest.err conftest.$ac_objext \
  14127. conftest$ac_exeext conftest.$ac_ext
  14128. LDFLAGS=$save_LDFLAGS
  14129. libdir=$save_libdir
  14130. fi
  14131. shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
  14132. # This implies no fast_install, which is unacceptable.
  14133. # Some rework will be needed to allow for fast_install
  14134. # before this can be enabled.
  14135. hardcode_into_libs=yes
  14136. # Ideally, we could use ldconfig to report *all* directores which are
  14137. # searched for libraries, however this is still not possible. Aside from not
  14138. # being certain /sbin/ldconfig is available, command
  14139. # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
  14140. # even though it is searched at run-time. Try to do the best guess by
  14141. # appending ld.so.conf contents (and includes) to the search path.
  14142. if test -f /etc/ld.so.conf; then
  14143. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
  14144. sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  14145. fi
  14146. # We used to test for /lib/ld.so.1 and disable shared libraries on
  14147. # powerpc, because MkLinux only supported shared libraries with the
  14148. # GNU dynamic linker. Since this was broken with cross compilers,
  14149. # most powerpc-linux boxes support dynamic linking these days and
  14150. # people can always --disable-shared, the test was removed, and we
  14151. # assume the GNU/Linux dynamic linker is in use.
  14152. dynamic_linker='GNU/Linux ld.so'
  14153. ;;
  14154. netbsdelf*-gnu)
  14155. version_type=linux
  14156. need_lib_prefix=no
  14157. need_version=no
  14158. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  14159. soname_spec='${libname}${release}${shared_ext}$major'
  14160. shlibpath_var=LD_LIBRARY_PATH
  14161. shlibpath_overrides_runpath=no
  14162. hardcode_into_libs=yes
  14163. dynamic_linker='NetBSD ld.elf_so'
  14164. ;;
  14165. netbsd*)
  14166. version_type=sunos
  14167. need_lib_prefix=no
  14168. need_version=no
  14169. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  14170. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  14171. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  14172. dynamic_linker='NetBSD (a.out) ld.so'
  14173. else
  14174. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14175. soname_spec='$libname$release$shared_ext$major'
  14176. dynamic_linker='NetBSD ld.elf_so'
  14177. fi
  14178. shlibpath_var=LD_LIBRARY_PATH
  14179. shlibpath_overrides_runpath=yes
  14180. hardcode_into_libs=yes
  14181. ;;
  14182. newsos6)
  14183. version_type=linux # correct to gnu/linux during the next big refactor
  14184. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14185. shlibpath_var=LD_LIBRARY_PATH
  14186. shlibpath_overrides_runpath=yes
  14187. ;;
  14188. *nto* | *qnx*)
  14189. version_type=qnx
  14190. need_lib_prefix=no
  14191. need_version=no
  14192. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14193. soname_spec='$libname$release$shared_ext$major'
  14194. shlibpath_var=LD_LIBRARY_PATH
  14195. shlibpath_overrides_runpath=no
  14196. hardcode_into_libs=yes
  14197. dynamic_linker='ldqnx.so'
  14198. ;;
  14199. openbsd* | bitrig*)
  14200. version_type=sunos
  14201. sys_lib_dlsearch_path_spec=/usr/lib
  14202. need_lib_prefix=no
  14203. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
  14204. need_version=no
  14205. else
  14206. need_version=yes
  14207. fi
  14208. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  14209. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  14210. shlibpath_var=LD_LIBRARY_PATH
  14211. shlibpath_overrides_runpath=yes
  14212. ;;
  14213. os2*)
  14214. libname_spec='$name'
  14215. version_type=windows
  14216. shrext_cmds=.dll
  14217. need_version=no
  14218. need_lib_prefix=no
  14219. # OS/2 can only load a DLL with a base name of 8 characters or less.
  14220. soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
  14221. v=$($ECHO $release$versuffix | tr -d .-);
  14222. n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
  14223. $ECHO $n$v`$shared_ext'
  14224. library_names_spec='${libname}_dll.$libext'
  14225. dynamic_linker='OS/2 ld.exe'
  14226. shlibpath_var=BEGINLIBPATH
  14227. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  14228. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  14229. postinstall_cmds='base_file=`basename \$file`~
  14230. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
  14231. dldir=$destdir/`dirname \$dlpath`~
  14232. test -d \$dldir || mkdir -p \$dldir~
  14233. $install_prog $dir/$dlname \$dldir/$dlname~
  14234. chmod a+x \$dldir/$dlname~
  14235. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  14236. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  14237. fi'
  14238. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
  14239. dlpath=$dir/\$dldll~
  14240. $RM \$dlpath'
  14241. ;;
  14242. osf3* | osf4* | osf5*)
  14243. version_type=osf
  14244. need_lib_prefix=no
  14245. need_version=no
  14246. soname_spec='$libname$release$shared_ext$major'
  14247. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14248. shlibpath_var=LD_LIBRARY_PATH
  14249. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  14250. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  14251. ;;
  14252. rdos*)
  14253. dynamic_linker=no
  14254. ;;
  14255. solaris*)
  14256. version_type=linux # correct to gnu/linux during the next big refactor
  14257. need_lib_prefix=no
  14258. need_version=no
  14259. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14260. soname_spec='$libname$release$shared_ext$major'
  14261. shlibpath_var=LD_LIBRARY_PATH
  14262. shlibpath_overrides_runpath=yes
  14263. hardcode_into_libs=yes
  14264. # ldd complains unless libraries are executable
  14265. postinstall_cmds='chmod +x $lib'
  14266. ;;
  14267. sunos4*)
  14268. version_type=sunos
  14269. library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
  14270. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  14271. shlibpath_var=LD_LIBRARY_PATH
  14272. shlibpath_overrides_runpath=yes
  14273. if test yes = "$with_gnu_ld"; then
  14274. need_lib_prefix=no
  14275. fi
  14276. need_version=yes
  14277. ;;
  14278. sysv4 | sysv4.3*)
  14279. version_type=linux # correct to gnu/linux during the next big refactor
  14280. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14281. soname_spec='$libname$release$shared_ext$major'
  14282. shlibpath_var=LD_LIBRARY_PATH
  14283. case $host_vendor in
  14284. sni)
  14285. shlibpath_overrides_runpath=no
  14286. need_lib_prefix=no
  14287. runpath_var=LD_RUN_PATH
  14288. ;;
  14289. siemens)
  14290. need_lib_prefix=no
  14291. ;;
  14292. motorola)
  14293. need_lib_prefix=no
  14294. need_version=no
  14295. shlibpath_overrides_runpath=no
  14296. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  14297. ;;
  14298. esac
  14299. ;;
  14300. sysv4*MP*)
  14301. if test -d /usr/nec; then
  14302. version_type=linux # correct to gnu/linux during the next big refactor
  14303. library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
  14304. soname_spec='$libname$shared_ext.$major'
  14305. shlibpath_var=LD_LIBRARY_PATH
  14306. fi
  14307. ;;
  14308. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  14309. version_type=sco
  14310. need_lib_prefix=no
  14311. need_version=no
  14312. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
  14313. soname_spec='$libname$release$shared_ext$major'
  14314. shlibpath_var=LD_LIBRARY_PATH
  14315. shlibpath_overrides_runpath=yes
  14316. hardcode_into_libs=yes
  14317. if test yes = "$with_gnu_ld"; then
  14318. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  14319. else
  14320. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  14321. case $host_os in
  14322. sco3.2v5*)
  14323. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  14324. ;;
  14325. esac
  14326. fi
  14327. sys_lib_dlsearch_path_spec='/usr/lib'
  14328. ;;
  14329. tpf*)
  14330. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  14331. version_type=linux # correct to gnu/linux during the next big refactor
  14332. need_lib_prefix=no
  14333. need_version=no
  14334. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14335. shlibpath_var=LD_LIBRARY_PATH
  14336. shlibpath_overrides_runpath=no
  14337. hardcode_into_libs=yes
  14338. ;;
  14339. uts4*)
  14340. version_type=linux # correct to gnu/linux during the next big refactor
  14341. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
  14342. soname_spec='$libname$release$shared_ext$major'
  14343. shlibpath_var=LD_LIBRARY_PATH
  14344. ;;
  14345. *)
  14346. dynamic_linker=no
  14347. ;;
  14348. esac
  14349. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
  14350. $as_echo "$dynamic_linker" >&6; }
  14351. test no = "$dynamic_linker" && can_build_shared=no
  14352. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  14353. if test yes = "$GCC"; then
  14354. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  14355. fi
  14356. if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
  14357. sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
  14358. fi
  14359. if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
  14360. sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
  14361. fi
  14362. # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
  14363. configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
  14364. # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
  14365. func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
  14366. # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
  14367. configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
  14368. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
  14369. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  14370. hardcode_action=
  14371. if test -n "$hardcode_libdir_flag_spec" ||
  14372. test -n "$runpath_var" ||
  14373. test yes = "$hardcode_automatic"; then
  14374. # We can hardcode non-existent directories.
  14375. if test no != "$hardcode_direct" &&
  14376. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  14377. # have to relink, otherwise we might link with an installed library
  14378. # when we should be linking with a yet-to-be-installed one
  14379. ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
  14380. test no != "$hardcode_minus_L"; then
  14381. # Linking always hardcodes the temporary library directory.
  14382. hardcode_action=relink
  14383. else
  14384. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  14385. hardcode_action=immediate
  14386. fi
  14387. else
  14388. # We cannot hardcode anything, or else we can only hardcode existing
  14389. # directories.
  14390. hardcode_action=unsupported
  14391. fi
  14392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
  14393. $as_echo "$hardcode_action" >&6; }
  14394. if test relink = "$hardcode_action" ||
  14395. test yes = "$inherit_rpath"; then
  14396. # Fast installation is not supported
  14397. enable_fast_install=no
  14398. elif test yes = "$shlibpath_overrides_runpath" ||
  14399. test no = "$enable_shared"; then
  14400. # Fast installation is not necessary
  14401. enable_fast_install=needless
  14402. fi
  14403. if test yes != "$enable_dlopen"; then
  14404. enable_dlopen=unknown
  14405. enable_dlopen_self=unknown
  14406. enable_dlopen_self_static=unknown
  14407. else
  14408. lt_cv_dlopen=no
  14409. lt_cv_dlopen_libs=
  14410. case $host_os in
  14411. beos*)
  14412. lt_cv_dlopen=load_add_on
  14413. lt_cv_dlopen_libs=
  14414. lt_cv_dlopen_self=yes
  14415. ;;
  14416. mingw* | pw32* | cegcc*)
  14417. lt_cv_dlopen=LoadLibrary
  14418. lt_cv_dlopen_libs=
  14419. ;;
  14420. cygwin*)
  14421. lt_cv_dlopen=dlopen
  14422. lt_cv_dlopen_libs=
  14423. ;;
  14424. darwin*)
  14425. # if libdl is installed we need to link against it
  14426. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  14427. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  14428. if ${ac_cv_lib_dl_dlopen+:} false; then :
  14429. $as_echo_n "(cached) " >&6
  14430. else
  14431. ac_check_lib_save_LIBS=$LIBS
  14432. LIBS="-ldl $LIBS"
  14433. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14434. /* end confdefs.h. */
  14435. /* Override any GCC internal prototype to avoid an error.
  14436. Use char because int might match the return type of a GCC
  14437. builtin and then its argument prototype would still apply. */
  14438. #ifdef __cplusplus
  14439. extern "C"
  14440. #endif
  14441. char dlopen ();
  14442. int
  14443. main ()
  14444. {
  14445. return dlopen ();
  14446. ;
  14447. return 0;
  14448. }
  14449. _ACEOF
  14450. if ac_fn_c_try_link "$LINENO"; then :
  14451. ac_cv_lib_dl_dlopen=yes
  14452. else
  14453. ac_cv_lib_dl_dlopen=no
  14454. fi
  14455. rm -f core conftest.err conftest.$ac_objext \
  14456. conftest$ac_exeext conftest.$ac_ext
  14457. LIBS=$ac_check_lib_save_LIBS
  14458. fi
  14459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  14460. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  14461. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  14462. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  14463. else
  14464. lt_cv_dlopen=dyld
  14465. lt_cv_dlopen_libs=
  14466. lt_cv_dlopen_self=yes
  14467. fi
  14468. ;;
  14469. tpf*)
  14470. # Don't try to run any link tests for TPF. We know it's impossible
  14471. # because TPF is a cross-compiler, and we know how we open DSOs.
  14472. lt_cv_dlopen=dlopen
  14473. lt_cv_dlopen_libs=
  14474. lt_cv_dlopen_self=no
  14475. ;;
  14476. *)
  14477. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  14478. if test "x$ac_cv_func_shl_load" = xyes; then :
  14479. lt_cv_dlopen=shl_load
  14480. else
  14481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
  14482. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  14483. if ${ac_cv_lib_dld_shl_load+:} false; then :
  14484. $as_echo_n "(cached) " >&6
  14485. else
  14486. ac_check_lib_save_LIBS=$LIBS
  14487. LIBS="-ldld $LIBS"
  14488. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14489. /* end confdefs.h. */
  14490. /* Override any GCC internal prototype to avoid an error.
  14491. Use char because int might match the return type of a GCC
  14492. builtin and then its argument prototype would still apply. */
  14493. #ifdef __cplusplus
  14494. extern "C"
  14495. #endif
  14496. char shl_load ();
  14497. int
  14498. main ()
  14499. {
  14500. return shl_load ();
  14501. ;
  14502. return 0;
  14503. }
  14504. _ACEOF
  14505. if ac_fn_c_try_link "$LINENO"; then :
  14506. ac_cv_lib_dld_shl_load=yes
  14507. else
  14508. ac_cv_lib_dld_shl_load=no
  14509. fi
  14510. rm -f core conftest.err conftest.$ac_objext \
  14511. conftest$ac_exeext conftest.$ac_ext
  14512. LIBS=$ac_check_lib_save_LIBS
  14513. fi
  14514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
  14515. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  14516. if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
  14517. lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
  14518. else
  14519. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  14520. if test "x$ac_cv_func_dlopen" = xyes; then :
  14521. lt_cv_dlopen=dlopen
  14522. else
  14523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  14524. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  14525. if ${ac_cv_lib_dl_dlopen+:} false; then :
  14526. $as_echo_n "(cached) " >&6
  14527. else
  14528. ac_check_lib_save_LIBS=$LIBS
  14529. LIBS="-ldl $LIBS"
  14530. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14531. /* end confdefs.h. */
  14532. /* Override any GCC internal prototype to avoid an error.
  14533. Use char because int might match the return type of a GCC
  14534. builtin and then its argument prototype would still apply. */
  14535. #ifdef __cplusplus
  14536. extern "C"
  14537. #endif
  14538. char dlopen ();
  14539. int
  14540. main ()
  14541. {
  14542. return dlopen ();
  14543. ;
  14544. return 0;
  14545. }
  14546. _ACEOF
  14547. if ac_fn_c_try_link "$LINENO"; then :
  14548. ac_cv_lib_dl_dlopen=yes
  14549. else
  14550. ac_cv_lib_dl_dlopen=no
  14551. fi
  14552. rm -f core conftest.err conftest.$ac_objext \
  14553. conftest$ac_exeext conftest.$ac_ext
  14554. LIBS=$ac_check_lib_save_LIBS
  14555. fi
  14556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  14557. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  14558. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  14559. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
  14560. else
  14561. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
  14562. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  14563. if ${ac_cv_lib_svld_dlopen+:} false; then :
  14564. $as_echo_n "(cached) " >&6
  14565. else
  14566. ac_check_lib_save_LIBS=$LIBS
  14567. LIBS="-lsvld $LIBS"
  14568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14569. /* end confdefs.h. */
  14570. /* Override any GCC internal prototype to avoid an error.
  14571. Use char because int might match the return type of a GCC
  14572. builtin and then its argument prototype would still apply. */
  14573. #ifdef __cplusplus
  14574. extern "C"
  14575. #endif
  14576. char dlopen ();
  14577. int
  14578. main ()
  14579. {
  14580. return dlopen ();
  14581. ;
  14582. return 0;
  14583. }
  14584. _ACEOF
  14585. if ac_fn_c_try_link "$LINENO"; then :
  14586. ac_cv_lib_svld_dlopen=yes
  14587. else
  14588. ac_cv_lib_svld_dlopen=no
  14589. fi
  14590. rm -f core conftest.err conftest.$ac_objext \
  14591. conftest$ac_exeext conftest.$ac_ext
  14592. LIBS=$ac_check_lib_save_LIBS
  14593. fi
  14594. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
  14595. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  14596. if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
  14597. lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
  14598. else
  14599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
  14600. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  14601. if ${ac_cv_lib_dld_dld_link+:} false; then :
  14602. $as_echo_n "(cached) " >&6
  14603. else
  14604. ac_check_lib_save_LIBS=$LIBS
  14605. LIBS="-ldld $LIBS"
  14606. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14607. /* end confdefs.h. */
  14608. /* Override any GCC internal prototype to avoid an error.
  14609. Use char because int might match the return type of a GCC
  14610. builtin and then its argument prototype would still apply. */
  14611. #ifdef __cplusplus
  14612. extern "C"
  14613. #endif
  14614. char dld_link ();
  14615. int
  14616. main ()
  14617. {
  14618. return dld_link ();
  14619. ;
  14620. return 0;
  14621. }
  14622. _ACEOF
  14623. if ac_fn_c_try_link "$LINENO"; then :
  14624. ac_cv_lib_dld_dld_link=yes
  14625. else
  14626. ac_cv_lib_dld_dld_link=no
  14627. fi
  14628. rm -f core conftest.err conftest.$ac_objext \
  14629. conftest$ac_exeext conftest.$ac_ext
  14630. LIBS=$ac_check_lib_save_LIBS
  14631. fi
  14632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
  14633. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  14634. if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
  14635. lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
  14636. fi
  14637. fi
  14638. fi
  14639. fi
  14640. fi
  14641. fi
  14642. ;;
  14643. esac
  14644. if test no = "$lt_cv_dlopen"; then
  14645. enable_dlopen=no
  14646. else
  14647. enable_dlopen=yes
  14648. fi
  14649. case $lt_cv_dlopen in
  14650. dlopen)
  14651. save_CPPFLAGS=$CPPFLAGS
  14652. test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  14653. save_LDFLAGS=$LDFLAGS
  14654. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  14655. save_LIBS=$LIBS
  14656. LIBS="$lt_cv_dlopen_libs $LIBS"
  14657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
  14658. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  14659. if ${lt_cv_dlopen_self+:} false; then :
  14660. $as_echo_n "(cached) " >&6
  14661. else
  14662. if test yes = "$cross_compiling"; then :
  14663. lt_cv_dlopen_self=cross
  14664. else
  14665. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  14666. lt_status=$lt_dlunknown
  14667. cat > conftest.$ac_ext <<_LT_EOF
  14668. #line $LINENO "configure"
  14669. #include "confdefs.h"
  14670. #if HAVE_DLFCN_H
  14671. #include <dlfcn.h>
  14672. #endif
  14673. #include <stdio.h>
  14674. #ifdef RTLD_GLOBAL
  14675. # define LT_DLGLOBAL RTLD_GLOBAL
  14676. #else
  14677. # ifdef DL_GLOBAL
  14678. # define LT_DLGLOBAL DL_GLOBAL
  14679. # else
  14680. # define LT_DLGLOBAL 0
  14681. # endif
  14682. #endif
  14683. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  14684. find out it does not work in some platform. */
  14685. #ifndef LT_DLLAZY_OR_NOW
  14686. # ifdef RTLD_LAZY
  14687. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  14688. # else
  14689. # ifdef DL_LAZY
  14690. # define LT_DLLAZY_OR_NOW DL_LAZY
  14691. # else
  14692. # ifdef RTLD_NOW
  14693. # define LT_DLLAZY_OR_NOW RTLD_NOW
  14694. # else
  14695. # ifdef DL_NOW
  14696. # define LT_DLLAZY_OR_NOW DL_NOW
  14697. # else
  14698. # define LT_DLLAZY_OR_NOW 0
  14699. # endif
  14700. # endif
  14701. # endif
  14702. # endif
  14703. #endif
  14704. /* When -fvisibility=hidden is used, assume the code has been annotated
  14705. correspondingly for the symbols needed. */
  14706. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  14707. int fnord () __attribute__((visibility("default")));
  14708. #endif
  14709. int fnord () { return 42; }
  14710. int main ()
  14711. {
  14712. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  14713. int status = $lt_dlunknown;
  14714. if (self)
  14715. {
  14716. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  14717. else
  14718. {
  14719. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  14720. else puts (dlerror ());
  14721. }
  14722. /* dlclose (self); */
  14723. }
  14724. else
  14725. puts (dlerror ());
  14726. return status;
  14727. }
  14728. _LT_EOF
  14729. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  14730. (eval $ac_link) 2>&5
  14731. ac_status=$?
  14732. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14733. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  14734. (./conftest; exit; ) >&5 2>/dev/null
  14735. lt_status=$?
  14736. case x$lt_status in
  14737. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  14738. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  14739. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  14740. esac
  14741. else :
  14742. # compilation failed
  14743. lt_cv_dlopen_self=no
  14744. fi
  14745. fi
  14746. rm -fr conftest*
  14747. fi
  14748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
  14749. $as_echo "$lt_cv_dlopen_self" >&6; }
  14750. if test yes = "$lt_cv_dlopen_self"; then
  14751. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  14752. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
  14753. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  14754. if ${lt_cv_dlopen_self_static+:} false; then :
  14755. $as_echo_n "(cached) " >&6
  14756. else
  14757. if test yes = "$cross_compiling"; then :
  14758. lt_cv_dlopen_self_static=cross
  14759. else
  14760. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  14761. lt_status=$lt_dlunknown
  14762. cat > conftest.$ac_ext <<_LT_EOF
  14763. #line $LINENO "configure"
  14764. #include "confdefs.h"
  14765. #if HAVE_DLFCN_H
  14766. #include <dlfcn.h>
  14767. #endif
  14768. #include <stdio.h>
  14769. #ifdef RTLD_GLOBAL
  14770. # define LT_DLGLOBAL RTLD_GLOBAL
  14771. #else
  14772. # ifdef DL_GLOBAL
  14773. # define LT_DLGLOBAL DL_GLOBAL
  14774. # else
  14775. # define LT_DLGLOBAL 0
  14776. # endif
  14777. #endif
  14778. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  14779. find out it does not work in some platform. */
  14780. #ifndef LT_DLLAZY_OR_NOW
  14781. # ifdef RTLD_LAZY
  14782. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  14783. # else
  14784. # ifdef DL_LAZY
  14785. # define LT_DLLAZY_OR_NOW DL_LAZY
  14786. # else
  14787. # ifdef RTLD_NOW
  14788. # define LT_DLLAZY_OR_NOW RTLD_NOW
  14789. # else
  14790. # ifdef DL_NOW
  14791. # define LT_DLLAZY_OR_NOW DL_NOW
  14792. # else
  14793. # define LT_DLLAZY_OR_NOW 0
  14794. # endif
  14795. # endif
  14796. # endif
  14797. # endif
  14798. #endif
  14799. /* When -fvisibility=hidden is used, assume the code has been annotated
  14800. correspondingly for the symbols needed. */
  14801. #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
  14802. int fnord () __attribute__((visibility("default")));
  14803. #endif
  14804. int fnord () { return 42; }
  14805. int main ()
  14806. {
  14807. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  14808. int status = $lt_dlunknown;
  14809. if (self)
  14810. {
  14811. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  14812. else
  14813. {
  14814. if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  14815. else puts (dlerror ());
  14816. }
  14817. /* dlclose (self); */
  14818. }
  14819. else
  14820. puts (dlerror ());
  14821. return status;
  14822. }
  14823. _LT_EOF
  14824. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  14825. (eval $ac_link) 2>&5
  14826. ac_status=$?
  14827. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14828. test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
  14829. (./conftest; exit; ) >&5 2>/dev/null
  14830. lt_status=$?
  14831. case x$lt_status in
  14832. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  14833. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  14834. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  14835. esac
  14836. else :
  14837. # compilation failed
  14838. lt_cv_dlopen_self_static=no
  14839. fi
  14840. fi
  14841. rm -fr conftest*
  14842. fi
  14843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
  14844. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  14845. fi
  14846. CPPFLAGS=$save_CPPFLAGS
  14847. LDFLAGS=$save_LDFLAGS
  14848. LIBS=$save_LIBS
  14849. ;;
  14850. esac
  14851. case $lt_cv_dlopen_self in
  14852. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  14853. *) enable_dlopen_self=unknown ;;
  14854. esac
  14855. case $lt_cv_dlopen_self_static in
  14856. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  14857. *) enable_dlopen_self_static=unknown ;;
  14858. esac
  14859. fi
  14860. striplib=
  14861. old_striplib=
  14862. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
  14863. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  14864. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  14865. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  14866. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  14867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14868. $as_echo "yes" >&6; }
  14869. else
  14870. # FIXME - insert some real tests, host_os isn't really good enough
  14871. case $host_os in
  14872. darwin*)
  14873. if test -n "$STRIP"; then
  14874. striplib="$STRIP -x"
  14875. old_striplib="$STRIP -S"
  14876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14877. $as_echo "yes" >&6; }
  14878. else
  14879. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14880. $as_echo "no" >&6; }
  14881. fi
  14882. ;;
  14883. *)
  14884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14885. $as_echo "no" >&6; }
  14886. ;;
  14887. esac
  14888. fi
  14889. # Report what library types will actually be built
  14890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
  14891. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  14892. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
  14893. $as_echo "$can_build_shared" >&6; }
  14894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  14895. $as_echo_n "checking whether to build shared libraries... " >&6; }
  14896. test no = "$can_build_shared" && enable_shared=no
  14897. # On AIX, shared libraries and static libraries use the same namespace, and
  14898. # are all built from PIC.
  14899. case $host_os in
  14900. aix3*)
  14901. test yes = "$enable_shared" && enable_static=no
  14902. if test -n "$RANLIB"; then
  14903. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  14904. postinstall_cmds='$RANLIB $lib'
  14905. fi
  14906. ;;
  14907. aix[4-9]*)
  14908. if test ia64 != "$host_cpu"; then
  14909. case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
  14910. yes,aix,yes) ;; # shared object as lib.so file only
  14911. yes,svr4,*) ;; # shared object as lib.so archive member only
  14912. yes,*) enable_static=no ;; # shared object in lib.a archive as well
  14913. esac
  14914. fi
  14915. ;;
  14916. esac
  14917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
  14918. $as_echo "$enable_shared" >&6; }
  14919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  14920. $as_echo_n "checking whether to build static libraries... " >&6; }
  14921. # Make sure either enable_shared or enable_static is yes.
  14922. test yes = "$enable_shared" || enable_static=yes
  14923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
  14924. $as_echo "$enable_static" >&6; }
  14925. fi
  14926. ac_ext=c
  14927. ac_cpp='$CPP $CPPFLAGS'
  14928. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14929. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14930. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14931. CC=$lt_save_CC
  14932. ac_config_commands="$ac_config_commands libtool"
  14933. # Only expand once:
  14934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  14935. $as_echo_n "checking for egrep... " >&6; }
  14936. if ${ac_cv_path_EGREP+:} false; then :
  14937. $as_echo_n "(cached) " >&6
  14938. else
  14939. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  14940. then ac_cv_path_EGREP="$GREP -E"
  14941. else
  14942. if test -z "$EGREP"; then
  14943. ac_path_EGREP_found=false
  14944. # Loop through the user's path and test for each of PROGNAME-LIST
  14945. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14946. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14947. do
  14948. IFS=$as_save_IFS
  14949. test -z "$as_dir" && as_dir=.
  14950. for ac_prog in egrep; do
  14951. for ac_exec_ext in '' $ac_executable_extensions; do
  14952. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  14953. as_fn_executable_p "$ac_path_EGREP" || continue
  14954. # Check for GNU ac_path_EGREP and select it if it is found.
  14955. # Check for GNU $ac_path_EGREP
  14956. case `"$ac_path_EGREP" --version 2>&1` in
  14957. *GNU*)
  14958. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  14959. *)
  14960. ac_count=0
  14961. $as_echo_n 0123456789 >"conftest.in"
  14962. while :
  14963. do
  14964. cat "conftest.in" "conftest.in" >"conftest.tmp"
  14965. mv "conftest.tmp" "conftest.in"
  14966. cp "conftest.in" "conftest.nl"
  14967. $as_echo 'EGREP' >> "conftest.nl"
  14968. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14969. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14970. as_fn_arith $ac_count + 1 && ac_count=$as_val
  14971. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  14972. # Best one so far, save it but keep looking for a better one
  14973. ac_cv_path_EGREP="$ac_path_EGREP"
  14974. ac_path_EGREP_max=$ac_count
  14975. fi
  14976. # 10*(2^10) chars as input seems more than enough
  14977. test $ac_count -gt 10 && break
  14978. done
  14979. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14980. esac
  14981. $ac_path_EGREP_found && break 3
  14982. done
  14983. done
  14984. done
  14985. IFS=$as_save_IFS
  14986. if test -z "$ac_cv_path_EGREP"; then
  14987. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14988. fi
  14989. else
  14990. ac_cv_path_EGREP=$EGREP
  14991. fi
  14992. fi
  14993. fi
  14994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  14995. $as_echo "$ac_cv_path_EGREP" >&6; }
  14996. EGREP="$ac_cv_path_EGREP"
  14997. for ac_prog in gawk mawk nawk awk
  14998. do
  14999. # Extract the first word of "$ac_prog", so it can be a program name with args.
  15000. set dummy $ac_prog; ac_word=$2
  15001. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15002. $as_echo_n "checking for $ac_word... " >&6; }
  15003. if ${ac_cv_prog_AWK+:} false; then :
  15004. $as_echo_n "(cached) " >&6
  15005. else
  15006. if test -n "$AWK"; then
  15007. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  15008. else
  15009. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15010. for as_dir in $PATH
  15011. do
  15012. IFS=$as_save_IFS
  15013. test -z "$as_dir" && as_dir=.
  15014. for ac_exec_ext in '' $ac_executable_extensions; do
  15015. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15016. ac_cv_prog_AWK="$ac_prog"
  15017. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15018. break 2
  15019. fi
  15020. done
  15021. done
  15022. IFS=$as_save_IFS
  15023. fi
  15024. fi
  15025. AWK=$ac_cv_prog_AWK
  15026. if test -n "$AWK"; then
  15027. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  15028. $as_echo "$AWK" >&6; }
  15029. else
  15030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15031. $as_echo "no" >&6; }
  15032. fi
  15033. test -n "$AWK" && break
  15034. done
  15035. for ac_prog in flex lex
  15036. do
  15037. # Extract the first word of "$ac_prog", so it can be a program name with args.
  15038. set dummy $ac_prog; ac_word=$2
  15039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15040. $as_echo_n "checking for $ac_word... " >&6; }
  15041. if ${ac_cv_prog_LEX+:} false; then :
  15042. $as_echo_n "(cached) " >&6
  15043. else
  15044. if test -n "$LEX"; then
  15045. ac_cv_prog_LEX="$LEX" # Let the user override the test.
  15046. else
  15047. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15048. for as_dir in $PATH
  15049. do
  15050. IFS=$as_save_IFS
  15051. test -z "$as_dir" && as_dir=.
  15052. for ac_exec_ext in '' $ac_executable_extensions; do
  15053. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15054. ac_cv_prog_LEX="$ac_prog"
  15055. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15056. break 2
  15057. fi
  15058. done
  15059. done
  15060. IFS=$as_save_IFS
  15061. fi
  15062. fi
  15063. LEX=$ac_cv_prog_LEX
  15064. if test -n "$LEX"; then
  15065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
  15066. $as_echo "$LEX" >&6; }
  15067. else
  15068. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15069. $as_echo "no" >&6; }
  15070. fi
  15071. test -n "$LEX" && break
  15072. done
  15073. test -n "$LEX" || LEX=":"
  15074. if test "x$LEX" != "x:"; then
  15075. cat >conftest.l <<_ACEOF
  15076. %%
  15077. a { ECHO; }
  15078. b { REJECT; }
  15079. c { yymore (); }
  15080. d { yyless (1); }
  15081. e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  15082. yyless ((input () != 0)); }
  15083. f { unput (yytext[0]); }
  15084. . { BEGIN INITIAL; }
  15085. %%
  15086. #ifdef YYTEXT_POINTER
  15087. extern char *yytext;
  15088. #endif
  15089. int
  15090. main (void)
  15091. {
  15092. return ! yylex () + ! yywrap ();
  15093. }
  15094. _ACEOF
  15095. { { ac_try="$LEX conftest.l"
  15096. case "(($ac_try" in
  15097. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15098. *) ac_try_echo=$ac_try;;
  15099. esac
  15100. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  15101. $as_echo "$ac_try_echo"; } >&5
  15102. (eval "$LEX conftest.l") 2>&5
  15103. ac_status=$?
  15104. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15105. test $ac_status = 0; }
  15106. { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
  15107. $as_echo_n "checking lex output file root... " >&6; }
  15108. if ${ac_cv_prog_lex_root+:} false; then :
  15109. $as_echo_n "(cached) " >&6
  15110. else
  15111. if test -f lex.yy.c; then
  15112. ac_cv_prog_lex_root=lex.yy
  15113. elif test -f lexyy.c; then
  15114. ac_cv_prog_lex_root=lexyy
  15115. else
  15116. as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
  15117. fi
  15118. fi
  15119. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
  15120. $as_echo "$ac_cv_prog_lex_root" >&6; }
  15121. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  15122. if test -z "${LEXLIB+set}"; then
  15123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
  15124. $as_echo_n "checking lex library... " >&6; }
  15125. if ${ac_cv_lib_lex+:} false; then :
  15126. $as_echo_n "(cached) " >&6
  15127. else
  15128. ac_save_LIBS=$LIBS
  15129. ac_cv_lib_lex='none needed'
  15130. for ac_lib in '' -lfl -ll; do
  15131. LIBS="$ac_lib $ac_save_LIBS"
  15132. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15133. /* end confdefs.h. */
  15134. `cat $LEX_OUTPUT_ROOT.c`
  15135. _ACEOF
  15136. if ac_fn_c_try_link "$LINENO"; then :
  15137. ac_cv_lib_lex=$ac_lib
  15138. fi
  15139. rm -f core conftest.err conftest.$ac_objext \
  15140. conftest$ac_exeext conftest.$ac_ext
  15141. test "$ac_cv_lib_lex" != 'none needed' && break
  15142. done
  15143. LIBS=$ac_save_LIBS
  15144. fi
  15145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
  15146. $as_echo "$ac_cv_lib_lex" >&6; }
  15147. test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
  15148. fi
  15149. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
  15150. $as_echo_n "checking whether yytext is a pointer... " >&6; }
  15151. if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
  15152. $as_echo_n "(cached) " >&6
  15153. else
  15154. # POSIX says lex can declare yytext either as a pointer or an array; the
  15155. # default is implementation-dependent. Figure out which it is, since
  15156. # not all implementations provide the %pointer and %array declarations.
  15157. ac_cv_prog_lex_yytext_pointer=no
  15158. ac_save_LIBS=$LIBS
  15159. LIBS="$LEXLIB $ac_save_LIBS"
  15160. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15161. /* end confdefs.h. */
  15162. #define YYTEXT_POINTER 1
  15163. `cat $LEX_OUTPUT_ROOT.c`
  15164. _ACEOF
  15165. if ac_fn_c_try_link "$LINENO"; then :
  15166. ac_cv_prog_lex_yytext_pointer=yes
  15167. fi
  15168. rm -f core conftest.err conftest.$ac_objext \
  15169. conftest$ac_exeext conftest.$ac_ext
  15170. LIBS=$ac_save_LIBS
  15171. fi
  15172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
  15173. $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
  15174. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  15175. $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
  15176. fi
  15177. rm -f conftest.l $LEX_OUTPUT_ROOT.c
  15178. fi
  15179. for ac_prog in 'bison -y' byacc
  15180. do
  15181. # Extract the first word of "$ac_prog", so it can be a program name with args.
  15182. set dummy $ac_prog; ac_word=$2
  15183. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15184. $as_echo_n "checking for $ac_word... " >&6; }
  15185. if ${ac_cv_prog_YACC+:} false; then :
  15186. $as_echo_n "(cached) " >&6
  15187. else
  15188. if test -n "$YACC"; then
  15189. ac_cv_prog_YACC="$YACC" # Let the user override the test.
  15190. else
  15191. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15192. for as_dir in $PATH
  15193. do
  15194. IFS=$as_save_IFS
  15195. test -z "$as_dir" && as_dir=.
  15196. for ac_exec_ext in '' $ac_executable_extensions; do
  15197. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15198. ac_cv_prog_YACC="$ac_prog"
  15199. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15200. break 2
  15201. fi
  15202. done
  15203. done
  15204. IFS=$as_save_IFS
  15205. fi
  15206. fi
  15207. YACC=$ac_cv_prog_YACC
  15208. if test -n "$YACC"; then
  15209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
  15210. $as_echo "$YACC" >&6; }
  15211. else
  15212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15213. $as_echo "no" >&6; }
  15214. fi
  15215. test -n "$YACC" && break
  15216. done
  15217. test -n "$YACC" || YACC="yacc"
  15218. # Find any Python interpreter.
  15219. if test -z "$PYTHON"; then
  15220. for ac_prog in python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
  15221. do
  15222. # Extract the first word of "$ac_prog", so it can be a program name with args.
  15223. set dummy $ac_prog; ac_word=$2
  15224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15225. $as_echo_n "checking for $ac_word... " >&6; }
  15226. if ${ac_cv_path_PYTHON+:} false; then :
  15227. $as_echo_n "(cached) " >&6
  15228. else
  15229. case $PYTHON in
  15230. [\\/]* | ?:[\\/]*)
  15231. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  15232. ;;
  15233. *)
  15234. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15235. for as_dir in $PATH
  15236. do
  15237. IFS=$as_save_IFS
  15238. test -z "$as_dir" && as_dir=.
  15239. for ac_exec_ext in '' $ac_executable_extensions; do
  15240. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15241. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  15242. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15243. break 2
  15244. fi
  15245. done
  15246. done
  15247. IFS=$as_save_IFS
  15248. ;;
  15249. esac
  15250. fi
  15251. PYTHON=$ac_cv_path_PYTHON
  15252. if test -n "$PYTHON"; then
  15253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  15254. $as_echo "$PYTHON" >&6; }
  15255. else
  15256. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15257. $as_echo "no" >&6; }
  15258. fi
  15259. test -n "$PYTHON" && break
  15260. done
  15261. test -n "$PYTHON" || PYTHON=":"
  15262. fi
  15263. am_display_PYTHON=python
  15264. if test "$PYTHON" = :; then
  15265. :
  15266. else
  15267. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
  15268. $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
  15269. if ${am_cv_python_version+:} false; then :
  15270. $as_echo_n "(cached) " >&6
  15271. else
  15272. am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
  15273. fi
  15274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
  15275. $as_echo "$am_cv_python_version" >&6; }
  15276. PYTHON_VERSION=$am_cv_python_version
  15277. PYTHON_PREFIX='${prefix}'
  15278. PYTHON_EXEC_PREFIX='${exec_prefix}'
  15279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
  15280. $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
  15281. if ${am_cv_python_platform+:} false; then :
  15282. $as_echo_n "(cached) " >&6
  15283. else
  15284. am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
  15285. fi
  15286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
  15287. $as_echo "$am_cv_python_platform" >&6; }
  15288. PYTHON_PLATFORM=$am_cv_python_platform
  15289. # Just factor out some code duplication.
  15290. am_python_setup_sysconfig="\
  15291. import sys
  15292. # Prefer sysconfig over distutils.sysconfig, for better compatibility
  15293. # with python 3.x. See automake bug#10227.
  15294. try:
  15295. import sysconfig
  15296. except ImportError:
  15297. can_use_sysconfig = 0
  15298. else:
  15299. can_use_sysconfig = 1
  15300. # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
  15301. # <https://github.com/pypa/virtualenv/issues/118>
  15302. try:
  15303. from platform import python_implementation
  15304. if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
  15305. can_use_sysconfig = 0
  15306. except ImportError:
  15307. pass"
  15308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
  15309. $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
  15310. if ${am_cv_python_pythondir+:} false; then :
  15311. $as_echo_n "(cached) " >&6
  15312. else
  15313. if test "x$prefix" = xNONE
  15314. then
  15315. am_py_prefix=$ac_default_prefix
  15316. else
  15317. am_py_prefix=$prefix
  15318. fi
  15319. am_cv_python_pythondir=`$PYTHON -c "
  15320. $am_python_setup_sysconfig
  15321. if can_use_sysconfig:
  15322. sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
  15323. else:
  15324. from distutils import sysconfig
  15325. sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
  15326. sys.stdout.write(sitedir)"`
  15327. case $am_cv_python_pythondir in
  15328. $am_py_prefix*)
  15329. am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
  15330. am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
  15331. ;;
  15332. *)
  15333. case $am_py_prefix in
  15334. /usr|/System*) ;;
  15335. *)
  15336. am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
  15337. ;;
  15338. esac
  15339. ;;
  15340. esac
  15341. fi
  15342. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
  15343. $as_echo "$am_cv_python_pythondir" >&6; }
  15344. pythondir=$am_cv_python_pythondir
  15345. pkgpythondir=\${pythondir}/$PACKAGE
  15346. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
  15347. $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
  15348. if ${am_cv_python_pyexecdir+:} false; then :
  15349. $as_echo_n "(cached) " >&6
  15350. else
  15351. if test "x$exec_prefix" = xNONE
  15352. then
  15353. am_py_exec_prefix=$am_py_prefix
  15354. else
  15355. am_py_exec_prefix=$exec_prefix
  15356. fi
  15357. am_cv_python_pyexecdir=`$PYTHON -c "
  15358. $am_python_setup_sysconfig
  15359. if can_use_sysconfig:
  15360. sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
  15361. else:
  15362. from distutils import sysconfig
  15363. sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
  15364. sys.stdout.write(sitedir)"`
  15365. case $am_cv_python_pyexecdir in
  15366. $am_py_exec_prefix*)
  15367. am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
  15368. am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
  15369. ;;
  15370. *)
  15371. case $am_py_exec_prefix in
  15372. /usr|/System*) ;;
  15373. *)
  15374. am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
  15375. ;;
  15376. esac
  15377. ;;
  15378. esac
  15379. fi
  15380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
  15381. $as_echo "$am_cv_python_pyexecdir" >&6; }
  15382. pyexecdir=$am_cv_python_pyexecdir
  15383. pkgpyexecdir=\${pyexecdir}/$PACKAGE
  15384. fi
  15385. # Extract the first word of "perl", so it can be a program name with args.
  15386. set dummy perl; ac_word=$2
  15387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15388. $as_echo_n "checking for $ac_word... " >&6; }
  15389. if ${ac_cv_path_PERL+:} false; then :
  15390. $as_echo_n "(cached) " >&6
  15391. else
  15392. case $PERL in
  15393. [\\/]* | ?:[\\/]*)
  15394. ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  15395. ;;
  15396. *)
  15397. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15398. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  15399. for as_dir in $as_dummy
  15400. do
  15401. IFS=$as_save_IFS
  15402. test -z "$as_dir" && as_dir=.
  15403. for ac_exec_ext in '' $ac_executable_extensions; do
  15404. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15405. ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  15406. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15407. break 2
  15408. fi
  15409. done
  15410. done
  15411. IFS=$as_save_IFS
  15412. ;;
  15413. esac
  15414. fi
  15415. PERL=$ac_cv_path_PERL
  15416. if test -n "$PERL"; then
  15417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  15418. $as_echo "$PERL" >&6; }
  15419. else
  15420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15421. $as_echo "no" >&6; }
  15422. fi
  15423. # Extract the first word of "gperf", so it can be a program name with args.
  15424. set dummy gperf; ac_word=$2
  15425. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15426. $as_echo_n "checking for $ac_word... " >&6; }
  15427. if ${ac_cv_path_GPERF+:} false; then :
  15428. $as_echo_n "(cached) " >&6
  15429. else
  15430. case $GPERF in
  15431. [\\/]* | ?:[\\/]*)
  15432. ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
  15433. ;;
  15434. *)
  15435. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15436. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  15437. for as_dir in $as_dummy
  15438. do
  15439. IFS=$as_save_IFS
  15440. test -z "$as_dir" && as_dir=.
  15441. for ac_exec_ext in '' $ac_executable_extensions; do
  15442. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15443. ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
  15444. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15445. break 2
  15446. fi
  15447. done
  15448. done
  15449. IFS=$as_save_IFS
  15450. ;;
  15451. esac
  15452. fi
  15453. GPERF=$ac_cv_path_GPERF
  15454. if test -n "$GPERF"; then
  15455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
  15456. $as_echo "$GPERF" >&6; }
  15457. else
  15458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15459. $as_echo "no" >&6; }
  15460. fi
  15461. # because gperf is not needed by end-users we just report it but do not abort on failure
  15462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gperf version >= 3.0.0" >&5
  15463. $as_echo_n "checking gperf version >= 3.0.0... " >&6; }
  15464. if test -x "$GPERF"; then
  15465. if test "`$GPERF --version | $AWK -F' ' '/^GNU gperf/ { print $3 }' | $AWK -F. '{ print $1 }'`" -ge "3"; then
  15466. GPERF_OUTPUT="`echo foo | ${GPERF}`"
  15467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15468. /* end confdefs.h. */
  15469. #include <string.h>
  15470. const char *in_word_set(const char*, size_t); $GPERF_OUTPUT
  15471. int
  15472. main ()
  15473. {
  15474. ;
  15475. return 0;
  15476. }
  15477. _ACEOF
  15478. if ac_fn_c_try_compile "$LINENO"; then :
  15479. GPERF_LEN_TYPE=size_t
  15480. else
  15481. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15482. /* end confdefs.h. */
  15483. #include <string.h>
  15484. const char *in_word_set(const char*, unsigned); $GPERF_OUTPUT
  15485. int
  15486. main ()
  15487. {
  15488. ;
  15489. return 0;
  15490. }
  15491. _ACEOF
  15492. if ac_fn_c_try_compile "$LINENO"; then :
  15493. GPERF_LEN_TYPE=unsigned
  15494. else
  15495. as_fn_error $? "unable to determine gperf len type" "$LINENO" 5
  15496. fi
  15497. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15498. fi
  15499. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15501. $as_echo "yes" >&6; }
  15502. else
  15503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15504. $as_echo "no" >&6; }
  15505. fi
  15506. else
  15507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15508. $as_echo "not found" >&6; }
  15509. fi
  15510. # ========================
  15511. # dependency calculation
  15512. # ========================
  15513. if test x$xauth_generic_given = xfalse -a x$ikev1 = xfalse; then
  15514. xauth_generic=false;
  15515. fi
  15516. if test x$kernel_libipsec = xtrue; then
  15517. libipsec=true;
  15518. fi
  15519. if test x$eap_aka_3gpp2 = xtrue; then
  15520. gmp=true;
  15521. fi
  15522. if test x$eap_aka = xtrue; then
  15523. fips_prf=true;
  15524. simaka=true;
  15525. fi
  15526. if test x$eap_sim = xtrue; then
  15527. fips_prf=true;
  15528. simaka=true;
  15529. fi
  15530. if test x$eap_radius = xtrue -o x$radattr = xtrue -o x$tnc_pdp = xtrue; then
  15531. radius=true;
  15532. fi
  15533. 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
  15534. tnc_tnccs=true;
  15535. fi
  15536. if test x$eap_tls = xtrue -o x$eap_ttls = xtrue -o x$eap_peap = xtrue -o x$tnc_tnccs = xtrue; then
  15537. tls=true;
  15538. fi
  15539. 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
  15540. imcv=true;
  15541. fi
  15542. if test x$fips_prf = xtrue; then
  15543. if test x$openssl = xfalse -a x$wolfssl = xfalse; then
  15544. sha1=true;
  15545. fi
  15546. fi
  15547. if test x$swanctl = xtrue; then
  15548. vici=true
  15549. fi
  15550. if test x$smp = xtrue -o x$tnccs_11 = xtrue -o x$tnc_ifmap = xtrue; then
  15551. xml=true
  15552. fi
  15553. if test x$manager = xtrue; then
  15554. fast=true
  15555. fi
  15556. if test x$medsrv = xtrue; then
  15557. mediation=true
  15558. fast=true
  15559. fi
  15560. if test x$medcli = xtrue; then
  15561. mediation=true
  15562. fi
  15563. if test x$ruby_gems_install = xtrue; then
  15564. ruby_gems=true
  15565. fi
  15566. if test x$python_eggs_install = xtrue; then
  15567. python_eggs=true
  15568. fi
  15569. if test x$perl_cpan_install = xtrue; then
  15570. perl_cpan=true
  15571. fi
  15572. if test x$aikgen = xtrue; then
  15573. tss_trousers=true
  15574. fi
  15575. if test x$gmp = xtrue -o x$ntru = xtrue -o x$bliss = xtrue; then
  15576. mgf1=true
  15577. fi
  15578. if test x$stroke = xtrue; then
  15579. counters=true
  15580. fi
  15581. # ===========================================
  15582. # check required libraries and header files
  15583. # ===========================================
  15584. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  15585. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  15586. if ${ac_cv_header_stdbool_h+:} false; then :
  15587. $as_echo_n "(cached) " >&6
  15588. else
  15589. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15590. /* end confdefs.h. */
  15591. #include <stdbool.h>
  15592. #ifndef bool
  15593. "error: bool is not defined"
  15594. #endif
  15595. #ifndef false
  15596. "error: false is not defined"
  15597. #endif
  15598. #if false
  15599. "error: false is not 0"
  15600. #endif
  15601. #ifndef true
  15602. "error: true is not defined"
  15603. #endif
  15604. #if true != 1
  15605. "error: true is not 1"
  15606. #endif
  15607. #ifndef __bool_true_false_are_defined
  15608. "error: __bool_true_false_are_defined is not defined"
  15609. #endif
  15610. struct s { _Bool s: 1; _Bool t; } s;
  15611. char a[true == 1 ? 1 : -1];
  15612. char b[false == 0 ? 1 : -1];
  15613. char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  15614. char d[(bool) 0.5 == true ? 1 : -1];
  15615. /* See body of main program for 'e'. */
  15616. char f[(_Bool) 0.0 == false ? 1 : -1];
  15617. char g[true];
  15618. char h[sizeof (_Bool)];
  15619. char i[sizeof s.t];
  15620. enum { j = false, k = true, l = false * true, m = true * 256 };
  15621. /* The following fails for
  15622. HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  15623. _Bool n[m];
  15624. char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  15625. char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  15626. /* Catch a bug in an HP-UX C compiler. See
  15627. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  15628. http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  15629. */
  15630. _Bool q = true;
  15631. _Bool *pq = &q;
  15632. int
  15633. main ()
  15634. {
  15635. bool e = &s;
  15636. *pq |= q;
  15637. *pq |= ! q;
  15638. /* Refer to every declared value, to avoid compiler optimizations. */
  15639. return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  15640. + !m + !n + !o + !p + !q + !pq);
  15641. ;
  15642. return 0;
  15643. }
  15644. _ACEOF
  15645. if ac_fn_c_try_compile "$LINENO"; then :
  15646. ac_cv_header_stdbool_h=yes
  15647. else
  15648. ac_cv_header_stdbool_h=no
  15649. fi
  15650. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15651. fi
  15652. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  15653. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  15654. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  15655. if test "x$ac_cv_type__Bool" = xyes; then :
  15656. cat >>confdefs.h <<_ACEOF
  15657. @%:@define HAVE__BOOL 1
  15658. _ACEOF
  15659. fi
  15660. if test $ac_cv_header_stdbool_h = yes; then
  15661. $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
  15662. fi
  15663. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  15664. if test "x$ac_cv_type_size_t" = xyes; then :
  15665. else
  15666. cat >>confdefs.h <<_ACEOF
  15667. @%:@define size_t unsigned int
  15668. _ACEOF
  15669. fi
  15670. # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  15671. # for constant arguments. Useless!
  15672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  15673. $as_echo_n "checking for working alloca.h... " >&6; }
  15674. if ${ac_cv_working_alloca_h+:} false; then :
  15675. $as_echo_n "(cached) " >&6
  15676. else
  15677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15678. /* end confdefs.h. */
  15679. @%:@include <alloca.h>
  15680. int
  15681. main ()
  15682. {
  15683. char *p = (char *) alloca (2 * sizeof (int));
  15684. if (p) return 0;
  15685. ;
  15686. return 0;
  15687. }
  15688. _ACEOF
  15689. if ac_fn_c_try_link "$LINENO"; then :
  15690. ac_cv_working_alloca_h=yes
  15691. else
  15692. ac_cv_working_alloca_h=no
  15693. fi
  15694. rm -f core conftest.err conftest.$ac_objext \
  15695. conftest$ac_exeext conftest.$ac_ext
  15696. fi
  15697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  15698. $as_echo "$ac_cv_working_alloca_h" >&6; }
  15699. if test $ac_cv_working_alloca_h = yes; then
  15700. $as_echo "@%:@define HAVE_ALLOCA_H 1" >>confdefs.h
  15701. fi
  15702. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  15703. $as_echo_n "checking for alloca... " >&6; }
  15704. if ${ac_cv_func_alloca_works+:} false; then :
  15705. $as_echo_n "(cached) " >&6
  15706. else
  15707. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15708. /* end confdefs.h. */
  15709. #ifdef __GNUC__
  15710. # define alloca __builtin_alloca
  15711. #else
  15712. # ifdef _MSC_VER
  15713. # include <malloc.h>
  15714. # define alloca _alloca
  15715. # else
  15716. # ifdef HAVE_ALLOCA_H
  15717. # include <alloca.h>
  15718. # else
  15719. # ifdef _AIX
  15720. #pragma alloca
  15721. # else
  15722. # ifndef alloca /* predefined by HP cc +Olibcalls */
  15723. void *alloca (size_t);
  15724. # endif
  15725. # endif
  15726. # endif
  15727. # endif
  15728. #endif
  15729. int
  15730. main ()
  15731. {
  15732. char *p = (char *) alloca (1);
  15733. if (p) return 0;
  15734. ;
  15735. return 0;
  15736. }
  15737. _ACEOF
  15738. if ac_fn_c_try_link "$LINENO"; then :
  15739. ac_cv_func_alloca_works=yes
  15740. else
  15741. ac_cv_func_alloca_works=no
  15742. fi
  15743. rm -f core conftest.err conftest.$ac_objext \
  15744. conftest$ac_exeext conftest.$ac_ext
  15745. fi
  15746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  15747. $as_echo "$ac_cv_func_alloca_works" >&6; }
  15748. if test $ac_cv_func_alloca_works = yes; then
  15749. $as_echo "@%:@define HAVE_ALLOCA 1" >>confdefs.h
  15750. else
  15751. # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  15752. # that cause trouble. Some versions do not even contain alloca or
  15753. # contain a buggy version. If you still want to use their alloca,
  15754. # use ar to extract alloca.o from them instead of compiling alloca.c.
  15755. ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  15756. $as_echo "@%:@define C_ALLOCA 1" >>confdefs.h
  15757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  15758. $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  15759. if ${ac_cv_os_cray+:} false; then :
  15760. $as_echo_n "(cached) " >&6
  15761. else
  15762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15763. /* end confdefs.h. */
  15764. #if defined CRAY && ! defined CRAY2
  15765. webecray
  15766. #else
  15767. wenotbecray
  15768. #endif
  15769. _ACEOF
  15770. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  15771. $EGREP "webecray" >/dev/null 2>&1; then :
  15772. ac_cv_os_cray=yes
  15773. else
  15774. ac_cv_os_cray=no
  15775. fi
  15776. rm -f conftest*
  15777. fi
  15778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  15779. $as_echo "$ac_cv_os_cray" >&6; }
  15780. if test $ac_cv_os_cray = yes; then
  15781. for ac_func in _getb67 GETB67 getb67; do
  15782. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15783. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  15784. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  15785. cat >>confdefs.h <<_ACEOF
  15786. @%:@define CRAY_STACKSEG_END $ac_func
  15787. _ACEOF
  15788. break
  15789. fi
  15790. done
  15791. fi
  15792. { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  15793. $as_echo_n "checking stack direction for C alloca... " >&6; }
  15794. if ${ac_cv_c_stack_direction+:} false; then :
  15795. $as_echo_n "(cached) " >&6
  15796. else
  15797. if test "$cross_compiling" = yes; then :
  15798. ac_cv_c_stack_direction=0
  15799. else
  15800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15801. /* end confdefs.h. */
  15802. $ac_includes_default
  15803. int
  15804. find_stack_direction (int *addr, int depth)
  15805. {
  15806. int dir, dummy = 0;
  15807. if (! addr)
  15808. addr = &dummy;
  15809. *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  15810. dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  15811. return dir + dummy;
  15812. }
  15813. int
  15814. main (int argc, char **argv)
  15815. {
  15816. return find_stack_direction (0, argc + !argv + 20) < 0;
  15817. }
  15818. _ACEOF
  15819. if ac_fn_c_try_run "$LINENO"; then :
  15820. ac_cv_c_stack_direction=1
  15821. else
  15822. ac_cv_c_stack_direction=-1
  15823. fi
  15824. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15825. conftest.$ac_objext conftest.beam conftest.$ac_ext
  15826. fi
  15827. fi
  15828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  15829. $as_echo "$ac_cv_c_stack_direction" >&6; }
  15830. cat >>confdefs.h <<_ACEOF
  15831. @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
  15832. _ACEOF
  15833. fi
  15834. ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
  15835. if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
  15836. ac_have_decl=1
  15837. else
  15838. ac_have_decl=0
  15839. fi
  15840. cat >>confdefs.h <<_ACEOF
  15841. @%:@define HAVE_DECL_STRERROR_R $ac_have_decl
  15842. _ACEOF
  15843. for ac_func in strerror_r
  15844. do :
  15845. ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
  15846. if test "x$ac_cv_func_strerror_r" = xyes; then :
  15847. cat >>confdefs.h <<_ACEOF
  15848. @%:@define HAVE_STRERROR_R 1
  15849. _ACEOF
  15850. fi
  15851. done
  15852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
  15853. $as_echo_n "checking whether strerror_r returns char *... " >&6; }
  15854. if ${ac_cv_func_strerror_r_char_p+:} false; then :
  15855. $as_echo_n "(cached) " >&6
  15856. else
  15857. ac_cv_func_strerror_r_char_p=no
  15858. if test $ac_cv_have_decl_strerror_r = yes; then
  15859. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15860. /* end confdefs.h. */
  15861. $ac_includes_default
  15862. int
  15863. main ()
  15864. {
  15865. char buf[100];
  15866. char x = *strerror_r (0, buf, sizeof buf);
  15867. char *p = strerror_r (0, buf, sizeof buf);
  15868. return !p || x;
  15869. ;
  15870. return 0;
  15871. }
  15872. _ACEOF
  15873. if ac_fn_c_try_compile "$LINENO"; then :
  15874. ac_cv_func_strerror_r_char_p=yes
  15875. fi
  15876. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15877. else
  15878. # strerror_r is not declared. Choose between
  15879. # systems that have relatively inaccessible declarations for the
  15880. # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  15881. # former has a strerror_r that returns char*, while the latter
  15882. # has a strerror_r that returns `int'.
  15883. # This test should segfault on the DEC system.
  15884. if test "$cross_compiling" = yes; then :
  15885. :
  15886. else
  15887. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15888. /* end confdefs.h. */
  15889. $ac_includes_default
  15890. extern char *strerror_r ();
  15891. int
  15892. main ()
  15893. {
  15894. char buf[100];
  15895. char x = *strerror_r (0, buf, sizeof buf);
  15896. return ! isalpha (x);
  15897. ;
  15898. return 0;
  15899. }
  15900. _ACEOF
  15901. if ac_fn_c_try_run "$LINENO"; then :
  15902. ac_cv_func_strerror_r_char_p=yes
  15903. fi
  15904. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  15905. conftest.$ac_objext conftest.beam conftest.$ac_ext
  15906. fi
  15907. fi
  15908. fi
  15909. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
  15910. $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
  15911. if test $ac_cv_func_strerror_r_char_p = yes; then
  15912. $as_echo "@%:@define STRERROR_R_CHAR_P 1" >>confdefs.h
  15913. fi
  15914. # libraries needed on some platforms but not on others
  15915. # ------------------------------------------------------
  15916. saved_LIBS=$LIBS
  15917. # FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
  15918. LIBS=""
  15919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  15920. $as_echo_n "checking for library containing dlopen... " >&6; }
  15921. if ${ac_cv_search_dlopen+:} false; then :
  15922. $as_echo_n "(cached) " >&6
  15923. else
  15924. ac_func_search_save_LIBS=$LIBS
  15925. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15926. /* end confdefs.h. */
  15927. /* Override any GCC internal prototype to avoid an error.
  15928. Use char because int might match the return type of a GCC
  15929. builtin and then its argument prototype would still apply. */
  15930. #ifdef __cplusplus
  15931. extern "C"
  15932. #endif
  15933. char dlopen ();
  15934. int
  15935. main ()
  15936. {
  15937. return dlopen ();
  15938. ;
  15939. return 0;
  15940. }
  15941. _ACEOF
  15942. for ac_lib in '' dl; do
  15943. if test -z "$ac_lib"; then
  15944. ac_res="none required"
  15945. else
  15946. ac_res=-l$ac_lib
  15947. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  15948. fi
  15949. if ac_fn_c_try_link "$LINENO"; then :
  15950. ac_cv_search_dlopen=$ac_res
  15951. fi
  15952. rm -f core conftest.err conftest.$ac_objext \
  15953. conftest$ac_exeext
  15954. if ${ac_cv_search_dlopen+:} false; then :
  15955. break
  15956. fi
  15957. done
  15958. if ${ac_cv_search_dlopen+:} false; then :
  15959. else
  15960. ac_cv_search_dlopen=no
  15961. fi
  15962. rm conftest.$ac_ext
  15963. LIBS=$ac_func_search_save_LIBS
  15964. fi
  15965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  15966. $as_echo "$ac_cv_search_dlopen" >&6; }
  15967. ac_res=$ac_cv_search_dlopen
  15968. if test "$ac_res" != no; then :
  15969. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  15970. DLLIB=$LIBS
  15971. fi
  15972. # glibc's backtrace() can be replicated on FreeBSD with libexecinfo
  15973. LIBS=""
  15974. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
  15975. $as_echo_n "checking for library containing backtrace... " >&6; }
  15976. if ${ac_cv_search_backtrace+:} false; then :
  15977. $as_echo_n "(cached) " >&6
  15978. else
  15979. ac_func_search_save_LIBS=$LIBS
  15980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15981. /* end confdefs.h. */
  15982. /* Override any GCC internal prototype to avoid an error.
  15983. Use char because int might match the return type of a GCC
  15984. builtin and then its argument prototype would still apply. */
  15985. #ifdef __cplusplus
  15986. extern "C"
  15987. #endif
  15988. char backtrace ();
  15989. int
  15990. main ()
  15991. {
  15992. return backtrace ();
  15993. ;
  15994. return 0;
  15995. }
  15996. _ACEOF
  15997. for ac_lib in '' execinfo; do
  15998. if test -z "$ac_lib"; then
  15999. ac_res="none required"
  16000. else
  16001. ac_res=-l$ac_lib
  16002. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16003. fi
  16004. if ac_fn_c_try_link "$LINENO"; then :
  16005. ac_cv_search_backtrace=$ac_res
  16006. fi
  16007. rm -f core conftest.err conftest.$ac_objext \
  16008. conftest$ac_exeext
  16009. if ${ac_cv_search_backtrace+:} false; then :
  16010. break
  16011. fi
  16012. done
  16013. if ${ac_cv_search_backtrace+:} false; then :
  16014. else
  16015. ac_cv_search_backtrace=no
  16016. fi
  16017. rm conftest.$ac_ext
  16018. LIBS=$ac_func_search_save_LIBS
  16019. fi
  16020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
  16021. $as_echo "$ac_cv_search_backtrace" >&6; }
  16022. ac_res=$ac_cv_search_backtrace
  16023. if test "$ac_res" != no; then :
  16024. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16025. BTLIB=$LIBS
  16026. fi
  16027. for ac_func in backtrace
  16028. do :
  16029. ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
  16030. if test "x$ac_cv_func_backtrace" = xyes; then :
  16031. cat >>confdefs.h <<_ACEOF
  16032. @%:@define HAVE_BACKTRACE 1
  16033. _ACEOF
  16034. fi
  16035. done
  16036. # OpenSolaris needs libsocket and libnsl for socket()
  16037. LIBS=""
  16038. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
  16039. $as_echo_n "checking for library containing socket... " >&6; }
  16040. if ${ac_cv_search_socket+:} false; then :
  16041. $as_echo_n "(cached) " >&6
  16042. else
  16043. ac_func_search_save_LIBS=$LIBS
  16044. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16045. /* end confdefs.h. */
  16046. /* Override any GCC internal prototype to avoid an error.
  16047. Use char because int might match the return type of a GCC
  16048. builtin and then its argument prototype would still apply. */
  16049. #ifdef __cplusplus
  16050. extern "C"
  16051. #endif
  16052. char socket ();
  16053. int
  16054. main ()
  16055. {
  16056. return socket ();
  16057. ;
  16058. return 0;
  16059. }
  16060. _ACEOF
  16061. for ac_lib in '' socket; do
  16062. if test -z "$ac_lib"; then
  16063. ac_res="none required"
  16064. else
  16065. ac_res=-l$ac_lib
  16066. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16067. fi
  16068. if ac_fn_c_try_link "$LINENO"; then :
  16069. ac_cv_search_socket=$ac_res
  16070. fi
  16071. rm -f core conftest.err conftest.$ac_objext \
  16072. conftest$ac_exeext
  16073. if ${ac_cv_search_socket+:} false; then :
  16074. break
  16075. fi
  16076. done
  16077. if ${ac_cv_search_socket+:} false; then :
  16078. else
  16079. ac_cv_search_socket=no
  16080. fi
  16081. rm conftest.$ac_ext
  16082. LIBS=$ac_func_search_save_LIBS
  16083. fi
  16084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
  16085. $as_echo "$ac_cv_search_socket" >&6; }
  16086. ac_res=$ac_cv_search_socket
  16087. if test "$ac_res" != no; then :
  16088. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16089. SOCKLIB=$LIBS
  16090. else
  16091. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
  16092. $as_echo_n "checking for socket in -lnsl... " >&6; }
  16093. if ${ac_cv_lib_nsl_socket+:} false; then :
  16094. $as_echo_n "(cached) " >&6
  16095. else
  16096. ac_check_lib_save_LIBS=$LIBS
  16097. LIBS="-lnsl -lsocket $LIBS"
  16098. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16099. /* end confdefs.h. */
  16100. /* Override any GCC internal prototype to avoid an error.
  16101. Use char because int might match the return type of a GCC
  16102. builtin and then its argument prototype would still apply. */
  16103. #ifdef __cplusplus
  16104. extern "C"
  16105. #endif
  16106. char socket ();
  16107. int
  16108. main ()
  16109. {
  16110. return socket ();
  16111. ;
  16112. return 0;
  16113. }
  16114. _ACEOF
  16115. if ac_fn_c_try_link "$LINENO"; then :
  16116. ac_cv_lib_nsl_socket=yes
  16117. else
  16118. ac_cv_lib_nsl_socket=no
  16119. fi
  16120. rm -f core conftest.err conftest.$ac_objext \
  16121. conftest$ac_exeext conftest.$ac_ext
  16122. LIBS=$ac_check_lib_save_LIBS
  16123. fi
  16124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
  16125. $as_echo "$ac_cv_lib_nsl_socket" >&6; }
  16126. if test "x$ac_cv_lib_nsl_socket" = xyes; then :
  16127. SOCKLIB="-lsocket -lnsl"
  16128. fi
  16129. fi
  16130. # Android has pthread_* functions in bionic (libc), others need libpthread
  16131. LIBS=$DLLIB
  16132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
  16133. $as_echo_n "checking for library containing pthread_create... " >&6; }
  16134. if ${ac_cv_search_pthread_create+:} false; then :
  16135. $as_echo_n "(cached) " >&6
  16136. else
  16137. ac_func_search_save_LIBS=$LIBS
  16138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16139. /* end confdefs.h. */
  16140. /* Override any GCC internal prototype to avoid an error.
  16141. Use char because int might match the return type of a GCC
  16142. builtin and then its argument prototype would still apply. */
  16143. #ifdef __cplusplus
  16144. extern "C"
  16145. #endif
  16146. char pthread_create ();
  16147. int
  16148. main ()
  16149. {
  16150. return pthread_create ();
  16151. ;
  16152. return 0;
  16153. }
  16154. _ACEOF
  16155. for ac_lib in '' pthread; do
  16156. if test -z "$ac_lib"; then
  16157. ac_res="none required"
  16158. else
  16159. ac_res=-l$ac_lib
  16160. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16161. fi
  16162. if ac_fn_c_try_link "$LINENO"; then :
  16163. ac_cv_search_pthread_create=$ac_res
  16164. fi
  16165. rm -f core conftest.err conftest.$ac_objext \
  16166. conftest$ac_exeext
  16167. if ${ac_cv_search_pthread_create+:} false; then :
  16168. break
  16169. fi
  16170. done
  16171. if ${ac_cv_search_pthread_create+:} false; then :
  16172. else
  16173. ac_cv_search_pthread_create=no
  16174. fi
  16175. rm conftest.$ac_ext
  16176. LIBS=$ac_func_search_save_LIBS
  16177. fi
  16178. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
  16179. $as_echo "$ac_cv_search_pthread_create" >&6; }
  16180. ac_res=$ac_cv_search_pthread_create
  16181. if test "$ac_res" != no; then :
  16182. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16183. PTHREADLIB=$LIBS
  16184. fi
  16185. # Some architectures require explicit -latomic for __atomic_* operations
  16186. # AC_SEARCH_LIBS() does not work when checking built-ins due to conflicting types
  16187. LIBS=""
  16188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __atomic_and_fetch" >&5
  16189. $as_echo_n "checking for library containing __atomic_and_fetch... " >&6; }
  16190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16191. /* end confdefs.h. */
  16192. int
  16193. main ()
  16194. {
  16195. int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
  16196. ;
  16197. return 0;
  16198. }
  16199. _ACEOF
  16200. if ac_fn_c_try_link "$LINENO"; then :
  16201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5
  16202. $as_echo "none required" >&6; }
  16203. else
  16204. LIBS="-latomic";
  16205. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16206. /* end confdefs.h. */
  16207. int
  16208. main ()
  16209. {
  16210. int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
  16211. ;
  16212. return 0;
  16213. }
  16214. _ACEOF
  16215. if ac_fn_c_try_link "$LINENO"; then :
  16216. { $as_echo "$as_me:${as_lineno-$LINENO}: result: -latomic" >&5
  16217. $as_echo "-latomic" >&6; }; ATOMICLIB=$LIBS
  16218. else
  16219. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16220. $as_echo "no" >&6; }
  16221. fi
  16222. rm -f core conftest.err conftest.$ac_objext \
  16223. conftest$ac_exeext conftest.$ac_ext
  16224. fi
  16225. rm -f core conftest.err conftest.$ac_objext \
  16226. conftest$ac_exeext conftest.$ac_ext
  16227. LIBS=$saved_LIBS
  16228. # ------------------------------------------------------
  16229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr" >&5
  16230. $as_echo_n "checking for dladdr... " >&6; }
  16231. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16232. /* end confdefs.h. */
  16233. #define _GNU_SOURCE
  16234. #include <dlfcn.h>
  16235. int
  16236. main ()
  16237. {
  16238. Dl_info* info = 0;
  16239. dladdr(0, info);
  16240. ;
  16241. return 0;
  16242. }
  16243. _ACEOF
  16244. if ac_fn_c_try_compile "$LINENO"; then :
  16245. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16246. $as_echo "yes" >&6; };
  16247. $as_echo "@%:@define HAVE_DLADDR /**/" >>confdefs.h
  16248. else
  16249. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16250. $as_echo "no" >&6; }
  16251. fi
  16252. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16253. # check if pthread_condattr_setclock(CLOCK_MONOTONIC) is supported
  16254. saved_LIBS=$LIBS
  16255. LIBS=$PTHREADLIB
  16256. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_condattr_setclock(CLOCK_MONOTONIC)" >&5
  16257. $as_echo_n "checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... " >&6; }
  16258. if test "$cross_compiling" = yes; then :
  16259. # Check existence of pthread_condattr_setclock if cross-compiling
  16260. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
  16261. $as_echo "unknown" >&6; };
  16262. for ac_func in pthread_condattr_setclock
  16263. do :
  16264. ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
  16265. if test "x$ac_cv_func_pthread_condattr_setclock" = xyes; then :
  16266. cat >>confdefs.h <<_ACEOF
  16267. @%:@define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
  16268. _ACEOF
  16269. $as_echo "@%:@define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
  16270. fi
  16271. done
  16272. else
  16273. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16274. /* end confdefs.h. */
  16275. #include <pthread.h>
  16276. int main() { pthread_condattr_t attr;
  16277. pthread_condattr_init(&attr);
  16278. return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}
  16279. _ACEOF
  16280. if ac_fn_c_try_run "$LINENO"; then :
  16281. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16282. $as_echo "yes" >&6; };
  16283. $as_echo "@%:@define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
  16284. else
  16285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16286. $as_echo "no" >&6; }
  16287. fi
  16288. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16289. conftest.$ac_objext conftest.beam conftest.$ac_ext
  16290. fi
  16291. # check if we actually are able to configure attributes on cond vars
  16292. for ac_func in pthread_condattr_init
  16293. do :
  16294. ac_fn_c_check_func "$LINENO" "pthread_condattr_init" "ac_cv_func_pthread_condattr_init"
  16295. if test "x$ac_cv_func_pthread_condattr_init" = xyes; then :
  16296. cat >>confdefs.h <<_ACEOF
  16297. @%:@define HAVE_PTHREAD_CONDATTR_INIT 1
  16298. _ACEOF
  16299. fi
  16300. done
  16301. # instead of pthread_condattr_setclock Android has this function
  16302. for ac_func in pthread_cond_timedwait_monotonic
  16303. do :
  16304. ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait_monotonic" "ac_cv_func_pthread_cond_timedwait_monotonic"
  16305. if test "x$ac_cv_func_pthread_cond_timedwait_monotonic" = xyes; then :
  16306. cat >>confdefs.h <<_ACEOF
  16307. @%:@define HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC 1
  16308. _ACEOF
  16309. fi
  16310. done
  16311. # check if we can cancel threads
  16312. for ac_func in pthread_cancel
  16313. do :
  16314. ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
  16315. if test "x$ac_cv_func_pthread_cancel" = xyes; then :
  16316. cat >>confdefs.h <<_ACEOF
  16317. @%:@define HAVE_PTHREAD_CANCEL 1
  16318. _ACEOF
  16319. fi
  16320. done
  16321. # check if native rwlocks are available
  16322. for ac_func in pthread_rwlock_init
  16323. do :
  16324. ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
  16325. if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then :
  16326. cat >>confdefs.h <<_ACEOF
  16327. @%:@define HAVE_PTHREAD_RWLOCK_INIT 1
  16328. _ACEOF
  16329. fi
  16330. done
  16331. # check if pthread spinlocks are available
  16332. for ac_func in pthread_spin_init
  16333. do :
  16334. ac_fn_c_check_func "$LINENO" "pthread_spin_init" "ac_cv_func_pthread_spin_init"
  16335. if test "x$ac_cv_func_pthread_spin_init" = xyes; then :
  16336. cat >>confdefs.h <<_ACEOF
  16337. @%:@define HAVE_PTHREAD_SPIN_INIT 1
  16338. _ACEOF
  16339. fi
  16340. done
  16341. # check if we have POSIX semaphore functions, including timed-wait
  16342. for ac_func in sem_timedwait
  16343. do :
  16344. ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
  16345. if test "x$ac_cv_func_sem_timedwait" = xyes; then :
  16346. cat >>confdefs.h <<_ACEOF
  16347. @%:@define HAVE_SEM_TIMEDWAIT 1
  16348. _ACEOF
  16349. fi
  16350. done
  16351. LIBS=$saved_LIBS
  16352. ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid"
  16353. if test "x$ac_cv_func_gettid" = xyes; then :
  16354. $as_echo "@%:@define HAVE_GETTID /**/" >>confdefs.h
  16355. else
  16356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_gettid" >&5
  16357. $as_echo_n "checking for SYS_gettid... " >&6; }
  16358. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16359. /* end confdefs.h. */
  16360. #define _GNU_SOURCE
  16361. #include <unistd.h>
  16362. #include <sys/syscall.h>
  16363. int
  16364. main ()
  16365. {
  16366. int main() {
  16367. return syscall(SYS_gettid);}
  16368. ;
  16369. return 0;
  16370. }
  16371. _ACEOF
  16372. if ac_fn_c_try_compile "$LINENO"; then :
  16373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16374. $as_echo "yes" >&6; };
  16375. $as_echo "@%:@define HAVE_GETTID /**/" >>confdefs.h
  16376. $as_echo "@%:@define HAVE_SYS_GETTID /**/" >>confdefs.h
  16377. else
  16378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16379. $as_echo "no" >&6; }
  16380. fi
  16381. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16382. fi
  16383. ac_fn_c_check_func "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
  16384. if test "x$ac_cv_func_qsort_r" = xyes; then :
  16385. $as_echo "@%:@define HAVE_QSORT_R /**/" >>confdefs.h
  16386. # set -Werror so that we get an error for "argument ... has
  16387. # incompatible pointer type" warnings
  16388. save_CFLAGS="$CFLAGS"
  16389. CFLAGS="$CFLAGS -Werror -Wno-unused-parameter"
  16390. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style qsort_r" >&5
  16391. $as_echo_n "checking for GNU-style qsort_r... " >&6; }
  16392. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16393. /* end confdefs.h. */
  16394. #define _GNU_SOURCE
  16395. #include <stdlib.h>
  16396. int cmp (const void *a, const void *b, void *x) { return 0; }
  16397. int
  16398. main ()
  16399. {
  16400. int arr[] = { 0, 1 };
  16401. qsort_r(arr, 2, sizeof(int), cmp, arr);
  16402. ;
  16403. return 0;
  16404. }
  16405. _ACEOF
  16406. if ac_fn_c_try_compile "$LINENO"; then :
  16407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16408. $as_echo "yes" >&6; };
  16409. $as_echo "@%:@define HAVE_QSORT_R_GNU /**/" >>confdefs.h
  16410. else
  16411. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16412. $as_echo "no" >&6; };
  16413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-style qsort_r" >&5
  16414. $as_echo_n "checking for BSD-style qsort_r... " >&6; }
  16415. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16416. /* end confdefs.h. */
  16417. #include <stdlib.h>
  16418. int cmp (void *x, const void *a, const void *b) { return 0; }
  16419. int
  16420. main ()
  16421. {
  16422. int arr[] = { 0, 1 };
  16423. qsort_r(arr, 2, sizeof(int), arr, cmp);
  16424. ;
  16425. return 0;
  16426. }
  16427. _ACEOF
  16428. if ac_fn_c_try_compile "$LINENO"; then :
  16429. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16430. $as_echo "yes" >&6; };
  16431. $as_echo "@%:@define HAVE_QSORT_R_BSD /**/" >>confdefs.h
  16432. else
  16433. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16434. $as_echo "no" >&6; };
  16435. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16436. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16437. as_fn_error $? "qsort_r has unknown semantics
  16438. See \`config.log' for more details" "$LINENO" 5; }
  16439. fi
  16440. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16441. fi
  16442. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16443. CFLAGS="$save_CFLAGS"
  16444. fi
  16445. for ac_func in prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r
  16446. do :
  16447. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16448. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16449. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16450. cat >>confdefs.h <<_ACEOF
  16451. @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16452. _ACEOF
  16453. fi
  16454. done
  16455. for ac_func in fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero
  16456. do :
  16457. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16458. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16459. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16460. cat >>confdefs.h <<_ACEOF
  16461. @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16462. _ACEOF
  16463. fi
  16464. done
  16465. ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
  16466. if test "x$ac_cv_func_syslog" = xyes; then :
  16467. $as_echo "@%:@define HAVE_SYSLOG /**/" >>confdefs.h
  16468. syslog=true
  16469. fi
  16470. if test "x$syslog" = xtrue; then
  16471. USE_SYSLOG_TRUE=
  16472. USE_SYSLOG_FALSE='#'
  16473. else
  16474. USE_SYSLOG_TRUE='#'
  16475. USE_SYSLOG_FALSE=
  16476. fi
  16477. for ac_header in sys/sockio.h sys/syscall.h sys/param.h glob.h net/if_tun.h
  16478. do :
  16479. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16480. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  16481. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16482. cat >>confdefs.h <<_ACEOF
  16483. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16484. _ACEOF
  16485. fi
  16486. done
  16487. for ac_header in net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h
  16488. do :
  16489. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16490. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  16491. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16492. cat >>confdefs.h <<_ACEOF
  16493. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16494. _ACEOF
  16495. fi
  16496. done
  16497. for ac_header in netinet/ip6.h linux/fib_rules.h
  16498. do :
  16499. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16500. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
  16501. #include <sys/types.h>
  16502. #include <netinet/in.h>
  16503. "
  16504. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16505. cat >>confdefs.h <<_ACEOF
  16506. @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16507. _ACEOF
  16508. fi
  16509. done
  16510. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
  16511. #include <sys/types.h>
  16512. #include <sys/socket.h>
  16513. "
  16514. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  16515. cat >>confdefs.h <<_ACEOF
  16516. @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  16517. _ACEOF
  16518. fi
  16519. 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" "
  16520. #include <sys/types.h>
  16521. #ifdef HAVE_NET_PFKEYV2_H
  16522. #include <net/pfkeyv2.h>
  16523. #else
  16524. #include <stdint.h>
  16525. #include <linux/pfkeyv2.h>
  16526. #endif
  16527. "
  16528. if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = xyes; then :
  16529. cat >>confdefs.h <<_ACEOF
  16530. @%:@define HAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY 1
  16531. _ACEOF
  16532. fi
  16533. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
  16534. $as_echo_n "checking for in6addr_any... " >&6; }
  16535. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16536. /* end confdefs.h. */
  16537. #include <sys/types.h>
  16538. #include <sys/socket.h>
  16539. #include <netinet/in.h>
  16540. int
  16541. main ()
  16542. {
  16543. struct in6_addr in6 __attribute__((unused));
  16544. in6 = in6addr_any;
  16545. ;
  16546. return 0;
  16547. }
  16548. _ACEOF
  16549. if ac_fn_c_try_compile "$LINENO"; then :
  16550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16551. $as_echo "yes" >&6; };
  16552. $as_echo "@%:@define HAVE_IN6ADDR_ANY /**/" >>confdefs.h
  16553. else
  16554. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16555. $as_echo "no" >&6; }
  16556. fi
  16557. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
  16559. $as_echo_n "checking for in6_pktinfo... " >&6; }
  16560. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16561. /* end confdefs.h. */
  16562. #define _GNU_SOURCE
  16563. #include <sys/types.h>
  16564. #include <sys/socket.h>
  16565. #include <netinet/in.h>
  16566. int
  16567. main ()
  16568. {
  16569. struct in6_pktinfo pi;
  16570. if (pi.ipi6_ifindex)
  16571. {
  16572. return 0;
  16573. }
  16574. ;
  16575. return 0;
  16576. }
  16577. _ACEOF
  16578. if ac_fn_c_try_compile "$LINENO"; then :
  16579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16580. $as_echo "yes" >&6; };
  16581. $as_echo "@%:@define HAVE_IN6_PKTINFO /**/" >>confdefs.h
  16582. else
  16583. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16584. $as_echo "no" >&6; }
  16585. fi
  16586. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTM_IFANNOUNCE" >&5
  16588. $as_echo_n "checking for RTM_IFANNOUNCE... " >&6; }
  16589. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16590. /* end confdefs.h. */
  16591. #include <sys/socket.h>
  16592. #include <net/if.h>
  16593. #include <net/route.h>
  16594. int
  16595. main ()
  16596. {
  16597. return RTM_IFANNOUNCE;
  16598. ;
  16599. return 0;
  16600. }
  16601. _ACEOF
  16602. if ac_fn_c_try_compile "$LINENO"; then :
  16603. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16604. $as_echo "yes" >&6; };
  16605. $as_echo "@%:@define HAVE_RTM_IFANNOUNCE /**/" >>confdefs.h
  16606. else
  16607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16608. $as_echo "no" >&6; }
  16609. fi
  16610. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16611. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_MODE_BEET" >&5
  16612. $as_echo_n "checking for IPSEC_MODE_BEET... " >&6; }
  16613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16614. /* end confdefs.h. */
  16615. #include <sys/types.h>
  16616. #ifdef HAVE_NETIPSEC_IPSEC_H
  16617. #include <netipsec/ipsec.h>
  16618. #elif defined(HAVE_NETINET6_IPSEC_H)
  16619. #include <netinet6/ipsec.h>
  16620. #else
  16621. #include <stdint.h>
  16622. #include <linux/ipsec.h>
  16623. #endif
  16624. int
  16625. main ()
  16626. {
  16627. int mode = IPSEC_MODE_BEET;
  16628. return mode;
  16629. ;
  16630. return 0;
  16631. }
  16632. _ACEOF
  16633. if ac_fn_c_try_compile "$LINENO"; then :
  16634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16635. $as_echo "yes" >&6; };
  16636. $as_echo "@%:@define HAVE_IPSEC_MODE_BEET /**/" >>confdefs.h
  16637. else
  16638. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16639. $as_echo "no" >&6; }
  16640. fi
  16641. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16642. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_DIR_FWD" >&5
  16643. $as_echo_n "checking for IPSEC_DIR_FWD... " >&6; }
  16644. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16645. /* end confdefs.h. */
  16646. #include <sys/types.h>
  16647. #ifdef HAVE_NETIPSEC_IPSEC_H
  16648. #include <netipsec/ipsec.h>
  16649. #elif defined(HAVE_NETINET6_IPSEC_H)
  16650. #include <netinet6/ipsec.h>
  16651. #else
  16652. #include <stdint.h>
  16653. #include <linux/ipsec.h>
  16654. #endif
  16655. int
  16656. main ()
  16657. {
  16658. int dir = IPSEC_DIR_FWD;
  16659. return dir;
  16660. ;
  16661. return 0;
  16662. }
  16663. _ACEOF
  16664. if ac_fn_c_try_compile "$LINENO"; then :
  16665. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16666. $as_echo "yes" >&6; };
  16667. $as_echo "@%:@define HAVE_IPSEC_DIR_FWD /**/" >>confdefs.h
  16668. else
  16669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16670. $as_echo "no" >&6; }
  16671. fi
  16672. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16673. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTA_TABLE" >&5
  16674. $as_echo_n "checking for RTA_TABLE... " >&6; }
  16675. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16676. /* end confdefs.h. */
  16677. #include <sys/socket.h>
  16678. #include <linux/netlink.h>
  16679. #include <linux/rtnetlink.h>
  16680. int
  16681. main ()
  16682. {
  16683. int rta_type = RTA_TABLE;
  16684. return rta_type;
  16685. ;
  16686. return 0;
  16687. }
  16688. _ACEOF
  16689. if ac_fn_c_try_compile "$LINENO"; then :
  16690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16691. $as_echo "yes" >&6; };
  16692. $as_echo "@%:@define HAVE_RTA_TABLE /**/" >>confdefs.h
  16693. else
  16694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16695. $as_echo "no" >&6; }
  16696. fi
  16697. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
  16699. $as_echo_n "checking for __int128... " >&6; }
  16700. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16701. /* end confdefs.h. */
  16702. #include <sys/types.h>
  16703. int
  16704. main ()
  16705. {
  16706. __int128 x = 0;
  16707. return x;
  16708. ;
  16709. return 0;
  16710. }
  16711. _ACEOF
  16712. if ac_fn_c_try_compile "$LINENO"; then :
  16713. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16714. $as_echo "yes" >&6; };
  16715. $as_echo "@%:@define HAVE_INT128 /**/" >>confdefs.h
  16716. else
  16717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16718. $as_echo "no" >&6; }
  16719. fi
  16720. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC __sync operations" >&5
  16722. $as_echo_n "checking for GCC __sync operations... " >&6; }
  16723. if test "$cross_compiling" = yes; then :
  16724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16725. $as_echo "no" >&6; }
  16726. else
  16727. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16728. /* end confdefs.h. */
  16729. int main() {
  16730. int ref = 1;
  16731. __sync_fetch_and_add (&ref, 1);
  16732. __sync_sub_and_fetch (&ref, 1);
  16733. __sync_val_compare_and_swap(&ref, 1, 0);
  16734. return ref;
  16735. }
  16736. _ACEOF
  16737. if ac_fn_c_try_run "$LINENO"; then :
  16738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16739. $as_echo "yes" >&6; };
  16740. $as_echo "@%:@define HAVE_GCC_SYNC_OPERATIONS /**/" >>confdefs.h
  16741. else
  16742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16743. $as_echo "no" >&6; }
  16744. fi
  16745. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16746. conftest.$ac_objext conftest.beam conftest.$ac_ext
  16747. fi
  16748. case "$printf_hooks" in
  16749. auto|builtin|glibc|vstr)
  16750. ;;
  16751. *)
  16752. { $as_echo "$as_me:${as_lineno-$LINENO}: invalid printf hook implementation, defaulting to 'auto'" >&5
  16753. $as_echo "$as_me: invalid printf hook implementation, defaulting to 'auto'" >&6;}
  16754. printf_hooks=auto
  16755. ;;
  16756. esac
  16757. if test x$printf_hooks = xauto -o x$printf_hooks = xglibc; then
  16758. # check for the new register_printf_specifier function with len argument,
  16759. # or the deprecated register_printf_function without
  16760. ac_fn_c_check_func "$LINENO" "register_printf_specifier" "ac_cv_func_register_printf_specifier"
  16761. if test "x$ac_cv_func_register_printf_specifier" = xyes; then :
  16762. $as_echo "@%:@define HAVE_PRINTF_SPECIFIER /**/" >>confdefs.h
  16763. else
  16764. ac_fn_c_check_func "$LINENO" "register_printf_function" "ac_cv_func_register_printf_function"
  16765. if test "x$ac_cv_func_register_printf_function" = xyes; then :
  16766. $as_echo "@%:@define HAVE_PRINTF_FUNCTION /**/" >>confdefs.h
  16767. else
  16768. { $as_echo "$as_me:${as_lineno-$LINENO}: printf(3) does not support custom format specifiers!" >&5
  16769. $as_echo "$as_me: printf(3) does not support custom format specifiers!" >&6;}
  16770. if test x$printf_hooks = xglibc; then
  16771. as_fn_error $? "please select a different printf hook implementation" "$LINENO" 5
  16772. else
  16773. # fallback to builtin printf hook implementation
  16774. printf_hooks=builtin
  16775. fi
  16776. fi
  16777. fi
  16778. fi
  16779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows target" >&5
  16780. $as_echo_n "checking for Windows target... " >&6; }
  16781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16782. /* end confdefs.h. */
  16783. #include <windows.h>
  16784. int
  16785. main ()
  16786. {
  16787. #ifndef WIN32
  16788. # error WIN32 undefined
  16789. #endif
  16790. ;
  16791. return 0;
  16792. }
  16793. _ACEOF
  16794. if ac_fn_c_try_compile "$LINENO"; then :
  16795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16796. $as_echo "yes" >&6; }
  16797. windows=true
  16798. PTHREADLIB=""
  16799. # explicitly disable ms-bitfields, as it breaks __attribute__((packed))
  16800. case "$CFLAGS" in
  16801. *ms-bitfields*) ;;
  16802. *) CFLAGS="$CFLAGS -mno-ms-bitfields" ;;
  16803. esac
  16804. else
  16805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16806. $as_echo "no" >&6; }
  16807. # check for clock_gettime() on non-Windows only. Otherwise this
  16808. # check might find clock_gettime() in libwinpthread, but we don't want
  16809. # to link against it.
  16810. saved_LIBS=$LIBS
  16811. # FreeBSD has clock_gettime in libc, Linux needs librt
  16812. LIBS=""
  16813. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  16814. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  16815. if ${ac_cv_search_clock_gettime+:} false; then :
  16816. $as_echo_n "(cached) " >&6
  16817. else
  16818. ac_func_search_save_LIBS=$LIBS
  16819. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16820. /* end confdefs.h. */
  16821. /* Override any GCC internal prototype to avoid an error.
  16822. Use char because int might match the return type of a GCC
  16823. builtin and then its argument prototype would still apply. */
  16824. #ifdef __cplusplus
  16825. extern "C"
  16826. #endif
  16827. char clock_gettime ();
  16828. int
  16829. main ()
  16830. {
  16831. return clock_gettime ();
  16832. ;
  16833. return 0;
  16834. }
  16835. _ACEOF
  16836. for ac_lib in '' rt; do
  16837. if test -z "$ac_lib"; then
  16838. ac_res="none required"
  16839. else
  16840. ac_res=-l$ac_lib
  16841. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16842. fi
  16843. if ac_fn_c_try_link "$LINENO"; then :
  16844. ac_cv_search_clock_gettime=$ac_res
  16845. fi
  16846. rm -f core conftest.err conftest.$ac_objext \
  16847. conftest$ac_exeext
  16848. if ${ac_cv_search_clock_gettime+:} false; then :
  16849. break
  16850. fi
  16851. done
  16852. if ${ac_cv_search_clock_gettime+:} false; then :
  16853. else
  16854. ac_cv_search_clock_gettime=no
  16855. fi
  16856. rm conftest.$ac_ext
  16857. LIBS=$ac_func_search_save_LIBS
  16858. fi
  16859. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  16860. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  16861. ac_res=$ac_cv_search_clock_gettime
  16862. if test "$ac_res" != no; then :
  16863. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16864. RTLIB=$LIBS
  16865. fi
  16866. for ac_func in clock_gettime
  16867. do :
  16868. ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
  16869. if test "x$ac_cv_func_clock_gettime" = xyes; then :
  16870. cat >>confdefs.h <<_ACEOF
  16871. @%:@define HAVE_CLOCK_GETTIME 1
  16872. _ACEOF
  16873. fi
  16874. done
  16875. LIBS=$saved_LIBS
  16876. fi
  16877. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16878. if test "x$windows" = xtrue; then
  16879. USE_WINDOWS_TRUE=
  16880. USE_WINDOWS_FALSE='#'
  16881. else
  16882. USE_WINDOWS_TRUE='#'
  16883. USE_WINDOWS_FALSE=
  16884. fi
  16885. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working __attribute__((packed))" >&5
  16886. $as_echo_n "checking for working __attribute__((packed))... " >&6; }
  16887. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16888. /* end confdefs.h. */
  16889. int
  16890. main ()
  16891. {
  16892. struct test { char a; short b; } __attribute__((packed));
  16893. char x[sizeof(struct test) == sizeof(char) + sizeof(short) ? 1 : -1]
  16894. __attribute__((unused));
  16895. return 0;
  16896. ;
  16897. return 0;
  16898. }
  16899. _ACEOF
  16900. if ac_fn_c_try_compile "$LINENO"; then :
  16901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16902. $as_echo "yes" >&6; }
  16903. else
  16904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16905. $as_echo "no" >&6; }; as_fn_error $? "__attribute__((packed)) does not work" "$LINENO" 5
  16906. fi
  16907. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking clang" >&5
  16909. $as_echo_n "checking clang... " >&6; }
  16910. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16911. /* end confdefs.h. */
  16912. int
  16913. main ()
  16914. {
  16915. #ifndef __clang__
  16916. # error not using LLVM clang
  16917. #endif
  16918. ;
  16919. return 0;
  16920. }
  16921. _ACEOF
  16922. if ac_fn_c_try_compile "$LINENO"; then :
  16923. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16924. $as_echo "yes" >&6; }
  16925. else
  16926. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16927. $as_echo "no" >&6; }
  16928. # GCC, but not MinGW requires -rdynamic for plugins
  16929. if test x$windows != xtrue; then
  16930. PLUGIN_CFLAGS="$PLUGIN_CFLAGS -rdynamic"
  16931. fi
  16932. fi
  16933. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking x86/x64 target" >&5
  16935. $as_echo_n "checking x86/x64 target... " >&6; }
  16936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16937. /* end confdefs.h. */
  16938. int
  16939. main ()
  16940. {
  16941. #if !defined(__i386__) && !defined(__x86_64__)
  16942. # error not on x86/x64
  16943. #endif
  16944. ;
  16945. return 0;
  16946. }
  16947. _ACEOF
  16948. if ac_fn_c_try_compile "$LINENO"; then :
  16949. x86x64=true
  16950. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16951. $as_echo "yes" >&6; }
  16952. else
  16953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16954. $as_echo "no" >&6; }
  16955. fi
  16956. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16957. if test "x$x86x64" = xtrue; then
  16958. USE_X86X64_TRUE=
  16959. USE_X86X64_FALSE='#'
  16960. else
  16961. USE_X86X64_TRUE='#'
  16962. USE_X86X64_FALSE=
  16963. fi
  16964. if test x$printf_hooks = xvstr; then
  16965. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vstr_init in -lvstr" >&5
  16966. $as_echo_n "checking for vstr_init in -lvstr... " >&6; }
  16967. if ${ac_cv_lib_vstr_vstr_init+:} false; then :
  16968. $as_echo_n "(cached) " >&6
  16969. else
  16970. ac_check_lib_save_LIBS=$LIBS
  16971. LIBS="-lvstr $LIBS"
  16972. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16973. /* end confdefs.h. */
  16974. /* Override any GCC internal prototype to avoid an error.
  16975. Use char because int might match the return type of a GCC
  16976. builtin and then its argument prototype would still apply. */
  16977. #ifdef __cplusplus
  16978. extern "C"
  16979. #endif
  16980. char vstr_init ();
  16981. int
  16982. main ()
  16983. {
  16984. return vstr_init ();
  16985. ;
  16986. return 0;
  16987. }
  16988. _ACEOF
  16989. if ac_fn_c_try_link "$LINENO"; then :
  16990. ac_cv_lib_vstr_vstr_init=yes
  16991. else
  16992. ac_cv_lib_vstr_vstr_init=no
  16993. fi
  16994. rm -f core conftest.err conftest.$ac_objext \
  16995. conftest$ac_exeext conftest.$ac_ext
  16996. LIBS=$ac_check_lib_save_LIBS
  16997. fi
  16998. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vstr_vstr_init" >&5
  16999. $as_echo "$ac_cv_lib_vstr_vstr_init" >&6; }
  17000. if test "x$ac_cv_lib_vstr_vstr_init" = xyes; then :
  17001. LIBS="$LIBS"
  17002. else
  17003. as_fn_error $? "Vstr string library not found" "$LINENO" 5
  17004. fi
  17005. $as_echo "@%:@define USE_VSTR /**/" >>confdefs.h
  17006. fi
  17007. if test x$printf_hooks = xbuiltin; then
  17008. $as_echo "@%:@define USE_BUILTIN_PRINTF /**/" >>confdefs.h
  17009. fi
  17010. if test x$gmp = xtrue; then
  17011. saved_LIBS=$LIBS
  17012. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
  17013. $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
  17014. if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
  17015. $as_echo_n "(cached) " >&6
  17016. else
  17017. ac_check_lib_save_LIBS=$LIBS
  17018. LIBS="-lgmp $LIBS"
  17019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17020. /* end confdefs.h. */
  17021. /* Override any GCC internal prototype to avoid an error.
  17022. Use char because int might match the return type of a GCC
  17023. builtin and then its argument prototype would still apply. */
  17024. #ifdef __cplusplus
  17025. extern "C"
  17026. #endif
  17027. char __gmpz_init ();
  17028. int
  17029. main ()
  17030. {
  17031. return __gmpz_init ();
  17032. ;
  17033. return 0;
  17034. }
  17035. _ACEOF
  17036. if ac_fn_c_try_link "$LINENO"; then :
  17037. ac_cv_lib_gmp___gmpz_init=yes
  17038. else
  17039. ac_cv_lib_gmp___gmpz_init=no
  17040. fi
  17041. rm -f core conftest.err conftest.$ac_objext \
  17042. conftest$ac_exeext conftest.$ac_ext
  17043. LIBS=$ac_check_lib_save_LIBS
  17044. fi
  17045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
  17046. $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
  17047. if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
  17048. cat >>confdefs.h <<_ACEOF
  17049. @%:@define HAVE_LIBGMP 1
  17050. _ACEOF
  17051. LIBS="-lgmp $LIBS"
  17052. else
  17053. as_fn_error $? "GNU Multi Precision library gmp not found" "$LINENO" 5
  17054. fi
  17055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking mpz_powm_sec" >&5
  17056. $as_echo_n "checking mpz_powm_sec... " >&6; }
  17057. if test x$mpz_powm_sec = xyes; then
  17058. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17059. /* end confdefs.h. */
  17060. #include "gmp.h"
  17061. int
  17062. main ()
  17063. {
  17064. void *x __attribute__((unused)); x = mpz_powm_sec;
  17065. ;
  17066. return 0;
  17067. }
  17068. _ACEOF
  17069. if ac_fn_c_try_compile "$LINENO"; then :
  17070. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17071. $as_echo "yes" >&6; };
  17072. $as_echo "@%:@define HAVE_MPZ_POWM_SEC /**/" >>confdefs.h
  17073. else
  17074. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17075. $as_echo "no" >&6; }
  17076. fi
  17077. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17078. else
  17079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
  17080. $as_echo "disabled" >&6; }
  17081. fi
  17082. LIBS=$saved_LIBS
  17083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gmp.h version >= 4.1.4" >&5
  17084. $as_echo_n "checking gmp.h version >= 4.1.4... " >&6; }
  17085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17086. /* end confdefs.h. */
  17087. #include "gmp.h"
  17088. int
  17089. main ()
  17090. {
  17091. #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
  17092. #error bad gmp
  17093. #endif
  17094. ;
  17095. return 0;
  17096. }
  17097. _ACEOF
  17098. if ac_fn_c_try_compile "$LINENO"; then :
  17099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17100. $as_echo "yes" >&6; }
  17101. else
  17102. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17103. $as_echo "no" >&6; }; as_fn_error $? "No usable gmp.h found!" "$LINENO" 5
  17104. fi
  17105. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17106. fi
  17107. if test x$ldap = xtrue; then
  17108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
  17109. $as_echo_n "checking for ldap_init in -lldap... " >&6; }
  17110. if ${ac_cv_lib_ldap_ldap_init+:} false; then :
  17111. $as_echo_n "(cached) " >&6
  17112. else
  17113. ac_check_lib_save_LIBS=$LIBS
  17114. LIBS="-lldap $LIBS"
  17115. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17116. /* end confdefs.h. */
  17117. /* Override any GCC internal prototype to avoid an error.
  17118. Use char because int might match the return type of a GCC
  17119. builtin and then its argument prototype would still apply. */
  17120. #ifdef __cplusplus
  17121. extern "C"
  17122. #endif
  17123. char ldap_init ();
  17124. int
  17125. main ()
  17126. {
  17127. return ldap_init ();
  17128. ;
  17129. return 0;
  17130. }
  17131. _ACEOF
  17132. if ac_fn_c_try_link "$LINENO"; then :
  17133. ac_cv_lib_ldap_ldap_init=yes
  17134. else
  17135. ac_cv_lib_ldap_ldap_init=no
  17136. fi
  17137. rm -f core conftest.err conftest.$ac_objext \
  17138. conftest$ac_exeext conftest.$ac_ext
  17139. LIBS=$ac_check_lib_save_LIBS
  17140. fi
  17141. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
  17142. $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
  17143. if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then :
  17144. LIBS="$LIBS"
  17145. else
  17146. as_fn_error $? "LDAP library ldap not found" "$LINENO" 5
  17147. fi
  17148. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
  17149. $as_echo_n "checking for ber_free in -llber... " >&6; }
  17150. if ${ac_cv_lib_lber_ber_free+:} false; then :
  17151. $as_echo_n "(cached) " >&6
  17152. else
  17153. ac_check_lib_save_LIBS=$LIBS
  17154. LIBS="-llber $LIBS"
  17155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17156. /* end confdefs.h. */
  17157. /* Override any GCC internal prototype to avoid an error.
  17158. Use char because int might match the return type of a GCC
  17159. builtin and then its argument prototype would still apply. */
  17160. #ifdef __cplusplus
  17161. extern "C"
  17162. #endif
  17163. char ber_free ();
  17164. int
  17165. main ()
  17166. {
  17167. return ber_free ();
  17168. ;
  17169. return 0;
  17170. }
  17171. _ACEOF
  17172. if ac_fn_c_try_link "$LINENO"; then :
  17173. ac_cv_lib_lber_ber_free=yes
  17174. else
  17175. ac_cv_lib_lber_ber_free=no
  17176. fi
  17177. rm -f core conftest.err conftest.$ac_objext \
  17178. conftest$ac_exeext conftest.$ac_ext
  17179. LIBS=$ac_check_lib_save_LIBS
  17180. fi
  17181. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
  17182. $as_echo "$ac_cv_lib_lber_ber_free" >&6; }
  17183. if test "x$ac_cv_lib_lber_ber_free" = xyes; then :
  17184. LIBS="$LIBS"
  17185. else
  17186. as_fn_error $? "LDAP library lber not found" "$LINENO" 5
  17187. fi
  17188. ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
  17189. if test "x$ac_cv_header_ldap_h" = xyes; then :
  17190. else
  17191. as_fn_error $? "LDAP header ldap.h not found!" "$LINENO" 5
  17192. fi
  17193. fi
  17194. if test x$curl = xtrue; then
  17195. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
  17196. $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
  17197. if ${ac_cv_lib_curl_curl_global_init+:} false; then :
  17198. $as_echo_n "(cached) " >&6
  17199. else
  17200. ac_check_lib_save_LIBS=$LIBS
  17201. LIBS="-lcurl $LIBS"
  17202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17203. /* end confdefs.h. */
  17204. /* Override any GCC internal prototype to avoid an error.
  17205. Use char because int might match the return type of a GCC
  17206. builtin and then its argument prototype would still apply. */
  17207. #ifdef __cplusplus
  17208. extern "C"
  17209. #endif
  17210. char curl_global_init ();
  17211. int
  17212. main ()
  17213. {
  17214. return curl_global_init ();
  17215. ;
  17216. return 0;
  17217. }
  17218. _ACEOF
  17219. if ac_fn_c_try_link "$LINENO"; then :
  17220. ac_cv_lib_curl_curl_global_init=yes
  17221. else
  17222. ac_cv_lib_curl_curl_global_init=no
  17223. fi
  17224. rm -f core conftest.err conftest.$ac_objext \
  17225. conftest$ac_exeext conftest.$ac_ext
  17226. LIBS=$ac_check_lib_save_LIBS
  17227. fi
  17228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
  17229. $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
  17230. if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
  17231. LIBS="$LIBS"
  17232. else
  17233. as_fn_error $? "CURL library curl not found" "$LINENO" 5
  17234. fi
  17235. ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
  17236. if test "x$ac_cv_header_curl_curl_h" = xyes; then :
  17237. else
  17238. as_fn_error $? "CURL header curl/curl.h not found!" "$LINENO" 5
  17239. fi
  17240. fi
  17241. if test x$unbound = xtrue; then
  17242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_rr_get_type in -lldns" >&5
  17243. $as_echo_n "checking for ldns_rr_get_type in -lldns... " >&6; }
  17244. if ${ac_cv_lib_ldns_ldns_rr_get_type+:} false; then :
  17245. $as_echo_n "(cached) " >&6
  17246. else
  17247. ac_check_lib_save_LIBS=$LIBS
  17248. LIBS="-lldns $LIBS"
  17249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17250. /* end confdefs.h. */
  17251. /* Override any GCC internal prototype to avoid an error.
  17252. Use char because int might match the return type of a GCC
  17253. builtin and then its argument prototype would still apply. */
  17254. #ifdef __cplusplus
  17255. extern "C"
  17256. #endif
  17257. char ldns_rr_get_type ();
  17258. int
  17259. main ()
  17260. {
  17261. return ldns_rr_get_type ();
  17262. ;
  17263. return 0;
  17264. }
  17265. _ACEOF
  17266. if ac_fn_c_try_link "$LINENO"; then :
  17267. ac_cv_lib_ldns_ldns_rr_get_type=yes
  17268. else
  17269. ac_cv_lib_ldns_ldns_rr_get_type=no
  17270. fi
  17271. rm -f core conftest.err conftest.$ac_objext \
  17272. conftest$ac_exeext conftest.$ac_ext
  17273. LIBS=$ac_check_lib_save_LIBS
  17274. fi
  17275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_rr_get_type" >&5
  17276. $as_echo "$ac_cv_lib_ldns_ldns_rr_get_type" >&6; }
  17277. if test "x$ac_cv_lib_ldns_ldns_rr_get_type" = xyes; then :
  17278. LIBS="$LIBS"
  17279. else
  17280. as_fn_error $? "UNBOUND library ldns not found" "$LINENO" 5
  17281. fi
  17282. ac_fn_c_check_header_mongrel "$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "$ac_includes_default"
  17283. if test "x$ac_cv_header_ldns_ldns_h" = xyes; then :
  17284. else
  17285. as_fn_error $? "UNBOUND header ldns/ldns.h not found!" "$LINENO" 5
  17286. fi
  17287. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound" >&5
  17288. $as_echo_n "checking for ub_ctx_create in -lunbound... " >&6; }
  17289. if ${ac_cv_lib_unbound_ub_ctx_create+:} false; then :
  17290. $as_echo_n "(cached) " >&6
  17291. else
  17292. ac_check_lib_save_LIBS=$LIBS
  17293. LIBS="-lunbound $LIBS"
  17294. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17295. /* end confdefs.h. */
  17296. /* Override any GCC internal prototype to avoid an error.
  17297. Use char because int might match the return type of a GCC
  17298. builtin and then its argument prototype would still apply. */
  17299. #ifdef __cplusplus
  17300. extern "C"
  17301. #endif
  17302. char ub_ctx_create ();
  17303. int
  17304. main ()
  17305. {
  17306. return ub_ctx_create ();
  17307. ;
  17308. return 0;
  17309. }
  17310. _ACEOF
  17311. if ac_fn_c_try_link "$LINENO"; then :
  17312. ac_cv_lib_unbound_ub_ctx_create=yes
  17313. else
  17314. ac_cv_lib_unbound_ub_ctx_create=no
  17315. fi
  17316. rm -f core conftest.err conftest.$ac_objext \
  17317. conftest$ac_exeext conftest.$ac_ext
  17318. LIBS=$ac_check_lib_save_LIBS
  17319. fi
  17320. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unbound_ub_ctx_create" >&5
  17321. $as_echo "$ac_cv_lib_unbound_ub_ctx_create" >&6; }
  17322. if test "x$ac_cv_lib_unbound_ub_ctx_create" = xyes; then :
  17323. LIBS="$LIBS"
  17324. else
  17325. as_fn_error $? "UNBOUND library libunbound not found" "$LINENO" 5
  17326. fi
  17327. ac_fn_c_check_header_mongrel "$LINENO" "unbound.h" "ac_cv_header_unbound_h" "$ac_includes_default"
  17328. if test "x$ac_cv_header_unbound_h" = xyes; then :
  17329. else
  17330. as_fn_error $? "UNBOUND header unbound.h not found!" "$LINENO" 5
  17331. fi
  17332. fi
  17333. if test x$soup = xtrue; then
  17334. pkg_failed=no
  17335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for soup" >&5
  17336. $as_echo_n "checking for soup... " >&6; }
  17337. if test -n "$soup_CFLAGS"; then
  17338. pkg_cv_soup_CFLAGS="$soup_CFLAGS"
  17339. elif test -n "$PKG_CONFIG"; then
  17340. if test -n "$PKG_CONFIG" && \
  17341. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
  17342. ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
  17343. ac_status=$?
  17344. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17345. test $ac_status = 0; }; then
  17346. pkg_cv_soup_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
  17347. test "x$?" != "x0" && pkg_failed=yes
  17348. else
  17349. pkg_failed=yes
  17350. fi
  17351. else
  17352. pkg_failed=untried
  17353. fi
  17354. if test -n "$soup_LIBS"; then
  17355. pkg_cv_soup_LIBS="$soup_LIBS"
  17356. elif test -n "$PKG_CONFIG"; then
  17357. if test -n "$PKG_CONFIG" && \
  17358. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
  17359. ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
  17360. ac_status=$?
  17361. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17362. test $ac_status = 0; }; then
  17363. pkg_cv_soup_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
  17364. test "x$?" != "x0" && pkg_failed=yes
  17365. else
  17366. pkg_failed=yes
  17367. fi
  17368. else
  17369. pkg_failed=untried
  17370. fi
  17371. if test $pkg_failed = yes; then
  17372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17373. $as_echo "no" >&6; }
  17374. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17375. _pkg_short_errors_supported=yes
  17376. else
  17377. _pkg_short_errors_supported=no
  17378. fi
  17379. if test $_pkg_short_errors_supported = yes; then
  17380. soup_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
  17381. else
  17382. soup_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
  17383. fi
  17384. # Put the nasty error message in config.log where it belongs
  17385. echo "$soup_PKG_ERRORS" >&5
  17386. as_fn_error $? "Package requirements (libsoup-2.4) were not met:
  17387. $soup_PKG_ERRORS
  17388. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17389. installed software in a non-standard prefix.
  17390. Alternatively, you may set the environment variables soup_CFLAGS
  17391. and soup_LIBS to avoid the need to call pkg-config.
  17392. See the pkg-config man page for more details." "$LINENO" 5
  17393. elif test $pkg_failed = untried; then
  17394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17395. $as_echo "no" >&6; }
  17396. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17397. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17398. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17399. is in your PATH or set the PKG_CONFIG environment variable to the full
  17400. path to pkg-config.
  17401. Alternatively, you may set the environment variables soup_CFLAGS
  17402. and soup_LIBS to avoid the need to call pkg-config.
  17403. See the pkg-config man page for more details.
  17404. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17405. See \`config.log' for more details" "$LINENO" 5; }
  17406. else
  17407. soup_CFLAGS=$pkg_cv_soup_CFLAGS
  17408. soup_LIBS=$pkg_cv_soup_LIBS
  17409. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17410. $as_echo "yes" >&6; }
  17411. fi
  17412. fi
  17413. if test x$xml = xtrue; then
  17414. pkg_failed=no
  17415. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
  17416. $as_echo_n "checking for xml... " >&6; }
  17417. if test -n "$xml_CFLAGS"; then
  17418. pkg_cv_xml_CFLAGS="$xml_CFLAGS"
  17419. elif test -n "$PKG_CONFIG"; then
  17420. if test -n "$PKG_CONFIG" && \
  17421. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
  17422. ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
  17423. ac_status=$?
  17424. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17425. test $ac_status = 0; }; then
  17426. pkg_cv_xml_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
  17427. test "x$?" != "x0" && pkg_failed=yes
  17428. else
  17429. pkg_failed=yes
  17430. fi
  17431. else
  17432. pkg_failed=untried
  17433. fi
  17434. if test -n "$xml_LIBS"; then
  17435. pkg_cv_xml_LIBS="$xml_LIBS"
  17436. elif test -n "$PKG_CONFIG"; then
  17437. if test -n "$PKG_CONFIG" && \
  17438. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
  17439. ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
  17440. ac_status=$?
  17441. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17442. test $ac_status = 0; }; then
  17443. pkg_cv_xml_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
  17444. test "x$?" != "x0" && pkg_failed=yes
  17445. else
  17446. pkg_failed=yes
  17447. fi
  17448. else
  17449. pkg_failed=untried
  17450. fi
  17451. if test $pkg_failed = yes; then
  17452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17453. $as_echo "no" >&6; }
  17454. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17455. _pkg_short_errors_supported=yes
  17456. else
  17457. _pkg_short_errors_supported=no
  17458. fi
  17459. if test $_pkg_short_errors_supported = yes; then
  17460. xml_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
  17461. else
  17462. xml_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
  17463. fi
  17464. # Put the nasty error message in config.log where it belongs
  17465. echo "$xml_PKG_ERRORS" >&5
  17466. as_fn_error $? "Package requirements (libxml-2.0) were not met:
  17467. $xml_PKG_ERRORS
  17468. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17469. installed software in a non-standard prefix.
  17470. Alternatively, you may set the environment variables xml_CFLAGS
  17471. and xml_LIBS to avoid the need to call pkg-config.
  17472. See the pkg-config man page for more details." "$LINENO" 5
  17473. elif test $pkg_failed = untried; then
  17474. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17475. $as_echo "no" >&6; }
  17476. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17477. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17478. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17479. is in your PATH or set the PKG_CONFIG environment variable to the full
  17480. path to pkg-config.
  17481. Alternatively, you may set the environment variables xml_CFLAGS
  17482. and xml_LIBS to avoid the need to call pkg-config.
  17483. See the pkg-config man page for more details.
  17484. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17485. See \`config.log' for more details" "$LINENO" 5; }
  17486. else
  17487. xml_CFLAGS=$pkg_cv_xml_CFLAGS
  17488. xml_LIBS=$pkg_cv_xml_LIBS
  17489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17490. $as_echo "yes" >&6; }
  17491. fi
  17492. fi
  17493. if test x$systemd = xtrue; then
  17494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit directory" >&5
  17495. $as_echo_n "checking for systemd system unit directory... " >&6; }
  17496. if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
  17497. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $systemdsystemunitdir" >&5
  17498. $as_echo "$systemdsystemunitdir" >&6; }
  17499. else
  17500. as_fn_error $? "not found (try --with-systemdsystemunitdir)" "$LINENO" 5
  17501. fi
  17502. pkg_failed=no
  17503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
  17504. $as_echo_n "checking for systemd... " >&6; }
  17505. if test -n "$systemd_CFLAGS"; then
  17506. pkg_cv_systemd_CFLAGS="$systemd_CFLAGS"
  17507. elif test -n "$PKG_CONFIG"; then
  17508. if test -n "$PKG_CONFIG" && \
  17509. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
  17510. ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
  17511. ac_status=$?
  17512. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17513. test $ac_status = 0; }; then
  17514. pkg_cv_systemd_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209" 2>/dev/null`
  17515. test "x$?" != "x0" && pkg_failed=yes
  17516. else
  17517. pkg_failed=yes
  17518. fi
  17519. else
  17520. pkg_failed=untried
  17521. fi
  17522. if test -n "$systemd_LIBS"; then
  17523. pkg_cv_systemd_LIBS="$systemd_LIBS"
  17524. elif test -n "$PKG_CONFIG"; then
  17525. if test -n "$PKG_CONFIG" && \
  17526. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
  17527. ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
  17528. ac_status=$?
  17529. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17530. test $ac_status = 0; }; then
  17531. pkg_cv_systemd_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209" 2>/dev/null`
  17532. test "x$?" != "x0" && pkg_failed=yes
  17533. else
  17534. pkg_failed=yes
  17535. fi
  17536. else
  17537. pkg_failed=untried
  17538. fi
  17539. if test $pkg_failed = yes; then
  17540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17541. $as_echo "no" >&6; }
  17542. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17543. _pkg_short_errors_supported=yes
  17544. else
  17545. _pkg_short_errors_supported=no
  17546. fi
  17547. if test $_pkg_short_errors_supported = yes; then
  17548. systemd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
  17549. else
  17550. systemd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
  17551. fi
  17552. # Put the nasty error message in config.log where it belongs
  17553. echo "$systemd_PKG_ERRORS" >&5
  17554. pkg_failed=no
  17555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
  17556. $as_echo_n "checking for systemd_daemon... " >&6; }
  17557. if test -n "$systemd_daemon_CFLAGS"; then
  17558. pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
  17559. elif test -n "$PKG_CONFIG"; then
  17560. if test -n "$PKG_CONFIG" && \
  17561. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
  17562. ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
  17563. ac_status=$?
  17564. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17565. test $ac_status = 0; }; then
  17566. pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
  17567. test "x$?" != "x0" && pkg_failed=yes
  17568. else
  17569. pkg_failed=yes
  17570. fi
  17571. else
  17572. pkg_failed=untried
  17573. fi
  17574. if test -n "$systemd_daemon_LIBS"; then
  17575. pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
  17576. elif test -n "$PKG_CONFIG"; then
  17577. if test -n "$PKG_CONFIG" && \
  17578. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
  17579. ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
  17580. ac_status=$?
  17581. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17582. test $ac_status = 0; }; then
  17583. pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
  17584. test "x$?" != "x0" && pkg_failed=yes
  17585. else
  17586. pkg_failed=yes
  17587. fi
  17588. else
  17589. pkg_failed=untried
  17590. fi
  17591. if test $pkg_failed = yes; then
  17592. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17593. $as_echo "no" >&6; }
  17594. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17595. _pkg_short_errors_supported=yes
  17596. else
  17597. _pkg_short_errors_supported=no
  17598. fi
  17599. if test $_pkg_short_errors_supported = yes; then
  17600. systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
  17601. else
  17602. systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
  17603. fi
  17604. # Put the nasty error message in config.log where it belongs
  17605. echo "$systemd_daemon_PKG_ERRORS" >&5
  17606. as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
  17607. $systemd_daemon_PKG_ERRORS
  17608. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17609. installed software in a non-standard prefix.
  17610. Alternatively, you may set the environment variables systemd_daemon_CFLAGS
  17611. and systemd_daemon_LIBS to avoid the need to call pkg-config.
  17612. See the pkg-config man page for more details." "$LINENO" 5
  17613. elif test $pkg_failed = untried; then
  17614. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17615. $as_echo "no" >&6; }
  17616. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17617. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17618. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17619. is in your PATH or set the PKG_CONFIG environment variable to the full
  17620. path to pkg-config.
  17621. Alternatively, you may set the environment variables systemd_daemon_CFLAGS
  17622. and systemd_daemon_LIBS to avoid the need to call pkg-config.
  17623. See the pkg-config man page for more details.
  17624. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17625. See \`config.log' for more details" "$LINENO" 5; }
  17626. else
  17627. systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
  17628. systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
  17629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17630. $as_echo "yes" >&6; }
  17631. fi
  17632. pkg_failed=no
  17633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
  17634. $as_echo_n "checking for systemd_journal... " >&6; }
  17635. if test -n "$systemd_journal_CFLAGS"; then
  17636. pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
  17637. elif test -n "$PKG_CONFIG"; then
  17638. if test -n "$PKG_CONFIG" && \
  17639. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
  17640. ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
  17641. ac_status=$?
  17642. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17643. test $ac_status = 0; }; then
  17644. pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
  17645. test "x$?" != "x0" && pkg_failed=yes
  17646. else
  17647. pkg_failed=yes
  17648. fi
  17649. else
  17650. pkg_failed=untried
  17651. fi
  17652. if test -n "$systemd_journal_LIBS"; then
  17653. pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
  17654. elif test -n "$PKG_CONFIG"; then
  17655. if test -n "$PKG_CONFIG" && \
  17656. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
  17657. ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
  17658. ac_status=$?
  17659. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17660. test $ac_status = 0; }; then
  17661. pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
  17662. test "x$?" != "x0" && pkg_failed=yes
  17663. else
  17664. pkg_failed=yes
  17665. fi
  17666. else
  17667. pkg_failed=untried
  17668. fi
  17669. if test $pkg_failed = yes; then
  17670. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17671. $as_echo "no" >&6; }
  17672. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17673. _pkg_short_errors_supported=yes
  17674. else
  17675. _pkg_short_errors_supported=no
  17676. fi
  17677. if test $_pkg_short_errors_supported = yes; then
  17678. systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
  17679. else
  17680. systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
  17681. fi
  17682. # Put the nasty error message in config.log where it belongs
  17683. echo "$systemd_journal_PKG_ERRORS" >&5
  17684. as_fn_error $? "Package requirements (libsystemd-journal) were not met:
  17685. $systemd_journal_PKG_ERRORS
  17686. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17687. installed software in a non-standard prefix.
  17688. Alternatively, you may set the environment variables systemd_journal_CFLAGS
  17689. and systemd_journal_LIBS to avoid the need to call pkg-config.
  17690. See the pkg-config man page for more details." "$LINENO" 5
  17691. elif test $pkg_failed = untried; then
  17692. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17693. $as_echo "no" >&6; }
  17694. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17695. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17696. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17697. is in your PATH or set the PKG_CONFIG environment variable to the full
  17698. path to pkg-config.
  17699. Alternatively, you may set the environment variables systemd_journal_CFLAGS
  17700. and systemd_journal_LIBS to avoid the need to call pkg-config.
  17701. See the pkg-config man page for more details.
  17702. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17703. See \`config.log' for more details" "$LINENO" 5; }
  17704. else
  17705. systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
  17706. systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
  17707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17708. $as_echo "yes" >&6; }
  17709. fi
  17710. elif test $pkg_failed = untried; then
  17711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17712. $as_echo "no" >&6; }
  17713. pkg_failed=no
  17714. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
  17715. $as_echo_n "checking for systemd_daemon... " >&6; }
  17716. if test -n "$systemd_daemon_CFLAGS"; then
  17717. pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
  17718. elif test -n "$PKG_CONFIG"; then
  17719. if test -n "$PKG_CONFIG" && \
  17720. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
  17721. ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
  17722. ac_status=$?
  17723. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17724. test $ac_status = 0; }; then
  17725. pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
  17726. test "x$?" != "x0" && pkg_failed=yes
  17727. else
  17728. pkg_failed=yes
  17729. fi
  17730. else
  17731. pkg_failed=untried
  17732. fi
  17733. if test -n "$systemd_daemon_LIBS"; then
  17734. pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
  17735. elif test -n "$PKG_CONFIG"; then
  17736. if test -n "$PKG_CONFIG" && \
  17737. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
  17738. ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
  17739. ac_status=$?
  17740. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17741. test $ac_status = 0; }; then
  17742. pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
  17743. test "x$?" != "x0" && pkg_failed=yes
  17744. else
  17745. pkg_failed=yes
  17746. fi
  17747. else
  17748. pkg_failed=untried
  17749. fi
  17750. if test $pkg_failed = yes; then
  17751. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17752. $as_echo "no" >&6; }
  17753. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17754. _pkg_short_errors_supported=yes
  17755. else
  17756. _pkg_short_errors_supported=no
  17757. fi
  17758. if test $_pkg_short_errors_supported = yes; then
  17759. systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
  17760. else
  17761. systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
  17762. fi
  17763. # Put the nasty error message in config.log where it belongs
  17764. echo "$systemd_daemon_PKG_ERRORS" >&5
  17765. as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
  17766. $systemd_daemon_PKG_ERRORS
  17767. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17768. installed software in a non-standard prefix.
  17769. Alternatively, you may set the environment variables systemd_daemon_CFLAGS
  17770. and systemd_daemon_LIBS to avoid the need to call pkg-config.
  17771. See the pkg-config man page for more details." "$LINENO" 5
  17772. elif test $pkg_failed = untried; then
  17773. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17774. $as_echo "no" >&6; }
  17775. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17776. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17777. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17778. is in your PATH or set the PKG_CONFIG environment variable to the full
  17779. path to pkg-config.
  17780. Alternatively, you may set the environment variables systemd_daemon_CFLAGS
  17781. and systemd_daemon_LIBS to avoid the need to call pkg-config.
  17782. See the pkg-config man page for more details.
  17783. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17784. See \`config.log' for more details" "$LINENO" 5; }
  17785. else
  17786. systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
  17787. systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
  17788. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17789. $as_echo "yes" >&6; }
  17790. fi
  17791. pkg_failed=no
  17792. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
  17793. $as_echo_n "checking for systemd_journal... " >&6; }
  17794. if test -n "$systemd_journal_CFLAGS"; then
  17795. pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
  17796. elif test -n "$PKG_CONFIG"; then
  17797. if test -n "$PKG_CONFIG" && \
  17798. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
  17799. ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
  17800. ac_status=$?
  17801. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17802. test $ac_status = 0; }; then
  17803. pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
  17804. test "x$?" != "x0" && pkg_failed=yes
  17805. else
  17806. pkg_failed=yes
  17807. fi
  17808. else
  17809. pkg_failed=untried
  17810. fi
  17811. if test -n "$systemd_journal_LIBS"; then
  17812. pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
  17813. elif test -n "$PKG_CONFIG"; then
  17814. if test -n "$PKG_CONFIG" && \
  17815. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
  17816. ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
  17817. ac_status=$?
  17818. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17819. test $ac_status = 0; }; then
  17820. pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
  17821. test "x$?" != "x0" && pkg_failed=yes
  17822. else
  17823. pkg_failed=yes
  17824. fi
  17825. else
  17826. pkg_failed=untried
  17827. fi
  17828. if test $pkg_failed = yes; then
  17829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17830. $as_echo "no" >&6; }
  17831. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17832. _pkg_short_errors_supported=yes
  17833. else
  17834. _pkg_short_errors_supported=no
  17835. fi
  17836. if test $_pkg_short_errors_supported = yes; then
  17837. systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
  17838. else
  17839. systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
  17840. fi
  17841. # Put the nasty error message in config.log where it belongs
  17842. echo "$systemd_journal_PKG_ERRORS" >&5
  17843. as_fn_error $? "Package requirements (libsystemd-journal) were not met:
  17844. $systemd_journal_PKG_ERRORS
  17845. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  17846. installed software in a non-standard prefix.
  17847. Alternatively, you may set the environment variables systemd_journal_CFLAGS
  17848. and systemd_journal_LIBS to avoid the need to call pkg-config.
  17849. See the pkg-config man page for more details." "$LINENO" 5
  17850. elif test $pkg_failed = untried; then
  17851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17852. $as_echo "no" >&6; }
  17853. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17854. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17855. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  17856. is in your PATH or set the PKG_CONFIG environment variable to the full
  17857. path to pkg-config.
  17858. Alternatively, you may set the environment variables systemd_journal_CFLAGS
  17859. and systemd_journal_LIBS to avoid the need to call pkg-config.
  17860. See the pkg-config man page for more details.
  17861. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  17862. See \`config.log' for more details" "$LINENO" 5; }
  17863. else
  17864. systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
  17865. systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
  17866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17867. $as_echo "yes" >&6; }
  17868. fi
  17869. else
  17870. systemd_CFLAGS=$pkg_cv_systemd_CFLAGS
  17871. systemd_LIBS=$pkg_cv_systemd_LIBS
  17872. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17873. $as_echo "yes" >&6; }
  17874. fi
  17875. saved_LIBS=$LIBS
  17876. LIBS="$systemd_LIBS $systemd_daemon_LIBS"
  17877. for ac_func in sd_listen_fds_with_names
  17878. do :
  17879. ac_fn_c_check_func "$LINENO" "sd_listen_fds_with_names" "ac_cv_func_sd_listen_fds_with_names"
  17880. if test "x$ac_cv_func_sd_listen_fds_with_names" = xyes; then :
  17881. cat >>confdefs.h <<_ACEOF
  17882. @%:@define HAVE_SD_LISTEN_FDS_WITH_NAMES 1
  17883. _ACEOF
  17884. fi
  17885. done
  17886. LIBS=$saved_LIBS
  17887. fi
  17888. if test x$tss_trousers = xtrue; then
  17889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
  17890. $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
  17891. if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
  17892. $as_echo_n "(cached) " >&6
  17893. else
  17894. ac_check_lib_save_LIBS=$LIBS
  17895. LIBS="-ltspi $LIBS"
  17896. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17897. /* end confdefs.h. */
  17898. /* Override any GCC internal prototype to avoid an error.
  17899. Use char because int might match the return type of a GCC
  17900. builtin and then its argument prototype would still apply. */
  17901. #ifdef __cplusplus
  17902. extern "C"
  17903. #endif
  17904. char Tspi_Context_Create ();
  17905. int
  17906. main ()
  17907. {
  17908. return Tspi_Context_Create ();
  17909. ;
  17910. return 0;
  17911. }
  17912. _ACEOF
  17913. if ac_fn_c_try_link "$LINENO"; then :
  17914. ac_cv_lib_tspi_Tspi_Context_Create=yes
  17915. else
  17916. ac_cv_lib_tspi_Tspi_Context_Create=no
  17917. fi
  17918. rm -f core conftest.err conftest.$ac_objext \
  17919. conftest$ac_exeext conftest.$ac_ext
  17920. LIBS=$ac_check_lib_save_LIBS
  17921. fi
  17922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
  17923. $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
  17924. if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
  17925. LIBS="$LIBS"
  17926. else
  17927. as_fn_error $? "TrouSerS library libtspi not found" "$LINENO" 5
  17928. fi
  17929. ac_fn_c_check_header_mongrel "$LINENO" "trousers/tss.h" "ac_cv_header_trousers_tss_h" "$ac_includes_default"
  17930. if test "x$ac_cv_header_trousers_tss_h" = xyes; then :
  17931. else
  17932. as_fn_error $? "TrouSerS header trousers/tss.h not found!" "$LINENO" 5
  17933. fi
  17934. $as_echo "@%:@define TSS_TROUSERS /**/" >>confdefs.h
  17935. fi
  17936. if test x$tss_tss2 = xtrue; then
  17937. pkg_failed=no
  17938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_sys" >&5
  17939. $as_echo_n "checking for tss2_sys... " >&6; }
  17940. if test -n "$tss2_sys_CFLAGS"; then
  17941. pkg_cv_tss2_sys_CFLAGS="$tss2_sys_CFLAGS"
  17942. elif test -n "$PKG_CONFIG"; then
  17943. if test -n "$PKG_CONFIG" && \
  17944. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
  17945. ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
  17946. ac_status=$?
  17947. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17948. test $ac_status = 0; }; then
  17949. pkg_cv_tss2_sys_CFLAGS=`$PKG_CONFIG --cflags "tss2-sys" 2>/dev/null`
  17950. test "x$?" != "x0" && pkg_failed=yes
  17951. else
  17952. pkg_failed=yes
  17953. fi
  17954. else
  17955. pkg_failed=untried
  17956. fi
  17957. if test -n "$tss2_sys_LIBS"; then
  17958. pkg_cv_tss2_sys_LIBS="$tss2_sys_LIBS"
  17959. elif test -n "$PKG_CONFIG"; then
  17960. if test -n "$PKG_CONFIG" && \
  17961. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
  17962. ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
  17963. ac_status=$?
  17964. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  17965. test $ac_status = 0; }; then
  17966. pkg_cv_tss2_sys_LIBS=`$PKG_CONFIG --libs "tss2-sys" 2>/dev/null`
  17967. test "x$?" != "x0" && pkg_failed=yes
  17968. else
  17969. pkg_failed=yes
  17970. fi
  17971. else
  17972. pkg_failed=untried
  17973. fi
  17974. if test $pkg_failed = yes; then
  17975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17976. $as_echo "no" >&6; }
  17977. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  17978. _pkg_short_errors_supported=yes
  17979. else
  17980. _pkg_short_errors_supported=no
  17981. fi
  17982. if test $_pkg_short_errors_supported = yes; then
  17983. tss2_sys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-sys" 2>&1`
  17984. else
  17985. tss2_sys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-sys" 2>&1`
  17986. fi
  17987. # Put the nasty error message in config.log where it belongs
  17988. echo "$tss2_sys_PKG_ERRORS" >&5
  17989. tss2_sys=false
  17990. elif test $pkg_failed = untried; then
  17991. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  17992. $as_echo "no" >&6; }
  17993. tss2_sys=false
  17994. else
  17995. tss2_sys_CFLAGS=$pkg_cv_tss2_sys_CFLAGS
  17996. tss2_sys_LIBS=$pkg_cv_tss2_sys_LIBS
  17997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  17998. $as_echo "yes" >&6; }
  17999. tss2_sys=true;
  18000. $as_echo "@%:@define TSS2_SYS /**/" >>confdefs.h
  18001. fi
  18002. pkg_failed=no
  18003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_esys" >&5
  18004. $as_echo_n "checking for tss2_esys... " >&6; }
  18005. if test -n "$tss2_esys_CFLAGS"; then
  18006. pkg_cv_tss2_esys_CFLAGS="$tss2_esys_CFLAGS"
  18007. elif test -n "$PKG_CONFIG"; then
  18008. if test -n "$PKG_CONFIG" && \
  18009. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
  18010. ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
  18011. ac_status=$?
  18012. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18013. test $ac_status = 0; }; then
  18014. pkg_cv_tss2_esys_CFLAGS=`$PKG_CONFIG --cflags "tss2-esys" 2>/dev/null`
  18015. test "x$?" != "x0" && pkg_failed=yes
  18016. else
  18017. pkg_failed=yes
  18018. fi
  18019. else
  18020. pkg_failed=untried
  18021. fi
  18022. if test -n "$tss2_esys_LIBS"; then
  18023. pkg_cv_tss2_esys_LIBS="$tss2_esys_LIBS"
  18024. elif test -n "$PKG_CONFIG"; then
  18025. if test -n "$PKG_CONFIG" && \
  18026. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
  18027. ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
  18028. ac_status=$?
  18029. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18030. test $ac_status = 0; }; then
  18031. pkg_cv_tss2_esys_LIBS=`$PKG_CONFIG --libs "tss2-esys" 2>/dev/null`
  18032. test "x$?" != "x0" && pkg_failed=yes
  18033. else
  18034. pkg_failed=yes
  18035. fi
  18036. else
  18037. pkg_failed=untried
  18038. fi
  18039. if test $pkg_failed = yes; then
  18040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18041. $as_echo "no" >&6; }
  18042. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18043. _pkg_short_errors_supported=yes
  18044. else
  18045. _pkg_short_errors_supported=no
  18046. fi
  18047. if test $_pkg_short_errors_supported = yes; then
  18048. tss2_esys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-esys" 2>&1`
  18049. else
  18050. tss2_esys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-esys" 2>&1`
  18051. fi
  18052. # Put the nasty error message in config.log where it belongs
  18053. echo "$tss2_esys_PKG_ERRORS" >&5
  18054. tss2_esys=false
  18055. elif test $pkg_failed = untried; then
  18056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18057. $as_echo "no" >&6; }
  18058. tss2_esys=false
  18059. else
  18060. tss2_esys_CFLAGS=$pkg_cv_tss2_esys_CFLAGS
  18061. tss2_esys_LIBS=$pkg_cv_tss2_esys_LIBS
  18062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18063. $as_echo "yes" >&6; }
  18064. tss2_esys=true;
  18065. $as_echo "@%:@define TSS2_ESYS /**/" >>confdefs.h
  18066. fi
  18067. pkg_failed=no
  18068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_tabrmd" >&5
  18069. $as_echo_n "checking for tss2_tabrmd... " >&6; }
  18070. if test -n "$tss2_tabrmd_CFLAGS"; then
  18071. pkg_cv_tss2_tabrmd_CFLAGS="$tss2_tabrmd_CFLAGS"
  18072. elif test -n "$PKG_CONFIG"; then
  18073. if test -n "$PKG_CONFIG" && \
  18074. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
  18075. ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
  18076. ac_status=$?
  18077. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18078. test $ac_status = 0; }; then
  18079. pkg_cv_tss2_tabrmd_CFLAGS=`$PKG_CONFIG --cflags "tcti-tabrmd" 2>/dev/null`
  18080. test "x$?" != "x0" && pkg_failed=yes
  18081. else
  18082. pkg_failed=yes
  18083. fi
  18084. else
  18085. pkg_failed=untried
  18086. fi
  18087. if test -n "$tss2_tabrmd_LIBS"; then
  18088. pkg_cv_tss2_tabrmd_LIBS="$tss2_tabrmd_LIBS"
  18089. elif test -n "$PKG_CONFIG"; then
  18090. if test -n "$PKG_CONFIG" && \
  18091. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
  18092. ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
  18093. ac_status=$?
  18094. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18095. test $ac_status = 0; }; then
  18096. pkg_cv_tss2_tabrmd_LIBS=`$PKG_CONFIG --libs "tcti-tabrmd" 2>/dev/null`
  18097. test "x$?" != "x0" && pkg_failed=yes
  18098. else
  18099. pkg_failed=yes
  18100. fi
  18101. else
  18102. pkg_failed=untried
  18103. fi
  18104. if test $pkg_failed = yes; then
  18105. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18106. $as_echo "no" >&6; }
  18107. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18108. _pkg_short_errors_supported=yes
  18109. else
  18110. _pkg_short_errors_supported=no
  18111. fi
  18112. if test $_pkg_short_errors_supported = yes; then
  18113. tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
  18114. else
  18115. tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
  18116. fi
  18117. # Put the nasty error message in config.log where it belongs
  18118. echo "$tss2_tabrmd_PKG_ERRORS" >&5
  18119. tss2_tabrmd=false
  18120. elif test $pkg_failed = untried; then
  18121. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18122. $as_echo "no" >&6; }
  18123. tss2_tabrmd=false
  18124. else
  18125. tss2_tabrmd_CFLAGS=$pkg_cv_tss2_tabrmd_CFLAGS
  18126. tss2_tabrmd_LIBS=$pkg_cv_tss2_tabrmd_LIBS
  18127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18128. $as_echo "yes" >&6; }
  18129. tss2_tabrmd=true;
  18130. $as_echo "@%:@define TSS2_TCTI_TABRMD /**/" >>confdefs.h
  18131. fi
  18132. pkg_failed=no
  18133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_socket" >&5
  18134. $as_echo_n "checking for tss2_socket... " >&6; }
  18135. if test -n "$tss2_socket_CFLAGS"; then
  18136. pkg_cv_tss2_socket_CFLAGS="$tss2_socket_CFLAGS"
  18137. elif test -n "$PKG_CONFIG"; then
  18138. if test -n "$PKG_CONFIG" && \
  18139. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
  18140. ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
  18141. ac_status=$?
  18142. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18143. test $ac_status = 0; }; then
  18144. pkg_cv_tss2_socket_CFLAGS=`$PKG_CONFIG --cflags "tcti-socket" 2>/dev/null`
  18145. test "x$?" != "x0" && pkg_failed=yes
  18146. else
  18147. pkg_failed=yes
  18148. fi
  18149. else
  18150. pkg_failed=untried
  18151. fi
  18152. if test -n "$tss2_socket_LIBS"; then
  18153. pkg_cv_tss2_socket_LIBS="$tss2_socket_LIBS"
  18154. elif test -n "$PKG_CONFIG"; then
  18155. if test -n "$PKG_CONFIG" && \
  18156. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
  18157. ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
  18158. ac_status=$?
  18159. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18160. test $ac_status = 0; }; then
  18161. pkg_cv_tss2_socket_LIBS=`$PKG_CONFIG --libs "tcti-socket" 2>/dev/null`
  18162. test "x$?" != "x0" && pkg_failed=yes
  18163. else
  18164. pkg_failed=yes
  18165. fi
  18166. else
  18167. pkg_failed=untried
  18168. fi
  18169. if test $pkg_failed = yes; then
  18170. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18171. $as_echo "no" >&6; }
  18172. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18173. _pkg_short_errors_supported=yes
  18174. else
  18175. _pkg_short_errors_supported=no
  18176. fi
  18177. if test $_pkg_short_errors_supported = yes; then
  18178. tss2_socket_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-socket" 2>&1`
  18179. else
  18180. tss2_socket_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-socket" 2>&1`
  18181. fi
  18182. # Put the nasty error message in config.log where it belongs
  18183. echo "$tss2_socket_PKG_ERRORS" >&5
  18184. tss2_socket=false
  18185. elif test $pkg_failed = untried; then
  18186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18187. $as_echo "no" >&6; }
  18188. tss2_socket=false
  18189. else
  18190. tss2_socket_CFLAGS=$pkg_cv_tss2_socket_CFLAGS
  18191. tss2_socket_LIBS=$pkg_cv_tss2_socket_LIBS
  18192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18193. $as_echo "yes" >&6; }
  18194. tss2_socket=true;
  18195. $as_echo "@%:@define TSS2_TCTI_SOCKET /**/" >>confdefs.h
  18196. fi
  18197. if test x$tss2_sys = xtrue; then
  18198. $as_echo "@%:@define TSS_TSS2_V2 /**/" >>confdefs.h
  18199. tss2_CFLAGS="$tss2_sys_CFLAGS"
  18200. tss2_LIBS="$tss2_sys_LIBS"
  18201. elif test x$tss2_tabrmd = xtrue -o x$tss2_socket = xtrue; then
  18202. $as_echo "@%:@define TSS_TSS2_V1 /**/" >>confdefs.h
  18203. tss2_CFLAGS="$tss2_tabrmd_CFLAGS $tss2_socket_CFLAGS"
  18204. tss2_LIBS="$tss2_tabrmd_LIBS $tss2_socket_LIBS"
  18205. else
  18206. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18207. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18208. as_fn_error $? "no TSS2 TCTI or SAPI libraries detected
  18209. See \`config.log' for more details" "$LINENO" 5; }
  18210. fi
  18211. fi
  18212. if test x$imc_swima = xtrue -o $imv_swima = xtrue; then
  18213. pkg_failed=no
  18214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
  18215. $as_echo_n "checking for json... " >&6; }
  18216. if test -n "$json_CFLAGS"; then
  18217. pkg_cv_json_CFLAGS="$json_CFLAGS"
  18218. elif test -n "$PKG_CONFIG"; then
  18219. if test -n "$PKG_CONFIG" && \
  18220. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
  18221. ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
  18222. ac_status=$?
  18223. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18224. test $ac_status = 0; }; then
  18225. pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
  18226. test "x$?" != "x0" && pkg_failed=yes
  18227. else
  18228. pkg_failed=yes
  18229. fi
  18230. else
  18231. pkg_failed=untried
  18232. fi
  18233. if test -n "$json_LIBS"; then
  18234. pkg_cv_json_LIBS="$json_LIBS"
  18235. elif test -n "$PKG_CONFIG"; then
  18236. if test -n "$PKG_CONFIG" && \
  18237. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
  18238. ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
  18239. ac_status=$?
  18240. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18241. test $ac_status = 0; }; then
  18242. pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
  18243. test "x$?" != "x0" && pkg_failed=yes
  18244. else
  18245. pkg_failed=yes
  18246. fi
  18247. else
  18248. pkg_failed=untried
  18249. fi
  18250. if test $pkg_failed = yes; then
  18251. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18252. $as_echo "no" >&6; }
  18253. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18254. _pkg_short_errors_supported=yes
  18255. else
  18256. _pkg_short_errors_supported=no
  18257. fi
  18258. if test $_pkg_short_errors_supported = yes; then
  18259. json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
  18260. else
  18261. json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
  18262. fi
  18263. # Put the nasty error message in config.log where it belongs
  18264. echo "$json_PKG_ERRORS" >&5
  18265. pkg_failed=no
  18266. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
  18267. $as_echo_n "checking for json... " >&6; }
  18268. if test -n "$json_CFLAGS"; then
  18269. pkg_cv_json_CFLAGS="$json_CFLAGS"
  18270. elif test -n "$PKG_CONFIG"; then
  18271. if test -n "$PKG_CONFIG" && \
  18272. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
  18273. ($PKG_CONFIG --exists --print-errors "json") 2>&5
  18274. ac_status=$?
  18275. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18276. test $ac_status = 0; }; then
  18277. pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
  18278. test "x$?" != "x0" && pkg_failed=yes
  18279. else
  18280. pkg_failed=yes
  18281. fi
  18282. else
  18283. pkg_failed=untried
  18284. fi
  18285. if test -n "$json_LIBS"; then
  18286. pkg_cv_json_LIBS="$json_LIBS"
  18287. elif test -n "$PKG_CONFIG"; then
  18288. if test -n "$PKG_CONFIG" && \
  18289. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
  18290. ($PKG_CONFIG --exists --print-errors "json") 2>&5
  18291. ac_status=$?
  18292. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18293. test $ac_status = 0; }; then
  18294. pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
  18295. test "x$?" != "x0" && pkg_failed=yes
  18296. else
  18297. pkg_failed=yes
  18298. fi
  18299. else
  18300. pkg_failed=untried
  18301. fi
  18302. if test $pkg_failed = yes; then
  18303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18304. $as_echo "no" >&6; }
  18305. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18306. _pkg_short_errors_supported=yes
  18307. else
  18308. _pkg_short_errors_supported=no
  18309. fi
  18310. if test $_pkg_short_errors_supported = yes; then
  18311. json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
  18312. else
  18313. json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
  18314. fi
  18315. # Put the nasty error message in config.log where it belongs
  18316. echo "$json_PKG_ERRORS" >&5
  18317. as_fn_error $? "Package requirements (json) were not met:
  18318. $json_PKG_ERRORS
  18319. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  18320. installed software in a non-standard prefix.
  18321. Alternatively, you may set the environment variables json_CFLAGS
  18322. and json_LIBS to avoid the need to call pkg-config.
  18323. See the pkg-config man page for more details." "$LINENO" 5
  18324. elif test $pkg_failed = untried; then
  18325. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18326. $as_echo "no" >&6; }
  18327. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18328. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18329. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  18330. is in your PATH or set the PKG_CONFIG environment variable to the full
  18331. path to pkg-config.
  18332. Alternatively, you may set the environment variables json_CFLAGS
  18333. and json_LIBS to avoid the need to call pkg-config.
  18334. See the pkg-config man page for more details.
  18335. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  18336. See \`config.log' for more details" "$LINENO" 5; }
  18337. else
  18338. json_CFLAGS=$pkg_cv_json_CFLAGS
  18339. json_LIBS=$pkg_cv_json_LIBS
  18340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18341. $as_echo "yes" >&6; }
  18342. fi
  18343. elif test $pkg_failed = untried; then
  18344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18345. $as_echo "no" >&6; }
  18346. pkg_failed=no
  18347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
  18348. $as_echo_n "checking for json... " >&6; }
  18349. if test -n "$json_CFLAGS"; then
  18350. pkg_cv_json_CFLAGS="$json_CFLAGS"
  18351. elif test -n "$PKG_CONFIG"; then
  18352. if test -n "$PKG_CONFIG" && \
  18353. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
  18354. ($PKG_CONFIG --exists --print-errors "json") 2>&5
  18355. ac_status=$?
  18356. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18357. test $ac_status = 0; }; then
  18358. pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
  18359. test "x$?" != "x0" && pkg_failed=yes
  18360. else
  18361. pkg_failed=yes
  18362. fi
  18363. else
  18364. pkg_failed=untried
  18365. fi
  18366. if test -n "$json_LIBS"; then
  18367. pkg_cv_json_LIBS="$json_LIBS"
  18368. elif test -n "$PKG_CONFIG"; then
  18369. if test -n "$PKG_CONFIG" && \
  18370. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
  18371. ($PKG_CONFIG --exists --print-errors "json") 2>&5
  18372. ac_status=$?
  18373. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18374. test $ac_status = 0; }; then
  18375. pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
  18376. test "x$?" != "x0" && pkg_failed=yes
  18377. else
  18378. pkg_failed=yes
  18379. fi
  18380. else
  18381. pkg_failed=untried
  18382. fi
  18383. if test $pkg_failed = yes; then
  18384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18385. $as_echo "no" >&6; }
  18386. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  18387. _pkg_short_errors_supported=yes
  18388. else
  18389. _pkg_short_errors_supported=no
  18390. fi
  18391. if test $_pkg_short_errors_supported = yes; then
  18392. json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
  18393. else
  18394. json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
  18395. fi
  18396. # Put the nasty error message in config.log where it belongs
  18397. echo "$json_PKG_ERRORS" >&5
  18398. as_fn_error $? "Package requirements (json) were not met:
  18399. $json_PKG_ERRORS
  18400. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  18401. installed software in a non-standard prefix.
  18402. Alternatively, you may set the environment variables json_CFLAGS
  18403. and json_LIBS to avoid the need to call pkg-config.
  18404. See the pkg-config man page for more details." "$LINENO" 5
  18405. elif test $pkg_failed = untried; then
  18406. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18407. $as_echo "no" >&6; }
  18408. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18409. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18410. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  18411. is in your PATH or set the PKG_CONFIG environment variable to the full
  18412. path to pkg-config.
  18413. Alternatively, you may set the environment variables json_CFLAGS
  18414. and json_LIBS to avoid the need to call pkg-config.
  18415. See the pkg-config man page for more details.
  18416. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  18417. See \`config.log' for more details" "$LINENO" 5; }
  18418. else
  18419. json_CFLAGS=$pkg_cv_json_CFLAGS
  18420. json_LIBS=$pkg_cv_json_LIBS
  18421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18422. $as_echo "yes" >&6; }
  18423. fi
  18424. else
  18425. json_CFLAGS=$pkg_cv_json_CFLAGS
  18426. json_LIBS=$pkg_cv_json_LIBS
  18427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18428. $as_echo "yes" >&6; }
  18429. fi
  18430. fi
  18431. if test x$fast = xtrue; then
  18432. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf_init in -lneo_utl" >&5
  18433. $as_echo_n "checking for hdf_init in -lneo_utl... " >&6; }
  18434. if ${ac_cv_lib_neo_utl_hdf_init+:} false; then :
  18435. $as_echo_n "(cached) " >&6
  18436. else
  18437. ac_check_lib_save_LIBS=$LIBS
  18438. LIBS="-lneo_utl $LIBS"
  18439. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18440. /* end confdefs.h. */
  18441. /* Override any GCC internal prototype to avoid an error.
  18442. Use char because int might match the return type of a GCC
  18443. builtin and then its argument prototype would still apply. */
  18444. #ifdef __cplusplus
  18445. extern "C"
  18446. #endif
  18447. char hdf_init ();
  18448. int
  18449. main ()
  18450. {
  18451. return hdf_init ();
  18452. ;
  18453. return 0;
  18454. }
  18455. _ACEOF
  18456. if ac_fn_c_try_link "$LINENO"; then :
  18457. ac_cv_lib_neo_utl_hdf_init=yes
  18458. else
  18459. ac_cv_lib_neo_utl_hdf_init=no
  18460. fi
  18461. rm -f core conftest.err conftest.$ac_objext \
  18462. conftest$ac_exeext conftest.$ac_ext
  18463. LIBS=$ac_check_lib_save_LIBS
  18464. fi
  18465. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_neo_utl_hdf_init" >&5
  18466. $as_echo "$ac_cv_lib_neo_utl_hdf_init" >&6; }
  18467. if test "x$ac_cv_lib_neo_utl_hdf_init" = xyes; then :
  18468. LIBS="$LIBS"
  18469. else
  18470. as_fn_error $? "ClearSilver library neo_utl not found!" "$LINENO" 5
  18471. fi
  18472. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lneo_cgi and dependencies" >&5
  18473. $as_echo_n "checking for -lneo_cgi and dependencies... " >&6; }
  18474. saved_CFLAGS=$CFLAGS
  18475. saved_LIBS=$LIBS
  18476. LIBS="-lneo_cgi -lneo_cs -lneo_utl"
  18477. CFLAGS="-I/usr/include/ClearSilver"
  18478. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18479. /* end confdefs.h. */
  18480. #include <cgi/cgi.h>
  18481. int
  18482. main ()
  18483. {
  18484. NEOERR *err = cgi_display(NULL, NULL);
  18485. ;
  18486. return 0;
  18487. }
  18488. _ACEOF
  18489. if ac_fn_c_try_link "$LINENO"; then :
  18490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18491. $as_echo "yes" >&6; }
  18492. else
  18493. LIBS="$LIBS -lz";
  18494. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18495. /* end confdefs.h. */
  18496. #include <cgi/cgi.h>
  18497. int
  18498. main ()
  18499. {
  18500. NEOERR *err = cgi_display(NULL, NULL);
  18501. ;
  18502. return 0;
  18503. }
  18504. _ACEOF
  18505. if ac_fn_c_try_link "$LINENO"; then :
  18506. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, zlib required" >&5
  18507. $as_echo "yes, zlib required" >&6; }
  18508. else
  18509. as_fn_error $? "not found" "$LINENO" 5
  18510. fi
  18511. rm -f core conftest.err conftest.$ac_objext \
  18512. conftest$ac_exeext conftest.$ac_ext
  18513. fi
  18514. rm -f core conftest.err conftest.$ac_objext \
  18515. conftest$ac_exeext conftest.$ac_ext
  18516. clearsilver_LIBS="$LIBS"
  18517. LIBS=$saved_LIBS
  18518. CFLAGS=$saved_CFLAGS
  18519. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGX_Init in -lfcgi" >&5
  18520. $as_echo_n "checking for FCGX_Init in -lfcgi... " >&6; }
  18521. if ${ac_cv_lib_fcgi_FCGX_Init+:} false; then :
  18522. $as_echo_n "(cached) " >&6
  18523. else
  18524. ac_check_lib_save_LIBS=$LIBS
  18525. LIBS="-lfcgi $LIBS"
  18526. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18527. /* end confdefs.h. */
  18528. /* Override any GCC internal prototype to avoid an error.
  18529. Use char because int might match the return type of a GCC
  18530. builtin and then its argument prototype would still apply. */
  18531. #ifdef __cplusplus
  18532. extern "C"
  18533. #endif
  18534. char FCGX_Init ();
  18535. int
  18536. main ()
  18537. {
  18538. return FCGX_Init ();
  18539. ;
  18540. return 0;
  18541. }
  18542. _ACEOF
  18543. if ac_fn_c_try_link "$LINENO"; then :
  18544. ac_cv_lib_fcgi_FCGX_Init=yes
  18545. else
  18546. ac_cv_lib_fcgi_FCGX_Init=no
  18547. fi
  18548. rm -f core conftest.err conftest.$ac_objext \
  18549. conftest$ac_exeext conftest.$ac_ext
  18550. LIBS=$ac_check_lib_save_LIBS
  18551. fi
  18552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGX_Init" >&5
  18553. $as_echo "$ac_cv_lib_fcgi_FCGX_Init" >&6; }
  18554. if test "x$ac_cv_lib_fcgi_FCGX_Init" = xyes; then :
  18555. LIBS="$LIBS"
  18556. else
  18557. as_fn_error $? "FastCGI library fcgi not found!" "$LINENO" 5
  18558. fi
  18559. ac_fn_c_check_header_mongrel "$LINENO" "fcgiapp.h" "ac_cv_header_fcgiapp_h" "$ac_includes_default"
  18560. if test "x$ac_cv_header_fcgiapp_h" = xyes; then :
  18561. else
  18562. as_fn_error $? "FastCGI header file fcgiapp.h not found!" "$LINENO" 5
  18563. fi
  18564. fi
  18565. if test x$mysql = xtrue; then
  18566. if test "x$windows" = xtrue; then
  18567. ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
  18568. if test "x$ac_cv_header_mysql_h" = xyes; then :
  18569. else
  18570. as_fn_error $? "MySQL header file mysql.h not found!" "$LINENO" 5
  18571. fi
  18572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_database_init in -lmysql" >&5
  18573. $as_echo_n "checking for mysql_database_init in -lmysql... " >&6; }
  18574. if ${ac_cv_lib_mysql_mysql_database_init+:} false; then :
  18575. $as_echo_n "(cached) " >&6
  18576. else
  18577. ac_check_lib_save_LIBS=$LIBS
  18578. LIBS="-lmysql $LIBS"
  18579. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18580. /* end confdefs.h. */
  18581. /* Override any GCC internal prototype to avoid an error.
  18582. Use char because int might match the return type of a GCC
  18583. builtin and then its argument prototype would still apply. */
  18584. #ifdef __cplusplus
  18585. extern "C"
  18586. #endif
  18587. char mysql_database_init ();
  18588. int
  18589. main ()
  18590. {
  18591. return mysql_database_init ();
  18592. ;
  18593. return 0;
  18594. }
  18595. _ACEOF
  18596. if ac_fn_c_try_link "$LINENO"; then :
  18597. ac_cv_lib_mysql_mysql_database_init=yes
  18598. else
  18599. ac_cv_lib_mysql_mysql_database_init=no
  18600. fi
  18601. rm -f core conftest.err conftest.$ac_objext \
  18602. conftest$ac_exeext conftest.$ac_ext
  18603. LIBS=$ac_check_lib_save_LIBS
  18604. fi
  18605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysql_mysql_database_init" >&5
  18606. $as_echo "$ac_cv_lib_mysql_mysql_database_init" >&6; }
  18607. if test "x$ac_cv_lib_mysql_mysql_database_init" = xyes; then :
  18608. LIBS="$LIBS"
  18609. else
  18610. as_fn_error $? "MySQL library not found!" "$LINENO" 5
  18611. fi
  18612. MYSQLLIB=-lmysql
  18613. else
  18614. # Extract the first word of "mysql_config", so it can be a program name with args.
  18615. set dummy mysql_config; ac_word=$2
  18616. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  18617. $as_echo_n "checking for $ac_word... " >&6; }
  18618. if ${ac_cv_path_MYSQLCONFIG+:} false; then :
  18619. $as_echo_n "(cached) " >&6
  18620. else
  18621. case $MYSQLCONFIG in
  18622. [\\/]* | ?:[\\/]*)
  18623. ac_cv_path_MYSQLCONFIG="$MYSQLCONFIG" # Let the user override the test with a path.
  18624. ;;
  18625. *)
  18626. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  18627. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  18628. for as_dir in $as_dummy
  18629. do
  18630. IFS=$as_save_IFS
  18631. test -z "$as_dir" && as_dir=.
  18632. for ac_exec_ext in '' $ac_executable_extensions; do
  18633. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  18634. ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
  18635. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  18636. break 2
  18637. fi
  18638. done
  18639. done
  18640. IFS=$as_save_IFS
  18641. ;;
  18642. esac
  18643. fi
  18644. MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
  18645. if test -n "$MYSQLCONFIG"; then
  18646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQLCONFIG" >&5
  18647. $as_echo "$MYSQLCONFIG" >&6; }
  18648. else
  18649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18650. $as_echo "no" >&6; }
  18651. fi
  18652. if test x$MYSQLCONFIG = x; then
  18653. as_fn_error $? "mysql_config not found!" "$LINENO" 5
  18654. fi
  18655. MYSQLLIB=`$MYSQLCONFIG --libs_r`
  18656. MYSQLCFLAG=`$MYSQLCONFIG --cflags`
  18657. fi
  18658. fi
  18659. if test x$sqlite = xtrue; then
  18660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
  18661. $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
  18662. if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
  18663. $as_echo_n "(cached) " >&6
  18664. else
  18665. ac_check_lib_save_LIBS=$LIBS
  18666. LIBS="-lsqlite3 $LIBS"
  18667. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18668. /* end confdefs.h. */
  18669. /* Override any GCC internal prototype to avoid an error.
  18670. Use char because int might match the return type of a GCC
  18671. builtin and then its argument prototype would still apply. */
  18672. #ifdef __cplusplus
  18673. extern "C"
  18674. #endif
  18675. char sqlite3_open ();
  18676. int
  18677. main ()
  18678. {
  18679. return sqlite3_open ();
  18680. ;
  18681. return 0;
  18682. }
  18683. _ACEOF
  18684. if ac_fn_c_try_link "$LINENO"; then :
  18685. ac_cv_lib_sqlite3_sqlite3_open=yes
  18686. else
  18687. ac_cv_lib_sqlite3_sqlite3_open=no
  18688. fi
  18689. rm -f core conftest.err conftest.$ac_objext \
  18690. conftest$ac_exeext conftest.$ac_ext
  18691. LIBS=$ac_check_lib_save_LIBS
  18692. fi
  18693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
  18694. $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
  18695. if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
  18696. LIBS="$LIBS"
  18697. else
  18698. as_fn_error $? "SQLite library sqlite3 not found" "$LINENO" 5
  18699. fi
  18700. ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
  18701. if test "x$ac_cv_header_sqlite3_h" = xyes; then :
  18702. else
  18703. as_fn_error $? "SQLite header sqlite3.h not found!" "$LINENO" 5
  18704. fi
  18705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3_prepare_v2" >&5
  18706. $as_echo_n "checking sqlite3_prepare_v2... " >&6; }
  18707. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18708. /* end confdefs.h. */
  18709. #include <sqlite3.h>
  18710. int
  18711. main ()
  18712. {
  18713. void *test = sqlite3_prepare_v2;
  18714. ;
  18715. return 0;
  18716. }
  18717. _ACEOF
  18718. if ac_fn_c_try_compile "$LINENO"; then :
  18719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18720. $as_echo "yes" >&6; };
  18721. $as_echo "@%:@define HAVE_SQLITE3_PREPARE_V2 /**/" >>confdefs.h
  18722. else
  18723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18724. $as_echo "no" >&6; }
  18725. fi
  18726. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18727. { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3.h version >= 3.3.1" >&5
  18728. $as_echo_n "checking sqlite3.h version >= 3.3.1... " >&6; }
  18729. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18730. /* end confdefs.h. */
  18731. #include <sqlite3.h>
  18732. int
  18733. main ()
  18734. {
  18735. #if SQLITE_VERSION_NUMBER < 3003001
  18736. #error bad sqlite
  18737. #endif
  18738. ;
  18739. return 0;
  18740. }
  18741. _ACEOF
  18742. if ac_fn_c_try_compile "$LINENO"; then :
  18743. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18744. $as_echo "yes" >&6; }
  18745. else
  18746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18747. $as_echo "no" >&6; }; as_fn_error $? "SQLite version >= 3.3.1 required!" "$LINENO" 5
  18748. fi
  18749. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18750. fi
  18751. if test x$openssl = xtrue; then
  18752. if test "x$windows" = xtrue; then
  18753. openssl_lib=eay32
  18754. as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
  18755. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
  18756. $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
  18757. if eval \${$as_ac_Lib+:} false; then :
  18758. $as_echo_n "(cached) " >&6
  18759. else
  18760. ac_check_lib_save_LIBS=$LIBS
  18761. LIBS="-l$openssl_lib $DLLIB $LIBS"
  18762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18763. /* end confdefs.h. */
  18764. /* Override any GCC internal prototype to avoid an error.
  18765. Use char because int might match the return type of a GCC
  18766. builtin and then its argument prototype would still apply. */
  18767. #ifdef __cplusplus
  18768. extern "C"
  18769. #endif
  18770. char EVP_CIPHER_CTX_new ();
  18771. int
  18772. main ()
  18773. {
  18774. return EVP_CIPHER_CTX_new ();
  18775. ;
  18776. return 0;
  18777. }
  18778. _ACEOF
  18779. if ac_fn_c_try_link "$LINENO"; then :
  18780. eval "$as_ac_Lib=yes"
  18781. else
  18782. eval "$as_ac_Lib=no"
  18783. fi
  18784. rm -f core conftest.err conftest.$ac_objext \
  18785. conftest$ac_exeext conftest.$ac_ext
  18786. LIBS=$ac_check_lib_save_LIBS
  18787. fi
  18788. eval ac_res=\$$as_ac_Lib
  18789. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18790. $as_echo "$ac_res" >&6; }
  18791. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  18792. LIBS="$LIBS"
  18793. else
  18794. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18795. $as_echo "no" >&6; };openssl_lib=""
  18796. fi
  18797. fi
  18798. if test -z "$openssl_lib"; then
  18799. openssl_lib=crypto
  18800. as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
  18801. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
  18802. $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
  18803. if eval \${$as_ac_Lib+:} false; then :
  18804. $as_echo_n "(cached) " >&6
  18805. else
  18806. ac_check_lib_save_LIBS=$LIBS
  18807. LIBS="-l$openssl_lib $DLLIB $LIBS"
  18808. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18809. /* end confdefs.h. */
  18810. /* Override any GCC internal prototype to avoid an error.
  18811. Use char because int might match the return type of a GCC
  18812. builtin and then its argument prototype would still apply. */
  18813. #ifdef __cplusplus
  18814. extern "C"
  18815. #endif
  18816. char EVP_CIPHER_CTX_new ();
  18817. int
  18818. main ()
  18819. {
  18820. return EVP_CIPHER_CTX_new ();
  18821. ;
  18822. return 0;
  18823. }
  18824. _ACEOF
  18825. if ac_fn_c_try_link "$LINENO"; then :
  18826. eval "$as_ac_Lib=yes"
  18827. else
  18828. eval "$as_ac_Lib=no"
  18829. fi
  18830. rm -f core conftest.err conftest.$ac_objext \
  18831. conftest$ac_exeext conftest.$ac_ext
  18832. LIBS=$ac_check_lib_save_LIBS
  18833. fi
  18834. eval ac_res=\$$as_ac_Lib
  18835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18836. $as_echo "$ac_res" >&6; }
  18837. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  18838. LIBS="$LIBS"
  18839. else
  18840. as_fn_error $? "OpenSSL lib$openssl_lib not found" "$LINENO" 5
  18841. fi
  18842. fi
  18843. OPENSSL_LIB=-l$openssl_lib
  18844. ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
  18845. if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
  18846. else
  18847. as_fn_error $? "OpenSSL header openssl/evp.h not found!" "$LINENO" 5
  18848. fi
  18849. fi
  18850. if test x$wolfssl = xtrue; then
  18851. wolfssl_lib=wolfssl
  18852. as_ac_Lib=`$as_echo "ac_cv_lib_$wolfssl_lib''_wolfSSL_Init" | $as_tr_sh`
  18853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -l$wolfssl_lib" >&5
  18854. $as_echo_n "checking for wolfSSL_Init in -l$wolfssl_lib... " >&6; }
  18855. if eval \${$as_ac_Lib+:} false; then :
  18856. $as_echo_n "(cached) " >&6
  18857. else
  18858. ac_check_lib_save_LIBS=$LIBS
  18859. LIBS="-l$wolfssl_lib $DLLIB $LIBS"
  18860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18861. /* end confdefs.h. */
  18862. /* Override any GCC internal prototype to avoid an error.
  18863. Use char because int might match the return type of a GCC
  18864. builtin and then its argument prototype would still apply. */
  18865. #ifdef __cplusplus
  18866. extern "C"
  18867. #endif
  18868. char wolfSSL_Init ();
  18869. int
  18870. main ()
  18871. {
  18872. return wolfSSL_Init ();
  18873. ;
  18874. return 0;
  18875. }
  18876. _ACEOF
  18877. if ac_fn_c_try_link "$LINENO"; then :
  18878. eval "$as_ac_Lib=yes"
  18879. else
  18880. eval "$as_ac_Lib=no"
  18881. fi
  18882. rm -f core conftest.err conftest.$ac_objext \
  18883. conftest$ac_exeext conftest.$ac_ext
  18884. LIBS=$ac_check_lib_save_LIBS
  18885. fi
  18886. eval ac_res=\$$as_ac_Lib
  18887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18888. $as_echo "$ac_res" >&6; }
  18889. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  18890. LIBS="$LIBS"
  18891. else
  18892. as_fn_error $? "wolfSSL lib$wolfssl_lib not found" "$LINENO" 5
  18893. fi
  18894. WOLFSSL_LIB=-l$wolfssl_lib
  18895. ac_fn_c_check_header_mongrel "$LINENO" "wolfssl/options.h" "ac_cv_header_wolfssl_options_h" "$ac_includes_default"
  18896. if test "x$ac_cv_header_wolfssl_options_h" = xyes; then :
  18897. else
  18898. as_fn_error $? "wolfSSL header wolfssl/options.h not found!" "$LINENO" 5
  18899. fi
  18900. fi
  18901. if test x$gcrypt = xtrue; then
  18902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
  18903. $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
  18904. if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
  18905. $as_echo_n "(cached) " >&6
  18906. else
  18907. ac_check_lib_save_LIBS=$LIBS
  18908. LIBS="-lgcrypt -lgpg-error $LIBS"
  18909. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18910. /* end confdefs.h. */
  18911. /* Override any GCC internal prototype to avoid an error.
  18912. Use char because int might match the return type of a GCC
  18913. builtin and then its argument prototype would still apply. */
  18914. #ifdef __cplusplus
  18915. extern "C"
  18916. #endif
  18917. char gcry_control ();
  18918. int
  18919. main ()
  18920. {
  18921. return gcry_control ();
  18922. ;
  18923. return 0;
  18924. }
  18925. _ACEOF
  18926. if ac_fn_c_try_link "$LINENO"; then :
  18927. ac_cv_lib_gcrypt_gcry_control=yes
  18928. else
  18929. ac_cv_lib_gcrypt_gcry_control=no
  18930. fi
  18931. rm -f core conftest.err conftest.$ac_objext \
  18932. conftest$ac_exeext conftest.$ac_ext
  18933. LIBS=$ac_check_lib_save_LIBS
  18934. fi
  18935. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
  18936. $as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
  18937. if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
  18938. LIBS="$LIBS"
  18939. else
  18940. as_fn_error $? "gcrypt library not found" "$LINENO" 5
  18941. fi
  18942. ac_fn_c_check_header_mongrel "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
  18943. if test "x$ac_cv_header_gcrypt_h" = xyes; then :
  18944. else
  18945. as_fn_error $? "gcrypt header gcrypt.h not found!" "$LINENO" 5
  18946. fi
  18947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcrypt CAMELLIA cipher" >&5
  18948. $as_echo_n "checking gcrypt CAMELLIA cipher... " >&6; }
  18949. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18950. /* end confdefs.h. */
  18951. #include <gcrypt.h>
  18952. int
  18953. main ()
  18954. {
  18955. enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;
  18956. ;
  18957. return 0;
  18958. }
  18959. _ACEOF
  18960. if ac_fn_c_try_compile "$LINENO"; then :
  18961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18962. $as_echo "yes" >&6; };
  18963. $as_echo "@%:@define HAVE_GCRY_CIPHER_CAMELLIA /**/" >>confdefs.h
  18964. else
  18965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18966. $as_echo "no" >&6; }
  18967. fi
  18968. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18969. fi
  18970. if test x$botan = xtrue; then
  18971. pkg_failed=no
  18972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for botan" >&5
  18973. $as_echo_n "checking for botan... " >&6; }
  18974. if test -n "$botan_CFLAGS"; then
  18975. pkg_cv_botan_CFLAGS="$botan_CFLAGS"
  18976. elif test -n "$PKG_CONFIG"; then
  18977. if test -n "$PKG_CONFIG" && \
  18978. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
  18979. ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
  18980. ac_status=$?
  18981. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18982. test $ac_status = 0; }; then
  18983. pkg_cv_botan_CFLAGS=`$PKG_CONFIG --cflags "botan-2" 2>/dev/null`
  18984. test "x$?" != "x0" && pkg_failed=yes
  18985. else
  18986. pkg_failed=yes
  18987. fi
  18988. else
  18989. pkg_failed=untried
  18990. fi
  18991. if test -n "$botan_LIBS"; then
  18992. pkg_cv_botan_LIBS="$botan_LIBS"
  18993. elif test -n "$PKG_CONFIG"; then
  18994. if test -n "$PKG_CONFIG" && \
  18995. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
  18996. ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
  18997. ac_status=$?
  18998. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  18999. test $ac_status = 0; }; then
  19000. pkg_cv_botan_LIBS=`$PKG_CONFIG --libs "botan-2" 2>/dev/null`
  19001. test "x$?" != "x0" && pkg_failed=yes
  19002. else
  19003. pkg_failed=yes
  19004. fi
  19005. else
  19006. pkg_failed=untried
  19007. fi
  19008. if test $pkg_failed = yes; then
  19009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19010. $as_echo "no" >&6; }
  19011. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  19012. _pkg_short_errors_supported=yes
  19013. else
  19014. _pkg_short_errors_supported=no
  19015. fi
  19016. if test $_pkg_short_errors_supported = yes; then
  19017. botan_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "botan-2" 2>&1`
  19018. else
  19019. botan_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "botan-2" 2>&1`
  19020. fi
  19021. # Put the nasty error message in config.log where it belongs
  19022. echo "$botan_PKG_ERRORS" >&5
  19023. as_fn_error $? "Package requirements (botan-2) were not met:
  19024. $botan_PKG_ERRORS
  19025. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  19026. installed software in a non-standard prefix.
  19027. Alternatively, you may set the environment variables botan_CFLAGS
  19028. and botan_LIBS to avoid the need to call pkg-config.
  19029. See the pkg-config man page for more details." "$LINENO" 5
  19030. elif test $pkg_failed = untried; then
  19031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19032. $as_echo "no" >&6; }
  19033. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19034. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19035. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  19036. is in your PATH or set the PKG_CONFIG environment variable to the full
  19037. path to pkg-config.
  19038. Alternatively, you may set the environment variables botan_CFLAGS
  19039. and botan_LIBS to avoid the need to call pkg-config.
  19040. See the pkg-config man page for more details.
  19041. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  19042. See \`config.log' for more details" "$LINENO" 5; }
  19043. else
  19044. botan_CFLAGS=$pkg_cv_botan_CFLAGS
  19045. botan_LIBS=$pkg_cv_botan_LIBS
  19046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19047. $as_echo "yes" >&6; }
  19048. fi
  19049. fi
  19050. if test x$uci = xtrue; then
  19051. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uci_alloc_context in -luci" >&5
  19052. $as_echo_n "checking for uci_alloc_context in -luci... " >&6; }
  19053. if ${ac_cv_lib_uci_uci_alloc_context+:} false; then :
  19054. $as_echo_n "(cached) " >&6
  19055. else
  19056. ac_check_lib_save_LIBS=$LIBS
  19057. LIBS="-luci $LIBS"
  19058. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19059. /* end confdefs.h. */
  19060. /* Override any GCC internal prototype to avoid an error.
  19061. Use char because int might match the return type of a GCC
  19062. builtin and then its argument prototype would still apply. */
  19063. #ifdef __cplusplus
  19064. extern "C"
  19065. #endif
  19066. char uci_alloc_context ();
  19067. int
  19068. main ()
  19069. {
  19070. return uci_alloc_context ();
  19071. ;
  19072. return 0;
  19073. }
  19074. _ACEOF
  19075. if ac_fn_c_try_link "$LINENO"; then :
  19076. ac_cv_lib_uci_uci_alloc_context=yes
  19077. else
  19078. ac_cv_lib_uci_uci_alloc_context=no
  19079. fi
  19080. rm -f core conftest.err conftest.$ac_objext \
  19081. conftest$ac_exeext conftest.$ac_ext
  19082. LIBS=$ac_check_lib_save_LIBS
  19083. fi
  19084. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uci_uci_alloc_context" >&5
  19085. $as_echo "$ac_cv_lib_uci_uci_alloc_context" >&6; }
  19086. if test "x$ac_cv_lib_uci_uci_alloc_context" = xyes; then :
  19087. LIBS="$LIBS"
  19088. else
  19089. as_fn_error $? "UCI library libuci not found" "$LINENO" 5
  19090. fi
  19091. ac_fn_c_check_header_mongrel "$LINENO" "uci.h" "ac_cv_header_uci_h" "$ac_includes_default"
  19092. if test "x$ac_cv_header_uci_h" = xyes; then :
  19093. else
  19094. as_fn_error $? "UCI header uci.h not found!" "$LINENO" 5
  19095. fi
  19096. fi
  19097. if test x$android_dns = xtrue; then
  19098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for property_get in -lcutils" >&5
  19099. $as_echo_n "checking for property_get in -lcutils... " >&6; }
  19100. if ${ac_cv_lib_cutils_property_get+:} false; then :
  19101. $as_echo_n "(cached) " >&6
  19102. else
  19103. ac_check_lib_save_LIBS=$LIBS
  19104. LIBS="-lcutils $LIBS"
  19105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19106. /* end confdefs.h. */
  19107. /* Override any GCC internal prototype to avoid an error.
  19108. Use char because int might match the return type of a GCC
  19109. builtin and then its argument prototype would still apply. */
  19110. #ifdef __cplusplus
  19111. extern "C"
  19112. #endif
  19113. char property_get ();
  19114. int
  19115. main ()
  19116. {
  19117. return property_get ();
  19118. ;
  19119. return 0;
  19120. }
  19121. _ACEOF
  19122. if ac_fn_c_try_link "$LINENO"; then :
  19123. ac_cv_lib_cutils_property_get=yes
  19124. else
  19125. ac_cv_lib_cutils_property_get=no
  19126. fi
  19127. rm -f core conftest.err conftest.$ac_objext \
  19128. conftest$ac_exeext conftest.$ac_ext
  19129. LIBS=$ac_check_lib_save_LIBS
  19130. fi
  19131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cutils_property_get" >&5
  19132. $as_echo "$ac_cv_lib_cutils_property_get" >&6; }
  19133. if test "x$ac_cv_lib_cutils_property_get" = xyes; then :
  19134. LIBS="$LIBS"
  19135. else
  19136. as_fn_error $? "Android library libcutils not found" "$LINENO" 5
  19137. fi
  19138. ac_fn_c_check_header_mongrel "$LINENO" "cutils/properties.h" "ac_cv_header_cutils_properties_h" "$ac_includes_default"
  19139. if test "x$ac_cv_header_cutils_properties_h" = xyes; then :
  19140. else
  19141. as_fn_error $? "Android header cutils/properties.h not found!" "$LINENO" 5
  19142. fi
  19143. # we have to force the use of libdl here because the autodetection
  19144. # above does not work correctly when cross-compiling for android.
  19145. DLLIB="-ldl"
  19146. fi
  19147. if test x$eap_sim_pcsc = xtrue; then
  19148. pkg_failed=no
  19149. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcsclite" >&5
  19150. $as_echo_n "checking for pcsclite... " >&6; }
  19151. if test -n "$pcsclite_CFLAGS"; then
  19152. pkg_cv_pcsclite_CFLAGS="$pcsclite_CFLAGS"
  19153. elif test -n "$PKG_CONFIG"; then
  19154. if test -n "$PKG_CONFIG" && \
  19155. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
  19156. ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
  19157. ac_status=$?
  19158. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19159. test $ac_status = 0; }; then
  19160. pkg_cv_pcsclite_CFLAGS=`$PKG_CONFIG --cflags "libpcsclite" 2>/dev/null`
  19161. test "x$?" != "x0" && pkg_failed=yes
  19162. else
  19163. pkg_failed=yes
  19164. fi
  19165. else
  19166. pkg_failed=untried
  19167. fi
  19168. if test -n "$pcsclite_LIBS"; then
  19169. pkg_cv_pcsclite_LIBS="$pcsclite_LIBS"
  19170. elif test -n "$PKG_CONFIG"; then
  19171. if test -n "$PKG_CONFIG" && \
  19172. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
  19173. ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
  19174. ac_status=$?
  19175. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19176. test $ac_status = 0; }; then
  19177. pkg_cv_pcsclite_LIBS=`$PKG_CONFIG --libs "libpcsclite" 2>/dev/null`
  19178. test "x$?" != "x0" && pkg_failed=yes
  19179. else
  19180. pkg_failed=yes
  19181. fi
  19182. else
  19183. pkg_failed=untried
  19184. fi
  19185. if test $pkg_failed = yes; then
  19186. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19187. $as_echo "no" >&6; }
  19188. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  19189. _pkg_short_errors_supported=yes
  19190. else
  19191. _pkg_short_errors_supported=no
  19192. fi
  19193. if test $_pkg_short_errors_supported = yes; then
  19194. pcsclite_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcsclite" 2>&1`
  19195. else
  19196. pcsclite_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcsclite" 2>&1`
  19197. fi
  19198. # Put the nasty error message in config.log where it belongs
  19199. echo "$pcsclite_PKG_ERRORS" >&5
  19200. as_fn_error $? "Package requirements (libpcsclite) were not met:
  19201. $pcsclite_PKG_ERRORS
  19202. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  19203. installed software in a non-standard prefix.
  19204. Alternatively, you may set the environment variables pcsclite_CFLAGS
  19205. and pcsclite_LIBS to avoid the need to call pkg-config.
  19206. See the pkg-config man page for more details." "$LINENO" 5
  19207. elif test $pkg_failed = untried; then
  19208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19209. $as_echo "no" >&6; }
  19210. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19211. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19212. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  19213. is in your PATH or set the PKG_CONFIG environment variable to the full
  19214. path to pkg-config.
  19215. Alternatively, you may set the environment variables pcsclite_CFLAGS
  19216. and pcsclite_LIBS to avoid the need to call pkg-config.
  19217. See the pkg-config man page for more details.
  19218. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  19219. See \`config.log' for more details" "$LINENO" 5; }
  19220. else
  19221. pcsclite_CFLAGS=$pkg_cv_pcsclite_CFLAGS
  19222. pcsclite_LIBS=$pkg_cv_pcsclite_LIBS
  19223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19224. $as_echo "yes" >&6; }
  19225. fi
  19226. fi
  19227. if test x$nm = xtrue; then
  19228. pkg_failed=no
  19229. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm" >&5
  19230. $as_echo_n "checking for nm... " >&6; }
  19231. if test -n "$nm_CFLAGS"; then
  19232. pkg_cv_nm_CFLAGS="$nm_CFLAGS"
  19233. elif test -n "$PKG_CONFIG"; then
  19234. if test -n "$PKG_CONFIG" && \
  19235. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
  19236. ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
  19237. ac_status=$?
  19238. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19239. test $ac_status = 0; }; then
  19240. pkg_cv_nm_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 libnm" 2>/dev/null`
  19241. test "x$?" != "x0" && pkg_failed=yes
  19242. else
  19243. pkg_failed=yes
  19244. fi
  19245. else
  19246. pkg_failed=untried
  19247. fi
  19248. if test -n "$nm_LIBS"; then
  19249. pkg_cv_nm_LIBS="$nm_LIBS"
  19250. elif test -n "$PKG_CONFIG"; then
  19251. if test -n "$PKG_CONFIG" && \
  19252. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
  19253. ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
  19254. ac_status=$?
  19255. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19256. test $ac_status = 0; }; then
  19257. pkg_cv_nm_LIBS=`$PKG_CONFIG --libs "gthread-2.0 libnm" 2>/dev/null`
  19258. test "x$?" != "x0" && pkg_failed=yes
  19259. else
  19260. pkg_failed=yes
  19261. fi
  19262. else
  19263. pkg_failed=untried
  19264. fi
  19265. if test $pkg_failed = yes; then
  19266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19267. $as_echo "no" >&6; }
  19268. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  19269. _pkg_short_errors_supported=yes
  19270. else
  19271. _pkg_short_errors_supported=no
  19272. fi
  19273. if test $_pkg_short_errors_supported = yes; then
  19274. nm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
  19275. else
  19276. nm_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
  19277. fi
  19278. # Put the nasty error message in config.log where it belongs
  19279. echo "$nm_PKG_ERRORS" >&5
  19280. as_fn_error $? "Package requirements (gthread-2.0 libnm) were not met:
  19281. $nm_PKG_ERRORS
  19282. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  19283. installed software in a non-standard prefix.
  19284. Alternatively, you may set the environment variables nm_CFLAGS
  19285. and nm_LIBS to avoid the need to call pkg-config.
  19286. See the pkg-config man page for more details." "$LINENO" 5
  19287. elif test $pkg_failed = untried; then
  19288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19289. $as_echo "no" >&6; }
  19290. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19291. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19292. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  19293. is in your PATH or set the PKG_CONFIG environment variable to the full
  19294. path to pkg-config.
  19295. Alternatively, you may set the environment variables nm_CFLAGS
  19296. and nm_LIBS to avoid the need to call pkg-config.
  19297. See the pkg-config man page for more details.
  19298. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  19299. See \`config.log' for more details" "$LINENO" 5; }
  19300. else
  19301. nm_CFLAGS=$pkg_cv_nm_CFLAGS
  19302. nm_LIBS=$pkg_cv_nm_LIBS
  19303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19304. $as_echo "yes" >&6; }
  19305. fi
  19306. fi
  19307. if test x$xauth_pam = xtrue; then
  19308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
  19309. $as_echo_n "checking for pam_start in -lpam... " >&6; }
  19310. if ${ac_cv_lib_pam_pam_start+:} false; then :
  19311. $as_echo_n "(cached) " >&6
  19312. else
  19313. ac_check_lib_save_LIBS=$LIBS
  19314. LIBS="-lpam $LIBS"
  19315. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19316. /* end confdefs.h. */
  19317. /* Override any GCC internal prototype to avoid an error.
  19318. Use char because int might match the return type of a GCC
  19319. builtin and then its argument prototype would still apply. */
  19320. #ifdef __cplusplus
  19321. extern "C"
  19322. #endif
  19323. char pam_start ();
  19324. int
  19325. main ()
  19326. {
  19327. return pam_start ();
  19328. ;
  19329. return 0;
  19330. }
  19331. _ACEOF
  19332. if ac_fn_c_try_link "$LINENO"; then :
  19333. ac_cv_lib_pam_pam_start=yes
  19334. else
  19335. ac_cv_lib_pam_pam_start=no
  19336. fi
  19337. rm -f core conftest.err conftest.$ac_objext \
  19338. conftest$ac_exeext conftest.$ac_ext
  19339. LIBS=$ac_check_lib_save_LIBS
  19340. fi
  19341. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
  19342. $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
  19343. if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
  19344. LIBS="$LIBS"
  19345. else
  19346. as_fn_error $? "PAM library not found" "$LINENO" 5
  19347. fi
  19348. ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
  19349. if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
  19350. else
  19351. as_fn_error $? "PAM header security/pam_appl.h not found!" "$LINENO" 5
  19352. fi
  19353. fi
  19354. if test x$connmark = xtrue -o x$forecast = xtrue; then
  19355. pkg_failed=no
  19356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiptc" >&5
  19357. $as_echo_n "checking for libiptc... " >&6; }
  19358. if test -n "$libiptc_CFLAGS"; then
  19359. pkg_cv_libiptc_CFLAGS="$libiptc_CFLAGS"
  19360. elif test -n "$PKG_CONFIG"; then
  19361. if test -n "$PKG_CONFIG" && \
  19362. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiptc\""; } >&5
  19363. ($PKG_CONFIG --exists --print-errors "libiptc") 2>&5
  19364. ac_status=$?
  19365. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19366. test $ac_status = 0; }; then
  19367. pkg_cv_libiptc_CFLAGS=`$PKG_CONFIG --cflags "libiptc" 2>/dev/null`
  19368. test "x$?" != "x0" && pkg_failed=yes
  19369. else
  19370. pkg_failed=yes
  19371. fi
  19372. else
  19373. pkg_failed=untried
  19374. fi
  19375. if test -n "$libiptc_LIBS"; then
  19376. pkg_cv_libiptc_LIBS="$libiptc_LIBS"
  19377. elif test -n "$PKG_CONFIG"; then
  19378. if test -n "$PKG_CONFIG" && \
  19379. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiptc\""; } >&5
  19380. ($PKG_CONFIG --exists --print-errors "libiptc") 2>&5
  19381. ac_status=$?
  19382. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  19383. test $ac_status = 0; }; then
  19384. pkg_cv_libiptc_LIBS=`$PKG_CONFIG --libs "libiptc" 2>/dev/null`
  19385. test "x$?" != "x0" && pkg_failed=yes
  19386. else
  19387. pkg_failed=yes
  19388. fi
  19389. else
  19390. pkg_failed=untried
  19391. fi
  19392. if test $pkg_failed = yes; then
  19393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19394. $as_echo "no" >&6; }
  19395. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  19396. _pkg_short_errors_supported=yes
  19397. else
  19398. _pkg_short_errors_supported=no
  19399. fi
  19400. if test $_pkg_short_errors_supported = yes; then
  19401. libiptc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiptc" 2>&1`
  19402. else
  19403. libiptc_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiptc" 2>&1`
  19404. fi
  19405. # Put the nasty error message in config.log where it belongs
  19406. echo "$libiptc_PKG_ERRORS" >&5
  19407. as_fn_error $? "Package requirements (libiptc) were not met:
  19408. $libiptc_PKG_ERRORS
  19409. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  19410. installed software in a non-standard prefix.
  19411. Alternatively, you may set the environment variables libiptc_CFLAGS
  19412. and libiptc_LIBS to avoid the need to call pkg-config.
  19413. See the pkg-config man page for more details." "$LINENO" 5
  19414. elif test $pkg_failed = untried; then
  19415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19416. $as_echo "no" >&6; }
  19417. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  19418. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  19419. as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
  19420. is in your PATH or set the PKG_CONFIG environment variable to the full
  19421. path to pkg-config.
  19422. Alternatively, you may set the environment variables libiptc_CFLAGS
  19423. and libiptc_LIBS to avoid the need to call pkg-config.
  19424. See the pkg-config man page for more details.
  19425. To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  19426. See \`config.log' for more details" "$LINENO" 5; }
  19427. else
  19428. libiptc_CFLAGS=$pkg_cv_libiptc_CFLAGS
  19429. libiptc_LIBS=$pkg_cv_libiptc_LIBS
  19430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19431. $as_echo "yes" >&6; }
  19432. fi
  19433. fi
  19434. if test x$capabilities = xnative; then
  19435. { $as_echo "$as_me:${as_lineno-$LINENO}: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&5
  19436. $as_echo "$as_me: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&6;}
  19437. # Linux requires the following for capset(), Android does not have it,
  19438. # but defines capset() in unistd.h instead.
  19439. for ac_header in sys/capability.h
  19440. do :
  19441. ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
  19442. if test "x$ac_cv_header_sys_capability_h" = xyes; then :
  19443. cat >>confdefs.h <<_ACEOF
  19444. @%:@define HAVE_SYS_CAPABILITY_H 1
  19445. _ACEOF
  19446. fi
  19447. done
  19448. ac_fn_c_check_func "$LINENO" "capset" "ac_cv_func_capset"
  19449. if test "x$ac_cv_func_capset" = xyes; then :
  19450. else
  19451. as_fn_error $? "capset() not found!" "$LINENO" 5
  19452. fi
  19453. $as_echo "@%:@define CAPABILITIES_NATIVE /**/" >>confdefs.h
  19454. fi
  19455. if test x$capabilities = xlibcap; then
  19456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
  19457. $as_echo_n "checking for cap_init in -lcap... " >&6; }
  19458. if ${ac_cv_lib_cap_cap_init+:} false; then :
  19459. $as_echo_n "(cached) " >&6
  19460. else
  19461. ac_check_lib_save_LIBS=$LIBS
  19462. LIBS="-lcap $LIBS"
  19463. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19464. /* end confdefs.h. */
  19465. /* Override any GCC internal prototype to avoid an error.
  19466. Use char because int might match the return type of a GCC
  19467. builtin and then its argument prototype would still apply. */
  19468. #ifdef __cplusplus
  19469. extern "C"
  19470. #endif
  19471. char cap_init ();
  19472. int
  19473. main ()
  19474. {
  19475. return cap_init ();
  19476. ;
  19477. return 0;
  19478. }
  19479. _ACEOF
  19480. if ac_fn_c_try_link "$LINENO"; then :
  19481. ac_cv_lib_cap_cap_init=yes
  19482. else
  19483. ac_cv_lib_cap_cap_init=no
  19484. fi
  19485. rm -f core conftest.err conftest.$ac_objext \
  19486. conftest$ac_exeext conftest.$ac_ext
  19487. LIBS=$ac_check_lib_save_LIBS
  19488. fi
  19489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
  19490. $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
  19491. if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
  19492. LIBS="$LIBS"
  19493. else
  19494. as_fn_error $? "libcap library not found" "$LINENO" 5
  19495. fi
  19496. ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
  19497. if test "x$ac_cv_header_sys_capability_h" = xyes; then :
  19498. $as_echo "@%:@define HAVE_SYS_CAPABILITY_H /**/" >>confdefs.h
  19499. else
  19500. as_fn_error $? "libcap header sys/capability.h not found!" "$LINENO" 5
  19501. fi
  19502. $as_echo "@%:@define CAPABILITIES_LIBCAP /**/" >>confdefs.h
  19503. fi
  19504. if test x$integrity_test = xtrue; then
  19505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr()" >&5
  19506. $as_echo_n "checking for dladdr()... " >&6; }
  19507. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19508. /* end confdefs.h. */
  19509. #define _GNU_SOURCE
  19510. #include <dlfcn.h>
  19511. int
  19512. main ()
  19513. {
  19514. Dl_info info; dladdr(main, &info);
  19515. ;
  19516. return 0;
  19517. }
  19518. _ACEOF
  19519. if ac_fn_c_try_compile "$LINENO"; then :
  19520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19521. $as_echo "yes" >&6; }
  19522. else
  19523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19524. $as_echo "no" >&6; };
  19525. as_fn_error $? "dladdr() not supported, required by integrity-test!" "$LINENO" 5
  19526. fi
  19527. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19528. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl_iterate_phdr()" >&5
  19529. $as_echo_n "checking for dl_iterate_phdr()... " >&6; }
  19530. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19531. /* end confdefs.h. */
  19532. #define _GNU_SOURCE
  19533. #include <link.h>
  19534. int
  19535. main ()
  19536. {
  19537. dl_iterate_phdr((void*)0, (void*)0);
  19538. ;
  19539. return 0;
  19540. }
  19541. _ACEOF
  19542. if ac_fn_c_try_compile "$LINENO"; then :
  19543. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19544. $as_echo "yes" >&6; }
  19545. else
  19546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19547. $as_echo "no" >&6; };
  19548. as_fn_error $? "dl_iterate_phdr() not supported, required by integrity-test!" "$LINENO" 5
  19549. fi
  19550. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19551. fi
  19552. if test x$bfd_backtraces = xtrue; then
  19553. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
  19554. $as_echo_n "checking for bfd_init in -lbfd... " >&6; }
  19555. if ${ac_cv_lib_bfd_bfd_init+:} false; then :
  19556. $as_echo_n "(cached) " >&6
  19557. else
  19558. ac_check_lib_save_LIBS=$LIBS
  19559. LIBS="-lbfd $LIBS"
  19560. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19561. /* end confdefs.h. */
  19562. /* Override any GCC internal prototype to avoid an error.
  19563. Use char because int might match the return type of a GCC
  19564. builtin and then its argument prototype would still apply. */
  19565. #ifdef __cplusplus
  19566. extern "C"
  19567. #endif
  19568. char bfd_init ();
  19569. int
  19570. main ()
  19571. {
  19572. return bfd_init ();
  19573. ;
  19574. return 0;
  19575. }
  19576. _ACEOF
  19577. if ac_fn_c_try_link "$LINENO"; then :
  19578. ac_cv_lib_bfd_bfd_init=yes
  19579. else
  19580. ac_cv_lib_bfd_bfd_init=no
  19581. fi
  19582. rm -f core conftest.err conftest.$ac_objext \
  19583. conftest$ac_exeext conftest.$ac_ext
  19584. LIBS=$ac_check_lib_save_LIBS
  19585. fi
  19586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
  19587. $as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
  19588. if test "x$ac_cv_lib_bfd_bfd_init" = xyes; then :
  19589. LIBS="$LIBS"
  19590. else
  19591. as_fn_error $? "binutils libbfd not found!" "$LINENO" 5
  19592. fi
  19593. ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
  19594. if test "x$ac_cv_header_bfd_h" = xyes; then :
  19595. $as_echo "@%:@define HAVE_BFD_H /**/" >>confdefs.h
  19596. else
  19597. as_fn_error $? "binutils bfd.h header not found!" "$LINENO" 5
  19598. fi
  19599. BFDLIB="-lbfd"
  19600. fi
  19601. if test x$unwind_backtraces = xtrue; then
  19602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5
  19603. $as_echo_n "checking for unw_backtrace in -lunwind... " >&6; }
  19604. if ${ac_cv_lib_unwind_unw_backtrace+:} false; then :
  19605. $as_echo_n "(cached) " >&6
  19606. else
  19607. ac_check_lib_save_LIBS=$LIBS
  19608. LIBS="-lunwind $LIBS"
  19609. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19610. /* end confdefs.h. */
  19611. /* Override any GCC internal prototype to avoid an error.
  19612. Use char because int might match the return type of a GCC
  19613. builtin and then its argument prototype would still apply. */
  19614. #ifdef __cplusplus
  19615. extern "C"
  19616. #endif
  19617. char unw_backtrace ();
  19618. int
  19619. main ()
  19620. {
  19621. return unw_backtrace ();
  19622. ;
  19623. return 0;
  19624. }
  19625. _ACEOF
  19626. if ac_fn_c_try_link "$LINENO"; then :
  19627. ac_cv_lib_unwind_unw_backtrace=yes
  19628. else
  19629. ac_cv_lib_unwind_unw_backtrace=no
  19630. fi
  19631. rm -f core conftest.err conftest.$ac_objext \
  19632. conftest$ac_exeext conftest.$ac_ext
  19633. LIBS=$ac_check_lib_save_LIBS
  19634. fi
  19635. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5
  19636. $as_echo "$ac_cv_lib_unwind_unw_backtrace" >&6; }
  19637. if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes; then :
  19638. LIBS="$LIBS"
  19639. else
  19640. as_fn_error $? "libunwind not found!" "$LINENO" 5
  19641. fi
  19642. ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
  19643. if test "x$ac_cv_header_libunwind_h" = xyes; then :
  19644. $as_echo "@%:@define HAVE_LIBUNWIND_H /**/" >>confdefs.h
  19645. else
  19646. as_fn_error $? "libunwind.h header not found!" "$LINENO" 5
  19647. fi
  19648. UNWINDLIB="-lunwind"
  19649. fi
  19650. if test "x$dev_headers" != xno; then
  19651. USE_DEV_HEADERS_TRUE=
  19652. USE_DEV_HEADERS_FALSE='#'
  19653. else
  19654. USE_DEV_HEADERS_TRUE='#'
  19655. USE_DEV_HEADERS_FALSE=
  19656. fi
  19657. if test x$dev_headers = xyes; then
  19658. dev_headers="$includedir/strongswan"
  19659. fi
  19660. CFLAGS="$CFLAGS -include `pwd`/config.h"
  19661. if test x$tkm = xtrue; then
  19662. # Extract the first word of "gprbuild", so it can be a program name with args.
  19663. set dummy gprbuild; ac_word=$2
  19664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19665. $as_echo_n "checking for $ac_word... " >&6; }
  19666. if ${ac_cv_path_GPRBUILD+:} false; then :
  19667. $as_echo_n "(cached) " >&6
  19668. else
  19669. case $GPRBUILD in
  19670. [\\/]* | ?:[\\/]*)
  19671. ac_cv_path_GPRBUILD="$GPRBUILD" # Let the user override the test with a path.
  19672. ;;
  19673. *)
  19674. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19675. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19676. for as_dir in $as_dummy
  19677. do
  19678. IFS=$as_save_IFS
  19679. test -z "$as_dir" && as_dir=.
  19680. for ac_exec_ext in '' $ac_executable_extensions; do
  19681. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19682. ac_cv_path_GPRBUILD="$as_dir/$ac_word$ac_exec_ext"
  19683. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19684. break 2
  19685. fi
  19686. done
  19687. done
  19688. IFS=$as_save_IFS
  19689. ;;
  19690. esac
  19691. fi
  19692. GPRBUILD=$ac_cv_path_GPRBUILD
  19693. if test -n "$GPRBUILD"; then
  19694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRBUILD" >&5
  19695. $as_echo "$GPRBUILD" >&6; }
  19696. else
  19697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19698. $as_echo "no" >&6; }
  19699. fi
  19700. if test x$GPRBUILD = x; then
  19701. as_fn_error $? "gprbuild not found" "$LINENO" 5
  19702. fi
  19703. fi
  19704. if test x$coverage = xtrue; then
  19705. # Extract the first word of "lcov", so it can be a program name with args.
  19706. set dummy lcov; ac_word=$2
  19707. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19708. $as_echo_n "checking for $ac_word... " >&6; }
  19709. if ${ac_cv_path_LCOV+:} false; then :
  19710. $as_echo_n "(cached) " >&6
  19711. else
  19712. case $LCOV in
  19713. [\\/]* | ?:[\\/]*)
  19714. ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
  19715. ;;
  19716. *)
  19717. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19718. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19719. for as_dir in $as_dummy
  19720. do
  19721. IFS=$as_save_IFS
  19722. test -z "$as_dir" && as_dir=.
  19723. for ac_exec_ext in '' $ac_executable_extensions; do
  19724. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19725. ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
  19726. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19727. break 2
  19728. fi
  19729. done
  19730. done
  19731. IFS=$as_save_IFS
  19732. ;;
  19733. esac
  19734. fi
  19735. LCOV=$ac_cv_path_LCOV
  19736. if test -n "$LCOV"; then
  19737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
  19738. $as_echo "$LCOV" >&6; }
  19739. else
  19740. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19741. $as_echo "no" >&6; }
  19742. fi
  19743. if test x$LCOV = x; then
  19744. as_fn_error $? "lcov not found" "$LINENO" 5
  19745. fi
  19746. # Extract the first word of "genhtml", so it can be a program name with args.
  19747. set dummy genhtml; ac_word=$2
  19748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19749. $as_echo_n "checking for $ac_word... " >&6; }
  19750. if ${ac_cv_path_GENHTML+:} false; then :
  19751. $as_echo_n "(cached) " >&6
  19752. else
  19753. case $GENHTML in
  19754. [\\/]* | ?:[\\/]*)
  19755. ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
  19756. ;;
  19757. *)
  19758. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19759. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19760. for as_dir in $as_dummy
  19761. do
  19762. IFS=$as_save_IFS
  19763. test -z "$as_dir" && as_dir=.
  19764. for ac_exec_ext in '' $ac_executable_extensions; do
  19765. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19766. ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
  19767. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19768. break 2
  19769. fi
  19770. done
  19771. done
  19772. IFS=$as_save_IFS
  19773. ;;
  19774. esac
  19775. fi
  19776. GENHTML=$ac_cv_path_GENHTML
  19777. if test -n "$GENHTML"; then
  19778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
  19779. $as_echo "$GENHTML" >&6; }
  19780. else
  19781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19782. $as_echo "no" >&6; }
  19783. fi
  19784. if test x$GENHTML = x; then
  19785. as_fn_error $? "genhtml not found" "$LINENO" 5
  19786. fi
  19787. COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
  19788. COVERAGE_LDFLAGS="-fprofile-arcs"
  19789. PLUGIN_CFLAGS="$PLUGIN_CFLAGS $COVERAGE_CFLAGS"
  19790. { $as_echo "$as_me:${as_lineno-$LINENO}: coverage enabled, adding \"-g -O0\" to CFLAGS" >&5
  19791. $as_echo "$as_me: coverage enabled, adding \"-g -O0\" to CFLAGS" >&6;}
  19792. CFLAGS="${CFLAGS} -g -O0"
  19793. fi
  19794. if test x$fuzzing = xtrue; then
  19795. case "$libfuzzer" in
  19796. "")
  19797. { $as_echo "$as_me:${as_lineno-$LINENO}: fuzz targets enabled without libFuzzer, using local driver" >&5
  19798. $as_echo "$as_me: fuzz targets enabled without libFuzzer, using local driver" >&6;}
  19799. CFLAGS="${CFLAGS} -fsanitize=address"
  19800. libfuzzer="libFuzzerLocal.a"
  19801. ;;
  19802. "-fsanitize=fuzzer")
  19803. libfuzzer=""
  19804. FUZZING_CFLAGS="-fsanitize=fuzzer"
  19805. ;;
  19806. *)
  19807. # required for libFuzzer
  19808. FUZZING_LDFLAGS="-stdlib=libc++ -lstdc++"
  19809. if test "$SANITIZER" = "coverage"; then
  19810. FUZZING_LDFLAGS="$FUZZING_LDFLAGS -lm"
  19811. fi
  19812. ;;
  19813. esac
  19814. fi
  19815. if test x$ruby_gems = xtrue; then
  19816. # Extract the first word of "gem", so it can be a program name with args.
  19817. set dummy gem; ac_word=$2
  19818. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19819. $as_echo_n "checking for $ac_word... " >&6; }
  19820. if ${ac_cv_path_GEM+:} false; then :
  19821. $as_echo_n "(cached) " >&6
  19822. else
  19823. case $GEM in
  19824. [\\/]* | ?:[\\/]*)
  19825. ac_cv_path_GEM="$GEM" # Let the user override the test with a path.
  19826. ;;
  19827. *)
  19828. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19829. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19830. for as_dir in $as_dummy
  19831. do
  19832. IFS=$as_save_IFS
  19833. test -z "$as_dir" && as_dir=.
  19834. for ac_exec_ext in '' $ac_executable_extensions; do
  19835. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19836. ac_cv_path_GEM="$as_dir/$ac_word$ac_exec_ext"
  19837. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19838. break 2
  19839. fi
  19840. done
  19841. done
  19842. IFS=$as_save_IFS
  19843. ;;
  19844. esac
  19845. fi
  19846. GEM=$ac_cv_path_GEM
  19847. if test -n "$GEM"; then
  19848. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEM" >&5
  19849. $as_echo "$GEM" >&6; }
  19850. else
  19851. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19852. $as_echo "no" >&6; }
  19853. fi
  19854. if test x$GEM = x; then
  19855. as_fn_error $? "RubyGems package manager not found" "$LINENO" 5
  19856. fi
  19857. if test "x$rubygemdir" = "xgem environment gemdir"; then
  19858. rubygemdir=$($GEM environment gemdir)
  19859. fi
  19860. RUBYGEMDIR="$rubygemdir"
  19861. fi
  19862. if test "x$ruby_gems_install" = xtrue; then
  19863. RUBY_GEMS_INSTALL_TRUE=
  19864. RUBY_GEMS_INSTALL_FALSE='#'
  19865. else
  19866. RUBY_GEMS_INSTALL_TRUE='#'
  19867. RUBY_GEMS_INSTALL_FALSE=
  19868. fi
  19869. if test x$python_eggs = xtrue; then
  19870. PYTHON_PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | $SED 's/dr/.dev/'`
  19871. if test x$python_eggs_install = xtrue; then
  19872. # Extract the first word of "easy_install", so it can be a program name with args.
  19873. set dummy easy_install; ac_word=$2
  19874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19875. $as_echo_n "checking for $ac_word... " >&6; }
  19876. if ${ac_cv_path_EASY_INSTALL+:} false; then :
  19877. $as_echo_n "(cached) " >&6
  19878. else
  19879. case $EASY_INSTALL in
  19880. [\\/]* | ?:[\\/]*)
  19881. ac_cv_path_EASY_INSTALL="$EASY_INSTALL" # Let the user override the test with a path.
  19882. ;;
  19883. *)
  19884. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19885. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19886. for as_dir in $as_dummy
  19887. do
  19888. IFS=$as_save_IFS
  19889. test -z "$as_dir" && as_dir=.
  19890. for ac_exec_ext in '' $ac_executable_extensions; do
  19891. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19892. ac_cv_path_EASY_INSTALL="$as_dir/$ac_word$ac_exec_ext"
  19893. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19894. break 2
  19895. fi
  19896. done
  19897. done
  19898. IFS=$as_save_IFS
  19899. ;;
  19900. esac
  19901. fi
  19902. EASY_INSTALL=$ac_cv_path_EASY_INSTALL
  19903. if test -n "$EASY_INSTALL"; then
  19904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EASY_INSTALL" >&5
  19905. $as_echo "$EASY_INSTALL" >&6; }
  19906. else
  19907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19908. $as_echo "no" >&6; }
  19909. fi
  19910. if test x$EASY_INSTALL = x; then
  19911. as_fn_error $? "Python easy_install not found" "$LINENO" 5
  19912. fi
  19913. fi
  19914. if test "x$pythoneggdir" = "xmain site-packages directory"; then
  19915. PYTHONEGGINSTALLDIR=""
  19916. else
  19917. PYTHONEGGINSTALLDIR="--install-dir $pythoneggdir"
  19918. fi
  19919. # Extract the first word of "py.test", so it can be a program name with args.
  19920. set dummy py.test; ac_word=$2
  19921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19922. $as_echo_n "checking for $ac_word... " >&6; }
  19923. if ${ac_cv_path_PY_TEST+:} false; then :
  19924. $as_echo_n "(cached) " >&6
  19925. else
  19926. case $PY_TEST in
  19927. [\\/]* | ?:[\\/]*)
  19928. ac_cv_path_PY_TEST="$PY_TEST" # Let the user override the test with a path.
  19929. ;;
  19930. *)
  19931. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19932. as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
  19933. for as_dir in $as_dummy
  19934. do
  19935. IFS=$as_save_IFS
  19936. test -z "$as_dir" && as_dir=.
  19937. for ac_exec_ext in '' $ac_executable_extensions; do
  19938. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19939. ac_cv_path_PY_TEST="$as_dir/$ac_word$ac_exec_ext"
  19940. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19941. break 2
  19942. fi
  19943. done
  19944. done
  19945. IFS=$as_save_IFS
  19946. ;;
  19947. esac
  19948. fi
  19949. PY_TEST=$ac_cv_path_PY_TEST
  19950. if test -n "$PY_TEST"; then
  19951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_TEST" >&5
  19952. $as_echo "$PY_TEST" >&6; }
  19953. else
  19954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19955. $as_echo "no" >&6; }
  19956. fi
  19957. fi
  19958. if test "x$python_eggs_install" = xtrue; then
  19959. PYTHON_EGGS_INSTALL_TRUE=
  19960. PYTHON_EGGS_INSTALL_FALSE='#'
  19961. else
  19962. PYTHON_EGGS_INSTALL_TRUE='#'
  19963. PYTHON_EGGS_INSTALL_FALSE=
  19964. fi
  19965. if test "x$perl_cpan_install" = xtrue; then
  19966. PERL_CPAN_INSTALL_TRUE=
  19967. PERL_CPAN_INSTALL_FALSE='#'
  19968. else
  19969. PERL_CPAN_INSTALL_TRUE='#'
  19970. PERL_CPAN_INSTALL_FALSE=
  19971. fi
  19972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if plugin constructors should be resolved statically" >&5
  19973. $as_echo_n "checking if plugin constructors should be resolved statically... " >&6; }
  19974. if ${ss_cv_static_plugin_constructors+:} false; then :
  19975. $as_echo_n "(cached) " >&6
  19976. else
  19977. if test x$monolithic = xtrue -a x$enable_static = xyes; then
  19978. ss_cv_static_plugin_constructors=yes
  19979. else
  19980. ss_cv_static_plugin_constructors="no (enabled for static, monolithic builds)"
  19981. fi
  19982. fi
  19983. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ss_cv_static_plugin_constructors" >&5
  19984. $as_echo "$ss_cv_static_plugin_constructors" >&6; }
  19985. if test "x$ss_cv_static_plugin_constructors" = xyes; then
  19986. static_plugin_constructors=true
  19987. fi
  19988. # ===============================================
  19989. # collect plugin list for strongSwan components
  19990. # ===============================================
  19991. # ADD_PLUGIN(plugin, category list)
  19992. # -----------------------------------
  19993. # Append the plugin name $1 to the category list variable $2_plugin
  19994. # plugin lists for all components
  19995. charon_plugins=
  19996. starter_plugins=
  19997. pool_plugins=
  19998. attest_plugins=
  19999. scepclient_plugins=
  20000. pki_plugins=
  20001. scripts_plugins=
  20002. fuzz_plugins=
  20003. manager_plugins=
  20004. medsrv_plugins=
  20005. nm_plugins=
  20006. cmd_plugins=
  20007. aikgen_plugins=
  20008. # location specific lists for checksumming,
  20009. # for src/libcharon, src/libstrongswan, src/libtnccs and src/libtpmtss
  20010. c_plugins=
  20011. s_plugins=
  20012. t_plugins=
  20013. p_plugins=
  20014. if test x$test_vectors = xtrue; then
  20015. s_plugins=${s_plugins}" test-vectors"
  20016. charon_plugins=${charon_plugins}" test-vectors"
  20017. scepclient_plugins=${scepclient_plugins}" test-vectors"
  20018. pki_plugins=${pki_plugins}" test-vectors"
  20019. fi
  20020. if test x$unbound = xtrue; then
  20021. s_plugins=${s_plugins}" unbound"
  20022. charon_plugins=${charon_plugins}" unbound"
  20023. scripts_plugins=${scripts_plugins}" unbound"
  20024. fi
  20025. if test x$ldap = xtrue; then
  20026. s_plugins=${s_plugins}" ldap"
  20027. charon_plugins=${charon_plugins}" ldap"
  20028. scepclient_plugins=${scepclient_plugins}" ldap"
  20029. scripts_plugins=${scripts_plugins}" ldap"
  20030. nm_plugins=${nm_plugins}" ldap"
  20031. cmd_plugins=${cmd_plugins}" ldap"
  20032. fi
  20033. if test x$pkcs11 = xtrue; then
  20034. s_plugins=${s_plugins}" pkcs11"
  20035. charon_plugins=${charon_plugins}" pkcs11"
  20036. pki_plugins=${pki_plugins}" pkcs11"
  20037. nm_plugins=${nm_plugins}" pkcs11"
  20038. cmd_plugins=${cmd_plugins}" pkcs11"
  20039. fi
  20040. if test x$tpm = xtrue; then
  20041. p_plugins=${p_plugins}" tpm"
  20042. charon_plugins=${charon_plugins}" tpm"
  20043. pki_plugins=${pki_plugins}" tpm"
  20044. nm_plugins=${nm_plugins}" tpm"
  20045. cmd_plugins=${cmd_plugins}" tpm"
  20046. fi
  20047. if test x$aesni = xtrue; then
  20048. s_plugins=${s_plugins}" aesni"
  20049. charon_plugins=${charon_plugins}" aesni"
  20050. scepclient_plugins=${scepclient_plugins}" aesni"
  20051. pki_plugins=${pki_plugins}" aesni"
  20052. scripts_plugins=${scripts_plugins}" aesni"
  20053. medsrv_plugins=${medsrv_plugins}" aesni"
  20054. attest_plugins=${attest_plugins}" aesni"
  20055. nm_plugins=${nm_plugins}" aesni"
  20056. cmd_plugins=${cmd_plugins}" aesni"
  20057. aikgen_plugins=${aikgen_plugins}" aesni"
  20058. fi
  20059. if test x$aes = xtrue; then
  20060. s_plugins=${s_plugins}" aes"
  20061. charon_plugins=${charon_plugins}" aes"
  20062. scepclient_plugins=${scepclient_plugins}" aes"
  20063. pki_plugins=${pki_plugins}" aes"
  20064. scripts_plugins=${scripts_plugins}" aes"
  20065. nm_plugins=${nm_plugins}" aes"
  20066. cmd_plugins=${cmd_plugins}" aes"
  20067. fi
  20068. if test x$des = xtrue; then
  20069. s_plugins=${s_plugins}" des"
  20070. charon_plugins=${charon_plugins}" des"
  20071. scepclient_plugins=${scepclient_plugins}" des"
  20072. pki_plugins=${pki_plugins}" des"
  20073. scripts_plugins=${scripts_plugins}" des"
  20074. nm_plugins=${nm_plugins}" des"
  20075. cmd_plugins=${cmd_plugins}" des"
  20076. fi
  20077. if test x$blowfish = xtrue; then
  20078. s_plugins=${s_plugins}" blowfish"
  20079. charon_plugins=${charon_plugins}" blowfish"
  20080. scepclient_plugins=${scepclient_plugins}" blowfish"
  20081. pki_plugins=${pki_plugins}" blowfish"
  20082. scripts_plugins=${scripts_plugins}" blowfish"
  20083. nm_plugins=${nm_plugins}" blowfish"
  20084. cmd_plugins=${cmd_plugins}" blowfish"
  20085. fi
  20086. if test x$rc2 = xtrue; then
  20087. s_plugins=${s_plugins}" rc2"
  20088. charon_plugins=${charon_plugins}" rc2"
  20089. scepclient_plugins=${scepclient_plugins}" rc2"
  20090. pki_plugins=${pki_plugins}" rc2"
  20091. scripts_plugins=${scripts_plugins}" rc2"
  20092. nm_plugins=${nm_plugins}" rc2"
  20093. cmd_plugins=${cmd_plugins}" rc2"
  20094. fi
  20095. if test x$sha2 = xtrue; then
  20096. s_plugins=${s_plugins}" sha2"
  20097. charon_plugins=${charon_plugins}" sha2"
  20098. scepclient_plugins=${scepclient_plugins}" sha2"
  20099. pki_plugins=${pki_plugins}" sha2"
  20100. scripts_plugins=${scripts_plugins}" sha2"
  20101. medsrv_plugins=${medsrv_plugins}" sha2"
  20102. attest_plugins=${attest_plugins}" sha2"
  20103. nm_plugins=${nm_plugins}" sha2"
  20104. cmd_plugins=${cmd_plugins}" sha2"
  20105. aikgen_plugins=${aikgen_plugins}" sha2"
  20106. fuzz_plugins=${fuzz_plugins}" sha2"
  20107. fi
  20108. if test x$sha3 = xtrue; then
  20109. s_plugins=${s_plugins}" sha3"
  20110. charon_plugins=${charon_plugins}" sha3"
  20111. scepclient_plugins=${scepclient_plugins}" sha3"
  20112. pki_plugins=${pki_plugins}" sha3"
  20113. scripts_plugins=${scripts_plugins}" sha3"
  20114. medsrv_plugins=${medsrv_plugins}" sha3"
  20115. attest_plugins=${attest_plugins}" sha3"
  20116. nm_plugins=${nm_plugins}" sha3"
  20117. cmd_plugins=${cmd_plugins}" sha3"
  20118. aikgen_plugins=${aikgen_plugins}" sha3"
  20119. fuzz_plugins=${fuzz_plugins}" sha3"
  20120. fi
  20121. if test x$sha1 = xtrue; then
  20122. s_plugins=${s_plugins}" sha1"
  20123. charon_plugins=${charon_plugins}" sha1"
  20124. scepclient_plugins=${scepclient_plugins}" sha1"
  20125. pki_plugins=${pki_plugins}" sha1"
  20126. scripts_plugins=${scripts_plugins}" sha1"
  20127. manager_plugins=${manager_plugins}" sha1"
  20128. medsrv_plugins=${medsrv_plugins}" sha1"
  20129. attest_plugins=${attest_plugins}" sha1"
  20130. nm_plugins=${nm_plugins}" sha1"
  20131. cmd_plugins=${cmd_plugins}" sha1"
  20132. aikgen_plugins=${aikgen_plugins}" sha1"
  20133. fuzz_plugins=${fuzz_plugins}" sha1"
  20134. fi
  20135. if test x$md4 = xtrue; then
  20136. s_plugins=${s_plugins}" md4"
  20137. charon_plugins=${charon_plugins}" md4"
  20138. scepclient_plugins=${scepclient_plugins}" md4"
  20139. pki_plugins=${pki_plugins}" md4"
  20140. nm_plugins=${nm_plugins}" md4"
  20141. cmd_plugins=${cmd_plugins}" md4"
  20142. fi
  20143. if test x$md5 = xtrue; then
  20144. s_plugins=${s_plugins}" md5"
  20145. charon_plugins=${charon_plugins}" md5"
  20146. scepclient_plugins=${scepclient_plugins}" md5"
  20147. pki_plugins=${pki_plugins}" md5"
  20148. scripts_plugins=${scripts_plugins}" md5"
  20149. attest_plugins=${attest_plugins}" md5"
  20150. nm_plugins=${nm_plugins}" md5"
  20151. cmd_plugins=${cmd_plugins}" md5"
  20152. aikgen_plugins=${aikgen_plugins}" md5"
  20153. fi
  20154. if test x$mgf1 = xtrue; then
  20155. s_plugins=${s_plugins}" mgf1"
  20156. charon_plugins=${charon_plugins}" mgf1"
  20157. scepclient_plugins=${scepclient_plugins}" mgf1"
  20158. pki_plugins=${pki_plugins}" mgf1"
  20159. scripts_plugins=${scripts_plugins}" mgf1"
  20160. medsrv_plugins=${medsrv_plugins}" mgf1"
  20161. attest_plugins=${attest_plugins}" mgf1"
  20162. nm_plugins=${nm_plugins}" mgf1"
  20163. cmd_plugins=${cmd_plugins}" mgf1"
  20164. aikgen_plugins=${aikgen_plugins}" mgf1"
  20165. fi
  20166. if test x$rdrand = xtrue; then
  20167. s_plugins=${s_plugins}" rdrand"
  20168. charon_plugins=${charon_plugins}" rdrand"
  20169. scepclient_plugins=${scepclient_plugins}" rdrand"
  20170. pki_plugins=${pki_plugins}" rdrand"
  20171. scripts_plugins=${scripts_plugins}" rdrand"
  20172. medsrv_plugins=${medsrv_plugins}" rdrand"
  20173. attest_plugins=${attest_plugins}" rdrand"
  20174. nm_plugins=${nm_plugins}" rdrand"
  20175. cmd_plugins=${cmd_plugins}" rdrand"
  20176. aikgen_plugins=${aikgen_plugins}" rdrand"
  20177. fi
  20178. if test x$random = xtrue; then
  20179. s_plugins=${s_plugins}" random"
  20180. charon_plugins=${charon_plugins}" random"
  20181. scepclient_plugins=${scepclient_plugins}" random"
  20182. pki_plugins=${pki_plugins}" random"
  20183. scripts_plugins=${scripts_plugins}" random"
  20184. manager_plugins=${manager_plugins}" random"
  20185. medsrv_plugins=${medsrv_plugins}" random"
  20186. attest_plugins=${attest_plugins}" random"
  20187. nm_plugins=${nm_plugins}" random"
  20188. cmd_plugins=${cmd_plugins}" random"
  20189. aikgen_plugins=${aikgen_plugins}" random"
  20190. fi
  20191. if test x$nonce = xtrue; then
  20192. s_plugins=${s_plugins}" nonce"
  20193. charon_plugins=${charon_plugins}" nonce"
  20194. nm_plugins=${nm_plugins}" nonce"
  20195. cmd_plugins=${cmd_plugins}" nonce"
  20196. aikgen_plugins=${aikgen_plugins}" nonce"
  20197. fi
  20198. if test x$x509 = xtrue; then
  20199. s_plugins=${s_plugins}" x509"
  20200. charon_plugins=${charon_plugins}" x509"
  20201. scepclient_plugins=${scepclient_plugins}" x509"
  20202. pki_plugins=${pki_plugins}" x509"
  20203. scripts_plugins=${scripts_plugins}" x509"
  20204. attest_plugins=${attest_plugins}" x509"
  20205. nm_plugins=${nm_plugins}" x509"
  20206. cmd_plugins=${cmd_plugins}" x509"
  20207. aikgen_plugins=${aikgen_plugins}" x509"
  20208. fuzz_plugins=${fuzz_plugins}" x509"
  20209. fi
  20210. if test x$revocation = xtrue; then
  20211. s_plugins=${s_plugins}" revocation"
  20212. charon_plugins=${charon_plugins}" revocation"
  20213. pki_plugins=${pki_plugins}" revocation"
  20214. nm_plugins=${nm_plugins}" revocation"
  20215. cmd_plugins=${cmd_plugins}" revocation"
  20216. fi
  20217. if test x$constraints = xtrue; then
  20218. s_plugins=${s_plugins}" constraints"
  20219. charon_plugins=${charon_plugins}" constraints"
  20220. nm_plugins=${nm_plugins}" constraints"
  20221. cmd_plugins=${cmd_plugins}" constraints"
  20222. fi
  20223. if test x$acert = xtrue; then
  20224. s_plugins=${s_plugins}" acert"
  20225. charon_plugins=${charon_plugins}" acert"
  20226. fi
  20227. if test x$pubkey = xtrue; then
  20228. s_plugins=${s_plugins}" pubkey"
  20229. charon_plugins=${charon_plugins}" pubkey"
  20230. pki_plugins=${pki_plugins}" pubkey"
  20231. cmd_plugins=${cmd_plugins}" pubkey"
  20232. aikgen_plugins=${aikgen_plugins}" pubkey"
  20233. fi
  20234. if test x$pkcs1 = xtrue; then
  20235. s_plugins=${s_plugins}" pkcs1"
  20236. charon_plugins=${charon_plugins}" pkcs1"
  20237. scepclient_plugins=${scepclient_plugins}" pkcs1"
  20238. pki_plugins=${pki_plugins}" pkcs1"
  20239. scripts_plugins=${scripts_plugins}" pkcs1"
  20240. manager_plugins=${manager_plugins}" pkcs1"
  20241. medsrv_plugins=${medsrv_plugins}" pkcs1"
  20242. attest_plugins=${attest_plugins}" pkcs1"
  20243. nm_plugins=${nm_plugins}" pkcs1"
  20244. cmd_plugins=${cmd_plugins}" pkcs1"
  20245. aikgen_plugins=${aikgen_plugins}" pkcs1"
  20246. fuzz_plugins=${fuzz_plugins}" pkcs1"
  20247. fi
  20248. if test x$pkcs7 = xtrue; then
  20249. s_plugins=${s_plugins}" pkcs7"
  20250. charon_plugins=${charon_plugins}" pkcs7"
  20251. scepclient_plugins=${scepclient_plugins}" pkcs7"
  20252. pki_plugins=${pki_plugins}" pkcs7"
  20253. scripts_plugins=${scripts_plugins}" pkcs7"
  20254. nm_plugins=${nm_plugins}" pkcs7"
  20255. cmd_plugins=${cmd_plugins}" pkcs7"
  20256. fi
  20257. if test x$pkcs8 = xtrue; then
  20258. s_plugins=${s_plugins}" pkcs8"
  20259. charon_plugins=${charon_plugins}" pkcs8"
  20260. scepclient_plugins=${scepclient_plugins}" pkcs8"
  20261. pki_plugins=${pki_plugins}" pkcs8"
  20262. scripts_plugins=${scripts_plugins}" pkcs8"
  20263. manager_plugins=${manager_plugins}" pkcs8"
  20264. medsrv_plugins=${medsrv_plugins}" pkcs8"
  20265. attest_plugins=${attest_plugins}" pkcs8"
  20266. nm_plugins=${nm_plugins}" pkcs8"
  20267. cmd_plugins=${cmd_plugins}" pkcs8"
  20268. fi
  20269. if test x$pkcs12 = xtrue; then
  20270. s_plugins=${s_plugins}" pkcs12"
  20271. charon_plugins=${charon_plugins}" pkcs12"
  20272. scepclient_plugins=${scepclient_plugins}" pkcs12"
  20273. pki_plugins=${pki_plugins}" pkcs12"
  20274. scripts_plugins=${scripts_plugins}" pkcs12"
  20275. cmd_plugins=${cmd_plugins}" pkcs12"
  20276. fi
  20277. if test x$pgp = xtrue; then
  20278. s_plugins=${s_plugins}" pgp"
  20279. charon_plugins=${charon_plugins}" pgp"
  20280. fi
  20281. if test x$dnskey = xtrue; then
  20282. s_plugins=${s_plugins}" dnskey"
  20283. charon_plugins=${charon_plugins}" dnskey"
  20284. pki_plugins=${pki_plugins}" dnskey"
  20285. fi
  20286. if test x$sshkey = xtrue; then
  20287. s_plugins=${s_plugins}" sshkey"
  20288. charon_plugins=${charon_plugins}" sshkey"
  20289. pki_plugins=${pki_plugins}" sshkey"
  20290. nm_plugins=${nm_plugins}" sshkey"
  20291. cmd_plugins=${cmd_plugins}" sshkey"
  20292. fi
  20293. if test x$dnscert = xtrue; then
  20294. c_plugins=${c_plugins}" dnscert"
  20295. charon_plugins=${charon_plugins}" dnscert"
  20296. fi
  20297. if test x$ipseckey = xtrue; then
  20298. c_plugins=${c_plugins}" ipseckey"
  20299. charon_plugins=${charon_plugins}" ipseckey"
  20300. fi
  20301. if test x$pem = xtrue; then
  20302. s_plugins=${s_plugins}" pem"
  20303. charon_plugins=${charon_plugins}" pem"
  20304. scepclient_plugins=${scepclient_plugins}" pem"
  20305. pki_plugins=${pki_plugins}" pem"
  20306. scripts_plugins=${scripts_plugins}" pem"
  20307. manager_plugins=${manager_plugins}" pem"
  20308. medsrv_plugins=${medsrv_plugins}" pem"
  20309. attest_plugins=${attest_plugins}" pem"
  20310. nm_plugins=${nm_plugins}" pem"
  20311. cmd_plugins=${cmd_plugins}" pem"
  20312. aikgen_plugins=${aikgen_plugins}" pem"
  20313. fuzz_plugins=${fuzz_plugins}" pem"
  20314. fi
  20315. if test x$padlock = xtrue; then
  20316. s_plugins=${s_plugins}" padlock"
  20317. charon_plugins=${charon_plugins}" padlock"
  20318. fi
  20319. if test x$openssl = xtrue; then
  20320. s_plugins=${s_plugins}" openssl"
  20321. charon_plugins=${charon_plugins}" openssl"
  20322. scepclient_plugins=${scepclient_plugins}" openssl"
  20323. pki_plugins=${pki_plugins}" openssl"
  20324. scripts_plugins=${scripts_plugins}" openssl"
  20325. manager_plugins=${manager_plugins}" openssl"
  20326. medsrv_plugins=${medsrv_plugins}" openssl"
  20327. attest_plugins=${attest_plugins}" openssl"
  20328. nm_plugins=${nm_plugins}" openssl"
  20329. cmd_plugins=${cmd_plugins}" openssl"
  20330. aikgen_plugins=${aikgen_plugins}" openssl"
  20331. fi
  20332. if test x$wolfssl = xtrue; then
  20333. s_plugins=${s_plugins}" wolfssl"
  20334. charon_plugins=${charon_plugins}" wolfssl"
  20335. scepclient_plugins=${scepclient_plugins}" wolfssl"
  20336. pki_plugins=${pki_plugins}" wolfssl"
  20337. scripts_plugins=${scripts_plugins}" wolfssl"
  20338. manager_plugins=${manager_plugins}" wolfssl"
  20339. medsrv_plugins=${medsrv_plugins}" wolfssl"
  20340. attest_plugins=${attest_plugins}" wolfssl"
  20341. nm_plugins=${nm_plugins}" wolfssl"
  20342. cmd_plugins=${cmd_plugins}" wolfssl"
  20343. aikgen_plugins=${aikgen_plugins}" wolfssl"
  20344. fi
  20345. if test x$gcrypt = xtrue; then
  20346. s_plugins=${s_plugins}" gcrypt"
  20347. charon_plugins=${charon_plugins}" gcrypt"
  20348. scepclient_plugins=${scepclient_plugins}" gcrypt"
  20349. pki_plugins=${pki_plugins}" gcrypt"
  20350. scripts_plugins=${scripts_plugins}" gcrypt"
  20351. manager_plugins=${manager_plugins}" gcrypt"
  20352. medsrv_plugins=${medsrv_plugins}" gcrypt"
  20353. attest_plugins=${attest_plugins}" gcrypt"
  20354. nm_plugins=${nm_plugins}" gcrypt"
  20355. cmd_plugins=${cmd_plugins}" gcrypt"
  20356. aikgen_plugins=${aikgen_plugins}" gcrypt"
  20357. fi
  20358. if test x$botan = xtrue; then
  20359. s_plugins=${s_plugins}" botan"
  20360. charon_plugins=${charon_plugins}" botan"
  20361. scepclient_plugins=${scepclient_plugins}" botan"
  20362. pki_plugins=${pki_plugins}" botan"
  20363. scripts_plugins=${scripts_plugins}" botan"
  20364. manager_plugins=${manager_plugins}" botan"
  20365. medsrv_plugins=${medsrv_plugins}" botan"
  20366. attest_plugins=${attest_plugins}" botan"
  20367. nm_plugins=${nm_plugins}" botan"
  20368. cmd_plugins=${cmd_plugins}" botan"
  20369. aikgen_plugins=${aikgen_plugins}" botan"
  20370. fi
  20371. if test x$af_alg = xtrue; then
  20372. s_plugins=${s_plugins}" af-alg"
  20373. charon_plugins=${charon_plugins}" af-alg"
  20374. scepclient_plugins=${scepclient_plugins}" af-alg"
  20375. pki_plugins=${pki_plugins}" af-alg"
  20376. scripts_plugins=${scripts_plugins}" af-alg"
  20377. medsrv_plugins=${medsrv_plugins}" af-alg"
  20378. attest_plugins=${attest_plugins}" af-alg"
  20379. nm_plugins=${nm_plugins}" af-alg"
  20380. cmd_plugins=${cmd_plugins}" af-alg"
  20381. aikgen_plugins=${aikgen_plugins}" af-alg"
  20382. fi
  20383. if test x$fips_prf = xtrue; then
  20384. s_plugins=${s_plugins}" fips-prf"
  20385. charon_plugins=${charon_plugins}" fips-prf"
  20386. nm_plugins=${nm_plugins}" fips-prf"
  20387. cmd_plugins=${cmd_plugins}" fips-prf"
  20388. fi
  20389. if test x$gmp = xtrue; then
  20390. s_plugins=${s_plugins}" gmp"
  20391. charon_plugins=${charon_plugins}" gmp"
  20392. scepclient_plugins=${scepclient_plugins}" gmp"
  20393. pki_plugins=${pki_plugins}" gmp"
  20394. scripts_plugins=${scripts_plugins}" gmp"
  20395. manager_plugins=${manager_plugins}" gmp"
  20396. medsrv_plugins=${medsrv_plugins}" gmp"
  20397. attest_plugins=${attest_plugins}" gmp"
  20398. nm_plugins=${nm_plugins}" gmp"
  20399. cmd_plugins=${cmd_plugins}" gmp"
  20400. aikgen_plugins=${aikgen_plugins}" gmp"
  20401. fuzz_plugins=${fuzz_plugins}" gmp"
  20402. fi
  20403. if test x$curve25519 = xtrue; then
  20404. s_plugins=${s_plugins}" curve25519"
  20405. charon_plugins=${charon_plugins}" curve25519"
  20406. pki_plugins=${pki_plugins}" curve25519"
  20407. scripts_plugins=${scripts_plugins}" curve25519"
  20408. nm_plugins=${nm_plugins}" curve25519"
  20409. cmd_plugins=${cmd_plugins}" curve25519"
  20410. fi
  20411. if test x$agent = xtrue; then
  20412. s_plugins=${s_plugins}" agent"
  20413. charon_plugins=${charon_plugins}" agent"
  20414. nm_plugins=${nm_plugins}" agent"
  20415. cmd_plugins=${cmd_plugins}" agent"
  20416. fi
  20417. if test x$keychain = xtrue; then
  20418. s_plugins=${s_plugins}" keychain"
  20419. charon_plugins=${charon_plugins}" keychain"
  20420. cmd_plugins=${cmd_plugins}" keychain"
  20421. fi
  20422. if test x$chapoly = xtrue; then
  20423. s_plugins=${s_plugins}" chapoly"
  20424. charon_plugins=${charon_plugins}" chapoly"
  20425. scripts_plugins=${scripts_plugins}" chapoly"
  20426. nm_plugins=${nm_plugins}" chapoly"
  20427. cmd_plugins=${cmd_plugins}" chapoly"
  20428. fi
  20429. if test x$xcbc = xtrue; then
  20430. s_plugins=${s_plugins}" xcbc"
  20431. charon_plugins=${charon_plugins}" xcbc"
  20432. nm_plugins=${nm_plugins}" xcbc"
  20433. cmd_plugins=${cmd_plugins}" xcbc"
  20434. fi
  20435. if test x$cmac = xtrue; then
  20436. s_plugins=${s_plugins}" cmac"
  20437. charon_plugins=${charon_plugins}" cmac"
  20438. nm_plugins=${nm_plugins}" cmac"
  20439. cmd_plugins=${cmd_plugins}" cmac"
  20440. fi
  20441. if test x$hmac = xtrue; then
  20442. s_plugins=${s_plugins}" hmac"
  20443. charon_plugins=${charon_plugins}" hmac"
  20444. pki_plugins=${pki_plugins}" hmac"
  20445. scripts_plugins=${scripts_plugins}" hmac"
  20446. nm_plugins=${nm_plugins}" hmac"
  20447. cmd_plugins=${cmd_plugins}" hmac"
  20448. fi
  20449. if test x$ctr = xtrue; then
  20450. s_plugins=${s_plugins}" ctr"
  20451. charon_plugins=${charon_plugins}" ctr"
  20452. scripts_plugins=${scripts_plugins}" ctr"
  20453. nm_plugins=${nm_plugins}" ctr"
  20454. cmd_plugins=${cmd_plugins}" ctr"
  20455. fi
  20456. if test x$ccm = xtrue; then
  20457. s_plugins=${s_plugins}" ccm"
  20458. charon_plugins=${charon_plugins}" ccm"
  20459. scripts_plugins=${scripts_plugins}" ccm"
  20460. nm_plugins=${nm_plugins}" ccm"
  20461. cmd_plugins=${cmd_plugins}" ccm"
  20462. fi
  20463. if test x$gcm = xtrue; then
  20464. s_plugins=${s_plugins}" gcm"
  20465. charon_plugins=${charon_plugins}" gcm"
  20466. scripts_plugins=${scripts_plugins}" gcm"
  20467. nm_plugins=${nm_plugins}" gcm"
  20468. cmd_plugins=${cmd_plugins}" gcm"
  20469. fi
  20470. if test x$ntru = xtrue; then
  20471. s_plugins=${s_plugins}" ntru"
  20472. charon_plugins=${charon_plugins}" ntru"
  20473. scripts_plugins=${scripts_plugins}" ntru"
  20474. nm_plugins=${nm_plugins}" ntru"
  20475. cmd_plugins=${cmd_plugins}" ntru"
  20476. fi
  20477. if test x$newhope = xtrue; then
  20478. s_plugins=${s_plugins}" newhope"
  20479. charon_plugins=${charon_plugins}" newhope"
  20480. scripts_plugins=${scripts_plugins}" newhope"
  20481. nm_plugins=${nm_plugins}" newhope"
  20482. cmd_plugins=${cmd_plugins}" newhope"
  20483. fi
  20484. if test x$bliss = xtrue; then
  20485. s_plugins=${s_plugins}" bliss"
  20486. charon_plugins=${charon_plugins}" bliss"
  20487. pki_plugins=${pki_plugins}" bliss"
  20488. scripts_plugins=${scripts_plugins}" bliss"
  20489. nm_plugins=${nm_plugins}" bliss"
  20490. cmd_plugins=${cmd_plugins}" bliss"
  20491. fi
  20492. if test x$curl = xtrue; then
  20493. s_plugins=${s_plugins}" curl"
  20494. charon_plugins=${charon_plugins}" curl"
  20495. scepclient_plugins=${scepclient_plugins}" curl"
  20496. pki_plugins=${pki_plugins}" curl"
  20497. scripts_plugins=${scripts_plugins}" curl"
  20498. nm_plugins=${nm_plugins}" curl"
  20499. cmd_plugins=${cmd_plugins}" curl"
  20500. fi
  20501. if test x$files = xtrue; then
  20502. s_plugins=${s_plugins}" files"
  20503. charon_plugins=${charon_plugins}" files"
  20504. scepclient_plugins=${scepclient_plugins}" files"
  20505. pki_plugins=${pki_plugins}" files"
  20506. scripts_plugins=${scripts_plugins}" files"
  20507. nm_plugins=${nm_plugins}" files"
  20508. cmd_plugins=${cmd_plugins}" files"
  20509. fi
  20510. if test x$winhttp = xtrue; then
  20511. s_plugins=${s_plugins}" winhttp"
  20512. charon_plugins=${charon_plugins}" winhttp"
  20513. pki_plugins=${pki_plugins}" winhttp"
  20514. scripts_plugins=${scripts_plugins}" winhttp"
  20515. fi
  20516. if test x$soup = xtrue; then
  20517. s_plugins=${s_plugins}" soup"
  20518. charon_plugins=${charon_plugins}" soup"
  20519. pki_plugins=${pki_plugins}" soup"
  20520. scripts_plugins=${scripts_plugins}" soup"
  20521. nm_plugins=${nm_plugins}" soup"
  20522. cmd_plugins=${cmd_plugins}" soup"
  20523. fi
  20524. if test x$mysql = xtrue; then
  20525. s_plugins=${s_plugins}" mysql"
  20526. charon_plugins=${charon_plugins}" mysql"
  20527. pool_plugins=${pool_plugins}" mysql"
  20528. manager_plugins=${manager_plugins}" mysql"
  20529. medsrv_plugins=${medsrv_plugins}" mysql"
  20530. attest_plugins=${attest_plugins}" mysql"
  20531. fi
  20532. if test x$sqlite = xtrue; then
  20533. s_plugins=${s_plugins}" sqlite"
  20534. charon_plugins=${charon_plugins}" sqlite"
  20535. pool_plugins=${pool_plugins}" sqlite"
  20536. manager_plugins=${manager_plugins}" sqlite"
  20537. medsrv_plugins=${medsrv_plugins}" sqlite"
  20538. attest_plugins=${attest_plugins}" sqlite"
  20539. fi
  20540. if test x$attr = xtrue; then
  20541. c_plugins=${c_plugins}" attr"
  20542. charon_plugins=${charon_plugins}" attr"
  20543. fi
  20544. if test x$attr_sql = xtrue; then
  20545. c_plugins=${c_plugins}" attr-sql"
  20546. charon_plugins=${charon_plugins}" attr-sql"
  20547. fi
  20548. if test x$load_tester = xtrue; then
  20549. c_plugins=${c_plugins}" load-tester"
  20550. charon_plugins=${charon_plugins}" load-tester"
  20551. fi
  20552. if test x$kernel_libipsec = xtrue; then
  20553. c_plugins=${c_plugins}" kernel-libipsec"
  20554. charon_plugins=${charon_plugins}" kernel-libipsec"
  20555. cmd_plugins=${cmd_plugins}" kernel-libipsec"
  20556. fi
  20557. if test x$kernel_wfp = xtrue; then
  20558. c_plugins=${c_plugins}" kernel-wfp"
  20559. charon_plugins=${charon_plugins}" kernel-wfp"
  20560. fi
  20561. if test x$kernel_iph = xtrue; then
  20562. c_plugins=${c_plugins}" kernel-iph"
  20563. charon_plugins=${charon_plugins}" kernel-iph"
  20564. fi
  20565. if test x$kernel_pfkey = xtrue; then
  20566. c_plugins=${c_plugins}" kernel-pfkey"
  20567. charon_plugins=${charon_plugins}" kernel-pfkey"
  20568. starter_plugins=${starter_plugins}" kernel-pfkey"
  20569. nm_plugins=${nm_plugins}" kernel-pfkey"
  20570. cmd_plugins=${cmd_plugins}" kernel-pfkey"
  20571. fi
  20572. if test x$kernel_pfroute = xtrue; then
  20573. c_plugins=${c_plugins}" kernel-pfroute"
  20574. charon_plugins=${charon_plugins}" kernel-pfroute"
  20575. starter_plugins=${starter_plugins}" kernel-pfroute"
  20576. nm_plugins=${nm_plugins}" kernel-pfroute"
  20577. cmd_plugins=${cmd_plugins}" kernel-pfroute"
  20578. fi
  20579. if test x$kernel_netlink = xtrue; then
  20580. c_plugins=${c_plugins}" kernel-netlink"
  20581. charon_plugins=${charon_plugins}" kernel-netlink"
  20582. starter_plugins=${starter_plugins}" kernel-netlink"
  20583. nm_plugins=${nm_plugins}" kernel-netlink"
  20584. cmd_plugins=${cmd_plugins}" kernel-netlink"
  20585. fi
  20586. if test x$resolve = xtrue; then
  20587. c_plugins=${c_plugins}" resolve"
  20588. charon_plugins=${charon_plugins}" resolve"
  20589. cmd_plugins=${cmd_plugins}" resolve"
  20590. fi
  20591. if test x$save_keys = xtrue; then
  20592. c_plugins=${c_plugins}" save-keys"
  20593. fi
  20594. if test x$socket_default = xtrue; then
  20595. c_plugins=${c_plugins}" socket-default"
  20596. charon_plugins=${charon_plugins}" socket-default"
  20597. nm_plugins=${nm_plugins}" socket-default"
  20598. cmd_plugins=${cmd_plugins}" socket-default"
  20599. fi
  20600. if test x$socket_dynamic = xtrue; then
  20601. c_plugins=${c_plugins}" socket-dynamic"
  20602. charon_plugins=${charon_plugins}" socket-dynamic"
  20603. cmd_plugins=${cmd_plugins}" socket-dynamic"
  20604. fi
  20605. if test x$socket_win = xtrue; then
  20606. c_plugins=${c_plugins}" socket-win"
  20607. charon_plugins=${charon_plugins}" socket-win"
  20608. fi
  20609. if test x$bypass_lan = xtrue; then
  20610. c_plugins=${c_plugins}" bypass-lan"
  20611. charon_plugins=${charon_plugins}" bypass-lan"
  20612. nm_plugins=${nm_plugins}" bypass-lan"
  20613. cmd_plugins=${cmd_plugins}" bypass-lan"
  20614. fi
  20615. if test x$connmark = xtrue; then
  20616. c_plugins=${c_plugins}" connmark"
  20617. charon_plugins=${charon_plugins}" connmark"
  20618. fi
  20619. if test x$forecast = xtrue; then
  20620. c_plugins=${c_plugins}" forecast"
  20621. charon_plugins=${charon_plugins}" forecast"
  20622. fi
  20623. if test x$farp = xtrue; then
  20624. c_plugins=${c_plugins}" farp"
  20625. charon_plugins=${charon_plugins}" farp"
  20626. fi
  20627. if test x$stroke = xtrue; then
  20628. c_plugins=${c_plugins}" stroke"
  20629. charon_plugins=${charon_plugins}" stroke"
  20630. fi
  20631. if test x$vici = xtrue; then
  20632. c_plugins=${c_plugins}" vici"
  20633. charon_plugins=${charon_plugins}" vici"
  20634. fi
  20635. if test x$smp = xtrue; then
  20636. c_plugins=${c_plugins}" smp"
  20637. charon_plugins=${charon_plugins}" smp"
  20638. fi
  20639. if test x$sql = xtrue; then
  20640. c_plugins=${c_plugins}" sql"
  20641. charon_plugins=${charon_plugins}" sql"
  20642. fi
  20643. if test x$updown = xtrue; then
  20644. c_plugins=${c_plugins}" updown"
  20645. charon_plugins=${charon_plugins}" updown"
  20646. fi
  20647. if test x$eap_identity = xtrue; then
  20648. c_plugins=${c_plugins}" eap-identity"
  20649. charon_plugins=${charon_plugins}" eap-identity"
  20650. nm_plugins=${nm_plugins}" eap-identity"
  20651. cmd_plugins=${cmd_plugins}" eap-identity"
  20652. fi
  20653. if test x$eap_sim = xtrue; then
  20654. c_plugins=${c_plugins}" eap-sim"
  20655. charon_plugins=${charon_plugins}" eap-sim"
  20656. fi
  20657. if test x$eap_sim_file = xtrue; then
  20658. c_plugins=${c_plugins}" eap-sim-file"
  20659. charon_plugins=${charon_plugins}" eap-sim-file"
  20660. fi
  20661. if test x$eap_sim_pcsc = xtrue; then
  20662. c_plugins=${c_plugins}" eap-sim-pcsc"
  20663. charon_plugins=${charon_plugins}" eap-sim-pcsc"
  20664. fi
  20665. if test x$eap_aka = xtrue; then
  20666. c_plugins=${c_plugins}" eap-aka"
  20667. charon_plugins=${charon_plugins}" eap-aka"
  20668. fi
  20669. if test x$eap_aka_3gpp = xtrue; then
  20670. c_plugins=${c_plugins}" eap-aka-3gpp"
  20671. charon_plugins=${charon_plugins}" eap-aka-3gpp"
  20672. fi
  20673. if test x$eap_aka_3gpp2 = xtrue; then
  20674. c_plugins=${c_plugins}" eap-aka-3gpp2"
  20675. charon_plugins=${charon_plugins}" eap-aka-3gpp2"
  20676. fi
  20677. if test x$eap_simaka_sql = xtrue; then
  20678. c_plugins=${c_plugins}" eap-simaka-sql"
  20679. charon_plugins=${charon_plugins}" eap-simaka-sql"
  20680. fi
  20681. if test x$eap_simaka_pseudonym = xtrue; then
  20682. c_plugins=${c_plugins}" eap-simaka-pseudonym"
  20683. charon_plugins=${charon_plugins}" eap-simaka-pseudonym"
  20684. fi
  20685. if test x$eap_simaka_reauth = xtrue; then
  20686. c_plugins=${c_plugins}" eap-simaka-reauth"
  20687. charon_plugins=${charon_plugins}" eap-simaka-reauth"
  20688. fi
  20689. if test x$eap_md5 = xtrue; then
  20690. c_plugins=${c_plugins}" eap-md5"
  20691. charon_plugins=${charon_plugins}" eap-md5"
  20692. nm_plugins=${nm_plugins}" eap-md5"
  20693. cmd_plugins=${cmd_plugins}" eap-md5"
  20694. fi
  20695. if test x$eap_gtc = xtrue; then
  20696. c_plugins=${c_plugins}" eap-gtc"
  20697. charon_plugins=${charon_plugins}" eap-gtc"
  20698. nm_plugins=${nm_plugins}" eap-gtc"
  20699. cmd_plugins=${cmd_plugins}" eap-gtc"
  20700. fi
  20701. if test x$eap_mschapv2 = xtrue; then
  20702. c_plugins=${c_plugins}" eap-mschapv2"
  20703. charon_plugins=${charon_plugins}" eap-mschapv2"
  20704. nm_plugins=${nm_plugins}" eap-mschapv2"
  20705. cmd_plugins=${cmd_plugins}" eap-mschapv2"
  20706. fi
  20707. if test x$eap_dynamic = xtrue; then
  20708. c_plugins=${c_plugins}" eap-dynamic"
  20709. charon_plugins=${charon_plugins}" eap-dynamic"
  20710. fi
  20711. if test x$eap_radius = xtrue; then
  20712. c_plugins=${c_plugins}" eap-radius"
  20713. charon_plugins=${charon_plugins}" eap-radius"
  20714. fi
  20715. if test x$eap_tls = xtrue; then
  20716. c_plugins=${c_plugins}" eap-tls"
  20717. charon_plugins=${charon_plugins}" eap-tls"
  20718. nm_plugins=${nm_plugins}" eap-tls"
  20719. cmd_plugins=${cmd_plugins}" eap-tls"
  20720. fi
  20721. if test x$eap_ttls = xtrue; then
  20722. c_plugins=${c_plugins}" eap-ttls"
  20723. charon_plugins=${charon_plugins}" eap-ttls"
  20724. nm_plugins=${nm_plugins}" eap-ttls"
  20725. cmd_plugins=${cmd_plugins}" eap-ttls"
  20726. fi
  20727. if test x$eap_peap = xtrue; then
  20728. c_plugins=${c_plugins}" eap-peap"
  20729. charon_plugins=${charon_plugins}" eap-peap"
  20730. nm_plugins=${nm_plugins}" eap-peap"
  20731. cmd_plugins=${cmd_plugins}" eap-peap"
  20732. fi
  20733. if test x$eap_tnc = xtrue; then
  20734. c_plugins=${c_plugins}" eap-tnc"
  20735. charon_plugins=${charon_plugins}" eap-tnc"
  20736. fi
  20737. if test x$xauth_generic = xtrue; then
  20738. c_plugins=${c_plugins}" xauth-generic"
  20739. charon_plugins=${charon_plugins}" xauth-generic"
  20740. cmd_plugins=${cmd_plugins}" xauth-generic"
  20741. fi
  20742. if test x$xauth_eap = xtrue; then
  20743. c_plugins=${c_plugins}" xauth-eap"
  20744. charon_plugins=${charon_plugins}" xauth-eap"
  20745. fi
  20746. if test x$xauth_pam = xtrue; then
  20747. c_plugins=${c_plugins}" xauth-pam"
  20748. charon_plugins=${charon_plugins}" xauth-pam"
  20749. fi
  20750. if test x$xauth_noauth = xtrue; then
  20751. c_plugins=${c_plugins}" xauth-noauth"
  20752. charon_plugins=${charon_plugins}" xauth-noauth"
  20753. fi
  20754. if test x$tnc_ifmap = xtrue; then
  20755. c_plugins=${c_plugins}" tnc-ifmap"
  20756. charon_plugins=${charon_plugins}" tnc-ifmap"
  20757. fi
  20758. if test x$tnc_pdp = xtrue; then
  20759. c_plugins=${c_plugins}" tnc-pdp"
  20760. charon_plugins=${charon_plugins}" tnc-pdp"
  20761. fi
  20762. if test x$tnc_imc = xtrue; then
  20763. t_plugins=${t_plugins}" tnc-imc"
  20764. charon_plugins=${charon_plugins}" tnc-imc"
  20765. fi
  20766. if test x$tnc_imv = xtrue; then
  20767. t_plugins=${t_plugins}" tnc-imv"
  20768. charon_plugins=${charon_plugins}" tnc-imv"
  20769. fi
  20770. if test x$tnc_tnccs = xtrue; then
  20771. t_plugins=${t_plugins}" tnc-tnccs"
  20772. charon_plugins=${charon_plugins}" tnc-tnccs"
  20773. fi
  20774. if test x$tnccs_20 = xtrue; then
  20775. t_plugins=${t_plugins}" tnccs-20"
  20776. charon_plugins=${charon_plugins}" tnccs-20"
  20777. fi
  20778. if test x$tnccs_11 = xtrue; then
  20779. t_plugins=${t_plugins}" tnccs-11"
  20780. charon_plugins=${charon_plugins}" tnccs-11"
  20781. fi
  20782. if test x$tnccs_dynamic = xtrue; then
  20783. t_plugins=${t_plugins}" tnccs-dynamic"
  20784. charon_plugins=${charon_plugins}" tnccs-dynamic"
  20785. fi
  20786. if test x$medsrv = xtrue; then
  20787. c_plugins=${c_plugins}" medsrv"
  20788. charon_plugins=${charon_plugins}" medsrv"
  20789. fi
  20790. if test x$medcli = xtrue; then
  20791. c_plugins=${c_plugins}" medcli"
  20792. charon_plugins=${charon_plugins}" medcli"
  20793. fi
  20794. if test x$dhcp = xtrue; then
  20795. c_plugins=${c_plugins}" dhcp"
  20796. charon_plugins=${charon_plugins}" dhcp"
  20797. fi
  20798. if test x$osx_attr = xtrue; then
  20799. c_plugins=${c_plugins}" osx-attr"
  20800. charon_plugins=${charon_plugins}" osx-attr"
  20801. cmd_plugins=${cmd_plugins}" osx-attr"
  20802. fi
  20803. if test x$p_cscf = xtrue; then
  20804. c_plugins=${c_plugins}" p-cscf"
  20805. charon_plugins=${charon_plugins}" p-cscf"
  20806. cmd_plugins=${cmd_plugins}" p-cscf"
  20807. fi
  20808. if test x$android_dns = xtrue; then
  20809. c_plugins=${c_plugins}" android-dns"
  20810. charon_plugins=${charon_plugins}" android-dns"
  20811. fi
  20812. if test x$android_log = xtrue; then
  20813. c_plugins=${c_plugins}" android-log"
  20814. charon_plugins=${charon_plugins}" android-log"
  20815. fi
  20816. if test x$ha = xtrue; then
  20817. c_plugins=${c_plugins}" ha"
  20818. charon_plugins=${charon_plugins}" ha"
  20819. fi
  20820. if test x$whitelist = xtrue; then
  20821. c_plugins=${c_plugins}" whitelist"
  20822. charon_plugins=${charon_plugins}" whitelist"
  20823. fi
  20824. if test x$ext_auth = xtrue; then
  20825. c_plugins=${c_plugins}" ext-auth"
  20826. charon_plugins=${charon_plugins}" ext-auth"
  20827. fi
  20828. if test x$lookip = xtrue; then
  20829. c_plugins=${c_plugins}" lookip"
  20830. charon_plugins=${charon_plugins}" lookip"
  20831. fi
  20832. if test x$error_notify = xtrue; then
  20833. c_plugins=${c_plugins}" error-notify"
  20834. charon_plugins=${charon_plugins}" error-notify"
  20835. fi
  20836. if test x$certexpire = xtrue; then
  20837. c_plugins=${c_plugins}" certexpire"
  20838. charon_plugins=${charon_plugins}" certexpire"
  20839. fi
  20840. if test x$systime_fix = xtrue; then
  20841. c_plugins=${c_plugins}" systime-fix"
  20842. charon_plugins=${charon_plugins}" systime-fix"
  20843. fi
  20844. if test x$led = xtrue; then
  20845. c_plugins=${c_plugins}" led"
  20846. charon_plugins=${charon_plugins}" led"
  20847. fi
  20848. if test x$duplicheck = xtrue; then
  20849. c_plugins=${c_plugins}" duplicheck"
  20850. charon_plugins=${charon_plugins}" duplicheck"
  20851. fi
  20852. if test x$coupling = xtrue; then
  20853. c_plugins=${c_plugins}" coupling"
  20854. charon_plugins=${charon_plugins}" coupling"
  20855. fi
  20856. if test x$radattr = xtrue; then
  20857. c_plugins=${c_plugins}" radattr"
  20858. charon_plugins=${charon_plugins}" radattr"
  20859. fi
  20860. if test x$uci = xtrue; then
  20861. c_plugins=${c_plugins}" uci"
  20862. charon_plugins=${charon_plugins}" uci"
  20863. fi
  20864. if test x$addrblock = xtrue; then
  20865. c_plugins=${c_plugins}" addrblock"
  20866. charon_plugins=${charon_plugins}" addrblock"
  20867. fi
  20868. if test x$unity = xtrue; then
  20869. c_plugins=${c_plugins}" unity"
  20870. charon_plugins=${charon_plugins}" unity"
  20871. fi
  20872. if test x$counters = xtrue; then
  20873. c_plugins=${c_plugins}" counters"
  20874. charon_plugins=${charon_plugins}" counters"
  20875. fi
  20876. # ======================
  20877. # set Makefile.am vars
  20878. # ======================
  20879. # libstrongswan plugins
  20880. # -----------------------
  20881. if test x$test_vectors = xtrue; then
  20882. USE_TEST_VECTORS_TRUE=
  20883. USE_TEST_VECTORS_FALSE='#'
  20884. else
  20885. USE_TEST_VECTORS_TRUE='#'
  20886. USE_TEST_VECTORS_FALSE=
  20887. fi
  20888. if test x$curl = xtrue; then
  20889. USE_CURL_TRUE=
  20890. USE_CURL_FALSE='#'
  20891. else
  20892. USE_CURL_TRUE='#'
  20893. USE_CURL_FALSE=
  20894. fi
  20895. if test x$files = xtrue; then
  20896. USE_FILES_TRUE=
  20897. USE_FILES_FALSE='#'
  20898. else
  20899. USE_FILES_TRUE='#'
  20900. USE_FILES_FALSE=
  20901. fi
  20902. if test x$winhttp = xtrue; then
  20903. USE_WINHTTP_TRUE=
  20904. USE_WINHTTP_FALSE='#'
  20905. else
  20906. USE_WINHTTP_TRUE='#'
  20907. USE_WINHTTP_FALSE=
  20908. fi
  20909. if test x$unbound = xtrue; then
  20910. USE_UNBOUND_TRUE=
  20911. USE_UNBOUND_FALSE='#'
  20912. else
  20913. USE_UNBOUND_TRUE='#'
  20914. USE_UNBOUND_FALSE=
  20915. fi
  20916. if test x$soup = xtrue; then
  20917. USE_SOUP_TRUE=
  20918. USE_SOUP_FALSE='#'
  20919. else
  20920. USE_SOUP_TRUE='#'
  20921. USE_SOUP_FALSE=
  20922. fi
  20923. if test x$ldap = xtrue; then
  20924. USE_LDAP_TRUE=
  20925. USE_LDAP_FALSE='#'
  20926. else
  20927. USE_LDAP_TRUE='#'
  20928. USE_LDAP_FALSE=
  20929. fi
  20930. if test x$aes = xtrue; then
  20931. USE_AES_TRUE=
  20932. USE_AES_FALSE='#'
  20933. else
  20934. USE_AES_TRUE='#'
  20935. USE_AES_FALSE=
  20936. fi
  20937. if test x$des = xtrue; then
  20938. USE_DES_TRUE=
  20939. USE_DES_FALSE='#'
  20940. else
  20941. USE_DES_TRUE='#'
  20942. USE_DES_FALSE=
  20943. fi
  20944. if test x$blowfish = xtrue; then
  20945. USE_BLOWFISH_TRUE=
  20946. USE_BLOWFISH_FALSE='#'
  20947. else
  20948. USE_BLOWFISH_TRUE='#'
  20949. USE_BLOWFISH_FALSE=
  20950. fi
  20951. if test x$rc2 = xtrue; then
  20952. USE_RC2_TRUE=
  20953. USE_RC2_FALSE='#'
  20954. else
  20955. USE_RC2_TRUE='#'
  20956. USE_RC2_FALSE=
  20957. fi
  20958. if test x$md4 = xtrue; then
  20959. USE_MD4_TRUE=
  20960. USE_MD4_FALSE='#'
  20961. else
  20962. USE_MD4_TRUE='#'
  20963. USE_MD4_FALSE=
  20964. fi
  20965. if test x$md5 = xtrue; then
  20966. USE_MD5_TRUE=
  20967. USE_MD5_FALSE='#'
  20968. else
  20969. USE_MD5_TRUE='#'
  20970. USE_MD5_FALSE=
  20971. fi
  20972. if test x$sha1 = xtrue; then
  20973. USE_SHA1_TRUE=
  20974. USE_SHA1_FALSE='#'
  20975. else
  20976. USE_SHA1_TRUE='#'
  20977. USE_SHA1_FALSE=
  20978. fi
  20979. if test x$sha2 = xtrue; then
  20980. USE_SHA2_TRUE=
  20981. USE_SHA2_FALSE='#'
  20982. else
  20983. USE_SHA2_TRUE='#'
  20984. USE_SHA2_FALSE=
  20985. fi
  20986. if test x$sha3 = xtrue; then
  20987. USE_SHA3_TRUE=
  20988. USE_SHA3_FALSE='#'
  20989. else
  20990. USE_SHA3_TRUE='#'
  20991. USE_SHA3_FALSE=
  20992. fi
  20993. if test x$mgf1 = xtrue; then
  20994. USE_MGF1_TRUE=
  20995. USE_MGF1_FALSE='#'
  20996. else
  20997. USE_MGF1_TRUE='#'
  20998. USE_MGF1_FALSE=
  20999. fi
  21000. if test x$fips_prf = xtrue; then
  21001. USE_FIPS_PRF_TRUE=
  21002. USE_FIPS_PRF_FALSE='#'
  21003. else
  21004. USE_FIPS_PRF_TRUE='#'
  21005. USE_FIPS_PRF_FALSE=
  21006. fi
  21007. if test x$gmp = xtrue; then
  21008. USE_GMP_TRUE=
  21009. USE_GMP_FALSE='#'
  21010. else
  21011. USE_GMP_TRUE='#'
  21012. USE_GMP_FALSE=
  21013. fi
  21014. if test x$curve25519 = xtrue; then
  21015. USE_CURVE25519_TRUE=
  21016. USE_CURVE25519_FALSE='#'
  21017. else
  21018. USE_CURVE25519_TRUE='#'
  21019. USE_CURVE25519_FALSE=
  21020. fi
  21021. if test x$rdrand = xtrue; then
  21022. USE_RDRAND_TRUE=
  21023. USE_RDRAND_FALSE='#'
  21024. else
  21025. USE_RDRAND_TRUE='#'
  21026. USE_RDRAND_FALSE=
  21027. fi
  21028. if test x$aesni = xtrue; then
  21029. USE_AESNI_TRUE=
  21030. USE_AESNI_FALSE='#'
  21031. else
  21032. USE_AESNI_TRUE='#'
  21033. USE_AESNI_FALSE=
  21034. fi
  21035. if test x$random = xtrue; then
  21036. USE_RANDOM_TRUE=
  21037. USE_RANDOM_FALSE='#'
  21038. else
  21039. USE_RANDOM_TRUE='#'
  21040. USE_RANDOM_FALSE=
  21041. fi
  21042. if test x$nonce = xtrue; then
  21043. USE_NONCE_TRUE=
  21044. USE_NONCE_FALSE='#'
  21045. else
  21046. USE_NONCE_TRUE='#'
  21047. USE_NONCE_FALSE=
  21048. fi
  21049. if test x$x509 = xtrue; then
  21050. USE_X509_TRUE=
  21051. USE_X509_FALSE='#'
  21052. else
  21053. USE_X509_TRUE='#'
  21054. USE_X509_FALSE=
  21055. fi
  21056. if test x$revocation = xtrue; then
  21057. USE_REVOCATION_TRUE=
  21058. USE_REVOCATION_FALSE='#'
  21059. else
  21060. USE_REVOCATION_TRUE='#'
  21061. USE_REVOCATION_FALSE=
  21062. fi
  21063. if test x$constraints = xtrue; then
  21064. USE_CONSTRAINTS_TRUE=
  21065. USE_CONSTRAINTS_FALSE='#'
  21066. else
  21067. USE_CONSTRAINTS_TRUE='#'
  21068. USE_CONSTRAINTS_FALSE=
  21069. fi
  21070. if test x$acert = xtrue; then
  21071. USE_ACERT_TRUE=
  21072. USE_ACERT_FALSE='#'
  21073. else
  21074. USE_ACERT_TRUE='#'
  21075. USE_ACERT_FALSE=
  21076. fi
  21077. if test x$pubkey = xtrue; then
  21078. USE_PUBKEY_TRUE=
  21079. USE_PUBKEY_FALSE='#'
  21080. else
  21081. USE_PUBKEY_TRUE='#'
  21082. USE_PUBKEY_FALSE=
  21083. fi
  21084. if test x$pkcs1 = xtrue; then
  21085. USE_PKCS1_TRUE=
  21086. USE_PKCS1_FALSE='#'
  21087. else
  21088. USE_PKCS1_TRUE='#'
  21089. USE_PKCS1_FALSE=
  21090. fi
  21091. if test x$pkcs7 = xtrue; then
  21092. USE_PKCS7_TRUE=
  21093. USE_PKCS7_FALSE='#'
  21094. else
  21095. USE_PKCS7_TRUE='#'
  21096. USE_PKCS7_FALSE=
  21097. fi
  21098. if test x$pkcs8 = xtrue; then
  21099. USE_PKCS8_TRUE=
  21100. USE_PKCS8_FALSE='#'
  21101. else
  21102. USE_PKCS8_TRUE='#'
  21103. USE_PKCS8_FALSE=
  21104. fi
  21105. if test x$pkcs12 = xtrue; then
  21106. USE_PKCS12_TRUE=
  21107. USE_PKCS12_FALSE='#'
  21108. else
  21109. USE_PKCS12_TRUE='#'
  21110. USE_PKCS12_FALSE=
  21111. fi
  21112. if test x$pgp = xtrue; then
  21113. USE_PGP_TRUE=
  21114. USE_PGP_FALSE='#'
  21115. else
  21116. USE_PGP_TRUE='#'
  21117. USE_PGP_FALSE=
  21118. fi
  21119. if test x$dnskey = xtrue; then
  21120. USE_DNSKEY_TRUE=
  21121. USE_DNSKEY_FALSE='#'
  21122. else
  21123. USE_DNSKEY_TRUE='#'
  21124. USE_DNSKEY_FALSE=
  21125. fi
  21126. if test x$sshkey = xtrue; then
  21127. USE_SSHKEY_TRUE=
  21128. USE_SSHKEY_FALSE='#'
  21129. else
  21130. USE_SSHKEY_TRUE='#'
  21131. USE_SSHKEY_FALSE=
  21132. fi
  21133. if test x$pem = xtrue; then
  21134. USE_PEM_TRUE=
  21135. USE_PEM_FALSE='#'
  21136. else
  21137. USE_PEM_TRUE='#'
  21138. USE_PEM_FALSE=
  21139. fi
  21140. if test x$hmac = xtrue; then
  21141. USE_HMAC_TRUE=
  21142. USE_HMAC_FALSE='#'
  21143. else
  21144. USE_HMAC_TRUE='#'
  21145. USE_HMAC_FALSE=
  21146. fi
  21147. if test x$cmac = xtrue; then
  21148. USE_CMAC_TRUE=
  21149. USE_CMAC_FALSE='#'
  21150. else
  21151. USE_CMAC_TRUE='#'
  21152. USE_CMAC_FALSE=
  21153. fi
  21154. if test x$xcbc = xtrue; then
  21155. USE_XCBC_TRUE=
  21156. USE_XCBC_FALSE='#'
  21157. else
  21158. USE_XCBC_TRUE='#'
  21159. USE_XCBC_FALSE=
  21160. fi
  21161. if test x$mysql = xtrue; then
  21162. USE_MYSQL_TRUE=
  21163. USE_MYSQL_FALSE='#'
  21164. else
  21165. USE_MYSQL_TRUE='#'
  21166. USE_MYSQL_FALSE=
  21167. fi
  21168. if test x$sqlite = xtrue; then
  21169. USE_SQLITE_TRUE=
  21170. USE_SQLITE_FALSE='#'
  21171. else
  21172. USE_SQLITE_TRUE='#'
  21173. USE_SQLITE_FALSE=
  21174. fi
  21175. if test x$padlock = xtrue; then
  21176. USE_PADLOCK_TRUE=
  21177. USE_PADLOCK_FALSE='#'
  21178. else
  21179. USE_PADLOCK_TRUE='#'
  21180. USE_PADLOCK_FALSE=
  21181. fi
  21182. if test x$openssl = xtrue; then
  21183. USE_OPENSSL_TRUE=
  21184. USE_OPENSSL_FALSE='#'
  21185. else
  21186. USE_OPENSSL_TRUE='#'
  21187. USE_OPENSSL_FALSE=
  21188. fi
  21189. if test x$wolfssl = xtrue; then
  21190. USE_WOLFSSL_TRUE=
  21191. USE_WOLFSSL_FALSE='#'
  21192. else
  21193. USE_WOLFSSL_TRUE='#'
  21194. USE_WOLFSSL_FALSE=
  21195. fi
  21196. if test x$gcrypt = xtrue; then
  21197. USE_GCRYPT_TRUE=
  21198. USE_GCRYPT_FALSE='#'
  21199. else
  21200. USE_GCRYPT_TRUE='#'
  21201. USE_GCRYPT_FALSE=
  21202. fi
  21203. if test x$botan = xtrue; then
  21204. USE_BOTAN_TRUE=
  21205. USE_BOTAN_FALSE='#'
  21206. else
  21207. USE_BOTAN_TRUE='#'
  21208. USE_BOTAN_FALSE=
  21209. fi
  21210. if test x$agent = xtrue; then
  21211. USE_AGENT_TRUE=
  21212. USE_AGENT_FALSE='#'
  21213. else
  21214. USE_AGENT_TRUE='#'
  21215. USE_AGENT_FALSE=
  21216. fi
  21217. if test x$keychain = xtrue; then
  21218. USE_KEYCHAIN_TRUE=
  21219. USE_KEYCHAIN_FALSE='#'
  21220. else
  21221. USE_KEYCHAIN_TRUE='#'
  21222. USE_KEYCHAIN_FALSE=
  21223. fi
  21224. if test x$pkcs11 = xtrue; then
  21225. USE_PKCS11_TRUE=
  21226. USE_PKCS11_FALSE='#'
  21227. else
  21228. USE_PKCS11_TRUE='#'
  21229. USE_PKCS11_FALSE=
  21230. fi
  21231. if test x$tpm = xtrue; then
  21232. USE_TPM_TRUE=
  21233. USE_TPM_FALSE='#'
  21234. else
  21235. USE_TPM_TRUE='#'
  21236. USE_TPM_FALSE=
  21237. fi
  21238. if test x$chapoly = xtrue; then
  21239. USE_CHAPOLY_TRUE=
  21240. USE_CHAPOLY_FALSE='#'
  21241. else
  21242. USE_CHAPOLY_TRUE='#'
  21243. USE_CHAPOLY_FALSE=
  21244. fi
  21245. if test x$ctr = xtrue; then
  21246. USE_CTR_TRUE=
  21247. USE_CTR_FALSE='#'
  21248. else
  21249. USE_CTR_TRUE='#'
  21250. USE_CTR_FALSE=
  21251. fi
  21252. if test x$ccm = xtrue; then
  21253. USE_CCM_TRUE=
  21254. USE_CCM_FALSE='#'
  21255. else
  21256. USE_CCM_TRUE='#'
  21257. USE_CCM_FALSE=
  21258. fi
  21259. if test x$gcm = xtrue; then
  21260. USE_GCM_TRUE=
  21261. USE_GCM_FALSE='#'
  21262. else
  21263. USE_GCM_TRUE='#'
  21264. USE_GCM_FALSE=
  21265. fi
  21266. if test x$af_alg = xtrue; then
  21267. USE_AF_ALG_TRUE=
  21268. USE_AF_ALG_FALSE='#'
  21269. else
  21270. USE_AF_ALG_TRUE='#'
  21271. USE_AF_ALG_FALSE=
  21272. fi
  21273. if test x$ntru = xtrue; then
  21274. USE_NTRU_TRUE=
  21275. USE_NTRU_FALSE='#'
  21276. else
  21277. USE_NTRU_TRUE='#'
  21278. USE_NTRU_FALSE=
  21279. fi
  21280. if test x$newhope = xtrue; then
  21281. USE_NEWHOPE_TRUE=
  21282. USE_NEWHOPE_FALSE='#'
  21283. else
  21284. USE_NEWHOPE_TRUE='#'
  21285. USE_NEWHOPE_FALSE=
  21286. fi
  21287. if test x$bliss = xtrue; then
  21288. USE_BLISS_TRUE=
  21289. USE_BLISS_FALSE='#'
  21290. else
  21291. USE_BLISS_TRUE='#'
  21292. USE_BLISS_FALSE=
  21293. fi
  21294. # charon plugins
  21295. # ----------------
  21296. if test x$stroke = xtrue; then
  21297. USE_STROKE_TRUE=
  21298. USE_STROKE_FALSE='#'
  21299. else
  21300. USE_STROKE_TRUE='#'
  21301. USE_STROKE_FALSE=
  21302. fi
  21303. if test x$vici = xtrue; then
  21304. USE_VICI_TRUE=
  21305. USE_VICI_FALSE='#'
  21306. else
  21307. USE_VICI_TRUE='#'
  21308. USE_VICI_FALSE=
  21309. fi
  21310. if test x$medsrv = xtrue; then
  21311. USE_MEDSRV_TRUE=
  21312. USE_MEDSRV_FALSE='#'
  21313. else
  21314. USE_MEDSRV_TRUE='#'
  21315. USE_MEDSRV_FALSE=
  21316. fi
  21317. if test x$medcli = xtrue; then
  21318. USE_MEDCLI_TRUE=
  21319. USE_MEDCLI_FALSE='#'
  21320. else
  21321. USE_MEDCLI_TRUE='#'
  21322. USE_MEDCLI_FALSE=
  21323. fi
  21324. if test x$uci = xtrue; then
  21325. USE_UCI_TRUE=
  21326. USE_UCI_FALSE='#'
  21327. else
  21328. USE_UCI_TRUE='#'
  21329. USE_UCI_FALSE=
  21330. fi
  21331. if test x$osx_attr = xtrue; then
  21332. USE_OSX_ATTR_TRUE=
  21333. USE_OSX_ATTR_FALSE='#'
  21334. else
  21335. USE_OSX_ATTR_TRUE='#'
  21336. USE_OSX_ATTR_FALSE=
  21337. fi
  21338. if test x$p_cscf = xtrue; then
  21339. USE_P_CSCF_TRUE=
  21340. USE_P_CSCF_FALSE='#'
  21341. else
  21342. USE_P_CSCF_TRUE='#'
  21343. USE_P_CSCF_FALSE=
  21344. fi
  21345. if test x$android_dns = xtrue; then
  21346. USE_ANDROID_DNS_TRUE=
  21347. USE_ANDROID_DNS_FALSE='#'
  21348. else
  21349. USE_ANDROID_DNS_TRUE='#'
  21350. USE_ANDROID_DNS_FALSE=
  21351. fi
  21352. if test x$android_log = xtrue; then
  21353. USE_ANDROID_LOG_TRUE=
  21354. USE_ANDROID_LOG_FALSE='#'
  21355. else
  21356. USE_ANDROID_LOG_TRUE='#'
  21357. USE_ANDROID_LOG_FALSE=
  21358. fi
  21359. if test x$smp = xtrue; then
  21360. USE_SMP_TRUE=
  21361. USE_SMP_FALSE='#'
  21362. else
  21363. USE_SMP_TRUE='#'
  21364. USE_SMP_FALSE=
  21365. fi
  21366. if test x$sql = xtrue; then
  21367. USE_SQL_TRUE=
  21368. USE_SQL_FALSE='#'
  21369. else
  21370. USE_SQL_TRUE='#'
  21371. USE_SQL_FALSE=
  21372. fi
  21373. if test x$dnscert = xtrue; then
  21374. USE_DNSCERT_TRUE=
  21375. USE_DNSCERT_FALSE='#'
  21376. else
  21377. USE_DNSCERT_TRUE='#'
  21378. USE_DNSCERT_FALSE=
  21379. fi
  21380. if test x$ipseckey = xtrue; then
  21381. USE_IPSECKEY_TRUE=
  21382. USE_IPSECKEY_FALSE='#'
  21383. else
  21384. USE_IPSECKEY_TRUE='#'
  21385. USE_IPSECKEY_FALSE=
  21386. fi
  21387. if test x$updown = xtrue; then
  21388. USE_UPDOWN_TRUE=
  21389. USE_UPDOWN_FALSE='#'
  21390. else
  21391. USE_UPDOWN_TRUE='#'
  21392. USE_UPDOWN_FALSE=
  21393. fi
  21394. if test x$dhcp = xtrue; then
  21395. USE_DHCP_TRUE=
  21396. USE_DHCP_FALSE='#'
  21397. else
  21398. USE_DHCP_TRUE='#'
  21399. USE_DHCP_FALSE=
  21400. fi
  21401. if test x$load_tester = xtrue; then
  21402. USE_LOAD_TESTER_TRUE=
  21403. USE_LOAD_TESTER_FALSE='#'
  21404. else
  21405. USE_LOAD_TESTER_TRUE='#'
  21406. USE_LOAD_TESTER_FALSE=
  21407. fi
  21408. if test x$ha = xtrue; then
  21409. USE_HA_TRUE=
  21410. USE_HA_FALSE='#'
  21411. else
  21412. USE_HA_TRUE='#'
  21413. USE_HA_FALSE=
  21414. fi
  21415. if test x$kernel_netlink = xtrue; then
  21416. USE_KERNEL_NETLINK_TRUE=
  21417. USE_KERNEL_NETLINK_FALSE='#'
  21418. else
  21419. USE_KERNEL_NETLINK_TRUE='#'
  21420. USE_KERNEL_NETLINK_FALSE=
  21421. fi
  21422. if test x$kernel_pfkey = xtrue; then
  21423. USE_KERNEL_PFKEY_TRUE=
  21424. USE_KERNEL_PFKEY_FALSE='#'
  21425. else
  21426. USE_KERNEL_PFKEY_TRUE='#'
  21427. USE_KERNEL_PFKEY_FALSE=
  21428. fi
  21429. if test x$kernel_pfroute = xtrue; then
  21430. USE_KERNEL_PFROUTE_TRUE=
  21431. USE_KERNEL_PFROUTE_FALSE='#'
  21432. else
  21433. USE_KERNEL_PFROUTE_TRUE='#'
  21434. USE_KERNEL_PFROUTE_FALSE=
  21435. fi
  21436. if test x$kernel_libipsec = xtrue; then
  21437. USE_KERNEL_LIBIPSEC_TRUE=
  21438. USE_KERNEL_LIBIPSEC_FALSE='#'
  21439. else
  21440. USE_KERNEL_LIBIPSEC_TRUE='#'
  21441. USE_KERNEL_LIBIPSEC_FALSE=
  21442. fi
  21443. if test x$kernel_wfp = xtrue; then
  21444. USE_KERNEL_WFP_TRUE=
  21445. USE_KERNEL_WFP_FALSE='#'
  21446. else
  21447. USE_KERNEL_WFP_TRUE='#'
  21448. USE_KERNEL_WFP_FALSE=
  21449. fi
  21450. if test x$kernel_iph = xtrue; then
  21451. USE_KERNEL_IPH_TRUE=
  21452. USE_KERNEL_IPH_FALSE='#'
  21453. else
  21454. USE_KERNEL_IPH_TRUE='#'
  21455. USE_KERNEL_IPH_FALSE=
  21456. fi
  21457. if test x$whitelist = xtrue; then
  21458. USE_WHITELIST_TRUE=
  21459. USE_WHITELIST_FALSE='#'
  21460. else
  21461. USE_WHITELIST_TRUE='#'
  21462. USE_WHITELIST_FALSE=
  21463. fi
  21464. if test x$ext_auth = xtrue; then
  21465. USE_EXT_AUTH_TRUE=
  21466. USE_EXT_AUTH_FALSE='#'
  21467. else
  21468. USE_EXT_AUTH_TRUE='#'
  21469. USE_EXT_AUTH_FALSE=
  21470. fi
  21471. if test x$lookip = xtrue; then
  21472. USE_LOOKIP_TRUE=
  21473. USE_LOOKIP_FALSE='#'
  21474. else
  21475. USE_LOOKIP_TRUE='#'
  21476. USE_LOOKIP_FALSE=
  21477. fi
  21478. if test x$error_notify = xtrue; then
  21479. USE_ERROR_NOTIFY_TRUE=
  21480. USE_ERROR_NOTIFY_FALSE='#'
  21481. else
  21482. USE_ERROR_NOTIFY_TRUE='#'
  21483. USE_ERROR_NOTIFY_FALSE=
  21484. fi
  21485. if test x$certexpire = xtrue; then
  21486. USE_CERTEXPIRE_TRUE=
  21487. USE_CERTEXPIRE_FALSE='#'
  21488. else
  21489. USE_CERTEXPIRE_TRUE='#'
  21490. USE_CERTEXPIRE_FALSE=
  21491. fi
  21492. if test x$systime_fix = xtrue; then
  21493. USE_SYSTIME_FIX_TRUE=
  21494. USE_SYSTIME_FIX_FALSE='#'
  21495. else
  21496. USE_SYSTIME_FIX_TRUE='#'
  21497. USE_SYSTIME_FIX_FALSE=
  21498. fi
  21499. if test x$led = xtrue; then
  21500. USE_LED_TRUE=
  21501. USE_LED_FALSE='#'
  21502. else
  21503. USE_LED_TRUE='#'
  21504. USE_LED_FALSE=
  21505. fi
  21506. if test x$duplicheck = xtrue; then
  21507. USE_DUPLICHECK_TRUE=
  21508. USE_DUPLICHECK_FALSE='#'
  21509. else
  21510. USE_DUPLICHECK_TRUE='#'
  21511. USE_DUPLICHECK_FALSE=
  21512. fi
  21513. if test x$coupling = xtrue; then
  21514. USE_COUPLING_TRUE=
  21515. USE_COUPLING_FALSE='#'
  21516. else
  21517. USE_COUPLING_TRUE='#'
  21518. USE_COUPLING_FALSE=
  21519. fi
  21520. if test x$radattr = xtrue; then
  21521. USE_RADATTR_TRUE=
  21522. USE_RADATTR_FALSE='#'
  21523. else
  21524. USE_RADATTR_TRUE='#'
  21525. USE_RADATTR_FALSE=
  21526. fi
  21527. if test x$eap_sim = xtrue; then
  21528. USE_EAP_SIM_TRUE=
  21529. USE_EAP_SIM_FALSE='#'
  21530. else
  21531. USE_EAP_SIM_TRUE='#'
  21532. USE_EAP_SIM_FALSE=
  21533. fi
  21534. if test x$eap_sim_file = xtrue; then
  21535. USE_EAP_SIM_FILE_TRUE=
  21536. USE_EAP_SIM_FILE_FALSE='#'
  21537. else
  21538. USE_EAP_SIM_FILE_TRUE='#'
  21539. USE_EAP_SIM_FILE_FALSE=
  21540. fi
  21541. if test x$eap_sim_pcsc = xtrue; then
  21542. USE_EAP_SIM_PCSC_TRUE=
  21543. USE_EAP_SIM_PCSC_FALSE='#'
  21544. else
  21545. USE_EAP_SIM_PCSC_TRUE='#'
  21546. USE_EAP_SIM_PCSC_FALSE=
  21547. fi
  21548. if test x$eap_simaka_sql = xtrue; then
  21549. USE_EAP_SIMAKA_SQL_TRUE=
  21550. USE_EAP_SIMAKA_SQL_FALSE='#'
  21551. else
  21552. USE_EAP_SIMAKA_SQL_TRUE='#'
  21553. USE_EAP_SIMAKA_SQL_FALSE=
  21554. fi
  21555. if test x$eap_simaka_pseudonym = xtrue; then
  21556. USE_EAP_SIMAKA_PSEUDONYM_TRUE=
  21557. USE_EAP_SIMAKA_PSEUDONYM_FALSE='#'
  21558. else
  21559. USE_EAP_SIMAKA_PSEUDONYM_TRUE='#'
  21560. USE_EAP_SIMAKA_PSEUDONYM_FALSE=
  21561. fi
  21562. if test x$eap_simaka_reauth = xtrue; then
  21563. USE_EAP_SIMAKA_REAUTH_TRUE=
  21564. USE_EAP_SIMAKA_REAUTH_FALSE='#'
  21565. else
  21566. USE_EAP_SIMAKA_REAUTH_TRUE='#'
  21567. USE_EAP_SIMAKA_REAUTH_FALSE=
  21568. fi
  21569. if test x$eap_identity = xtrue; then
  21570. USE_EAP_IDENTITY_TRUE=
  21571. USE_EAP_IDENTITY_FALSE='#'
  21572. else
  21573. USE_EAP_IDENTITY_TRUE='#'
  21574. USE_EAP_IDENTITY_FALSE=
  21575. fi
  21576. if test x$eap_md5 = xtrue; then
  21577. USE_EAP_MD5_TRUE=
  21578. USE_EAP_MD5_FALSE='#'
  21579. else
  21580. USE_EAP_MD5_TRUE='#'
  21581. USE_EAP_MD5_FALSE=
  21582. fi
  21583. if test x$eap_gtc = xtrue; then
  21584. USE_EAP_GTC_TRUE=
  21585. USE_EAP_GTC_FALSE='#'
  21586. else
  21587. USE_EAP_GTC_TRUE='#'
  21588. USE_EAP_GTC_FALSE=
  21589. fi
  21590. if test x$eap_aka = xtrue; then
  21591. USE_EAP_AKA_TRUE=
  21592. USE_EAP_AKA_FALSE='#'
  21593. else
  21594. USE_EAP_AKA_TRUE='#'
  21595. USE_EAP_AKA_FALSE=
  21596. fi
  21597. if test x$eap_aka_3gpp = xtrue; then
  21598. USE_EAP_AKA_3GPP_TRUE=
  21599. USE_EAP_AKA_3GPP_FALSE='#'
  21600. else
  21601. USE_EAP_AKA_3GPP_TRUE='#'
  21602. USE_EAP_AKA_3GPP_FALSE=
  21603. fi
  21604. if test x$eap_aka_3gpp2 = xtrue; then
  21605. USE_EAP_AKA_3GPP2_TRUE=
  21606. USE_EAP_AKA_3GPP2_FALSE='#'
  21607. else
  21608. USE_EAP_AKA_3GPP2_TRUE='#'
  21609. USE_EAP_AKA_3GPP2_FALSE=
  21610. fi
  21611. if test x$eap_mschapv2 = xtrue; then
  21612. USE_EAP_MSCHAPV2_TRUE=
  21613. USE_EAP_MSCHAPV2_FALSE='#'
  21614. else
  21615. USE_EAP_MSCHAPV2_TRUE='#'
  21616. USE_EAP_MSCHAPV2_FALSE=
  21617. fi
  21618. if test x$eap_tls = xtrue; then
  21619. USE_EAP_TLS_TRUE=
  21620. USE_EAP_TLS_FALSE='#'
  21621. else
  21622. USE_EAP_TLS_TRUE='#'
  21623. USE_EAP_TLS_FALSE=
  21624. fi
  21625. if test x$eap_ttls = xtrue; then
  21626. USE_EAP_TTLS_TRUE=
  21627. USE_EAP_TTLS_FALSE='#'
  21628. else
  21629. USE_EAP_TTLS_TRUE='#'
  21630. USE_EAP_TTLS_FALSE=
  21631. fi
  21632. if test x$eap_peap = xtrue; then
  21633. USE_EAP_PEAP_TRUE=
  21634. USE_EAP_PEAP_FALSE='#'
  21635. else
  21636. USE_EAP_PEAP_TRUE='#'
  21637. USE_EAP_PEAP_FALSE=
  21638. fi
  21639. if test x$eap_tnc = xtrue; then
  21640. USE_EAP_TNC_TRUE=
  21641. USE_EAP_TNC_FALSE='#'
  21642. else
  21643. USE_EAP_TNC_TRUE='#'
  21644. USE_EAP_TNC_FALSE=
  21645. fi
  21646. if test x$eap_dynamic = xtrue; then
  21647. USE_EAP_DYNAMIC_TRUE=
  21648. USE_EAP_DYNAMIC_FALSE='#'
  21649. else
  21650. USE_EAP_DYNAMIC_TRUE='#'
  21651. USE_EAP_DYNAMIC_FALSE=
  21652. fi
  21653. if test x$eap_radius = xtrue; then
  21654. USE_EAP_RADIUS_TRUE=
  21655. USE_EAP_RADIUS_FALSE='#'
  21656. else
  21657. USE_EAP_RADIUS_TRUE='#'
  21658. USE_EAP_RADIUS_FALSE=
  21659. fi
  21660. if test x$xauth_generic = xtrue; then
  21661. USE_XAUTH_GENERIC_TRUE=
  21662. USE_XAUTH_GENERIC_FALSE='#'
  21663. else
  21664. USE_XAUTH_GENERIC_TRUE='#'
  21665. USE_XAUTH_GENERIC_FALSE=
  21666. fi
  21667. if test x$xauth_eap = xtrue; then
  21668. USE_XAUTH_EAP_TRUE=
  21669. USE_XAUTH_EAP_FALSE='#'
  21670. else
  21671. USE_XAUTH_EAP_TRUE='#'
  21672. USE_XAUTH_EAP_FALSE=
  21673. fi
  21674. if test x$xauth_pam = xtrue; then
  21675. USE_XAUTH_PAM_TRUE=
  21676. USE_XAUTH_PAM_FALSE='#'
  21677. else
  21678. USE_XAUTH_PAM_TRUE='#'
  21679. USE_XAUTH_PAM_FALSE=
  21680. fi
  21681. if test x$xauth_noauth = xtrue; then
  21682. USE_XAUTH_NOAUTH_TRUE=
  21683. USE_XAUTH_NOAUTH_FALSE='#'
  21684. else
  21685. USE_XAUTH_NOAUTH_TRUE='#'
  21686. USE_XAUTH_NOAUTH_FALSE=
  21687. fi
  21688. if test x$tnc_ifmap = xtrue; then
  21689. USE_TNC_IFMAP_TRUE=
  21690. USE_TNC_IFMAP_FALSE='#'
  21691. else
  21692. USE_TNC_IFMAP_TRUE='#'
  21693. USE_TNC_IFMAP_FALSE=
  21694. fi
  21695. if test x$tnc_pdp = xtrue; then
  21696. USE_TNC_PDP_TRUE=
  21697. USE_TNC_PDP_FALSE='#'
  21698. else
  21699. USE_TNC_PDP_TRUE='#'
  21700. USE_TNC_PDP_FALSE=
  21701. fi
  21702. if test x$tnc_imc = xtrue; then
  21703. USE_TNC_IMC_TRUE=
  21704. USE_TNC_IMC_FALSE='#'
  21705. else
  21706. USE_TNC_IMC_TRUE='#'
  21707. USE_TNC_IMC_FALSE=
  21708. fi
  21709. if test x$tnc_imv = xtrue; then
  21710. USE_TNC_IMV_TRUE=
  21711. USE_TNC_IMV_FALSE='#'
  21712. else
  21713. USE_TNC_IMV_TRUE='#'
  21714. USE_TNC_IMV_FALSE=
  21715. fi
  21716. if test x$tnc_tnccs = xtrue; then
  21717. USE_TNC_TNCCS_TRUE=
  21718. USE_TNC_TNCCS_FALSE='#'
  21719. else
  21720. USE_TNC_TNCCS_TRUE='#'
  21721. USE_TNC_TNCCS_FALSE=
  21722. fi
  21723. if test x$tnccs_11 = xtrue; then
  21724. USE_TNCCS_11_TRUE=
  21725. USE_TNCCS_11_FALSE='#'
  21726. else
  21727. USE_TNCCS_11_TRUE='#'
  21728. USE_TNCCS_11_FALSE=
  21729. fi
  21730. if test x$tnccs_20 = xtrue; then
  21731. USE_TNCCS_20_TRUE=
  21732. USE_TNCCS_20_FALSE='#'
  21733. else
  21734. USE_TNCCS_20_TRUE='#'
  21735. USE_TNCCS_20_FALSE=
  21736. fi
  21737. if test x$tnccs_dynamic = xtrue; then
  21738. USE_TNCCS_DYNAMIC_TRUE=
  21739. USE_TNCCS_DYNAMIC_FALSE='#'
  21740. else
  21741. USE_TNCCS_DYNAMIC_TRUE='#'
  21742. USE_TNCCS_DYNAMIC_FALSE=
  21743. fi
  21744. if test x$imc_test = xtrue; then
  21745. USE_IMC_TEST_TRUE=
  21746. USE_IMC_TEST_FALSE='#'
  21747. else
  21748. USE_IMC_TEST_TRUE='#'
  21749. USE_IMC_TEST_FALSE=
  21750. fi
  21751. if test x$imv_test = xtrue; then
  21752. USE_IMV_TEST_TRUE=
  21753. USE_IMV_TEST_FALSE='#'
  21754. else
  21755. USE_IMV_TEST_TRUE='#'
  21756. USE_IMV_TEST_FALSE=
  21757. fi
  21758. if test x$imc_scanner = xtrue; then
  21759. USE_IMC_SCANNER_TRUE=
  21760. USE_IMC_SCANNER_FALSE='#'
  21761. else
  21762. USE_IMC_SCANNER_TRUE='#'
  21763. USE_IMC_SCANNER_FALSE=
  21764. fi
  21765. if test x$imv_scanner = xtrue; then
  21766. USE_IMV_SCANNER_TRUE=
  21767. USE_IMV_SCANNER_FALSE='#'
  21768. else
  21769. USE_IMV_SCANNER_TRUE='#'
  21770. USE_IMV_SCANNER_FALSE=
  21771. fi
  21772. if test x$imc_os = xtrue; then
  21773. USE_IMC_OS_TRUE=
  21774. USE_IMC_OS_FALSE='#'
  21775. else
  21776. USE_IMC_OS_TRUE='#'
  21777. USE_IMC_OS_FALSE=
  21778. fi
  21779. if test x$imv_os = xtrue; then
  21780. USE_IMV_OS_TRUE=
  21781. USE_IMV_OS_FALSE='#'
  21782. else
  21783. USE_IMV_OS_TRUE='#'
  21784. USE_IMV_OS_FALSE=
  21785. fi
  21786. if test x$imc_attestation = xtrue; then
  21787. USE_IMC_ATTESTATION_TRUE=
  21788. USE_IMC_ATTESTATION_FALSE='#'
  21789. else
  21790. USE_IMC_ATTESTATION_TRUE='#'
  21791. USE_IMC_ATTESTATION_FALSE=
  21792. fi
  21793. if test x$imv_attestation = xtrue; then
  21794. USE_IMV_ATTESTATION_TRUE=
  21795. USE_IMV_ATTESTATION_FALSE='#'
  21796. else
  21797. USE_IMV_ATTESTATION_TRUE='#'
  21798. USE_IMV_ATTESTATION_FALSE=
  21799. fi
  21800. if test x$imc_swima = xtrue; then
  21801. USE_IMC_SWIMA_TRUE=
  21802. USE_IMC_SWIMA_FALSE='#'
  21803. else
  21804. USE_IMC_SWIMA_TRUE='#'
  21805. USE_IMC_SWIMA_FALSE=
  21806. fi
  21807. if test x$imv_swima = xtrue; then
  21808. USE_IMV_SWIMA_TRUE=
  21809. USE_IMV_SWIMA_FALSE='#'
  21810. else
  21811. USE_IMV_SWIMA_TRUE='#'
  21812. USE_IMV_SWIMA_FALSE=
  21813. fi
  21814. if test x$imc_hcd = xtrue; then
  21815. USE_IMC_HCD_TRUE=
  21816. USE_IMC_HCD_FALSE='#'
  21817. else
  21818. USE_IMC_HCD_TRUE='#'
  21819. USE_IMC_HCD_FALSE=
  21820. fi
  21821. if test x$imv_hcd = xtrue; then
  21822. USE_IMV_HCD_TRUE=
  21823. USE_IMV_HCD_FALSE='#'
  21824. else
  21825. USE_IMV_HCD_TRUE='#'
  21826. USE_IMV_HCD_FALSE=
  21827. fi
  21828. if test x$save_keys = xtrue; then
  21829. USE_SAVE_KEYS_TRUE=
  21830. USE_SAVE_KEYS_FALSE='#'
  21831. else
  21832. USE_SAVE_KEYS_TRUE='#'
  21833. USE_SAVE_KEYS_FALSE=
  21834. fi
  21835. if test x$socket_default = xtrue; then
  21836. USE_SOCKET_DEFAULT_TRUE=
  21837. USE_SOCKET_DEFAULT_FALSE='#'
  21838. else
  21839. USE_SOCKET_DEFAULT_TRUE='#'
  21840. USE_SOCKET_DEFAULT_FALSE=
  21841. fi
  21842. if test x$socket_dynamic = xtrue; then
  21843. USE_SOCKET_DYNAMIC_TRUE=
  21844. USE_SOCKET_DYNAMIC_FALSE='#'
  21845. else
  21846. USE_SOCKET_DYNAMIC_TRUE='#'
  21847. USE_SOCKET_DYNAMIC_FALSE=
  21848. fi
  21849. if test x$socket_win = xtrue; then
  21850. USE_SOCKET_WIN_TRUE=
  21851. USE_SOCKET_WIN_FALSE='#'
  21852. else
  21853. USE_SOCKET_WIN_TRUE='#'
  21854. USE_SOCKET_WIN_FALSE=
  21855. fi
  21856. if test x$bypass_lan = xtrue; then
  21857. USE_BYPASS_LAN_TRUE=
  21858. USE_BYPASS_LAN_FALSE='#'
  21859. else
  21860. USE_BYPASS_LAN_TRUE='#'
  21861. USE_BYPASS_LAN_FALSE=
  21862. fi
  21863. if test x$connmark = xtrue; then
  21864. USE_CONNMARK_TRUE=
  21865. USE_CONNMARK_FALSE='#'
  21866. else
  21867. USE_CONNMARK_TRUE='#'
  21868. USE_CONNMARK_FALSE=
  21869. fi
  21870. if test x$forecast = xtrue; then
  21871. USE_FORECAST_TRUE=
  21872. USE_FORECAST_FALSE='#'
  21873. else
  21874. USE_FORECAST_TRUE='#'
  21875. USE_FORECAST_FALSE=
  21876. fi
  21877. if test x$farp = xtrue; then
  21878. USE_FARP_TRUE=
  21879. USE_FARP_FALSE='#'
  21880. else
  21881. USE_FARP_TRUE='#'
  21882. USE_FARP_FALSE=
  21883. fi
  21884. if test x$addrblock = xtrue; then
  21885. USE_ADDRBLOCK_TRUE=
  21886. USE_ADDRBLOCK_FALSE='#'
  21887. else
  21888. USE_ADDRBLOCK_TRUE='#'
  21889. USE_ADDRBLOCK_FALSE=
  21890. fi
  21891. if test x$unity = xtrue; then
  21892. USE_UNITY_TRUE=
  21893. USE_UNITY_FALSE='#'
  21894. else
  21895. USE_UNITY_TRUE='#'
  21896. USE_UNITY_FALSE=
  21897. fi
  21898. if test x$resolve = xtrue; then
  21899. USE_RESOLVE_TRUE=
  21900. USE_RESOLVE_FALSE='#'
  21901. else
  21902. USE_RESOLVE_TRUE='#'
  21903. USE_RESOLVE_FALSE=
  21904. fi
  21905. if test x$attr = xtrue; then
  21906. USE_ATTR_TRUE=
  21907. USE_ATTR_FALSE='#'
  21908. else
  21909. USE_ATTR_TRUE='#'
  21910. USE_ATTR_FALSE=
  21911. fi
  21912. if test x$attr_sql = xtrue; then
  21913. USE_ATTR_SQL_TRUE=
  21914. USE_ATTR_SQL_FALSE='#'
  21915. else
  21916. USE_ATTR_SQL_TRUE='#'
  21917. USE_ATTR_SQL_FALSE=
  21918. fi
  21919. if test x$counters = xtrue; then
  21920. USE_COUNTERS_TRUE=
  21921. USE_COUNTERS_FALSE='#'
  21922. else
  21923. USE_COUNTERS_TRUE='#'
  21924. USE_COUNTERS_FALSE=
  21925. fi
  21926. # other options
  21927. # ---------------
  21928. if test x$leak_detective = xtrue; then
  21929. USE_LEAK_DETECTIVE_TRUE=
  21930. USE_LEAK_DETECTIVE_FALSE='#'
  21931. else
  21932. USE_LEAK_DETECTIVE_TRUE='#'
  21933. USE_LEAK_DETECTIVE_FALSE=
  21934. fi
  21935. if test x$lock_profiler = xtrue; then
  21936. USE_LOCK_PROFILER_TRUE=
  21937. USE_LOCK_PROFILER_FALSE='#'
  21938. else
  21939. USE_LOCK_PROFILER_TRUE='#'
  21940. USE_LOCK_PROFILER_FALSE=
  21941. fi
  21942. if test x$fast = xtrue; then
  21943. USE_FAST_TRUE=
  21944. USE_FAST_FALSE='#'
  21945. else
  21946. USE_FAST_TRUE='#'
  21947. USE_FAST_FALSE=
  21948. fi
  21949. if test x$manager = xtrue; then
  21950. USE_MANAGER_TRUE=
  21951. USE_MANAGER_FALSE='#'
  21952. else
  21953. USE_MANAGER_TRUE='#'
  21954. USE_MANAGER_FALSE=
  21955. fi
  21956. if test x$mediation = xtrue; then
  21957. USE_ME_TRUE=
  21958. USE_ME_FALSE='#'
  21959. else
  21960. USE_ME_TRUE='#'
  21961. USE_ME_FALSE=
  21962. fi
  21963. if test x$integrity_test = xtrue; then
  21964. USE_INTEGRITY_TEST_TRUE=
  21965. USE_INTEGRITY_TEST_FALSE='#'
  21966. else
  21967. USE_INTEGRITY_TEST_TRUE='#'
  21968. USE_INTEGRITY_TEST_FALSE=
  21969. fi
  21970. if test x$load_warning = xtrue; then
  21971. USE_LOAD_WARNING_TRUE=
  21972. USE_LOAD_WARNING_FALSE='#'
  21973. else
  21974. USE_LOAD_WARNING_TRUE='#'
  21975. USE_LOAD_WARNING_FALSE=
  21976. fi
  21977. if test x$ikev1 = xtrue; then
  21978. USE_IKEV1_TRUE=
  21979. USE_IKEV1_FALSE='#'
  21980. else
  21981. USE_IKEV1_TRUE='#'
  21982. USE_IKEV1_FALSE=
  21983. fi
  21984. if test x$ikev2 = xtrue; then
  21985. USE_IKEV2_TRUE=
  21986. USE_IKEV2_FALSE='#'
  21987. else
  21988. USE_IKEV2_TRUE='#'
  21989. USE_IKEV2_FALSE=
  21990. fi
  21991. if test x$threads = xtrue; then
  21992. USE_THREADS_TRUE=
  21993. USE_THREADS_FALSE='#'
  21994. else
  21995. USE_THREADS_TRUE='#'
  21996. USE_THREADS_FALSE=
  21997. fi
  21998. if test x$adns = xtrue; then
  21999. USE_ADNS_TRUE=
  22000. USE_ADNS_FALSE='#'
  22001. else
  22002. USE_ADNS_TRUE='#'
  22003. USE_ADNS_FALSE=
  22004. fi
  22005. if test x$charon = xtrue; then
  22006. USE_CHARON_TRUE=
  22007. USE_CHARON_FALSE='#'
  22008. else
  22009. USE_CHARON_TRUE='#'
  22010. USE_CHARON_FALSE=
  22011. fi
  22012. if test x$nm = xtrue; then
  22013. USE_NM_TRUE=
  22014. USE_NM_FALSE='#'
  22015. else
  22016. USE_NM_TRUE='#'
  22017. USE_NM_FALSE=
  22018. fi
  22019. if test x$pki = xtrue; then
  22020. USE_PKI_TRUE=
  22021. USE_PKI_FALSE='#'
  22022. else
  22023. USE_PKI_TRUE='#'
  22024. USE_PKI_FALSE=
  22025. fi
  22026. if test x$scepclient = xtrue; then
  22027. USE_SCEPCLIENT_TRUE=
  22028. USE_SCEPCLIENT_FALSE='#'
  22029. else
  22030. USE_SCEPCLIENT_TRUE='#'
  22031. USE_SCEPCLIENT_FALSE=
  22032. fi
  22033. if test x$scripts = xtrue; then
  22034. USE_SCRIPTS_TRUE=
  22035. USE_SCRIPTS_FALSE='#'
  22036. else
  22037. USE_SCRIPTS_TRUE='#'
  22038. USE_SCRIPTS_FALSE=
  22039. fi
  22040. if test x$fuzzing = xtrue; then
  22041. USE_FUZZING_TRUE=
  22042. USE_FUZZING_FALSE='#'
  22043. else
  22044. USE_FUZZING_TRUE='#'
  22045. USE_FUZZING_FALSE=
  22046. fi
  22047. if test x$conftest = xtrue; then
  22048. USE_CONFTEST_TRUE=
  22049. USE_CONFTEST_FALSE='#'
  22050. else
  22051. USE_CONFTEST_TRUE='#'
  22052. USE_CONFTEST_FALSE=
  22053. fi
  22054. if 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; then
  22055. USE_LIBSTRONGSWAN_TRUE=
  22056. USE_LIBSTRONGSWAN_FALSE='#'
  22057. else
  22058. USE_LIBSTRONGSWAN_TRUE='#'
  22059. USE_LIBSTRONGSWAN_FALSE=
  22060. fi
  22061. if 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; then
  22062. USE_LIBCHARON_TRUE=
  22063. USE_LIBCHARON_FALSE='#'
  22064. else
  22065. USE_LIBCHARON_TRUE='#'
  22066. USE_LIBCHARON_FALSE=
  22067. fi
  22068. if test x$libipsec = xtrue; then
  22069. USE_LIBIPSEC_TRUE=
  22070. USE_LIBIPSEC_FALSE='#'
  22071. else
  22072. USE_LIBIPSEC_TRUE='#'
  22073. USE_LIBIPSEC_FALSE=
  22074. fi
  22075. if test x$bliss = xtrue -o x$newhope = xtrue; then
  22076. USE_LIBNTTFFT_TRUE=
  22077. USE_LIBNTTFFT_FALSE='#'
  22078. else
  22079. USE_LIBNTTFFT_TRUE='#'
  22080. USE_LIBNTTFFT_FALSE=
  22081. fi
  22082. if test x$tnc_tnccs = xtrue -o x$imcv = xtrue; then
  22083. USE_LIBTNCIF_TRUE=
  22084. USE_LIBTNCIF_FALSE='#'
  22085. else
  22086. USE_LIBTNCIF_TRUE='#'
  22087. USE_LIBTNCIF_FALSE=
  22088. fi
  22089. if test x$tnc_tnccs = xtrue; then
  22090. USE_LIBTNCCS_TRUE=
  22091. USE_LIBTNCCS_FALSE='#'
  22092. else
  22093. USE_LIBTNCCS_TRUE='#'
  22094. USE_LIBTNCCS_FALSE=
  22095. fi
  22096. if test x$tnc_tnccs = xtrue; then
  22097. USE_LIBPTTLS_TRUE=
  22098. USE_LIBPTTLS_FALSE='#'
  22099. else
  22100. USE_LIBPTTLS_TRUE='#'
  22101. USE_LIBPTTLS_FALSE=
  22102. fi
  22103. if test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm = xtrue -o x$aikgen = xtrue -o x$imcv = xtrue; then
  22104. USE_LIBTPMTSS_TRUE=
  22105. USE_LIBTPMTSS_FALSE='#'
  22106. else
  22107. USE_LIBTPMTSS_TRUE='#'
  22108. USE_LIBTPMTSS_FALSE=
  22109. fi
  22110. if test x$stroke = xtrue; then
  22111. USE_FILE_CONFIG_TRUE=
  22112. USE_FILE_CONFIG_FALSE='#'
  22113. else
  22114. USE_FILE_CONFIG_TRUE='#'
  22115. USE_FILE_CONFIG_FALSE=
  22116. fi
  22117. if test x$stroke = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue; then
  22118. USE_IPSEC_SCRIPT_TRUE=
  22119. USE_IPSEC_SCRIPT_FALSE='#'
  22120. else
  22121. USE_IPSEC_SCRIPT_TRUE='#'
  22122. USE_IPSEC_SCRIPT_FALSE=
  22123. fi
  22124. if test x$capabilities = xlibcap; then
  22125. USE_LIBCAP_TRUE=
  22126. USE_LIBCAP_FALSE='#'
  22127. else
  22128. USE_LIBCAP_TRUE='#'
  22129. USE_LIBCAP_FALSE=
  22130. fi
  22131. if test x$printf_hooks = xvstr; then
  22132. USE_VSTR_TRUE=
  22133. USE_VSTR_FALSE='#'
  22134. else
  22135. USE_VSTR_TRUE='#'
  22136. USE_VSTR_FALSE=
  22137. fi
  22138. if test x$printf_hooks = xbuiltin; then
  22139. USE_BUILTIN_PRINTF_TRUE=
  22140. USE_BUILTIN_PRINTF_FALSE='#'
  22141. else
  22142. USE_BUILTIN_PRINTF_TRUE='#'
  22143. USE_BUILTIN_PRINTF_FALSE=
  22144. fi
  22145. if test x$simaka = xtrue; then
  22146. USE_SIMAKA_TRUE=
  22147. USE_SIMAKA_FALSE='#'
  22148. else
  22149. USE_SIMAKA_TRUE='#'
  22150. USE_SIMAKA_FALSE=
  22151. fi
  22152. if test x$tls = xtrue; then
  22153. USE_TLS_TRUE=
  22154. USE_TLS_FALSE='#'
  22155. else
  22156. USE_TLS_TRUE='#'
  22157. USE_TLS_FALSE=
  22158. fi
  22159. if test x$radius = xtrue; then
  22160. USE_RADIUS_TRUE=
  22161. USE_RADIUS_FALSE='#'
  22162. else
  22163. USE_RADIUS_TRUE='#'
  22164. USE_RADIUS_FALSE=
  22165. fi
  22166. if test x$imcv = xtrue; then
  22167. USE_IMCV_TRUE=
  22168. USE_IMCV_FALSE='#'
  22169. else
  22170. USE_IMCV_TRUE='#'
  22171. USE_IMCV_FALSE=
  22172. fi
  22173. if test x$tss_trousers = xtrue; then
  22174. USE_TROUSERS_TRUE=
  22175. USE_TROUSERS_FALSE='#'
  22176. else
  22177. USE_TROUSERS_TRUE='#'
  22178. USE_TROUSERS_FALSE=
  22179. fi
  22180. if test x$tss_tss2 = xtrue; then
  22181. USE_TSS2_TRUE=
  22182. USE_TSS2_FALSE='#'
  22183. else
  22184. USE_TSS2_TRUE='#'
  22185. USE_TSS2_FALSE=
  22186. fi
  22187. if test x$monolithic = xtrue; then
  22188. MONOLITHIC_TRUE=
  22189. MONOLITHIC_FALSE='#'
  22190. else
  22191. MONOLITHIC_TRUE='#'
  22192. MONOLITHIC_FALSE=
  22193. fi
  22194. if test x$static_plugin_constructors = xtrue; then
  22195. STATIC_PLUGIN_CONSTRUCTORS_TRUE=
  22196. STATIC_PLUGIN_CONSTRUCTORS_FALSE='#'
  22197. else
  22198. STATIC_PLUGIN_CONSTRUCTORS_TRUE='#'
  22199. STATIC_PLUGIN_CONSTRUCTORS_FALSE=
  22200. fi
  22201. if test x$enable_silent_rules = xyes; then
  22202. USE_SILENT_RULES_TRUE=
  22203. USE_SILENT_RULES_FALSE='#'
  22204. else
  22205. USE_SILENT_RULES_TRUE='#'
  22206. USE_SILENT_RULES_FALSE=
  22207. fi
  22208. if test x$coverage = xtrue; then
  22209. COVERAGE_TRUE=
  22210. COVERAGE_FALSE='#'
  22211. else
  22212. COVERAGE_TRUE='#'
  22213. COVERAGE_FALSE=
  22214. fi
  22215. if test x$dbghelp_backtraces = xtrue; then
  22216. USE_DBGHELP_TRUE=
  22217. USE_DBGHELP_FALSE='#'
  22218. else
  22219. USE_DBGHELP_TRUE='#'
  22220. USE_DBGHELP_FALSE=
  22221. fi
  22222. if test x$tkm = xtrue; then
  22223. USE_TKM_TRUE=
  22224. USE_TKM_FALSE='#'
  22225. else
  22226. USE_TKM_TRUE='#'
  22227. USE_TKM_FALSE=
  22228. fi
  22229. if test x$cmd = xtrue; then
  22230. USE_CMD_TRUE=
  22231. USE_CMD_FALSE='#'
  22232. else
  22233. USE_CMD_TRUE='#'
  22234. USE_CMD_FALSE=
  22235. fi
  22236. if test x$aikgen = xtrue; then
  22237. USE_AIKGEN_TRUE=
  22238. USE_AIKGEN_FALSE='#'
  22239. else
  22240. USE_AIKGEN_TRUE='#'
  22241. USE_AIKGEN_FALSE=
  22242. fi
  22243. if test x$swanctl = xtrue; then
  22244. USE_SWANCTL_TRUE=
  22245. USE_SWANCTL_FALSE='#'
  22246. else
  22247. USE_SWANCTL_TRUE='#'
  22248. USE_SWANCTL_FALSE=
  22249. fi
  22250. if test x$svc = xtrue; then
  22251. USE_SVC_TRUE=
  22252. USE_SVC_FALSE='#'
  22253. else
  22254. USE_SVC_TRUE='#'
  22255. USE_SVC_FALSE=
  22256. fi
  22257. if test x$systemd = xtrue; then
  22258. USE_SYSTEMD_TRUE=
  22259. USE_SYSTEMD_FALSE='#'
  22260. else
  22261. USE_SYSTEMD_TRUE='#'
  22262. USE_SYSTEMD_FALSE=
  22263. fi
  22264. if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
  22265. USE_LEGACY_SYSTEMD_TRUE=
  22266. USE_LEGACY_SYSTEMD_FALSE='#'
  22267. else
  22268. USE_LEGACY_SYSTEMD_TRUE='#'
  22269. USE_LEGACY_SYSTEMD_FALSE=
  22270. fi
  22271. if test x$ruby_gems = xtrue; then
  22272. USE_RUBY_GEMS_TRUE=
  22273. USE_RUBY_GEMS_FALSE='#'
  22274. else
  22275. USE_RUBY_GEMS_TRUE='#'
  22276. USE_RUBY_GEMS_FALSE=
  22277. fi
  22278. if test x$python_eggs = xtrue; then
  22279. USE_PYTHON_EGGS_TRUE=
  22280. USE_PYTHON_EGGS_FALSE='#'
  22281. else
  22282. USE_PYTHON_EGGS_TRUE='#'
  22283. USE_PYTHON_EGGS_FALSE=
  22284. fi
  22285. if test x$perl_cpan = xtrue; then
  22286. USE_PERL_CPAN_TRUE=
  22287. USE_PERL_CPAN_FALSE='#'
  22288. else
  22289. USE_PERL_CPAN_TRUE='#'
  22290. USE_PERL_CPAN_FALSE=
  22291. fi
  22292. if test "x$PY_TEST" != x; then
  22293. USE_PY_TEST_TRUE=
  22294. USE_PY_TEST_FALSE='#'
  22295. else
  22296. USE_PY_TEST_TRUE='#'
  22297. USE_PY_TEST_FALSE=
  22298. fi
  22299. # ========================
  22300. # set global definitions
  22301. # ========================
  22302. if test x$mediation = xtrue; then
  22303. $as_echo "@%:@define ME /**/" >>confdefs.h
  22304. fi
  22305. if test x$capabilities = xlibcap -o x$capabilities = xnative; then
  22306. $as_echo "@%:@define CAPABILITIES /**/" >>confdefs.h
  22307. fi
  22308. if test x$log_thread_ids = xtrue; then
  22309. $as_echo "@%:@define USE_THREAD_IDS /**/" >>confdefs.h
  22310. fi
  22311. if test x$monolithic = xtrue; then
  22312. $as_echo "@%:@define MONOLITHIC /**/" >>confdefs.h
  22313. fi
  22314. if test x$static_plugin_constructors = xtrue; then
  22315. $as_echo "@%:@define STATIC_PLUGIN_CONSTRUCTORS /**/" >>confdefs.h
  22316. fi
  22317. if test x$ikev1 = xtrue; then
  22318. $as_echo "@%:@define USE_IKEV1 /**/" >>confdefs.h
  22319. fi
  22320. if test x$ikev2 = xtrue; then
  22321. $as_echo "@%:@define USE_IKEV2 /**/" >>confdefs.h
  22322. fi
  22323. if test x$fuzzing = xtrue; then
  22324. $as_echo "@%:@define USE_FUZZING /**/" >>confdefs.h
  22325. fi
  22326. if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then
  22327. $as_echo "@%:@define USE_JSON /**/" >>confdefs.h
  22328. fi
  22329. # ====================================================
  22330. # options for enabled modules (see conf/Makefile.am)
  22331. # ====================================================
  22332. strongswan_options=
  22333. if test -z "$USE_AIKGEN_TRUE"; then :
  22334. strongswan_options=${strongswan_options}" aikgen"
  22335. fi
  22336. if test -z "$USE_ATTR_SQL_TRUE"; then :
  22337. strongswan_options=${strongswan_options}" pool"
  22338. fi
  22339. if test -z "$USE_CHARON_TRUE"; then :
  22340. strongswan_options=${strongswan_options}" charon charon-logging"
  22341. fi
  22342. if test -z "$USE_FILE_CONFIG_TRUE"; then :
  22343. strongswan_options=${strongswan_options}" starter"
  22344. fi
  22345. if test -z "$USE_IMV_ATTESTATION_TRUE"; then :
  22346. strongswan_options=${strongswan_options}" attest"
  22347. fi
  22348. if test -z "$USE_IMCV_TRUE"; then :
  22349. strongswan_options=${strongswan_options}" imcv"
  22350. fi
  22351. if test -z "$USE_IMV_SWIMA_TRUE"; then :
  22352. strongswan_options=${strongswan_options}" sec-updater"
  22353. fi
  22354. if test -z "$USE_LIBTNCCS_TRUE"; then :
  22355. strongswan_options=${strongswan_options}" tnc"
  22356. fi
  22357. if test -z "$USE_MANAGER_TRUE"; then :
  22358. strongswan_options=${strongswan_options}" manager"
  22359. fi
  22360. if test -z "$USE_MEDSRV_TRUE"; then :
  22361. strongswan_options=${strongswan_options}" medsrv"
  22362. fi
  22363. if test -z "$USE_SCEPCLIENT_TRUE"; then :
  22364. strongswan_options=${strongswan_options}" scepclient"
  22365. fi
  22366. if test -z "$USE_PKI_TRUE"; then :
  22367. strongswan_options=${strongswan_options}" pki"
  22368. fi
  22369. if test -z "$USE_SWANCTL_TRUE"; then :
  22370. strongswan_options=${strongswan_options}" swanctl"
  22371. fi
  22372. if test -z "$USE_SYSTEMD_TRUE"; then :
  22373. strongswan_options=${strongswan_options}" charon-systemd"
  22374. fi
  22375. # =================
  22376. # build Makefiles
  22377. # =================
  22378. 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"
  22379. # =================
  22380. # build man pages
  22381. # =================
  22382. 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"
  22383. cat >confcache <<\_ACEOF
  22384. # This file is a shell script that caches the results of configure
  22385. # tests run on this system so they can be shared between configure
  22386. # scripts and configure runs, see configure's option --config-cache.
  22387. # It is not useful on other systems. If it contains results you don't
  22388. # want to keep, you may remove or edit it.
  22389. #
  22390. # config.status only pays attention to the cache file if you give it
  22391. # the --recheck option to rerun configure.
  22392. #
  22393. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  22394. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  22395. # following values.
  22396. _ACEOF
  22397. # The following way of writing the cache mishandles newlines in values,
  22398. # but we know of no workaround that is simple, portable, and efficient.
  22399. # So, we kill variables containing newlines.
  22400. # Ultrix sh set writes to stderr and can't be redirected directly,
  22401. # and sets the high bit in the cache file unless we assign to the vars.
  22402. (
  22403. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  22404. eval ac_val=\$$ac_var
  22405. case $ac_val in #(
  22406. *${as_nl}*)
  22407. case $ac_var in #(
  22408. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  22409. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  22410. esac
  22411. case $ac_var in #(
  22412. _ | IFS | as_nl) ;; #(
  22413. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  22414. *) { eval $ac_var=; unset $ac_var;} ;;
  22415. esac ;;
  22416. esac
  22417. done
  22418. (set) 2>&1 |
  22419. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  22420. *${as_nl}ac_space=\ *)
  22421. # `set' does not quote correctly, so add quotes: double-quote
  22422. # substitution turns \\\\ into \\, and sed turns \\ into \.
  22423. sed -n \
  22424. "s/'/'\\\\''/g;
  22425. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  22426. ;; #(
  22427. *)
  22428. # `set' quotes correctly as required by POSIX, so do not add quotes.
  22429. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  22430. ;;
  22431. esac |
  22432. sort
  22433. ) |
  22434. sed '
  22435. /^ac_cv_env_/b end
  22436. t clear
  22437. :clear
  22438. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  22439. t end
  22440. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  22441. :end' >>confcache
  22442. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  22443. if test -w "$cache_file"; then
  22444. if test "x$cache_file" != "x/dev/null"; then
  22445. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  22446. $as_echo "$as_me: updating cache $cache_file" >&6;}
  22447. if test ! -f "$cache_file" || test -h "$cache_file"; then
  22448. cat confcache >"$cache_file"
  22449. else
  22450. case $cache_file in #(
  22451. */* | ?:*)
  22452. mv -f confcache "$cache_file"$$ &&
  22453. mv -f "$cache_file"$$ "$cache_file" ;; #(
  22454. *)
  22455. mv -f confcache "$cache_file" ;;
  22456. esac
  22457. fi
  22458. fi
  22459. else
  22460. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  22461. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  22462. fi
  22463. fi
  22464. rm -f confcache
  22465. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  22466. # Let make expand exec_prefix.
  22467. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  22468. DEFS=-DHAVE_CONFIG_H
  22469. ac_libobjs=
  22470. ac_ltlibobjs=
  22471. U=
  22472. for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
  22473. # 1. Remove the extension, and $U if already installed.
  22474. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  22475. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  22476. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  22477. # will be set to the directory where LIBOBJS objects are built.
  22478. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  22479. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  22480. done
  22481. LIB@&t@OBJS=$ac_libobjs
  22482. LTLIBOBJS=$ac_ltlibobjs
  22483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  22484. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  22485. if test -n "$am_sleep_pid"; then
  22486. # Hide warnings about reused PIDs.
  22487. wait $am_sleep_pid 2>/dev/null
  22488. fi
  22489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  22490. $as_echo "done" >&6; }
  22491. if test -n "$EXEEXT"; then
  22492. am__EXEEXT_TRUE=
  22493. am__EXEEXT_FALSE='#'
  22494. else
  22495. am__EXEEXT_TRUE='#'
  22496. am__EXEEXT_FALSE=
  22497. fi
  22498. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  22499. as_fn_error $? "conditional \"AMDEP\" was never defined.
  22500. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22501. fi
  22502. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  22503. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  22504. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22505. fi
  22506. if test -z "${USE_SYSLOG_TRUE}" && test -z "${USE_SYSLOG_FALSE}"; then
  22507. as_fn_error $? "conditional \"USE_SYSLOG\" was never defined.
  22508. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22509. fi
  22510. if test -z "${USE_WINDOWS_TRUE}" && test -z "${USE_WINDOWS_FALSE}"; then
  22511. as_fn_error $? "conditional \"USE_WINDOWS\" was never defined.
  22512. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22513. fi
  22514. if test -z "${USE_X86X64_TRUE}" && test -z "${USE_X86X64_FALSE}"; then
  22515. as_fn_error $? "conditional \"USE_X86X64\" was never defined.
  22516. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22517. fi
  22518. if test -z "${USE_DEV_HEADERS_TRUE}" && test -z "${USE_DEV_HEADERS_FALSE}"; then
  22519. as_fn_error $? "conditional \"USE_DEV_HEADERS\" was never defined.
  22520. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22521. fi
  22522. if test -z "${RUBY_GEMS_INSTALL_TRUE}" && test -z "${RUBY_GEMS_INSTALL_FALSE}"; then
  22523. as_fn_error $? "conditional \"RUBY_GEMS_INSTALL\" was never defined.
  22524. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22525. fi
  22526. if test -z "${PYTHON_EGGS_INSTALL_TRUE}" && test -z "${PYTHON_EGGS_INSTALL_FALSE}"; then
  22527. as_fn_error $? "conditional \"PYTHON_EGGS_INSTALL\" was never defined.
  22528. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22529. fi
  22530. if test -z "${PERL_CPAN_INSTALL_TRUE}" && test -z "${PERL_CPAN_INSTALL_FALSE}"; then
  22531. as_fn_error $? "conditional \"PERL_CPAN_INSTALL\" was never defined.
  22532. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22533. fi
  22534. if test -z "${USE_TEST_VECTORS_TRUE}" && test -z "${USE_TEST_VECTORS_FALSE}"; then
  22535. as_fn_error $? "conditional \"USE_TEST_VECTORS\" was never defined.
  22536. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22537. fi
  22538. if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
  22539. as_fn_error $? "conditional \"USE_CURL\" was never defined.
  22540. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22541. fi
  22542. if test -z "${USE_FILES_TRUE}" && test -z "${USE_FILES_FALSE}"; then
  22543. as_fn_error $? "conditional \"USE_FILES\" was never defined.
  22544. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22545. fi
  22546. if test -z "${USE_WINHTTP_TRUE}" && test -z "${USE_WINHTTP_FALSE}"; then
  22547. as_fn_error $? "conditional \"USE_WINHTTP\" was never defined.
  22548. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22549. fi
  22550. if test -z "${USE_UNBOUND_TRUE}" && test -z "${USE_UNBOUND_FALSE}"; then
  22551. as_fn_error $? "conditional \"USE_UNBOUND\" was never defined.
  22552. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22553. fi
  22554. if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
  22555. as_fn_error $? "conditional \"USE_SOUP\" was never defined.
  22556. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22557. fi
  22558. if test -z "${USE_LDAP_TRUE}" && test -z "${USE_LDAP_FALSE}"; then
  22559. as_fn_error $? "conditional \"USE_LDAP\" was never defined.
  22560. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22561. fi
  22562. if test -z "${USE_AES_TRUE}" && test -z "${USE_AES_FALSE}"; then
  22563. as_fn_error $? "conditional \"USE_AES\" was never defined.
  22564. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22565. fi
  22566. if test -z "${USE_DES_TRUE}" && test -z "${USE_DES_FALSE}"; then
  22567. as_fn_error $? "conditional \"USE_DES\" was never defined.
  22568. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22569. fi
  22570. if test -z "${USE_BLOWFISH_TRUE}" && test -z "${USE_BLOWFISH_FALSE}"; then
  22571. as_fn_error $? "conditional \"USE_BLOWFISH\" was never defined.
  22572. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22573. fi
  22574. if test -z "${USE_RC2_TRUE}" && test -z "${USE_RC2_FALSE}"; then
  22575. as_fn_error $? "conditional \"USE_RC2\" was never defined.
  22576. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22577. fi
  22578. if test -z "${USE_MD4_TRUE}" && test -z "${USE_MD4_FALSE}"; then
  22579. as_fn_error $? "conditional \"USE_MD4\" was never defined.
  22580. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22581. fi
  22582. if test -z "${USE_MD5_TRUE}" && test -z "${USE_MD5_FALSE}"; then
  22583. as_fn_error $? "conditional \"USE_MD5\" was never defined.
  22584. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22585. fi
  22586. if test -z "${USE_SHA1_TRUE}" && test -z "${USE_SHA1_FALSE}"; then
  22587. as_fn_error $? "conditional \"USE_SHA1\" was never defined.
  22588. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22589. fi
  22590. if test -z "${USE_SHA2_TRUE}" && test -z "${USE_SHA2_FALSE}"; then
  22591. as_fn_error $? "conditional \"USE_SHA2\" was never defined.
  22592. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22593. fi
  22594. if test -z "${USE_SHA3_TRUE}" && test -z "${USE_SHA3_FALSE}"; then
  22595. as_fn_error $? "conditional \"USE_SHA3\" was never defined.
  22596. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22597. fi
  22598. if test -z "${USE_MGF1_TRUE}" && test -z "${USE_MGF1_FALSE}"; then
  22599. as_fn_error $? "conditional \"USE_MGF1\" was never defined.
  22600. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22601. fi
  22602. if test -z "${USE_FIPS_PRF_TRUE}" && test -z "${USE_FIPS_PRF_FALSE}"; then
  22603. as_fn_error $? "conditional \"USE_FIPS_PRF\" was never defined.
  22604. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22605. fi
  22606. if test -z "${USE_GMP_TRUE}" && test -z "${USE_GMP_FALSE}"; then
  22607. as_fn_error $? "conditional \"USE_GMP\" was never defined.
  22608. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22609. fi
  22610. if test -z "${USE_CURVE25519_TRUE}" && test -z "${USE_CURVE25519_FALSE}"; then
  22611. as_fn_error $? "conditional \"USE_CURVE25519\" was never defined.
  22612. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22613. fi
  22614. if test -z "${USE_RDRAND_TRUE}" && test -z "${USE_RDRAND_FALSE}"; then
  22615. as_fn_error $? "conditional \"USE_RDRAND\" was never defined.
  22616. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22617. fi
  22618. if test -z "${USE_AESNI_TRUE}" && test -z "${USE_AESNI_FALSE}"; then
  22619. as_fn_error $? "conditional \"USE_AESNI\" was never defined.
  22620. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22621. fi
  22622. if test -z "${USE_RANDOM_TRUE}" && test -z "${USE_RANDOM_FALSE}"; then
  22623. as_fn_error $? "conditional \"USE_RANDOM\" was never defined.
  22624. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22625. fi
  22626. if test -z "${USE_NONCE_TRUE}" && test -z "${USE_NONCE_FALSE}"; then
  22627. as_fn_error $? "conditional \"USE_NONCE\" was never defined.
  22628. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22629. fi
  22630. if test -z "${USE_X509_TRUE}" && test -z "${USE_X509_FALSE}"; then
  22631. as_fn_error $? "conditional \"USE_X509\" was never defined.
  22632. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22633. fi
  22634. if test -z "${USE_REVOCATION_TRUE}" && test -z "${USE_REVOCATION_FALSE}"; then
  22635. as_fn_error $? "conditional \"USE_REVOCATION\" was never defined.
  22636. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22637. fi
  22638. if test -z "${USE_CONSTRAINTS_TRUE}" && test -z "${USE_CONSTRAINTS_FALSE}"; then
  22639. as_fn_error $? "conditional \"USE_CONSTRAINTS\" was never defined.
  22640. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22641. fi
  22642. if test -z "${USE_ACERT_TRUE}" && test -z "${USE_ACERT_FALSE}"; then
  22643. as_fn_error $? "conditional \"USE_ACERT\" was never defined.
  22644. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22645. fi
  22646. if test -z "${USE_PUBKEY_TRUE}" && test -z "${USE_PUBKEY_FALSE}"; then
  22647. as_fn_error $? "conditional \"USE_PUBKEY\" was never defined.
  22648. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22649. fi
  22650. if test -z "${USE_PKCS1_TRUE}" && test -z "${USE_PKCS1_FALSE}"; then
  22651. as_fn_error $? "conditional \"USE_PKCS1\" was never defined.
  22652. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22653. fi
  22654. if test -z "${USE_PKCS7_TRUE}" && test -z "${USE_PKCS7_FALSE}"; then
  22655. as_fn_error $? "conditional \"USE_PKCS7\" was never defined.
  22656. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22657. fi
  22658. if test -z "${USE_PKCS8_TRUE}" && test -z "${USE_PKCS8_FALSE}"; then
  22659. as_fn_error $? "conditional \"USE_PKCS8\" was never defined.
  22660. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22661. fi
  22662. if test -z "${USE_PKCS12_TRUE}" && test -z "${USE_PKCS12_FALSE}"; then
  22663. as_fn_error $? "conditional \"USE_PKCS12\" was never defined.
  22664. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22665. fi
  22666. if test -z "${USE_PGP_TRUE}" && test -z "${USE_PGP_FALSE}"; then
  22667. as_fn_error $? "conditional \"USE_PGP\" was never defined.
  22668. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22669. fi
  22670. if test -z "${USE_DNSKEY_TRUE}" && test -z "${USE_DNSKEY_FALSE}"; then
  22671. as_fn_error $? "conditional \"USE_DNSKEY\" was never defined.
  22672. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22673. fi
  22674. if test -z "${USE_SSHKEY_TRUE}" && test -z "${USE_SSHKEY_FALSE}"; then
  22675. as_fn_error $? "conditional \"USE_SSHKEY\" was never defined.
  22676. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22677. fi
  22678. if test -z "${USE_PEM_TRUE}" && test -z "${USE_PEM_FALSE}"; then
  22679. as_fn_error $? "conditional \"USE_PEM\" was never defined.
  22680. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22681. fi
  22682. if test -z "${USE_HMAC_TRUE}" && test -z "${USE_HMAC_FALSE}"; then
  22683. as_fn_error $? "conditional \"USE_HMAC\" was never defined.
  22684. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22685. fi
  22686. if test -z "${USE_CMAC_TRUE}" && test -z "${USE_CMAC_FALSE}"; then
  22687. as_fn_error $? "conditional \"USE_CMAC\" was never defined.
  22688. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22689. fi
  22690. if test -z "${USE_XCBC_TRUE}" && test -z "${USE_XCBC_FALSE}"; then
  22691. as_fn_error $? "conditional \"USE_XCBC\" was never defined.
  22692. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22693. fi
  22694. if test -z "${USE_MYSQL_TRUE}" && test -z "${USE_MYSQL_FALSE}"; then
  22695. as_fn_error $? "conditional \"USE_MYSQL\" was never defined.
  22696. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22697. fi
  22698. if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
  22699. as_fn_error $? "conditional \"USE_SQLITE\" was never defined.
  22700. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22701. fi
  22702. if test -z "${USE_PADLOCK_TRUE}" && test -z "${USE_PADLOCK_FALSE}"; then
  22703. as_fn_error $? "conditional \"USE_PADLOCK\" was never defined.
  22704. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22705. fi
  22706. if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then
  22707. as_fn_error $? "conditional \"USE_OPENSSL\" was never defined.
  22708. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22709. fi
  22710. if test -z "${USE_WOLFSSL_TRUE}" && test -z "${USE_WOLFSSL_FALSE}"; then
  22711. as_fn_error $? "conditional \"USE_WOLFSSL\" was never defined.
  22712. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22713. fi
  22714. if test -z "${USE_GCRYPT_TRUE}" && test -z "${USE_GCRYPT_FALSE}"; then
  22715. as_fn_error $? "conditional \"USE_GCRYPT\" was never defined.
  22716. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22717. fi
  22718. if test -z "${USE_BOTAN_TRUE}" && test -z "${USE_BOTAN_FALSE}"; then
  22719. as_fn_error $? "conditional \"USE_BOTAN\" was never defined.
  22720. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22721. fi
  22722. if test -z "${USE_AGENT_TRUE}" && test -z "${USE_AGENT_FALSE}"; then
  22723. as_fn_error $? "conditional \"USE_AGENT\" was never defined.
  22724. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22725. fi
  22726. if test -z "${USE_KEYCHAIN_TRUE}" && test -z "${USE_KEYCHAIN_FALSE}"; then
  22727. as_fn_error $? "conditional \"USE_KEYCHAIN\" was never defined.
  22728. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22729. fi
  22730. if test -z "${USE_PKCS11_TRUE}" && test -z "${USE_PKCS11_FALSE}"; then
  22731. as_fn_error $? "conditional \"USE_PKCS11\" was never defined.
  22732. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22733. fi
  22734. if test -z "${USE_TPM_TRUE}" && test -z "${USE_TPM_FALSE}"; then
  22735. as_fn_error $? "conditional \"USE_TPM\" was never defined.
  22736. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22737. fi
  22738. if test -z "${USE_CHAPOLY_TRUE}" && test -z "${USE_CHAPOLY_FALSE}"; then
  22739. as_fn_error $? "conditional \"USE_CHAPOLY\" was never defined.
  22740. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22741. fi
  22742. if test -z "${USE_CTR_TRUE}" && test -z "${USE_CTR_FALSE}"; then
  22743. as_fn_error $? "conditional \"USE_CTR\" was never defined.
  22744. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22745. fi
  22746. if test -z "${USE_CCM_TRUE}" && test -z "${USE_CCM_FALSE}"; then
  22747. as_fn_error $? "conditional \"USE_CCM\" was never defined.
  22748. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22749. fi
  22750. if test -z "${USE_GCM_TRUE}" && test -z "${USE_GCM_FALSE}"; then
  22751. as_fn_error $? "conditional \"USE_GCM\" was never defined.
  22752. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22753. fi
  22754. if test -z "${USE_AF_ALG_TRUE}" && test -z "${USE_AF_ALG_FALSE}"; then
  22755. as_fn_error $? "conditional \"USE_AF_ALG\" was never defined.
  22756. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22757. fi
  22758. if test -z "${USE_NTRU_TRUE}" && test -z "${USE_NTRU_FALSE}"; then
  22759. as_fn_error $? "conditional \"USE_NTRU\" was never defined.
  22760. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22761. fi
  22762. if test -z "${USE_NEWHOPE_TRUE}" && test -z "${USE_NEWHOPE_FALSE}"; then
  22763. as_fn_error $? "conditional \"USE_NEWHOPE\" was never defined.
  22764. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22765. fi
  22766. if test -z "${USE_BLISS_TRUE}" && test -z "${USE_BLISS_FALSE}"; then
  22767. as_fn_error $? "conditional \"USE_BLISS\" was never defined.
  22768. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22769. fi
  22770. if test -z "${USE_STROKE_TRUE}" && test -z "${USE_STROKE_FALSE}"; then
  22771. as_fn_error $? "conditional \"USE_STROKE\" was never defined.
  22772. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22773. fi
  22774. if test -z "${USE_VICI_TRUE}" && test -z "${USE_VICI_FALSE}"; then
  22775. as_fn_error $? "conditional \"USE_VICI\" was never defined.
  22776. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22777. fi
  22778. if test -z "${USE_MEDSRV_TRUE}" && test -z "${USE_MEDSRV_FALSE}"; then
  22779. as_fn_error $? "conditional \"USE_MEDSRV\" was never defined.
  22780. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22781. fi
  22782. if test -z "${USE_MEDCLI_TRUE}" && test -z "${USE_MEDCLI_FALSE}"; then
  22783. as_fn_error $? "conditional \"USE_MEDCLI\" was never defined.
  22784. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22785. fi
  22786. if test -z "${USE_UCI_TRUE}" && test -z "${USE_UCI_FALSE}"; then
  22787. as_fn_error $? "conditional \"USE_UCI\" was never defined.
  22788. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22789. fi
  22790. if test -z "${USE_OSX_ATTR_TRUE}" && test -z "${USE_OSX_ATTR_FALSE}"; then
  22791. as_fn_error $? "conditional \"USE_OSX_ATTR\" was never defined.
  22792. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22793. fi
  22794. if test -z "${USE_P_CSCF_TRUE}" && test -z "${USE_P_CSCF_FALSE}"; then
  22795. as_fn_error $? "conditional \"USE_P_CSCF\" was never defined.
  22796. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22797. fi
  22798. if test -z "${USE_ANDROID_DNS_TRUE}" && test -z "${USE_ANDROID_DNS_FALSE}"; then
  22799. as_fn_error $? "conditional \"USE_ANDROID_DNS\" was never defined.
  22800. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22801. fi
  22802. if test -z "${USE_ANDROID_LOG_TRUE}" && test -z "${USE_ANDROID_LOG_FALSE}"; then
  22803. as_fn_error $? "conditional \"USE_ANDROID_LOG\" was never defined.
  22804. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22805. fi
  22806. if test -z "${USE_SMP_TRUE}" && test -z "${USE_SMP_FALSE}"; then
  22807. as_fn_error $? "conditional \"USE_SMP\" was never defined.
  22808. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22809. fi
  22810. if test -z "${USE_SQL_TRUE}" && test -z "${USE_SQL_FALSE}"; then
  22811. as_fn_error $? "conditional \"USE_SQL\" was never defined.
  22812. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22813. fi
  22814. if test -z "${USE_DNSCERT_TRUE}" && test -z "${USE_DNSCERT_FALSE}"; then
  22815. as_fn_error $? "conditional \"USE_DNSCERT\" was never defined.
  22816. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22817. fi
  22818. if test -z "${USE_IPSECKEY_TRUE}" && test -z "${USE_IPSECKEY_FALSE}"; then
  22819. as_fn_error $? "conditional \"USE_IPSECKEY\" was never defined.
  22820. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22821. fi
  22822. if test -z "${USE_UPDOWN_TRUE}" && test -z "${USE_UPDOWN_FALSE}"; then
  22823. as_fn_error $? "conditional \"USE_UPDOWN\" was never defined.
  22824. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22825. fi
  22826. if test -z "${USE_DHCP_TRUE}" && test -z "${USE_DHCP_FALSE}"; then
  22827. as_fn_error $? "conditional \"USE_DHCP\" was never defined.
  22828. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22829. fi
  22830. if test -z "${USE_LOAD_TESTER_TRUE}" && test -z "${USE_LOAD_TESTER_FALSE}"; then
  22831. as_fn_error $? "conditional \"USE_LOAD_TESTER\" was never defined.
  22832. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22833. fi
  22834. if test -z "${USE_HA_TRUE}" && test -z "${USE_HA_FALSE}"; then
  22835. as_fn_error $? "conditional \"USE_HA\" was never defined.
  22836. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22837. fi
  22838. if test -z "${USE_KERNEL_NETLINK_TRUE}" && test -z "${USE_KERNEL_NETLINK_FALSE}"; then
  22839. as_fn_error $? "conditional \"USE_KERNEL_NETLINK\" was never defined.
  22840. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22841. fi
  22842. if test -z "${USE_KERNEL_PFKEY_TRUE}" && test -z "${USE_KERNEL_PFKEY_FALSE}"; then
  22843. as_fn_error $? "conditional \"USE_KERNEL_PFKEY\" was never defined.
  22844. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22845. fi
  22846. if test -z "${USE_KERNEL_PFROUTE_TRUE}" && test -z "${USE_KERNEL_PFROUTE_FALSE}"; then
  22847. as_fn_error $? "conditional \"USE_KERNEL_PFROUTE\" was never defined.
  22848. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22849. fi
  22850. if test -z "${USE_KERNEL_LIBIPSEC_TRUE}" && test -z "${USE_KERNEL_LIBIPSEC_FALSE}"; then
  22851. as_fn_error $? "conditional \"USE_KERNEL_LIBIPSEC\" was never defined.
  22852. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22853. fi
  22854. if test -z "${USE_KERNEL_WFP_TRUE}" && test -z "${USE_KERNEL_WFP_FALSE}"; then
  22855. as_fn_error $? "conditional \"USE_KERNEL_WFP\" was never defined.
  22856. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22857. fi
  22858. if test -z "${USE_KERNEL_IPH_TRUE}" && test -z "${USE_KERNEL_IPH_FALSE}"; then
  22859. as_fn_error $? "conditional \"USE_KERNEL_IPH\" was never defined.
  22860. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22861. fi
  22862. if test -z "${USE_WHITELIST_TRUE}" && test -z "${USE_WHITELIST_FALSE}"; then
  22863. as_fn_error $? "conditional \"USE_WHITELIST\" was never defined.
  22864. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22865. fi
  22866. if test -z "${USE_EXT_AUTH_TRUE}" && test -z "${USE_EXT_AUTH_FALSE}"; then
  22867. as_fn_error $? "conditional \"USE_EXT_AUTH\" was never defined.
  22868. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22869. fi
  22870. if test -z "${USE_LOOKIP_TRUE}" && test -z "${USE_LOOKIP_FALSE}"; then
  22871. as_fn_error $? "conditional \"USE_LOOKIP\" was never defined.
  22872. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22873. fi
  22874. if test -z "${USE_ERROR_NOTIFY_TRUE}" && test -z "${USE_ERROR_NOTIFY_FALSE}"; then
  22875. as_fn_error $? "conditional \"USE_ERROR_NOTIFY\" was never defined.
  22876. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22877. fi
  22878. if test -z "${USE_CERTEXPIRE_TRUE}" && test -z "${USE_CERTEXPIRE_FALSE}"; then
  22879. as_fn_error $? "conditional \"USE_CERTEXPIRE\" was never defined.
  22880. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22881. fi
  22882. if test -z "${USE_SYSTIME_FIX_TRUE}" && test -z "${USE_SYSTIME_FIX_FALSE}"; then
  22883. as_fn_error $? "conditional \"USE_SYSTIME_FIX\" was never defined.
  22884. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22885. fi
  22886. if test -z "${USE_LED_TRUE}" && test -z "${USE_LED_FALSE}"; then
  22887. as_fn_error $? "conditional \"USE_LED\" was never defined.
  22888. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22889. fi
  22890. if test -z "${USE_DUPLICHECK_TRUE}" && test -z "${USE_DUPLICHECK_FALSE}"; then
  22891. as_fn_error $? "conditional \"USE_DUPLICHECK\" was never defined.
  22892. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22893. fi
  22894. if test -z "${USE_COUPLING_TRUE}" && test -z "${USE_COUPLING_FALSE}"; then
  22895. as_fn_error $? "conditional \"USE_COUPLING\" was never defined.
  22896. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22897. fi
  22898. if test -z "${USE_RADATTR_TRUE}" && test -z "${USE_RADATTR_FALSE}"; then
  22899. as_fn_error $? "conditional \"USE_RADATTR\" was never defined.
  22900. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22901. fi
  22902. if test -z "${USE_EAP_SIM_TRUE}" && test -z "${USE_EAP_SIM_FALSE}"; then
  22903. as_fn_error $? "conditional \"USE_EAP_SIM\" was never defined.
  22904. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22905. fi
  22906. if test -z "${USE_EAP_SIM_FILE_TRUE}" && test -z "${USE_EAP_SIM_FILE_FALSE}"; then
  22907. as_fn_error $? "conditional \"USE_EAP_SIM_FILE\" was never defined.
  22908. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22909. fi
  22910. if test -z "${USE_EAP_SIM_PCSC_TRUE}" && test -z "${USE_EAP_SIM_PCSC_FALSE}"; then
  22911. as_fn_error $? "conditional \"USE_EAP_SIM_PCSC\" was never defined.
  22912. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22913. fi
  22914. if test -z "${USE_EAP_SIMAKA_SQL_TRUE}" && test -z "${USE_EAP_SIMAKA_SQL_FALSE}"; then
  22915. as_fn_error $? "conditional \"USE_EAP_SIMAKA_SQL\" was never defined.
  22916. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22917. fi
  22918. if test -z "${USE_EAP_SIMAKA_PSEUDONYM_TRUE}" && test -z "${USE_EAP_SIMAKA_PSEUDONYM_FALSE}"; then
  22919. as_fn_error $? "conditional \"USE_EAP_SIMAKA_PSEUDONYM\" was never defined.
  22920. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22921. fi
  22922. if test -z "${USE_EAP_SIMAKA_REAUTH_TRUE}" && test -z "${USE_EAP_SIMAKA_REAUTH_FALSE}"; then
  22923. as_fn_error $? "conditional \"USE_EAP_SIMAKA_REAUTH\" was never defined.
  22924. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22925. fi
  22926. if test -z "${USE_EAP_IDENTITY_TRUE}" && test -z "${USE_EAP_IDENTITY_FALSE}"; then
  22927. as_fn_error $? "conditional \"USE_EAP_IDENTITY\" was never defined.
  22928. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22929. fi
  22930. if test -z "${USE_EAP_MD5_TRUE}" && test -z "${USE_EAP_MD5_FALSE}"; then
  22931. as_fn_error $? "conditional \"USE_EAP_MD5\" was never defined.
  22932. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22933. fi
  22934. if test -z "${USE_EAP_GTC_TRUE}" && test -z "${USE_EAP_GTC_FALSE}"; then
  22935. as_fn_error $? "conditional \"USE_EAP_GTC\" was never defined.
  22936. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22937. fi
  22938. if test -z "${USE_EAP_AKA_TRUE}" && test -z "${USE_EAP_AKA_FALSE}"; then
  22939. as_fn_error $? "conditional \"USE_EAP_AKA\" was never defined.
  22940. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22941. fi
  22942. if test -z "${USE_EAP_AKA_3GPP_TRUE}" && test -z "${USE_EAP_AKA_3GPP_FALSE}"; then
  22943. as_fn_error $? "conditional \"USE_EAP_AKA_3GPP\" was never defined.
  22944. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22945. fi
  22946. if test -z "${USE_EAP_AKA_3GPP2_TRUE}" && test -z "${USE_EAP_AKA_3GPP2_FALSE}"; then
  22947. as_fn_error $? "conditional \"USE_EAP_AKA_3GPP2\" was never defined.
  22948. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22949. fi
  22950. if test -z "${USE_EAP_MSCHAPV2_TRUE}" && test -z "${USE_EAP_MSCHAPV2_FALSE}"; then
  22951. as_fn_error $? "conditional \"USE_EAP_MSCHAPV2\" was never defined.
  22952. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22953. fi
  22954. if test -z "${USE_EAP_TLS_TRUE}" && test -z "${USE_EAP_TLS_FALSE}"; then
  22955. as_fn_error $? "conditional \"USE_EAP_TLS\" was never defined.
  22956. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22957. fi
  22958. if test -z "${USE_EAP_TTLS_TRUE}" && test -z "${USE_EAP_TTLS_FALSE}"; then
  22959. as_fn_error $? "conditional \"USE_EAP_TTLS\" was never defined.
  22960. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22961. fi
  22962. if test -z "${USE_EAP_PEAP_TRUE}" && test -z "${USE_EAP_PEAP_FALSE}"; then
  22963. as_fn_error $? "conditional \"USE_EAP_PEAP\" was never defined.
  22964. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22965. fi
  22966. if test -z "${USE_EAP_TNC_TRUE}" && test -z "${USE_EAP_TNC_FALSE}"; then
  22967. as_fn_error $? "conditional \"USE_EAP_TNC\" was never defined.
  22968. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22969. fi
  22970. if test -z "${USE_EAP_DYNAMIC_TRUE}" && test -z "${USE_EAP_DYNAMIC_FALSE}"; then
  22971. as_fn_error $? "conditional \"USE_EAP_DYNAMIC\" was never defined.
  22972. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22973. fi
  22974. if test -z "${USE_EAP_RADIUS_TRUE}" && test -z "${USE_EAP_RADIUS_FALSE}"; then
  22975. as_fn_error $? "conditional \"USE_EAP_RADIUS\" was never defined.
  22976. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22977. fi
  22978. if test -z "${USE_XAUTH_GENERIC_TRUE}" && test -z "${USE_XAUTH_GENERIC_FALSE}"; then
  22979. as_fn_error $? "conditional \"USE_XAUTH_GENERIC\" was never defined.
  22980. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22981. fi
  22982. if test -z "${USE_XAUTH_EAP_TRUE}" && test -z "${USE_XAUTH_EAP_FALSE}"; then
  22983. as_fn_error $? "conditional \"USE_XAUTH_EAP\" was never defined.
  22984. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22985. fi
  22986. if test -z "${USE_XAUTH_PAM_TRUE}" && test -z "${USE_XAUTH_PAM_FALSE}"; then
  22987. as_fn_error $? "conditional \"USE_XAUTH_PAM\" was never defined.
  22988. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22989. fi
  22990. if test -z "${USE_XAUTH_NOAUTH_TRUE}" && test -z "${USE_XAUTH_NOAUTH_FALSE}"; then
  22991. as_fn_error $? "conditional \"USE_XAUTH_NOAUTH\" was never defined.
  22992. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22993. fi
  22994. if test -z "${USE_TNC_IFMAP_TRUE}" && test -z "${USE_TNC_IFMAP_FALSE}"; then
  22995. as_fn_error $? "conditional \"USE_TNC_IFMAP\" was never defined.
  22996. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  22997. fi
  22998. if test -z "${USE_TNC_PDP_TRUE}" && test -z "${USE_TNC_PDP_FALSE}"; then
  22999. as_fn_error $? "conditional \"USE_TNC_PDP\" was never defined.
  23000. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23001. fi
  23002. if test -z "${USE_TNC_IMC_TRUE}" && test -z "${USE_TNC_IMC_FALSE}"; then
  23003. as_fn_error $? "conditional \"USE_TNC_IMC\" was never defined.
  23004. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23005. fi
  23006. if test -z "${USE_TNC_IMV_TRUE}" && test -z "${USE_TNC_IMV_FALSE}"; then
  23007. as_fn_error $? "conditional \"USE_TNC_IMV\" was never defined.
  23008. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23009. fi
  23010. if test -z "${USE_TNC_TNCCS_TRUE}" && test -z "${USE_TNC_TNCCS_FALSE}"; then
  23011. as_fn_error $? "conditional \"USE_TNC_TNCCS\" was never defined.
  23012. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23013. fi
  23014. if test -z "${USE_TNCCS_11_TRUE}" && test -z "${USE_TNCCS_11_FALSE}"; then
  23015. as_fn_error $? "conditional \"USE_TNCCS_11\" was never defined.
  23016. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23017. fi
  23018. if test -z "${USE_TNCCS_20_TRUE}" && test -z "${USE_TNCCS_20_FALSE}"; then
  23019. as_fn_error $? "conditional \"USE_TNCCS_20\" was never defined.
  23020. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23021. fi
  23022. if test -z "${USE_TNCCS_DYNAMIC_TRUE}" && test -z "${USE_TNCCS_DYNAMIC_FALSE}"; then
  23023. as_fn_error $? "conditional \"USE_TNCCS_DYNAMIC\" was never defined.
  23024. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23025. fi
  23026. if test -z "${USE_IMC_TEST_TRUE}" && test -z "${USE_IMC_TEST_FALSE}"; then
  23027. as_fn_error $? "conditional \"USE_IMC_TEST\" was never defined.
  23028. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23029. fi
  23030. if test -z "${USE_IMV_TEST_TRUE}" && test -z "${USE_IMV_TEST_FALSE}"; then
  23031. as_fn_error $? "conditional \"USE_IMV_TEST\" was never defined.
  23032. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23033. fi
  23034. if test -z "${USE_IMC_SCANNER_TRUE}" && test -z "${USE_IMC_SCANNER_FALSE}"; then
  23035. as_fn_error $? "conditional \"USE_IMC_SCANNER\" was never defined.
  23036. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23037. fi
  23038. if test -z "${USE_IMV_SCANNER_TRUE}" && test -z "${USE_IMV_SCANNER_FALSE}"; then
  23039. as_fn_error $? "conditional \"USE_IMV_SCANNER\" was never defined.
  23040. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23041. fi
  23042. if test -z "${USE_IMC_OS_TRUE}" && test -z "${USE_IMC_OS_FALSE}"; then
  23043. as_fn_error $? "conditional \"USE_IMC_OS\" was never defined.
  23044. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23045. fi
  23046. if test -z "${USE_IMV_OS_TRUE}" && test -z "${USE_IMV_OS_FALSE}"; then
  23047. as_fn_error $? "conditional \"USE_IMV_OS\" was never defined.
  23048. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23049. fi
  23050. if test -z "${USE_IMC_ATTESTATION_TRUE}" && test -z "${USE_IMC_ATTESTATION_FALSE}"; then
  23051. as_fn_error $? "conditional \"USE_IMC_ATTESTATION\" was never defined.
  23052. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23053. fi
  23054. if test -z "${USE_IMV_ATTESTATION_TRUE}" && test -z "${USE_IMV_ATTESTATION_FALSE}"; then
  23055. as_fn_error $? "conditional \"USE_IMV_ATTESTATION\" was never defined.
  23056. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23057. fi
  23058. if test -z "${USE_IMC_SWIMA_TRUE}" && test -z "${USE_IMC_SWIMA_FALSE}"; then
  23059. as_fn_error $? "conditional \"USE_IMC_SWIMA\" was never defined.
  23060. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23061. fi
  23062. if test -z "${USE_IMV_SWIMA_TRUE}" && test -z "${USE_IMV_SWIMA_FALSE}"; then
  23063. as_fn_error $? "conditional \"USE_IMV_SWIMA\" was never defined.
  23064. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23065. fi
  23066. if test -z "${USE_IMC_HCD_TRUE}" && test -z "${USE_IMC_HCD_FALSE}"; then
  23067. as_fn_error $? "conditional \"USE_IMC_HCD\" was never defined.
  23068. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23069. fi
  23070. if test -z "${USE_IMV_HCD_TRUE}" && test -z "${USE_IMV_HCD_FALSE}"; then
  23071. as_fn_error $? "conditional \"USE_IMV_HCD\" was never defined.
  23072. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23073. fi
  23074. if test -z "${USE_SAVE_KEYS_TRUE}" && test -z "${USE_SAVE_KEYS_FALSE}"; then
  23075. as_fn_error $? "conditional \"USE_SAVE_KEYS\" was never defined.
  23076. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23077. fi
  23078. if test -z "${USE_SOCKET_DEFAULT_TRUE}" && test -z "${USE_SOCKET_DEFAULT_FALSE}"; then
  23079. as_fn_error $? "conditional \"USE_SOCKET_DEFAULT\" was never defined.
  23080. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23081. fi
  23082. if test -z "${USE_SOCKET_DYNAMIC_TRUE}" && test -z "${USE_SOCKET_DYNAMIC_FALSE}"; then
  23083. as_fn_error $? "conditional \"USE_SOCKET_DYNAMIC\" was never defined.
  23084. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23085. fi
  23086. if test -z "${USE_SOCKET_WIN_TRUE}" && test -z "${USE_SOCKET_WIN_FALSE}"; then
  23087. as_fn_error $? "conditional \"USE_SOCKET_WIN\" was never defined.
  23088. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23089. fi
  23090. if test -z "${USE_BYPASS_LAN_TRUE}" && test -z "${USE_BYPASS_LAN_FALSE}"; then
  23091. as_fn_error $? "conditional \"USE_BYPASS_LAN\" was never defined.
  23092. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23093. fi
  23094. if test -z "${USE_CONNMARK_TRUE}" && test -z "${USE_CONNMARK_FALSE}"; then
  23095. as_fn_error $? "conditional \"USE_CONNMARK\" was never defined.
  23096. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23097. fi
  23098. if test -z "${USE_FORECAST_TRUE}" && test -z "${USE_FORECAST_FALSE}"; then
  23099. as_fn_error $? "conditional \"USE_FORECAST\" was never defined.
  23100. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23101. fi
  23102. if test -z "${USE_FARP_TRUE}" && test -z "${USE_FARP_FALSE}"; then
  23103. as_fn_error $? "conditional \"USE_FARP\" was never defined.
  23104. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23105. fi
  23106. if test -z "${USE_ADDRBLOCK_TRUE}" && test -z "${USE_ADDRBLOCK_FALSE}"; then
  23107. as_fn_error $? "conditional \"USE_ADDRBLOCK\" was never defined.
  23108. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23109. fi
  23110. if test -z "${USE_UNITY_TRUE}" && test -z "${USE_UNITY_FALSE}"; then
  23111. as_fn_error $? "conditional \"USE_UNITY\" was never defined.
  23112. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23113. fi
  23114. if test -z "${USE_RESOLVE_TRUE}" && test -z "${USE_RESOLVE_FALSE}"; then
  23115. as_fn_error $? "conditional \"USE_RESOLVE\" was never defined.
  23116. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23117. fi
  23118. if test -z "${USE_ATTR_TRUE}" && test -z "${USE_ATTR_FALSE}"; then
  23119. as_fn_error $? "conditional \"USE_ATTR\" was never defined.
  23120. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23121. fi
  23122. if test -z "${USE_ATTR_SQL_TRUE}" && test -z "${USE_ATTR_SQL_FALSE}"; then
  23123. as_fn_error $? "conditional \"USE_ATTR_SQL\" was never defined.
  23124. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23125. fi
  23126. if test -z "${USE_COUNTERS_TRUE}" && test -z "${USE_COUNTERS_FALSE}"; then
  23127. as_fn_error $? "conditional \"USE_COUNTERS\" was never defined.
  23128. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23129. fi
  23130. if test -z "${USE_LEAK_DETECTIVE_TRUE}" && test -z "${USE_LEAK_DETECTIVE_FALSE}"; then
  23131. as_fn_error $? "conditional \"USE_LEAK_DETECTIVE\" was never defined.
  23132. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23133. fi
  23134. if test -z "${USE_LOCK_PROFILER_TRUE}" && test -z "${USE_LOCK_PROFILER_FALSE}"; then
  23135. as_fn_error $? "conditional \"USE_LOCK_PROFILER\" was never defined.
  23136. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23137. fi
  23138. if test -z "${USE_FAST_TRUE}" && test -z "${USE_FAST_FALSE}"; then
  23139. as_fn_error $? "conditional \"USE_FAST\" was never defined.
  23140. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23141. fi
  23142. if test -z "${USE_MANAGER_TRUE}" && test -z "${USE_MANAGER_FALSE}"; then
  23143. as_fn_error $? "conditional \"USE_MANAGER\" was never defined.
  23144. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23145. fi
  23146. if test -z "${USE_ME_TRUE}" && test -z "${USE_ME_FALSE}"; then
  23147. as_fn_error $? "conditional \"USE_ME\" was never defined.
  23148. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23149. fi
  23150. if test -z "${USE_INTEGRITY_TEST_TRUE}" && test -z "${USE_INTEGRITY_TEST_FALSE}"; then
  23151. as_fn_error $? "conditional \"USE_INTEGRITY_TEST\" was never defined.
  23152. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23153. fi
  23154. if test -z "${USE_LOAD_WARNING_TRUE}" && test -z "${USE_LOAD_WARNING_FALSE}"; then
  23155. as_fn_error $? "conditional \"USE_LOAD_WARNING\" was never defined.
  23156. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23157. fi
  23158. if test -z "${USE_IKEV1_TRUE}" && test -z "${USE_IKEV1_FALSE}"; then
  23159. as_fn_error $? "conditional \"USE_IKEV1\" was never defined.
  23160. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23161. fi
  23162. if test -z "${USE_IKEV2_TRUE}" && test -z "${USE_IKEV2_FALSE}"; then
  23163. as_fn_error $? "conditional \"USE_IKEV2\" was never defined.
  23164. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23165. fi
  23166. if test -z "${USE_THREADS_TRUE}" && test -z "${USE_THREADS_FALSE}"; then
  23167. as_fn_error $? "conditional \"USE_THREADS\" was never defined.
  23168. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23169. fi
  23170. if test -z "${USE_ADNS_TRUE}" && test -z "${USE_ADNS_FALSE}"; then
  23171. as_fn_error $? "conditional \"USE_ADNS\" was never defined.
  23172. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23173. fi
  23174. if test -z "${USE_CHARON_TRUE}" && test -z "${USE_CHARON_FALSE}"; then
  23175. as_fn_error $? "conditional \"USE_CHARON\" was never defined.
  23176. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23177. fi
  23178. if test -z "${USE_NM_TRUE}" && test -z "${USE_NM_FALSE}"; then
  23179. as_fn_error $? "conditional \"USE_NM\" was never defined.
  23180. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23181. fi
  23182. if test -z "${USE_PKI_TRUE}" && test -z "${USE_PKI_FALSE}"; then
  23183. as_fn_error $? "conditional \"USE_PKI\" was never defined.
  23184. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23185. fi
  23186. if test -z "${USE_SCEPCLIENT_TRUE}" && test -z "${USE_SCEPCLIENT_FALSE}"; then
  23187. as_fn_error $? "conditional \"USE_SCEPCLIENT\" was never defined.
  23188. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23189. fi
  23190. if test -z "${USE_SCRIPTS_TRUE}" && test -z "${USE_SCRIPTS_FALSE}"; then
  23191. as_fn_error $? "conditional \"USE_SCRIPTS\" was never defined.
  23192. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23193. fi
  23194. if test -z "${USE_FUZZING_TRUE}" && test -z "${USE_FUZZING_FALSE}"; then
  23195. as_fn_error $? "conditional \"USE_FUZZING\" was never defined.
  23196. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23197. fi
  23198. if test -z "${USE_CONFTEST_TRUE}" && test -z "${USE_CONFTEST_FALSE}"; then
  23199. as_fn_error $? "conditional \"USE_CONFTEST\" was never defined.
  23200. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23201. fi
  23202. if test -z "${USE_LIBSTRONGSWAN_TRUE}" && test -z "${USE_LIBSTRONGSWAN_FALSE}"; then
  23203. as_fn_error $? "conditional \"USE_LIBSTRONGSWAN\" was never defined.
  23204. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23205. fi
  23206. if test -z "${USE_LIBCHARON_TRUE}" && test -z "${USE_LIBCHARON_FALSE}"; then
  23207. as_fn_error $? "conditional \"USE_LIBCHARON\" was never defined.
  23208. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23209. fi
  23210. if test -z "${USE_LIBIPSEC_TRUE}" && test -z "${USE_LIBIPSEC_FALSE}"; then
  23211. as_fn_error $? "conditional \"USE_LIBIPSEC\" was never defined.
  23212. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23213. fi
  23214. if test -z "${USE_LIBNTTFFT_TRUE}" && test -z "${USE_LIBNTTFFT_FALSE}"; then
  23215. as_fn_error $? "conditional \"USE_LIBNTTFFT\" was never defined.
  23216. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23217. fi
  23218. if test -z "${USE_LIBTNCIF_TRUE}" && test -z "${USE_LIBTNCIF_FALSE}"; then
  23219. as_fn_error $? "conditional \"USE_LIBTNCIF\" was never defined.
  23220. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23221. fi
  23222. if test -z "${USE_LIBTNCCS_TRUE}" && test -z "${USE_LIBTNCCS_FALSE}"; then
  23223. as_fn_error $? "conditional \"USE_LIBTNCCS\" was never defined.
  23224. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23225. fi
  23226. if test -z "${USE_LIBPTTLS_TRUE}" && test -z "${USE_LIBPTTLS_FALSE}"; then
  23227. as_fn_error $? "conditional \"USE_LIBPTTLS\" was never defined.
  23228. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23229. fi
  23230. if test -z "${USE_LIBTPMTSS_TRUE}" && test -z "${USE_LIBTPMTSS_FALSE}"; then
  23231. as_fn_error $? "conditional \"USE_LIBTPMTSS\" was never defined.
  23232. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23233. fi
  23234. if test -z "${USE_FILE_CONFIG_TRUE}" && test -z "${USE_FILE_CONFIG_FALSE}"; then
  23235. as_fn_error $? "conditional \"USE_FILE_CONFIG\" was never defined.
  23236. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23237. fi
  23238. if test -z "${USE_IPSEC_SCRIPT_TRUE}" && test -z "${USE_IPSEC_SCRIPT_FALSE}"; then
  23239. as_fn_error $? "conditional \"USE_IPSEC_SCRIPT\" was never defined.
  23240. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23241. fi
  23242. if test -z "${USE_LIBCAP_TRUE}" && test -z "${USE_LIBCAP_FALSE}"; then
  23243. as_fn_error $? "conditional \"USE_LIBCAP\" was never defined.
  23244. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23245. fi
  23246. if test -z "${USE_VSTR_TRUE}" && test -z "${USE_VSTR_FALSE}"; then
  23247. as_fn_error $? "conditional \"USE_VSTR\" was never defined.
  23248. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23249. fi
  23250. if test -z "${USE_BUILTIN_PRINTF_TRUE}" && test -z "${USE_BUILTIN_PRINTF_FALSE}"; then
  23251. as_fn_error $? "conditional \"USE_BUILTIN_PRINTF\" was never defined.
  23252. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23253. fi
  23254. if test -z "${USE_SIMAKA_TRUE}" && test -z "${USE_SIMAKA_FALSE}"; then
  23255. as_fn_error $? "conditional \"USE_SIMAKA\" was never defined.
  23256. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23257. fi
  23258. if test -z "${USE_TLS_TRUE}" && test -z "${USE_TLS_FALSE}"; then
  23259. as_fn_error $? "conditional \"USE_TLS\" was never defined.
  23260. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23261. fi
  23262. if test -z "${USE_RADIUS_TRUE}" && test -z "${USE_RADIUS_FALSE}"; then
  23263. as_fn_error $? "conditional \"USE_RADIUS\" was never defined.
  23264. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23265. fi
  23266. if test -z "${USE_IMCV_TRUE}" && test -z "${USE_IMCV_FALSE}"; then
  23267. as_fn_error $? "conditional \"USE_IMCV\" was never defined.
  23268. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23269. fi
  23270. if test -z "${USE_TROUSERS_TRUE}" && test -z "${USE_TROUSERS_FALSE}"; then
  23271. as_fn_error $? "conditional \"USE_TROUSERS\" was never defined.
  23272. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23273. fi
  23274. if test -z "${USE_TSS2_TRUE}" && test -z "${USE_TSS2_FALSE}"; then
  23275. as_fn_error $? "conditional \"USE_TSS2\" was never defined.
  23276. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23277. fi
  23278. if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
  23279. as_fn_error $? "conditional \"MONOLITHIC\" was never defined.
  23280. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23281. fi
  23282. if test -z "${STATIC_PLUGIN_CONSTRUCTORS_TRUE}" && test -z "${STATIC_PLUGIN_CONSTRUCTORS_FALSE}"; then
  23283. as_fn_error $? "conditional \"STATIC_PLUGIN_CONSTRUCTORS\" was never defined.
  23284. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23285. fi
  23286. if test -z "${USE_SILENT_RULES_TRUE}" && test -z "${USE_SILENT_RULES_FALSE}"; then
  23287. as_fn_error $? "conditional \"USE_SILENT_RULES\" was never defined.
  23288. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23289. fi
  23290. if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
  23291. as_fn_error $? "conditional \"COVERAGE\" was never defined.
  23292. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23293. fi
  23294. if test -z "${USE_DBGHELP_TRUE}" && test -z "${USE_DBGHELP_FALSE}"; then
  23295. as_fn_error $? "conditional \"USE_DBGHELP\" was never defined.
  23296. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23297. fi
  23298. if test -z "${USE_TKM_TRUE}" && test -z "${USE_TKM_FALSE}"; then
  23299. as_fn_error $? "conditional \"USE_TKM\" was never defined.
  23300. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23301. fi
  23302. if test -z "${USE_CMD_TRUE}" && test -z "${USE_CMD_FALSE}"; then
  23303. as_fn_error $? "conditional \"USE_CMD\" was never defined.
  23304. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23305. fi
  23306. if test -z "${USE_AIKGEN_TRUE}" && test -z "${USE_AIKGEN_FALSE}"; then
  23307. as_fn_error $? "conditional \"USE_AIKGEN\" was never defined.
  23308. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23309. fi
  23310. if test -z "${USE_SWANCTL_TRUE}" && test -z "${USE_SWANCTL_FALSE}"; then
  23311. as_fn_error $? "conditional \"USE_SWANCTL\" was never defined.
  23312. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23313. fi
  23314. if test -z "${USE_SVC_TRUE}" && test -z "${USE_SVC_FALSE}"; then
  23315. as_fn_error $? "conditional \"USE_SVC\" was never defined.
  23316. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23317. fi
  23318. if test -z "${USE_SYSTEMD_TRUE}" && test -z "${USE_SYSTEMD_FALSE}"; then
  23319. as_fn_error $? "conditional \"USE_SYSTEMD\" was never defined.
  23320. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23321. fi
  23322. if test -z "${USE_LEGACY_SYSTEMD_TRUE}" && test -z "${USE_LEGACY_SYSTEMD_FALSE}"; then
  23323. as_fn_error $? "conditional \"USE_LEGACY_SYSTEMD\" was never defined.
  23324. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23325. fi
  23326. if test -z "${USE_RUBY_GEMS_TRUE}" && test -z "${USE_RUBY_GEMS_FALSE}"; then
  23327. as_fn_error $? "conditional \"USE_RUBY_GEMS\" was never defined.
  23328. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23329. fi
  23330. if test -z "${USE_PYTHON_EGGS_TRUE}" && test -z "${USE_PYTHON_EGGS_FALSE}"; then
  23331. as_fn_error $? "conditional \"USE_PYTHON_EGGS\" was never defined.
  23332. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23333. fi
  23334. if test -z "${USE_PERL_CPAN_TRUE}" && test -z "${USE_PERL_CPAN_FALSE}"; then
  23335. as_fn_error $? "conditional \"USE_PERL_CPAN\" was never defined.
  23336. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23337. fi
  23338. if test -z "${USE_PY_TEST_TRUE}" && test -z "${USE_PY_TEST_FALSE}"; then
  23339. as_fn_error $? "conditional \"USE_PY_TEST\" was never defined.
  23340. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  23341. fi
  23342. : "${CONFIG_STATUS=./config.status}"
  23343. ac_write_fail=0
  23344. ac_clean_files_save=$ac_clean_files
  23345. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  23346. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  23347. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  23348. as_write_fail=0
  23349. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  23350. #! $SHELL
  23351. # Generated by $as_me.
  23352. # Run this file to recreate the current configuration.
  23353. # Compiler output produced by configure, useful for debugging
  23354. # configure, is in config.log if it exists.
  23355. debug=false
  23356. ac_cs_recheck=false
  23357. ac_cs_silent=false
  23358. SHELL=\${CONFIG_SHELL-$SHELL}
  23359. export SHELL
  23360. _ASEOF
  23361. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  23362. ## -------------------- ##
  23363. ## M4sh Initialization. ##
  23364. ## -------------------- ##
  23365. # Be more Bourne compatible
  23366. DUALCASE=1; export DUALCASE # for MKS sh
  23367. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  23368. emulate sh
  23369. NULLCMD=:
  23370. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23371. # is contrary to our usage. Disable this feature.
  23372. alias -g '${1+"$@"}'='"$@"'
  23373. setopt NO_GLOB_SUBST
  23374. else
  23375. case `(set -o) 2>/dev/null` in @%:@(
  23376. *posix*) :
  23377. set -o posix ;; @%:@(
  23378. *) :
  23379. ;;
  23380. esac
  23381. fi
  23382. as_nl='
  23383. '
  23384. export as_nl
  23385. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  23386. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  23387. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  23388. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  23389. # Prefer a ksh shell builtin over an external printf program on Solaris,
  23390. # but without wasting forks for bash or zsh.
  23391. if test -z "$BASH_VERSION$ZSH_VERSION" \
  23392. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  23393. as_echo='print -r --'
  23394. as_echo_n='print -rn --'
  23395. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  23396. as_echo='printf %s\n'
  23397. as_echo_n='printf %s'
  23398. else
  23399. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  23400. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  23401. as_echo_n='/usr/ucb/echo -n'
  23402. else
  23403. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  23404. as_echo_n_body='eval
  23405. arg=$1;
  23406. case $arg in @%:@(
  23407. *"$as_nl"*)
  23408. expr "X$arg" : "X\\(.*\\)$as_nl";
  23409. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  23410. esac;
  23411. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  23412. '
  23413. export as_echo_n_body
  23414. as_echo_n='sh -c $as_echo_n_body as_echo'
  23415. fi
  23416. export as_echo_body
  23417. as_echo='sh -c $as_echo_body as_echo'
  23418. fi
  23419. # The user is always right.
  23420. if test "${PATH_SEPARATOR+set}" != set; then
  23421. PATH_SEPARATOR=:
  23422. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  23423. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  23424. PATH_SEPARATOR=';'
  23425. }
  23426. fi
  23427. # IFS
  23428. # We need space, tab and new line, in precisely that order. Quoting is
  23429. # there to prevent editors from complaining about space-tab.
  23430. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  23431. # splitting by setting IFS to empty value.)
  23432. IFS=" "" $as_nl"
  23433. # Find who we are. Look in the path if we contain no directory separator.
  23434. as_myself=
  23435. case $0 in @%:@((
  23436. *[\\/]* ) as_myself=$0 ;;
  23437. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23438. for as_dir in $PATH
  23439. do
  23440. IFS=$as_save_IFS
  23441. test -z "$as_dir" && as_dir=.
  23442. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  23443. done
  23444. IFS=$as_save_IFS
  23445. ;;
  23446. esac
  23447. # We did not find ourselves, most probably we were run as `sh COMMAND'
  23448. # in which case we are not to be found in the path.
  23449. if test "x$as_myself" = x; then
  23450. as_myself=$0
  23451. fi
  23452. if test ! -f "$as_myself"; then
  23453. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  23454. exit 1
  23455. fi
  23456. # Unset variables that we do not need and which cause bugs (e.g. in
  23457. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  23458. # suppresses any "Segmentation fault" message there. '((' could
  23459. # trigger a bug in pdksh 5.2.14.
  23460. for as_var in BASH_ENV ENV MAIL MAILPATH
  23461. do eval test x\${$as_var+set} = xset \
  23462. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  23463. done
  23464. PS1='$ '
  23465. PS2='> '
  23466. PS4='+ '
  23467. # NLS nuisances.
  23468. LC_ALL=C
  23469. export LC_ALL
  23470. LANGUAGE=C
  23471. export LANGUAGE
  23472. # CDPATH.
  23473. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  23474. @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  23475. @%:@ ----------------------------------------
  23476. @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  23477. @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  23478. @%:@ script with STATUS, using 1 if that was 0.
  23479. as_fn_error ()
  23480. {
  23481. as_status=$1; test $as_status -eq 0 && as_status=1
  23482. if test "$4"; then
  23483. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  23484. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  23485. fi
  23486. $as_echo "$as_me: error: $2" >&2
  23487. as_fn_exit $as_status
  23488. } @%:@ as_fn_error
  23489. @%:@ as_fn_set_status STATUS
  23490. @%:@ -----------------------
  23491. @%:@ Set @S|@? to STATUS, without forking.
  23492. as_fn_set_status ()
  23493. {
  23494. return $1
  23495. } @%:@ as_fn_set_status
  23496. @%:@ as_fn_exit STATUS
  23497. @%:@ -----------------
  23498. @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  23499. as_fn_exit ()
  23500. {
  23501. set +e
  23502. as_fn_set_status $1
  23503. exit $1
  23504. } @%:@ as_fn_exit
  23505. @%:@ as_fn_unset VAR
  23506. @%:@ ---------------
  23507. @%:@ Portably unset VAR.
  23508. as_fn_unset ()
  23509. {
  23510. { eval $1=; unset $1;}
  23511. }
  23512. as_unset=as_fn_unset
  23513. @%:@ as_fn_append VAR VALUE
  23514. @%:@ ----------------------
  23515. @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  23516. @%:@ advantage of any shell optimizations that allow amortized linear growth over
  23517. @%:@ repeated appends, instead of the typical quadratic growth present in naive
  23518. @%:@ implementations.
  23519. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  23520. eval 'as_fn_append ()
  23521. {
  23522. eval $1+=\$2
  23523. }'
  23524. else
  23525. as_fn_append ()
  23526. {
  23527. eval $1=\$$1\$2
  23528. }
  23529. fi # as_fn_append
  23530. @%:@ as_fn_arith ARG...
  23531. @%:@ ------------------
  23532. @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  23533. @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  23534. @%:@ must be portable across @S|@(()) and expr.
  23535. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  23536. eval 'as_fn_arith ()
  23537. {
  23538. as_val=$(( $* ))
  23539. }'
  23540. else
  23541. as_fn_arith ()
  23542. {
  23543. as_val=`expr "$@" || test $? -eq 1`
  23544. }
  23545. fi # as_fn_arith
  23546. if expr a : '\(a\)' >/dev/null 2>&1 &&
  23547. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  23548. as_expr=expr
  23549. else
  23550. as_expr=false
  23551. fi
  23552. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  23553. as_basename=basename
  23554. else
  23555. as_basename=false
  23556. fi
  23557. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  23558. as_dirname=dirname
  23559. else
  23560. as_dirname=false
  23561. fi
  23562. as_me=`$as_basename -- "$0" ||
  23563. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  23564. X"$0" : 'X\(//\)$' \| \
  23565. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  23566. $as_echo X/"$0" |
  23567. sed '/^.*\/\([^/][^/]*\)\/*$/{
  23568. s//\1/
  23569. q
  23570. }
  23571. /^X\/\(\/\/\)$/{
  23572. s//\1/
  23573. q
  23574. }
  23575. /^X\/\(\/\).*/{
  23576. s//\1/
  23577. q
  23578. }
  23579. s/.*/./; q'`
  23580. # Avoid depending upon Character Ranges.
  23581. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  23582. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  23583. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  23584. as_cr_digits='0123456789'
  23585. as_cr_alnum=$as_cr_Letters$as_cr_digits
  23586. ECHO_C= ECHO_N= ECHO_T=
  23587. case `echo -n x` in @%:@(((((
  23588. -n*)
  23589. case `echo 'xy\c'` in
  23590. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  23591. xy) ECHO_C='\c';;
  23592. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  23593. ECHO_T=' ';;
  23594. esac;;
  23595. *)
  23596. ECHO_N='-n';;
  23597. esac
  23598. rm -f conf$$ conf$$.exe conf$$.file
  23599. if test -d conf$$.dir; then
  23600. rm -f conf$$.dir/conf$$.file
  23601. else
  23602. rm -f conf$$.dir
  23603. mkdir conf$$.dir 2>/dev/null
  23604. fi
  23605. if (echo >conf$$.file) 2>/dev/null; then
  23606. if ln -s conf$$.file conf$$ 2>/dev/null; then
  23607. as_ln_s='ln -s'
  23608. # ... but there are two gotchas:
  23609. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  23610. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  23611. # In both cases, we have to default to `cp -pR'.
  23612. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  23613. as_ln_s='cp -pR'
  23614. elif ln conf$$.file conf$$ 2>/dev/null; then
  23615. as_ln_s=ln
  23616. else
  23617. as_ln_s='cp -pR'
  23618. fi
  23619. else
  23620. as_ln_s='cp -pR'
  23621. fi
  23622. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  23623. rmdir conf$$.dir 2>/dev/null
  23624. @%:@ as_fn_mkdir_p
  23625. @%:@ -------------
  23626. @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  23627. as_fn_mkdir_p ()
  23628. {
  23629. case $as_dir in #(
  23630. -*) as_dir=./$as_dir;;
  23631. esac
  23632. test -d "$as_dir" || eval $as_mkdir_p || {
  23633. as_dirs=
  23634. while :; do
  23635. case $as_dir in #(
  23636. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  23637. *) as_qdir=$as_dir;;
  23638. esac
  23639. as_dirs="'$as_qdir' $as_dirs"
  23640. as_dir=`$as_dirname -- "$as_dir" ||
  23641. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  23642. X"$as_dir" : 'X\(//\)[^/]' \| \
  23643. X"$as_dir" : 'X\(//\)$' \| \
  23644. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  23645. $as_echo X"$as_dir" |
  23646. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  23647. s//\1/
  23648. q
  23649. }
  23650. /^X\(\/\/\)[^/].*/{
  23651. s//\1/
  23652. q
  23653. }
  23654. /^X\(\/\/\)$/{
  23655. s//\1/
  23656. q
  23657. }
  23658. /^X\(\/\).*/{
  23659. s//\1/
  23660. q
  23661. }
  23662. s/.*/./; q'`
  23663. test -d "$as_dir" && break
  23664. done
  23665. test -z "$as_dirs" || eval "mkdir $as_dirs"
  23666. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  23667. } @%:@ as_fn_mkdir_p
  23668. if mkdir -p . 2>/dev/null; then
  23669. as_mkdir_p='mkdir -p "$as_dir"'
  23670. else
  23671. test -d ./-p && rmdir ./-p
  23672. as_mkdir_p=false
  23673. fi
  23674. @%:@ as_fn_executable_p FILE
  23675. @%:@ -----------------------
  23676. @%:@ Test if FILE is an executable regular file.
  23677. as_fn_executable_p ()
  23678. {
  23679. test -f "$1" && test -x "$1"
  23680. } @%:@ as_fn_executable_p
  23681. as_test_x='test -x'
  23682. as_executable_p=as_fn_executable_p
  23683. # Sed expression to map a string onto a valid CPP name.
  23684. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  23685. # Sed expression to map a string onto a valid variable name.
  23686. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  23687. exec 6>&1
  23688. ## ----------------------------------- ##
  23689. ## Main body of $CONFIG_STATUS script. ##
  23690. ## ----------------------------------- ##
  23691. _ASEOF
  23692. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  23693. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23694. # Save the log message, to keep $0 and so on meaningful, and to
  23695. # report actual input values of CONFIG_FILES etc. instead of their
  23696. # values after options handling.
  23697. ac_log="
  23698. This file was extended by strongSwan $as_me 5.8.1, which was
  23699. generated by GNU Autoconf 2.69. Invocation command line was
  23700. CONFIG_FILES = $CONFIG_FILES
  23701. CONFIG_HEADERS = $CONFIG_HEADERS
  23702. CONFIG_LINKS = $CONFIG_LINKS
  23703. CONFIG_COMMANDS = $CONFIG_COMMANDS
  23704. $ $0 $@
  23705. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  23706. "
  23707. _ACEOF
  23708. case $ac_config_files in *"
  23709. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  23710. esac
  23711. case $ac_config_headers in *"
  23712. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  23713. esac
  23714. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23715. # Files that config.status was made for.
  23716. config_files="$ac_config_files"
  23717. config_headers="$ac_config_headers"
  23718. config_commands="$ac_config_commands"
  23719. _ACEOF
  23720. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23721. ac_cs_usage="\
  23722. \`$as_me' instantiates files and other configuration actions
  23723. from templates according to the current configuration. Unless the files
  23724. and actions are specified as TAGs, all are instantiated by default.
  23725. Usage: $0 [OPTION]... [TAG]...
  23726. -h, --help print this help, then exit
  23727. -V, --version print version number and configuration settings, then exit
  23728. --config print configuration, then exit
  23729. -q, --quiet, --silent
  23730. do not print progress messages
  23731. -d, --debug don't remove temporary files
  23732. --recheck update $as_me by reconfiguring in the same conditions
  23733. --file=FILE[:TEMPLATE]
  23734. instantiate the configuration file FILE
  23735. --header=FILE[:TEMPLATE]
  23736. instantiate the configuration header FILE
  23737. Configuration files:
  23738. $config_files
  23739. Configuration headers:
  23740. $config_headers
  23741. Configuration commands:
  23742. $config_commands
  23743. Report bugs to the package provider."
  23744. _ACEOF
  23745. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23746. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  23747. ac_cs_version="\\
  23748. strongSwan config.status 5.8.1
  23749. configured by $0, generated by GNU Autoconf 2.69,
  23750. with options \\"\$ac_cs_config\\"
  23751. Copyright (C) 2012 Free Software Foundation, Inc.
  23752. This config.status script is free software; the Free Software Foundation
  23753. gives unlimited permission to copy, distribute and modify it."
  23754. ac_pwd='$ac_pwd'
  23755. srcdir='$srcdir'
  23756. INSTALL='$INSTALL'
  23757. MKDIR_P='$MKDIR_P'
  23758. AWK='$AWK'
  23759. test -n "\$AWK" || AWK=awk
  23760. _ACEOF
  23761. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23762. # The default lists apply if the user does not specify any file.
  23763. ac_need_defaults=:
  23764. while test $# != 0
  23765. do
  23766. case $1 in
  23767. --*=?*)
  23768. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  23769. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  23770. ac_shift=:
  23771. ;;
  23772. --*=)
  23773. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  23774. ac_optarg=
  23775. ac_shift=:
  23776. ;;
  23777. *)
  23778. ac_option=$1
  23779. ac_optarg=$2
  23780. ac_shift=shift
  23781. ;;
  23782. esac
  23783. case $ac_option in
  23784. # Handling of the options.
  23785. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  23786. ac_cs_recheck=: ;;
  23787. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  23788. $as_echo "$ac_cs_version"; exit ;;
  23789. --config | --confi | --conf | --con | --co | --c )
  23790. $as_echo "$ac_cs_config"; exit ;;
  23791. --debug | --debu | --deb | --de | --d | -d )
  23792. debug=: ;;
  23793. --file | --fil | --fi | --f )
  23794. $ac_shift
  23795. case $ac_optarg in
  23796. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  23797. '') as_fn_error $? "missing file argument" ;;
  23798. esac
  23799. as_fn_append CONFIG_FILES " '$ac_optarg'"
  23800. ac_need_defaults=false;;
  23801. --header | --heade | --head | --hea )
  23802. $ac_shift
  23803. case $ac_optarg in
  23804. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  23805. esac
  23806. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  23807. ac_need_defaults=false;;
  23808. --he | --h)
  23809. # Conflict between --help and --header
  23810. as_fn_error $? "ambiguous option: \`$1'
  23811. Try \`$0 --help' for more information.";;
  23812. --help | --hel | -h )
  23813. $as_echo "$ac_cs_usage"; exit ;;
  23814. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  23815. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  23816. ac_cs_silent=: ;;
  23817. # This is an error.
  23818. -*) as_fn_error $? "unrecognized option: \`$1'
  23819. Try \`$0 --help' for more information." ;;
  23820. *) as_fn_append ac_config_targets " $1"
  23821. ac_need_defaults=false ;;
  23822. esac
  23823. shift
  23824. done
  23825. ac_configure_extra_args=
  23826. if $ac_cs_silent; then
  23827. exec 6>/dev/null
  23828. ac_configure_extra_args="$ac_configure_extra_args --silent"
  23829. fi
  23830. _ACEOF
  23831. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23832. if \$ac_cs_recheck; then
  23833. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  23834. shift
  23835. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  23836. CONFIG_SHELL='$SHELL'
  23837. export CONFIG_SHELL
  23838. exec "\$@"
  23839. fi
  23840. _ACEOF
  23841. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  23842. exec 5>>config.log
  23843. {
  23844. echo
  23845. sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
  23846. @%:@@%:@ Running $as_me. @%:@@%:@
  23847. _ASBOX
  23848. $as_echo "$ac_log"
  23849. } >&5
  23850. _ACEOF
  23851. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  23852. #
  23853. # INIT-COMMANDS
  23854. #
  23855. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  23856. # The HP-UX ksh and POSIX shell print the target directory to stdout
  23857. # if CDPATH is set.
  23858. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  23859. sed_quote_subst='$sed_quote_subst'
  23860. double_quote_subst='$double_quote_subst'
  23861. delay_variable_subst='$delay_variable_subst'
  23862. enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
  23863. macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
  23864. macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
  23865. enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
  23866. pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
  23867. enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
  23868. shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
  23869. SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
  23870. ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
  23871. PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
  23872. host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
  23873. host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
  23874. host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
  23875. build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
  23876. build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
  23877. build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
  23878. SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
  23879. Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
  23880. GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
  23881. EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
  23882. FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
  23883. LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
  23884. NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
  23885. LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
  23886. max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
  23887. ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
  23888. exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
  23889. lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
  23890. lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
  23891. lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
  23892. lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
  23893. lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
  23894. reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
  23895. reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
  23896. OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
  23897. deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
  23898. file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
  23899. file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
  23900. want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
  23901. DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
  23902. sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
  23903. AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
  23904. AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
  23905. archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
  23906. STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
  23907. RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
  23908. old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  23909. old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  23910. old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
  23911. lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
  23912. CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
  23913. CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
  23914. compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
  23915. GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
  23916. lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
  23917. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
  23918. lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
  23919. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
  23920. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
  23921. lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
  23922. nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
  23923. lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
  23924. lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
  23925. objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
  23926. MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
  23927. lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
  23928. lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
  23929. lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
  23930. lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
  23931. lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
  23932. need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
  23933. MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
  23934. DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
  23935. NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
  23936. LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
  23937. OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
  23938. OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
  23939. libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
  23940. shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
  23941. extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  23942. archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
  23943. enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
  23944. export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
  23945. whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
  23946. compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
  23947. old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
  23948. old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
  23949. archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
  23950. archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  23951. module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
  23952. module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
  23953. with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
  23954. allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
  23955. no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
  23956. hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
  23957. hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
  23958. hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
  23959. hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
  23960. hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
  23961. hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
  23962. hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
  23963. inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
  23964. link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
  23965. always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
  23966. export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
  23967. exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
  23968. include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
  23969. prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
  23970. postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
  23971. file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
  23972. variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
  23973. need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
  23974. need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
  23975. version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
  23976. runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
  23977. shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
  23978. shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
  23979. libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
  23980. library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
  23981. soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
  23982. install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
  23983. postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
  23984. postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
  23985. finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
  23986. finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
  23987. hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
  23988. sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
  23989. configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
  23990. configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
  23991. hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
  23992. enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
  23993. enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
  23994. enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
  23995. old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
  23996. striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
  23997. LTCC='$LTCC'
  23998. LTCFLAGS='$LTCFLAGS'
  23999. compiler='$compiler_DEFAULT'
  24000. # A function that is used when there is no print builtin or printf.
  24001. func_fallback_echo ()
  24002. {
  24003. eval 'cat <<_LTECHO_EOF
  24004. \$1
  24005. _LTECHO_EOF'
  24006. }
  24007. # Quote evaled strings.
  24008. for var in SHELL \
  24009. ECHO \
  24010. PATH_SEPARATOR \
  24011. SED \
  24012. GREP \
  24013. EGREP \
  24014. FGREP \
  24015. LD \
  24016. NM \
  24017. LN_S \
  24018. lt_SP2NL \
  24019. lt_NL2SP \
  24020. reload_flag \
  24021. OBJDUMP \
  24022. deplibs_check_method \
  24023. file_magic_cmd \
  24024. file_magic_glob \
  24025. want_nocaseglob \
  24026. DLLTOOL \
  24027. sharedlib_from_linklib_cmd \
  24028. AR \
  24029. AR_FLAGS \
  24030. archiver_list_spec \
  24031. STRIP \
  24032. RANLIB \
  24033. CC \
  24034. CFLAGS \
  24035. compiler \
  24036. lt_cv_sys_global_symbol_pipe \
  24037. lt_cv_sys_global_symbol_to_cdecl \
  24038. lt_cv_sys_global_symbol_to_import \
  24039. lt_cv_sys_global_symbol_to_c_name_address \
  24040. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  24041. lt_cv_nm_interface \
  24042. nm_file_list_spec \
  24043. lt_cv_truncate_bin \
  24044. lt_prog_compiler_no_builtin_flag \
  24045. lt_prog_compiler_pic \
  24046. lt_prog_compiler_wl \
  24047. lt_prog_compiler_static \
  24048. lt_cv_prog_compiler_c_o \
  24049. need_locks \
  24050. MANIFEST_TOOL \
  24051. DSYMUTIL \
  24052. NMEDIT \
  24053. LIPO \
  24054. OTOOL \
  24055. OTOOL64 \
  24056. shrext_cmds \
  24057. export_dynamic_flag_spec \
  24058. whole_archive_flag_spec \
  24059. compiler_needs_object \
  24060. with_gnu_ld \
  24061. allow_undefined_flag \
  24062. no_undefined_flag \
  24063. hardcode_libdir_flag_spec \
  24064. hardcode_libdir_separator \
  24065. exclude_expsyms \
  24066. include_expsyms \
  24067. file_list_spec \
  24068. variables_saved_for_relink \
  24069. libname_spec \
  24070. library_names_spec \
  24071. soname_spec \
  24072. install_override_mode \
  24073. finish_eval \
  24074. old_striplib \
  24075. striplib; do
  24076. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  24077. *[\\\\\\\`\\"\\\$]*)
  24078. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  24079. ;;
  24080. *)
  24081. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  24082. ;;
  24083. esac
  24084. done
  24085. # Double-quote double-evaled strings.
  24086. for var in reload_cmds \
  24087. old_postinstall_cmds \
  24088. old_postuninstall_cmds \
  24089. old_archive_cmds \
  24090. extract_expsyms_cmds \
  24091. old_archive_from_new_cmds \
  24092. old_archive_from_expsyms_cmds \
  24093. archive_cmds \
  24094. archive_expsym_cmds \
  24095. module_cmds \
  24096. module_expsym_cmds \
  24097. export_symbols_cmds \
  24098. prelink_cmds \
  24099. postlink_cmds \
  24100. postinstall_cmds \
  24101. postuninstall_cmds \
  24102. finish_cmds \
  24103. sys_lib_search_path_spec \
  24104. configure_time_dlsearch_path \
  24105. configure_time_lt_sys_library_path; do
  24106. case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
  24107. *[\\\\\\\`\\"\\\$]*)
  24108. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
  24109. ;;
  24110. *)
  24111. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  24112. ;;
  24113. esac
  24114. done
  24115. ac_aux_dir='$ac_aux_dir'
  24116. # See if we are running on zsh, and set the options that allow our
  24117. # commands through without removal of \ escapes INIT.
  24118. if test -n "\${ZSH_VERSION+set}"; then
  24119. setopt NO_GLOB_SUBST
  24120. fi
  24121. PACKAGE='$PACKAGE'
  24122. VERSION='$VERSION'
  24123. RM='$RM'
  24124. ofile='$ofile'
  24125. _ACEOF
  24126. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24127. # Handling of arguments.
  24128. for ac_config_target in $ac_config_targets
  24129. do
  24130. case $ac_config_target in
  24131. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  24132. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  24133. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  24134. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  24135. "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
  24136. "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
  24137. "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  24138. "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
  24139. "init/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd/Makefile" ;;
  24140. "init/systemd-starter/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd-starter/Makefile" ;;
  24141. "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  24142. "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
  24143. "src/libstrongswan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/Makefile" ;;
  24144. "src/libstrongswan/math/libnttfft/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/Makefile" ;;
  24145. "src/libstrongswan/math/libnttfft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/tests/Makefile" ;;
  24146. "src/libstrongswan/plugins/aes/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aes/Makefile" ;;
  24147. "src/libstrongswan/plugins/cmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/cmac/Makefile" ;;
  24148. "src/libstrongswan/plugins/des/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/des/Makefile" ;;
  24149. "src/libstrongswan/plugins/blowfish/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/blowfish/Makefile" ;;
  24150. "src/libstrongswan/plugins/rc2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rc2/Makefile" ;;
  24151. "src/libstrongswan/plugins/md4/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md4/Makefile" ;;
  24152. "src/libstrongswan/plugins/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md5/Makefile" ;;
  24153. "src/libstrongswan/plugins/sha1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha1/Makefile" ;;
  24154. "src/libstrongswan/plugins/sha2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha2/Makefile" ;;
  24155. "src/libstrongswan/plugins/sha3/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha3/Makefile" ;;
  24156. "src/libstrongswan/plugins/mgf1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mgf1/Makefile" ;;
  24157. "src/libstrongswan/plugins/fips_prf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/fips_prf/Makefile" ;;
  24158. "src/libstrongswan/plugins/gmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gmp/Makefile" ;;
  24159. "src/libstrongswan/plugins/curve25519/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curve25519/Makefile" ;;
  24160. "src/libstrongswan/plugins/rdrand/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rdrand/Makefile" ;;
  24161. "src/libstrongswan/plugins/aesni/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aesni/Makefile" ;;
  24162. "src/libstrongswan/plugins/random/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/random/Makefile" ;;
  24163. "src/libstrongswan/plugins/nonce/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/nonce/Makefile" ;;
  24164. "src/libstrongswan/plugins/hmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/hmac/Makefile" ;;
  24165. "src/libstrongswan/plugins/xcbc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/xcbc/Makefile" ;;
  24166. "src/libstrongswan/plugins/x509/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/x509/Makefile" ;;
  24167. "src/libstrongswan/plugins/revocation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/revocation/Makefile" ;;
  24168. "src/libstrongswan/plugins/constraints/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/constraints/Makefile" ;;
  24169. "src/libstrongswan/plugins/acert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/acert/Makefile" ;;
  24170. "src/libstrongswan/plugins/pubkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pubkey/Makefile" ;;
  24171. "src/libstrongswan/plugins/pkcs1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs1/Makefile" ;;
  24172. "src/libstrongswan/plugins/pkcs7/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs7/Makefile" ;;
  24173. "src/libstrongswan/plugins/pkcs8/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs8/Makefile" ;;
  24174. "src/libstrongswan/plugins/pkcs12/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs12/Makefile" ;;
  24175. "src/libstrongswan/plugins/pgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pgp/Makefile" ;;
  24176. "src/libstrongswan/plugins/dnskey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/dnskey/Makefile" ;;
  24177. "src/libstrongswan/plugins/sshkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sshkey/Makefile" ;;
  24178. "src/libstrongswan/plugins/pem/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pem/Makefile" ;;
  24179. "src/libstrongswan/plugins/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curl/Makefile" ;;
  24180. "src/libstrongswan/plugins/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/files/Makefile" ;;
  24181. "src/libstrongswan/plugins/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/winhttp/Makefile" ;;
  24182. "src/libstrongswan/plugins/unbound/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/unbound/Makefile" ;;
  24183. "src/libstrongswan/plugins/soup/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/soup/Makefile" ;;
  24184. "src/libstrongswan/plugins/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ldap/Makefile" ;;
  24185. "src/libstrongswan/plugins/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mysql/Makefile" ;;
  24186. "src/libstrongswan/plugins/sqlite/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sqlite/Makefile" ;;
  24187. "src/libstrongswan/plugins/padlock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/padlock/Makefile" ;;
  24188. "src/libstrongswan/plugins/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/openssl/Makefile" ;;
  24189. "src/libstrongswan/plugins/wolfssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/wolfssl/Makefile" ;;
  24190. "src/libstrongswan/plugins/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcrypt/Makefile" ;;
  24191. "src/libstrongswan/plugins/botan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/botan/Makefile" ;;
  24192. "src/libstrongswan/plugins/agent/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/agent/Makefile" ;;
  24193. "src/libstrongswan/plugins/keychain/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/keychain/Makefile" ;;
  24194. "src/libstrongswan/plugins/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs11/Makefile" ;;
  24195. "src/libstrongswan/plugins/chapoly/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/chapoly/Makefile" ;;
  24196. "src/libstrongswan/plugins/ctr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ctr/Makefile" ;;
  24197. "src/libstrongswan/plugins/ccm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ccm/Makefile" ;;
  24198. "src/libstrongswan/plugins/gcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcm/Makefile" ;;
  24199. "src/libstrongswan/plugins/af_alg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/af_alg/Makefile" ;;
  24200. "src/libstrongswan/plugins/ntru/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ntru/Makefile" ;;
  24201. "src/libstrongswan/plugins/bliss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/Makefile" ;;
  24202. "src/libstrongswan/plugins/bliss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/tests/Makefile" ;;
  24203. "src/libstrongswan/plugins/newhope/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/Makefile" ;;
  24204. "src/libstrongswan/plugins/newhope/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/tests/Makefile" ;;
  24205. "src/libstrongswan/plugins/test_vectors/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/test_vectors/Makefile" ;;
  24206. "src/libstrongswan/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/tests/Makefile" ;;
  24207. "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
  24208. "src/libipsec/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/tests/Makefile" ;;
  24209. "src/libsimaka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsimaka/Makefile" ;;
  24210. "src/libtls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/Makefile" ;;
  24211. "src/libtls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/tests/Makefile" ;;
  24212. "src/libradius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libradius/Makefile" ;;
  24213. "src/libtncif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtncif/Makefile" ;;
  24214. "src/libtnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/Makefile" ;;
  24215. "src/libtnccs/plugins/tnc_tnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_tnccs/Makefile" ;;
  24216. "src/libtnccs/plugins/tnc_imc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imc/Makefile" ;;
  24217. "src/libtnccs/plugins/tnc_imv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imv/Makefile" ;;
  24218. "src/libtnccs/plugins/tnccs_11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_11/Makefile" ;;
  24219. "src/libtnccs/plugins/tnccs_20/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_20/Makefile" ;;
  24220. "src/libtnccs/plugins/tnccs_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_dynamic/Makefile" ;;
  24221. "src/libpttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpttls/Makefile" ;;
  24222. "src/libimcv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/Makefile" ;;
  24223. "src/libimcv/plugins/imc_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_test/Makefile" ;;
  24224. "src/libimcv/plugins/imv_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_test/Makefile" ;;
  24225. "src/libimcv/plugins/imc_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_scanner/Makefile" ;;
  24226. "src/libimcv/plugins/imv_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_scanner/Makefile" ;;
  24227. "src/libimcv/plugins/imc_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_os/Makefile" ;;
  24228. "src/libimcv/plugins/imv_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_os/Makefile" ;;
  24229. "src/libimcv/plugins/imc_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_attestation/Makefile" ;;
  24230. "src/libimcv/plugins/imv_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_attestation/Makefile" ;;
  24231. "src/libimcv/plugins/imc_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_swima/Makefile" ;;
  24232. "src/libimcv/plugins/imv_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_swima/Makefile" ;;
  24233. "src/libimcv/plugins/imc_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_hcd/Makefile" ;;
  24234. "src/libimcv/plugins/imv_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_hcd/Makefile" ;;
  24235. "src/charon/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon/Makefile" ;;
  24236. "src/charon-nm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-nm/Makefile" ;;
  24237. "src/charon-tkm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-tkm/Makefile" ;;
  24238. "src/charon-cmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/Makefile" ;;
  24239. "src/charon-svc/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-svc/Makefile" ;;
  24240. "src/charon-systemd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-systemd/Makefile" ;;
  24241. "src/libcharon/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/Makefile" ;;
  24242. "src/libcharon/plugins/eap_aka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka/Makefile" ;;
  24243. "src/libcharon/plugins/eap_aka_3gpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/Makefile" ;;
  24244. "src/libcharon/plugins/eap_aka_3gpp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/tests/Makefile" ;;
  24245. "src/libcharon/plugins/eap_aka_3gpp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp2/Makefile" ;;
  24246. "src/libcharon/plugins/eap_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_dynamic/Makefile" ;;
  24247. "src/libcharon/plugins/eap_identity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_identity/Makefile" ;;
  24248. "src/libcharon/plugins/eap_md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_md5/Makefile" ;;
  24249. "src/libcharon/plugins/eap_gtc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_gtc/Makefile" ;;
  24250. "src/libcharon/plugins/eap_sim/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim/Makefile" ;;
  24251. "src/libcharon/plugins/eap_sim_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_file/Makefile" ;;
  24252. "src/libcharon/plugins/eap_sim_pcsc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_pcsc/Makefile" ;;
  24253. "src/libcharon/plugins/eap_simaka_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_sql/Makefile" ;;
  24254. "src/libcharon/plugins/eap_simaka_pseudonym/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_pseudonym/Makefile" ;;
  24255. "src/libcharon/plugins/eap_simaka_reauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_reauth/Makefile" ;;
  24256. "src/libcharon/plugins/eap_mschapv2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_mschapv2/Makefile" ;;
  24257. "src/libcharon/plugins/eap_tls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tls/Makefile" ;;
  24258. "src/libcharon/plugins/eap_ttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_ttls/Makefile" ;;
  24259. "src/libcharon/plugins/eap_peap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_peap/Makefile" ;;
  24260. "src/libcharon/plugins/eap_tnc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tnc/Makefile" ;;
  24261. "src/libcharon/plugins/eap_radius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_radius/Makefile" ;;
  24262. "src/libcharon/plugins/xauth_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_generic/Makefile" ;;
  24263. "src/libcharon/plugins/xauth_eap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_eap/Makefile" ;;
  24264. "src/libcharon/plugins/xauth_pam/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_pam/Makefile" ;;
  24265. "src/libcharon/plugins/xauth_noauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_noauth/Makefile" ;;
  24266. "src/libcharon/plugins/tnc_ifmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_ifmap/Makefile" ;;
  24267. "src/libcharon/plugins/tnc_pdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_pdp/Makefile" ;;
  24268. "src/libcharon/plugins/save_keys/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/save_keys/Makefile" ;;
  24269. "src/libcharon/plugins/socket_default/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_default/Makefile" ;;
  24270. "src/libcharon/plugins/socket_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_dynamic/Makefile" ;;
  24271. "src/libcharon/plugins/socket_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_win/Makefile" ;;
  24272. "src/libcharon/plugins/bypass_lan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/bypass_lan/Makefile" ;;
  24273. "src/libcharon/plugins/connmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/connmark/Makefile" ;;
  24274. "src/libcharon/plugins/counters/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/counters/Makefile" ;;
  24275. "src/libcharon/plugins/forecast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/forecast/Makefile" ;;
  24276. "src/libcharon/plugins/farp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/farp/Makefile" ;;
  24277. "src/libcharon/plugins/smp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/smp/Makefile" ;;
  24278. "src/libcharon/plugins/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/sql/Makefile" ;;
  24279. "src/libcharon/plugins/dnscert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dnscert/Makefile" ;;
  24280. "src/libcharon/plugins/ipseckey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ipseckey/Makefile" ;;
  24281. "src/libcharon/plugins/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medsrv/Makefile" ;;
  24282. "src/libcharon/plugins/medcli/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medcli/Makefile" ;;
  24283. "src/libcharon/plugins/addrblock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/addrblock/Makefile" ;;
  24284. "src/libcharon/plugins/unity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/unity/Makefile" ;;
  24285. "src/libcharon/plugins/uci/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/uci/Makefile" ;;
  24286. "src/libcharon/plugins/ha/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ha/Makefile" ;;
  24287. "src/libcharon/plugins/kernel_netlink/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_netlink/Makefile" ;;
  24288. "src/libcharon/plugins/kernel_pfkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfkey/Makefile" ;;
  24289. "src/libcharon/plugins/kernel_pfroute/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfroute/Makefile" ;;
  24290. "src/libcharon/plugins/kernel_libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_libipsec/Makefile" ;;
  24291. "src/libcharon/plugins/kernel_wfp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_wfp/Makefile" ;;
  24292. "src/libcharon/plugins/kernel_iph/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_iph/Makefile" ;;
  24293. "src/libcharon/plugins/whitelist/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/whitelist/Makefile" ;;
  24294. "src/libcharon/plugins/ext_auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ext_auth/Makefile" ;;
  24295. "src/libcharon/plugins/lookip/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/lookip/Makefile" ;;
  24296. "src/libcharon/plugins/error_notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/error_notify/Makefile" ;;
  24297. "src/libcharon/plugins/certexpire/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/certexpire/Makefile" ;;
  24298. "src/libcharon/plugins/systime_fix/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/systime_fix/Makefile" ;;
  24299. "src/libcharon/plugins/led/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/led/Makefile" ;;
  24300. "src/libcharon/plugins/duplicheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/duplicheck/Makefile" ;;
  24301. "src/libcharon/plugins/coupling/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/coupling/Makefile" ;;
  24302. "src/libcharon/plugins/radattr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/radattr/Makefile" ;;
  24303. "src/libcharon/plugins/osx_attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/osx_attr/Makefile" ;;
  24304. "src/libcharon/plugins/p_cscf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/p_cscf/Makefile" ;;
  24305. "src/libcharon/plugins/android_dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_dns/Makefile" ;;
  24306. "src/libcharon/plugins/android_log/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_log/Makefile" ;;
  24307. "src/libcharon/plugins/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/stroke/Makefile" ;;
  24308. "src/libcharon/plugins/vici/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/Makefile" ;;
  24309. "src/libcharon/plugins/vici/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/ruby/Makefile" ;;
  24310. "src/libcharon/plugins/vici/perl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/perl/Makefile" ;;
  24311. "src/libcharon/plugins/vici/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/python/Makefile" ;;
  24312. "src/libcharon/plugins/updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/updown/Makefile" ;;
  24313. "src/libcharon/plugins/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dhcp/Makefile" ;;
  24314. "src/libcharon/plugins/load_tester/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/load_tester/Makefile" ;;
  24315. "src/libcharon/plugins/resolve/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/resolve/Makefile" ;;
  24316. "src/libcharon/plugins/attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr/Makefile" ;;
  24317. "src/libcharon/plugins/attr_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr_sql/Makefile" ;;
  24318. "src/libcharon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/tests/Makefile" ;;
  24319. "src/libtpmtss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/Makefile" ;;
  24320. "src/libtpmtss/plugins/tpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/plugins/tpm/Makefile" ;;
  24321. "src/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/stroke/Makefile" ;;
  24322. "src/ipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipsec/Makefile" ;;
  24323. "src/starter/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/Makefile" ;;
  24324. "src/starter/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/tests/Makefile" ;;
  24325. "src/_updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/_updown/Makefile" ;;
  24326. "src/_copyright/Makefile") CONFIG_FILES="$CONFIG_FILES src/_copyright/Makefile" ;;
  24327. "src/scepclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/scepclient/Makefile" ;;
  24328. "src/aikgen/Makefile") CONFIG_FILES="$CONFIG_FILES src/aikgen/Makefile" ;;
  24329. "src/tpm_extendpcr/Makefile") CONFIG_FILES="$CONFIG_FILES src/tpm_extendpcr/Makefile" ;;
  24330. "src/pki/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/Makefile" ;;
  24331. "src/pki/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/man/Makefile" ;;
  24332. "src/pool/Makefile") CONFIG_FILES="$CONFIG_FILES src/pool/Makefile" ;;
  24333. "src/libfast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libfast/Makefile" ;;
  24334. "src/manager/Makefile") CONFIG_FILES="$CONFIG_FILES src/manager/Makefile" ;;
  24335. "src/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/medsrv/Makefile" ;;
  24336. "src/checksum/Makefile") CONFIG_FILES="$CONFIG_FILES src/checksum/Makefile" ;;
  24337. "src/conftest/Makefile") CONFIG_FILES="$CONFIG_FILES src/conftest/Makefile" ;;
  24338. "src/pt-tls-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/Makefile" ;;
  24339. "src/sw-collector/Makefile") CONFIG_FILES="$CONFIG_FILES src/sw-collector/Makefile" ;;
  24340. "src/sec-updater/Makefile") CONFIG_FILES="$CONFIG_FILES src/sec-updater/Makefile" ;;
  24341. "src/swanctl/Makefile") CONFIG_FILES="$CONFIG_FILES src/swanctl/Makefile" ;;
  24342. "src/xfrmi/Makefile") CONFIG_FILES="$CONFIG_FILES src/xfrmi/Makefile" ;;
  24343. "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
  24344. "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
  24345. "conf/strongswan.conf.5.head") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.head" ;;
  24346. "conf/strongswan.conf.5.tail") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.tail" ;;
  24347. "man/ipsec.conf.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.conf.5" ;;
  24348. "man/ipsec.secrets.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.secrets.5" ;;
  24349. "src/charon-cmd/charon-cmd.8") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/charon-cmd.8" ;;
  24350. "src/pki/man/pki.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki.1" ;;
  24351. "src/pki/man/pki---acert.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---acert.1" ;;
  24352. "src/pki/man/pki---dn.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---dn.1" ;;
  24353. "src/pki/man/pki---gen.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---gen.1" ;;
  24354. "src/pki/man/pki---issue.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---issue.1" ;;
  24355. "src/pki/man/pki---keyid.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---keyid.1" ;;
  24356. "src/pki/man/pki---pkcs12.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs12.1" ;;
  24357. "src/pki/man/pki---pkcs7.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs7.1" ;;
  24358. "src/pki/man/pki---print.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---print.1" ;;
  24359. "src/pki/man/pki---pub.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pub.1" ;;
  24360. "src/pki/man/pki---req.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---req.1" ;;
  24361. "src/pki/man/pki---self.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---self.1" ;;
  24362. "src/pki/man/pki---signcrl.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---signcrl.1" ;;
  24363. "src/pki/man/pki---verify.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---verify.1" ;;
  24364. "src/swanctl/swanctl.8") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.8" ;;
  24365. "src/swanctl/swanctl.conf.5.head") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.head" ;;
  24366. "src/swanctl/swanctl.conf.5.tail") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.tail" ;;
  24367. "src/pt-tls-client/pt-tls-client.1") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/pt-tls-client.1" ;;
  24368. "src/sw-collector/sw-collector.8") CONFIG_FILES="$CONFIG_FILES src/sw-collector/sw-collector.8" ;;
  24369. "src/sec-updater/sec-updater.8") CONFIG_FILES="$CONFIG_FILES src/sec-updater/sec-updater.8" ;;
  24370. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  24371. esac
  24372. done
  24373. # If the user did not use the arguments to specify the items to instantiate,
  24374. # then the envvar interface is used. Set only those that are not.
  24375. # We use the long form for the default assignment because of an extremely
  24376. # bizarre bug on SunOS 4.1.3.
  24377. if $ac_need_defaults; then
  24378. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  24379. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  24380. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  24381. fi
  24382. # Have a temporary directory for convenience. Make it in the build tree
  24383. # simply because there is no reason against having it here, and in addition,
  24384. # creating and moving files from /tmp can sometimes cause problems.
  24385. # Hook for its removal unless debugging.
  24386. # Note that there is a small window in which the directory will not be cleaned:
  24387. # after its creation but before its name has been assigned to `$tmp'.
  24388. $debug ||
  24389. {
  24390. tmp= ac_tmp=
  24391. trap 'exit_status=$?
  24392. : "${ac_tmp:=$tmp}"
  24393. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  24394. ' 0
  24395. trap 'as_fn_exit 1' 1 2 13 15
  24396. }
  24397. # Create a (secure) tmp directory for tmp files.
  24398. {
  24399. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  24400. test -d "$tmp"
  24401. } ||
  24402. {
  24403. tmp=./conf$$-$RANDOM
  24404. (umask 077 && mkdir "$tmp")
  24405. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  24406. ac_tmp=$tmp
  24407. # Set up the scripts for CONFIG_FILES section.
  24408. # No need to generate them if there are no CONFIG_FILES.
  24409. # This happens for instance with `./config.status config.h'.
  24410. if test -n "$CONFIG_FILES"; then
  24411. ac_cr=`echo X | tr X '\015'`
  24412. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  24413. # But we know of no other shell where ac_cr would be empty at this
  24414. # point, so we can use a bashism as a fallback.
  24415. if test "x$ac_cr" = x; then
  24416. eval ac_cr=\$\'\\r\'
  24417. fi
  24418. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  24419. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  24420. ac_cs_awk_cr='\\r'
  24421. else
  24422. ac_cs_awk_cr=$ac_cr
  24423. fi
  24424. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  24425. _ACEOF
  24426. {
  24427. echo "cat >conf$$subs.awk <<_ACEOF" &&
  24428. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  24429. echo "_ACEOF"
  24430. } >conf$$subs.sh ||
  24431. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24432. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  24433. ac_delim='%!_!# '
  24434. for ac_last_try in false false false false false :; do
  24435. . ./conf$$subs.sh ||
  24436. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24437. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  24438. if test $ac_delim_n = $ac_delim_num; then
  24439. break
  24440. elif $ac_last_try; then
  24441. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  24442. else
  24443. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  24444. fi
  24445. done
  24446. rm -f conf$$subs.sh
  24447. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24448. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  24449. _ACEOF
  24450. sed -n '
  24451. h
  24452. s/^/S["/; s/!.*/"]=/
  24453. p
  24454. g
  24455. s/^[^!]*!//
  24456. :repl
  24457. t repl
  24458. s/'"$ac_delim"'$//
  24459. t delim
  24460. :nl
  24461. h
  24462. s/\(.\{148\}\)..*/\1/
  24463. t more1
  24464. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  24465. p
  24466. n
  24467. b repl
  24468. :more1
  24469. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24470. p
  24471. g
  24472. s/.\{148\}//
  24473. t nl
  24474. :delim
  24475. h
  24476. s/\(.\{148\}\)..*/\1/
  24477. t more2
  24478. s/["\\]/\\&/g; s/^/"/; s/$/"/
  24479. p
  24480. b
  24481. :more2
  24482. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  24483. p
  24484. g
  24485. s/.\{148\}//
  24486. t delim
  24487. ' <conf$$subs.awk | sed '
  24488. /^[^""]/{
  24489. N
  24490. s/\n//
  24491. }
  24492. ' >>$CONFIG_STATUS || ac_write_fail=1
  24493. rm -f conf$$subs.awk
  24494. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24495. _ACAWK
  24496. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  24497. for (key in S) S_is_set[key] = 1
  24498. FS = ""
  24499. }
  24500. {
  24501. line = $ 0
  24502. nfields = split(line, field, "@")
  24503. substed = 0
  24504. len = length(field[1])
  24505. for (i = 2; i < nfields; i++) {
  24506. key = field[i]
  24507. keylen = length(key)
  24508. if (S_is_set[key]) {
  24509. value = S[key]
  24510. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  24511. len += length(value) + length(field[++i])
  24512. substed = 1
  24513. } else
  24514. len += 1 + keylen
  24515. }
  24516. print line
  24517. }
  24518. _ACAWK
  24519. _ACEOF
  24520. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24521. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  24522. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  24523. else
  24524. cat
  24525. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  24526. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  24527. _ACEOF
  24528. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  24529. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  24530. # trailing colons and then remove the whole line if VPATH becomes empty
  24531. # (actually we leave an empty line to preserve line numbers).
  24532. if test "x$srcdir" = x.; then
  24533. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  24534. h
  24535. s///
  24536. s/^/:/
  24537. s/[ ]*$/:/
  24538. s/:\$(srcdir):/:/g
  24539. s/:\${srcdir}:/:/g
  24540. s/:@srcdir@:/:/g
  24541. s/^:*//
  24542. s/:*$//
  24543. x
  24544. s/\(=[ ]*\).*/\1/
  24545. G
  24546. s/\n//
  24547. s/^[^=]*=[ ]*$//
  24548. }'
  24549. fi
  24550. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24551. fi # test -n "$CONFIG_FILES"
  24552. # Set up the scripts for CONFIG_HEADERS section.
  24553. # No need to generate them if there are no CONFIG_HEADERS.
  24554. # This happens for instance with `./config.status Makefile'.
  24555. if test -n "$CONFIG_HEADERS"; then
  24556. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  24557. BEGIN {
  24558. _ACEOF
  24559. # Transform confdefs.h into an awk script `defines.awk', embedded as
  24560. # here-document in config.status, that substitutes the proper values into
  24561. # config.h.in to produce config.h.
  24562. # Create a delimiter string that does not exist in confdefs.h, to ease
  24563. # handling of long lines.
  24564. ac_delim='%!_!# '
  24565. for ac_last_try in false false :; do
  24566. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  24567. if test -z "$ac_tt"; then
  24568. break
  24569. elif $ac_last_try; then
  24570. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  24571. else
  24572. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  24573. fi
  24574. done
  24575. # For the awk script, D is an array of macro values keyed by name,
  24576. # likewise P contains macro parameters if any. Preserve backslash
  24577. # newline sequences.
  24578. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  24579. sed -n '
  24580. s/.\{148\}/&'"$ac_delim"'/g
  24581. t rset
  24582. :rset
  24583. s/^[ ]*#[ ]*define[ ][ ]*/ /
  24584. t def
  24585. d
  24586. :def
  24587. s/\\$//
  24588. t bsnl
  24589. s/["\\]/\\&/g
  24590. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  24591. D["\1"]=" \3"/p
  24592. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  24593. d
  24594. :bsnl
  24595. s/["\\]/\\&/g
  24596. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  24597. D["\1"]=" \3\\\\\\n"\\/p
  24598. t cont
  24599. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  24600. t cont
  24601. d
  24602. :cont
  24603. n
  24604. s/.\{148\}/&'"$ac_delim"'/g
  24605. t clear
  24606. :clear
  24607. s/\\$//
  24608. t bsnlc
  24609. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  24610. d
  24611. :bsnlc
  24612. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  24613. b cont
  24614. ' <confdefs.h | sed '
  24615. s/'"$ac_delim"'/"\\\
  24616. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  24617. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24618. for (key in D) D_is_set[key] = 1
  24619. FS = ""
  24620. }
  24621. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  24622. line = \$ 0
  24623. split(line, arg, " ")
  24624. if (arg[1] == "#") {
  24625. defundef = arg[2]
  24626. mac1 = arg[3]
  24627. } else {
  24628. defundef = substr(arg[1], 2)
  24629. mac1 = arg[2]
  24630. }
  24631. split(mac1, mac2, "(") #)
  24632. macro = mac2[1]
  24633. prefix = substr(line, 1, index(line, defundef) - 1)
  24634. if (D_is_set[macro]) {
  24635. # Preserve the white space surrounding the "#".
  24636. print prefix "define", macro P[macro] D[macro]
  24637. next
  24638. } else {
  24639. # Replace #undef with comments. This is necessary, for example,
  24640. # in the case of _POSIX_SOURCE, which is predefined and required
  24641. # on some systems where configure will not decide to define it.
  24642. if (defundef == "undef") {
  24643. print "/*", prefix defundef, macro, "*/"
  24644. next
  24645. }
  24646. }
  24647. }
  24648. { print }
  24649. _ACAWK
  24650. _ACEOF
  24651. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24652. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  24653. fi # test -n "$CONFIG_HEADERS"
  24654. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  24655. shift
  24656. for ac_tag
  24657. do
  24658. case $ac_tag in
  24659. :[FHLC]) ac_mode=$ac_tag; continue;;
  24660. esac
  24661. case $ac_mode$ac_tag in
  24662. :[FHL]*:*);;
  24663. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  24664. :[FH]-) ac_tag=-:-;;
  24665. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  24666. esac
  24667. ac_save_IFS=$IFS
  24668. IFS=:
  24669. set x $ac_tag
  24670. IFS=$ac_save_IFS
  24671. shift
  24672. ac_file=$1
  24673. shift
  24674. case $ac_mode in
  24675. :L) ac_source=$1;;
  24676. :[FH])
  24677. ac_file_inputs=
  24678. for ac_f
  24679. do
  24680. case $ac_f in
  24681. -) ac_f="$ac_tmp/stdin";;
  24682. *) # Look for the file first in the build tree, then in the source tree
  24683. # (if the path is not absolute). The absolute path cannot be DOS-style,
  24684. # because $ac_f cannot contain `:'.
  24685. test -f "$ac_f" ||
  24686. case $ac_f in
  24687. [\\/$]*) false;;
  24688. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  24689. esac ||
  24690. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  24691. esac
  24692. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  24693. as_fn_append ac_file_inputs " '$ac_f'"
  24694. done
  24695. # Let's still pretend it is `configure' which instantiates (i.e., don't
  24696. # use $as_me), people would be surprised to read:
  24697. # /* config.h. Generated by config.status. */
  24698. configure_input='Generated from '`
  24699. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  24700. `' by configure.'
  24701. if test x"$ac_file" != x-; then
  24702. configure_input="$ac_file. $configure_input"
  24703. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  24704. $as_echo "$as_me: creating $ac_file" >&6;}
  24705. fi
  24706. # Neutralize special characters interpreted by sed in replacement strings.
  24707. case $configure_input in #(
  24708. *\&* | *\|* | *\\* )
  24709. ac_sed_conf_input=`$as_echo "$configure_input" |
  24710. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  24711. *) ac_sed_conf_input=$configure_input;;
  24712. esac
  24713. case $ac_tag in
  24714. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  24715. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  24716. esac
  24717. ;;
  24718. esac
  24719. ac_dir=`$as_dirname -- "$ac_file" ||
  24720. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24721. X"$ac_file" : 'X\(//\)[^/]' \| \
  24722. X"$ac_file" : 'X\(//\)$' \| \
  24723. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  24724. $as_echo X"$ac_file" |
  24725. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24726. s//\1/
  24727. q
  24728. }
  24729. /^X\(\/\/\)[^/].*/{
  24730. s//\1/
  24731. q
  24732. }
  24733. /^X\(\/\/\)$/{
  24734. s//\1/
  24735. q
  24736. }
  24737. /^X\(\/\).*/{
  24738. s//\1/
  24739. q
  24740. }
  24741. s/.*/./; q'`
  24742. as_dir="$ac_dir"; as_fn_mkdir_p
  24743. ac_builddir=.
  24744. case "$ac_dir" in
  24745. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24746. *)
  24747. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  24748. # A ".." for each directory in $ac_dir_suffix.
  24749. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  24750. case $ac_top_builddir_sub in
  24751. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  24752. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  24753. esac ;;
  24754. esac
  24755. ac_abs_top_builddir=$ac_pwd
  24756. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  24757. # for backward compatibility:
  24758. ac_top_builddir=$ac_top_build_prefix
  24759. case $srcdir in
  24760. .) # We are building in place.
  24761. ac_srcdir=.
  24762. ac_top_srcdir=$ac_top_builddir_sub
  24763. ac_abs_top_srcdir=$ac_pwd ;;
  24764. [\\/]* | ?:[\\/]* ) # Absolute name.
  24765. ac_srcdir=$srcdir$ac_dir_suffix;
  24766. ac_top_srcdir=$srcdir
  24767. ac_abs_top_srcdir=$srcdir ;;
  24768. *) # Relative name.
  24769. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  24770. ac_top_srcdir=$ac_top_build_prefix$srcdir
  24771. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  24772. esac
  24773. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  24774. case $ac_mode in
  24775. :F)
  24776. #
  24777. # CONFIG_FILE
  24778. #
  24779. case $INSTALL in
  24780. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  24781. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  24782. esac
  24783. ac_MKDIR_P=$MKDIR_P
  24784. case $MKDIR_P in
  24785. [\\/$]* | ?:[\\/]* ) ;;
  24786. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  24787. esac
  24788. _ACEOF
  24789. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24790. # If the template does not know about datarootdir, expand it.
  24791. # FIXME: This hack should be removed a few years after 2.60.
  24792. ac_datarootdir_hack=; ac_datarootdir_seen=
  24793. ac_sed_dataroot='
  24794. /datarootdir/ {
  24795. p
  24796. q
  24797. }
  24798. /@datadir@/p
  24799. /@docdir@/p
  24800. /@infodir@/p
  24801. /@localedir@/p
  24802. /@mandir@/p'
  24803. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  24804. *datarootdir*) ac_datarootdir_seen=yes;;
  24805. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  24806. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  24807. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  24808. _ACEOF
  24809. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24810. ac_datarootdir_hack='
  24811. s&@datadir@&$datadir&g
  24812. s&@docdir@&$docdir&g
  24813. s&@infodir@&$infodir&g
  24814. s&@localedir@&$localedir&g
  24815. s&@mandir@&$mandir&g
  24816. s&\\\${datarootdir}&$datarootdir&g' ;;
  24817. esac
  24818. _ACEOF
  24819. # Neutralize VPATH when `$srcdir' = `.'.
  24820. # Shell code in configure.ac might set extrasub.
  24821. # FIXME: do we really want to maintain this feature?
  24822. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  24823. ac_sed_extra="$ac_vpsub
  24824. $extrasub
  24825. _ACEOF
  24826. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  24827. :t
  24828. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  24829. s|@configure_input@|$ac_sed_conf_input|;t t
  24830. s&@top_builddir@&$ac_top_builddir_sub&;t t
  24831. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  24832. s&@srcdir@&$ac_srcdir&;t t
  24833. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  24834. s&@top_srcdir@&$ac_top_srcdir&;t t
  24835. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  24836. s&@builddir@&$ac_builddir&;t t
  24837. s&@abs_builddir@&$ac_abs_builddir&;t t
  24838. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  24839. s&@INSTALL@&$ac_INSTALL&;t t
  24840. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  24841. $ac_datarootdir_hack
  24842. "
  24843. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  24844. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24845. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  24846. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  24847. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  24848. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  24849. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  24850. which seems to be undefined. Please make sure it is defined" >&5
  24851. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  24852. which seems to be undefined. Please make sure it is defined" >&2;}
  24853. rm -f "$ac_tmp/stdin"
  24854. case $ac_file in
  24855. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  24856. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  24857. esac \
  24858. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24859. ;;
  24860. :H)
  24861. #
  24862. # CONFIG_HEADER
  24863. #
  24864. if test x"$ac_file" != x-; then
  24865. {
  24866. $as_echo "/* $configure_input */" \
  24867. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  24868. } >"$ac_tmp/config.h" \
  24869. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24870. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  24871. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  24872. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  24873. else
  24874. rm -f "$ac_file"
  24875. mv "$ac_tmp/config.h" "$ac_file" \
  24876. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  24877. fi
  24878. else
  24879. $as_echo "/* $configure_input */" \
  24880. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  24881. || as_fn_error $? "could not create -" "$LINENO" 5
  24882. fi
  24883. # Compute "$ac_file"'s index in $config_headers.
  24884. _am_arg="$ac_file"
  24885. _am_stamp_count=1
  24886. for _am_header in $config_headers :; do
  24887. case $_am_header in
  24888. $_am_arg | $_am_arg:* )
  24889. break ;;
  24890. * )
  24891. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  24892. esac
  24893. done
  24894. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  24895. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24896. X"$_am_arg" : 'X\(//\)[^/]' \| \
  24897. X"$_am_arg" : 'X\(//\)$' \| \
  24898. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  24899. $as_echo X"$_am_arg" |
  24900. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24901. s//\1/
  24902. q
  24903. }
  24904. /^X\(\/\/\)[^/].*/{
  24905. s//\1/
  24906. q
  24907. }
  24908. /^X\(\/\/\)$/{
  24909. s//\1/
  24910. q
  24911. }
  24912. /^X\(\/\).*/{
  24913. s//\1/
  24914. q
  24915. }
  24916. s/.*/./; q'`/stamp-h$_am_stamp_count
  24917. ;;
  24918. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  24919. $as_echo "$as_me: executing $ac_file commands" >&6;}
  24920. ;;
  24921. esac
  24922. case $ac_file$ac_mode in
  24923. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  24924. # Older Autoconf quotes --file arguments for eval, but not when files
  24925. # are listed without --file. Let's play safe and only enable the eval
  24926. # if we detect the quoting.
  24927. case $CONFIG_FILES in
  24928. *\'*) eval set x "$CONFIG_FILES" ;;
  24929. *) set x $CONFIG_FILES ;;
  24930. esac
  24931. shift
  24932. for mf
  24933. do
  24934. # Strip MF so we end up with the name of the file.
  24935. mf=`echo "$mf" | sed -e 's/:.*$//'`
  24936. # Check whether this is an Automake generated Makefile or not.
  24937. # We used to match only the files named 'Makefile.in', but
  24938. # some people rename them; so instead we look at the file content.
  24939. # Grep'ing the first line is not enough: some people post-process
  24940. # each Makefile.in and add a new line on top of each file to say so.
  24941. # Grep'ing the whole file is not good either: AIX grep has a line
  24942. # limit of 2048, but all sed's we know have understand at least 4000.
  24943. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  24944. dirpart=`$as_dirname -- "$mf" ||
  24945. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24946. X"$mf" : 'X\(//\)[^/]' \| \
  24947. X"$mf" : 'X\(//\)$' \| \
  24948. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  24949. $as_echo X"$mf" |
  24950. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24951. s//\1/
  24952. q
  24953. }
  24954. /^X\(\/\/\)[^/].*/{
  24955. s//\1/
  24956. q
  24957. }
  24958. /^X\(\/\/\)$/{
  24959. s//\1/
  24960. q
  24961. }
  24962. /^X\(\/\).*/{
  24963. s//\1/
  24964. q
  24965. }
  24966. s/.*/./; q'`
  24967. else
  24968. continue
  24969. fi
  24970. # Extract the definition of DEPDIR, am__include, and am__quote
  24971. # from the Makefile without running 'make'.
  24972. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  24973. test -z "$DEPDIR" && continue
  24974. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  24975. test -z "$am__include" && continue
  24976. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  24977. # Find all dependency output files, they are included files with
  24978. # $(DEPDIR) in their names. We invoke sed twice because it is the
  24979. # simplest approach to changing $(DEPDIR) to its actual value in the
  24980. # expansion.
  24981. for file in `sed -n "
  24982. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  24983. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  24984. # Make sure the directory exists.
  24985. test -f "$dirpart/$file" && continue
  24986. fdir=`$as_dirname -- "$file" ||
  24987. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  24988. X"$file" : 'X\(//\)[^/]' \| \
  24989. X"$file" : 'X\(//\)$' \| \
  24990. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  24991. $as_echo X"$file" |
  24992. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  24993. s//\1/
  24994. q
  24995. }
  24996. /^X\(\/\/\)[^/].*/{
  24997. s//\1/
  24998. q
  24999. }
  25000. /^X\(\/\/\)$/{
  25001. s//\1/
  25002. q
  25003. }
  25004. /^X\(\/\).*/{
  25005. s//\1/
  25006. q
  25007. }
  25008. s/.*/./; q'`
  25009. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  25010. # echo "creating $dirpart/$file"
  25011. echo '# dummy' > "$dirpart/$file"
  25012. done
  25013. done
  25014. }
  25015. ;;
  25016. "libtool":C)
  25017. # See if we are running on zsh, and set the options that allow our
  25018. # commands through without removal of \ escapes.
  25019. if test -n "${ZSH_VERSION+set}"; then
  25020. setopt NO_GLOB_SUBST
  25021. fi
  25022. cfgfile=${ofile}T
  25023. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  25024. $RM "$cfgfile"
  25025. cat <<_LT_EOF >> "$cfgfile"
  25026. #! $SHELL
  25027. # Generated automatically by $as_me ($PACKAGE) $VERSION
  25028. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  25029. # Provide generalized library-building support services.
  25030. # Written by Gordon Matzigkeit, 1996
  25031. # Copyright (C) 2014 Free Software Foundation, Inc.
  25032. # This is free software; see the source for copying conditions. There is NO
  25033. # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  25034. # GNU Libtool is free software; you can redistribute it and/or modify
  25035. # it under the terms of the GNU General Public License as published by
  25036. # the Free Software Foundation; either version 2 of of the License, or
  25037. # (at your option) any later version.
  25038. #
  25039. # As a special exception to the GNU General Public License, if you
  25040. # distribute this file as part of a program or library that is built
  25041. # using GNU Libtool, you may include this file under the same
  25042. # distribution terms that you use for the rest of that program.
  25043. #
  25044. # GNU Libtool is distributed in the hope that it will be useful, but
  25045. # WITHOUT ANY WARRANTY; without even the implied warranty of
  25046. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25047. # GNU General Public License for more details.
  25048. #
  25049. # You should have received a copy of the GNU General Public License
  25050. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  25051. # The names of the tagged configurations supported by this script.
  25052. available_tags=''
  25053. # Configured defaults for sys_lib_dlsearch_path munging.
  25054. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
  25055. # ### BEGIN LIBTOOL CONFIG
  25056. # Whether or not to build static libraries.
  25057. build_old_libs=$enable_static
  25058. # Which release of libtool.m4 was used?
  25059. macro_version=$macro_version
  25060. macro_revision=$macro_revision
  25061. # Whether or not to build shared libraries.
  25062. build_libtool_libs=$enable_shared
  25063. # What type of objects to build.
  25064. pic_mode=$pic_mode
  25065. # Whether or not to optimize for fast installation.
  25066. fast_install=$enable_fast_install
  25067. # Shared archive member basename,for filename based shared library versioning on AIX.
  25068. shared_archive_member_spec=$shared_archive_member_spec
  25069. # Shell to use when invoking shell scripts.
  25070. SHELL=$lt_SHELL
  25071. # An echo program that protects backslashes.
  25072. ECHO=$lt_ECHO
  25073. # The PATH separator for the build system.
  25074. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  25075. # The host system.
  25076. host_alias=$host_alias
  25077. host=$host
  25078. host_os=$host_os
  25079. # The build system.
  25080. build_alias=$build_alias
  25081. build=$build
  25082. build_os=$build_os
  25083. # A sed program that does not truncate output.
  25084. SED=$lt_SED
  25085. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  25086. Xsed="\$SED -e 1s/^X//"
  25087. # A grep program that handles long lines.
  25088. GREP=$lt_GREP
  25089. # An ERE matcher.
  25090. EGREP=$lt_EGREP
  25091. # A literal string matcher.
  25092. FGREP=$lt_FGREP
  25093. # A BSD- or MS-compatible name lister.
  25094. NM=$lt_NM
  25095. # Whether we need soft or hard links.
  25096. LN_S=$lt_LN_S
  25097. # What is the maximum length of a command?
  25098. max_cmd_len=$max_cmd_len
  25099. # Object file suffix (normally "o").
  25100. objext=$ac_objext
  25101. # Executable file suffix (normally "").
  25102. exeext=$exeext
  25103. # whether the shell understands "unset".
  25104. lt_unset=$lt_unset
  25105. # turn spaces into newlines.
  25106. SP2NL=$lt_lt_SP2NL
  25107. # turn newlines into spaces.
  25108. NL2SP=$lt_lt_NL2SP
  25109. # convert \$build file names to \$host format.
  25110. to_host_file_cmd=$lt_cv_to_host_file_cmd
  25111. # convert \$build files to toolchain format.
  25112. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  25113. # An object symbol dumper.
  25114. OBJDUMP=$lt_OBJDUMP
  25115. # Method to check whether dependent libraries are shared objects.
  25116. deplibs_check_method=$lt_deplibs_check_method
  25117. # Command to use when deplibs_check_method = "file_magic".
  25118. file_magic_cmd=$lt_file_magic_cmd
  25119. # How to find potential files when deplibs_check_method = "file_magic".
  25120. file_magic_glob=$lt_file_magic_glob
  25121. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  25122. want_nocaseglob=$lt_want_nocaseglob
  25123. # DLL creation program.
  25124. DLLTOOL=$lt_DLLTOOL
  25125. # Command to associate shared and link libraries.
  25126. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  25127. # The archiver.
  25128. AR=$lt_AR
  25129. # Flags to create an archive.
  25130. AR_FLAGS=$lt_AR_FLAGS
  25131. # How to feed a file listing to the archiver.
  25132. archiver_list_spec=$lt_archiver_list_spec
  25133. # A symbol stripping program.
  25134. STRIP=$lt_STRIP
  25135. # Commands used to install an old-style archive.
  25136. RANLIB=$lt_RANLIB
  25137. old_postinstall_cmds=$lt_old_postinstall_cmds
  25138. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  25139. # Whether to use a lock for old archive extraction.
  25140. lock_old_archive_extraction=$lock_old_archive_extraction
  25141. # A C compiler.
  25142. LTCC=$lt_CC
  25143. # LTCC compiler flags.
  25144. LTCFLAGS=$lt_CFLAGS
  25145. # Take the output of nm and produce a listing of raw symbols and C names.
  25146. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  25147. # Transform the output of nm in a proper C declaration.
  25148. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  25149. # Transform the output of nm into a list of symbols to manually relocate.
  25150. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
  25151. # Transform the output of nm in a C name address pair.
  25152. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  25153. # Transform the output of nm in a C name address pair when lib prefix is needed.
  25154. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  25155. # The name lister interface.
  25156. nm_interface=$lt_lt_cv_nm_interface
  25157. # Specify filename containing input files for \$NM.
  25158. nm_file_list_spec=$lt_nm_file_list_spec
  25159. # The root where to search for dependent libraries,and where our libraries should be installed.
  25160. lt_sysroot=$lt_sysroot
  25161. # Command to truncate a binary pipe.
  25162. lt_truncate_bin=$lt_lt_cv_truncate_bin
  25163. # The name of the directory that contains temporary libtool files.
  25164. objdir=$objdir
  25165. # Used to examine libraries when file_magic_cmd begins with "file".
  25166. MAGIC_CMD=$MAGIC_CMD
  25167. # Must we lock files when doing compilation?
  25168. need_locks=$lt_need_locks
  25169. # Manifest tool.
  25170. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  25171. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  25172. DSYMUTIL=$lt_DSYMUTIL
  25173. # Tool to change global to local symbols on Mac OS X.
  25174. NMEDIT=$lt_NMEDIT
  25175. # Tool to manipulate fat objects and archives on Mac OS X.
  25176. LIPO=$lt_LIPO
  25177. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  25178. OTOOL=$lt_OTOOL
  25179. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  25180. OTOOL64=$lt_OTOOL64
  25181. # Old archive suffix (normally "a").
  25182. libext=$libext
  25183. # Shared library suffix (normally ".so").
  25184. shrext_cmds=$lt_shrext_cmds
  25185. # The commands to extract the exported symbol list from a shared archive.
  25186. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  25187. # Variables whose values should be saved in libtool wrapper scripts and
  25188. # restored at link time.
  25189. variables_saved_for_relink=$lt_variables_saved_for_relink
  25190. # Do we need the "lib" prefix for modules?
  25191. need_lib_prefix=$need_lib_prefix
  25192. # Do we need a version for libraries?
  25193. need_version=$need_version
  25194. # Library versioning type.
  25195. version_type=$version_type
  25196. # Shared library runtime path variable.
  25197. runpath_var=$runpath_var
  25198. # Shared library path variable.
  25199. shlibpath_var=$shlibpath_var
  25200. # Is shlibpath searched before the hard-coded library search path?
  25201. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  25202. # Format of library name prefix.
  25203. libname_spec=$lt_libname_spec
  25204. # List of archive names. First name is the real one, the rest are links.
  25205. # The last name is the one that the linker finds with -lNAME
  25206. library_names_spec=$lt_library_names_spec
  25207. # The coded name of the library, if different from the real name.
  25208. soname_spec=$lt_soname_spec
  25209. # Permission mode override for installation of shared libraries.
  25210. install_override_mode=$lt_install_override_mode
  25211. # Command to use after installation of a shared archive.
  25212. postinstall_cmds=$lt_postinstall_cmds
  25213. # Command to use after uninstallation of a shared archive.
  25214. postuninstall_cmds=$lt_postuninstall_cmds
  25215. # Commands used to finish a libtool library installation in a directory.
  25216. finish_cmds=$lt_finish_cmds
  25217. # As "finish_cmds", except a single script fragment to be evaled but
  25218. # not shown.
  25219. finish_eval=$lt_finish_eval
  25220. # Whether we should hardcode library paths into libraries.
  25221. hardcode_into_libs=$hardcode_into_libs
  25222. # Compile-time system search path for libraries.
  25223. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  25224. # Detected run-time system search path for libraries.
  25225. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
  25226. # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
  25227. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
  25228. # Whether dlopen is supported.
  25229. dlopen_support=$enable_dlopen
  25230. # Whether dlopen of programs is supported.
  25231. dlopen_self=$enable_dlopen_self
  25232. # Whether dlopen of statically linked programs is supported.
  25233. dlopen_self_static=$enable_dlopen_self_static
  25234. # Commands to strip libraries.
  25235. old_striplib=$lt_old_striplib
  25236. striplib=$lt_striplib
  25237. # The linker used to build libraries.
  25238. LD=$lt_LD
  25239. # How to create reloadable object files.
  25240. reload_flag=$lt_reload_flag
  25241. reload_cmds=$lt_reload_cmds
  25242. # Commands used to build an old-style archive.
  25243. old_archive_cmds=$lt_old_archive_cmds
  25244. # A language specific compiler.
  25245. CC=$lt_compiler
  25246. # Is the compiler the GNU compiler?
  25247. with_gcc=$GCC
  25248. # Compiler flag to turn off builtin functions.
  25249. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  25250. # Additional compiler flags for building library objects.
  25251. pic_flag=$lt_lt_prog_compiler_pic
  25252. # How to pass a linker flag through the compiler.
  25253. wl=$lt_lt_prog_compiler_wl
  25254. # Compiler flag to prevent dynamic linking.
  25255. link_static_flag=$lt_lt_prog_compiler_static
  25256. # Does compiler simultaneously support -c and -o options?
  25257. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  25258. # Whether or not to add -lc for building shared libraries.
  25259. build_libtool_need_lc=$archive_cmds_need_lc
  25260. # Whether or not to disallow shared libs when runtime libs are static.
  25261. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  25262. # Compiler flag to allow reflexive dlopens.
  25263. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  25264. # Compiler flag to generate shared objects directly from archives.
  25265. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  25266. # Whether the compiler copes with passing no objects directly.
  25267. compiler_needs_object=$lt_compiler_needs_object
  25268. # Create an old-style archive from a shared archive.
  25269. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  25270. # Create a temporary old-style archive to link instead of a shared archive.
  25271. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  25272. # Commands used to build a shared archive.
  25273. archive_cmds=$lt_archive_cmds
  25274. archive_expsym_cmds=$lt_archive_expsym_cmds
  25275. # Commands used to build a loadable module if different from building
  25276. # a shared archive.
  25277. module_cmds=$lt_module_cmds
  25278. module_expsym_cmds=$lt_module_expsym_cmds
  25279. # Whether we are building with GNU ld or not.
  25280. with_gnu_ld=$lt_with_gnu_ld
  25281. # Flag that allows shared libraries with undefined symbols to be built.
  25282. allow_undefined_flag=$lt_allow_undefined_flag
  25283. # Flag that enforces no undefined symbols.
  25284. no_undefined_flag=$lt_no_undefined_flag
  25285. # Flag to hardcode \$libdir into a binary during linking.
  25286. # This must work even if \$libdir does not exist
  25287. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  25288. # Whether we need a single "-rpath" flag with a separated argument.
  25289. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  25290. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  25291. # DIR into the resulting binary.
  25292. hardcode_direct=$hardcode_direct
  25293. # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
  25294. # DIR into the resulting binary and the resulting library dependency is
  25295. # "absolute",i.e impossible to change by setting \$shlibpath_var if the
  25296. # library is relocated.
  25297. hardcode_direct_absolute=$hardcode_direct_absolute
  25298. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  25299. # into the resulting binary.
  25300. hardcode_minus_L=$hardcode_minus_L
  25301. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  25302. # into the resulting binary.
  25303. hardcode_shlibpath_var=$hardcode_shlibpath_var
  25304. # Set to "yes" if building a shared library automatically hardcodes DIR
  25305. # into the library and all subsequent libraries and executables linked
  25306. # against it.
  25307. hardcode_automatic=$hardcode_automatic
  25308. # Set to yes if linker adds runtime paths of dependent libraries
  25309. # to runtime path list.
  25310. inherit_rpath=$inherit_rpath
  25311. # Whether libtool must link a program against all its dependency libraries.
  25312. link_all_deplibs=$link_all_deplibs
  25313. # Set to "yes" if exported symbols are required.
  25314. always_export_symbols=$always_export_symbols
  25315. # The commands to list exported symbols.
  25316. export_symbols_cmds=$lt_export_symbols_cmds
  25317. # Symbols that should not be listed in the preloaded symbols.
  25318. exclude_expsyms=$lt_exclude_expsyms
  25319. # Symbols that must always be exported.
  25320. include_expsyms=$lt_include_expsyms
  25321. # Commands necessary for linking programs (against libraries) with templates.
  25322. prelink_cmds=$lt_prelink_cmds
  25323. # Commands necessary for finishing linking programs.
  25324. postlink_cmds=$lt_postlink_cmds
  25325. # Specify filename containing input files.
  25326. file_list_spec=$lt_file_list_spec
  25327. # How to hardcode a shared library path into an executable.
  25328. hardcode_action=$hardcode_action
  25329. # ### END LIBTOOL CONFIG
  25330. _LT_EOF
  25331. cat <<'_LT_EOF' >> "$cfgfile"
  25332. # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
  25333. # func_munge_path_list VARIABLE PATH
  25334. # -----------------------------------
  25335. # VARIABLE is name of variable containing _space_ separated list of
  25336. # directories to be munged by the contents of PATH, which is string
  25337. # having a format:
  25338. # "DIR[:DIR]:"
  25339. # string "DIR[ DIR]" will be prepended to VARIABLE
  25340. # ":DIR[:DIR]"
  25341. # string "DIR[ DIR]" will be appended to VARIABLE
  25342. # "DIRP[:DIRP]::[DIRA:]DIRA"
  25343. # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
  25344. # "DIRA[ DIRA]" will be appended to VARIABLE
  25345. # "DIR[:DIR]"
  25346. # VARIABLE will be replaced by "DIR[ DIR]"
  25347. func_munge_path_list ()
  25348. {
  25349. case x@S|@2 in
  25350. x)
  25351. ;;
  25352. *:)
  25353. eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
  25354. ;;
  25355. x:*)
  25356. eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
  25357. ;;
  25358. *::*)
  25359. eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
  25360. eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
  25361. ;;
  25362. *)
  25363. eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
  25364. ;;
  25365. esac
  25366. }
  25367. # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
  25368. func_cc_basename ()
  25369. {
  25370. for cc_temp in @S|@*""; do
  25371. case $cc_temp in
  25372. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  25373. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  25374. \-*) ;;
  25375. *) break;;
  25376. esac
  25377. done
  25378. func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  25379. }
  25380. # ### END FUNCTIONS SHARED WITH CONFIGURE
  25381. _LT_EOF
  25382. case $host_os in
  25383. aix3*)
  25384. cat <<\_LT_EOF >> "$cfgfile"
  25385. # AIX sometimes has problems with the GCC collect2 program. For some
  25386. # reason, if we set the COLLECT_NAMES environment variable, the problems
  25387. # vanish in a puff of smoke.
  25388. if test set != "${COLLECT_NAMES+set}"; then
  25389. COLLECT_NAMES=
  25390. export COLLECT_NAMES
  25391. fi
  25392. _LT_EOF
  25393. ;;
  25394. esac
  25395. ltmain=$ac_aux_dir/ltmain.sh
  25396. # We use sed instead of cat because bash on DJGPP gets confused if
  25397. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  25398. # text mode, it properly converts lines to CR/LF. This bash problem
  25399. # is reportedly fixed, but why not run on old versions too?
  25400. sed '$q' "$ltmain" >> "$cfgfile" \
  25401. || (rm -f "$cfgfile"; exit 1)
  25402. mv -f "$cfgfile" "$ofile" ||
  25403. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  25404. chmod +x "$ofile"
  25405. ;;
  25406. esac
  25407. done # for ac_tag
  25408. as_fn_exit 0
  25409. _ACEOF
  25410. ac_clean_files=$ac_clean_files_save
  25411. test $ac_write_fail = 0 ||
  25412. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  25413. # configure is writing to config.log, and then calls config.status.
  25414. # config.status does its own redirection, appending to config.log.
  25415. # Unfortunately, on DOS this fails, as config.log is still kept open
  25416. # by configure, so config.status won't be able to write to it; its
  25417. # output is simply discarded. So we exec the FD to /dev/null,
  25418. # effectively closing config.log, so it can be properly (re)opened and
  25419. # appended to by config.status. When coming back to configure, we
  25420. # need to make the FD available again.
  25421. if test "$no_create" != yes; then
  25422. ac_cs_success=:
  25423. ac_config_status_args=
  25424. test "$silent" = yes &&
  25425. ac_config_status_args="$ac_config_status_args --quiet"
  25426. exec 5>/dev/null
  25427. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  25428. exec 5>>config.log
  25429. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  25430. # would make configure fail if this is the last instruction.
  25431. $ac_cs_success || as_fn_exit 1
  25432. fi
  25433. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  25434. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  25435. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  25436. fi
  25437. # ========================
  25438. # report enabled plugins
  25439. # ========================
  25440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  25441. $as_echo "" >&6; }
  25442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: strongSwan will be built with the following plugins" >&5
  25443. $as_echo " strongSwan will be built with the following plugins" >&6; }
  25444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------------------" >&5
  25445. $as_echo "-----------------------------------------------------" >&6; }
  25446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libstrongswan:$s_plugins" >&5
  25447. $as_echo "libstrongswan:$s_plugins" >&6; }
  25448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcharon: $c_plugins" >&5
  25449. $as_echo "libcharon: $c_plugins" >&6; }
  25450. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtnccs: $t_plugins" >&5
  25451. $as_echo "libtnccs: $t_plugins" >&6; }
  25452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtpmtss: $p_plugins" >&5
  25453. $as_echo "libtpmtss: $p_plugins" >&6; }
  25454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  25455. $as_echo "" >&6; }