configure 177 KB

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