configure 172 KB

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