configure 206 KB

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