Nife version Beta
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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