configure 188 KB

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