configure 221 KB

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