patch-configure 287 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- sipsak-0.9.6.orig/configure 2006-01-28 22:11:34.000000000 +0100
  3. +++ sipsak-0.9.6/configure 2009-05-31 16:35:17.000000000 +0200
  4. @@ -1,27 +1,56 @@
  5. #! /bin/sh
  6. # Guess values for system-dependent variables and create Makefiles.
  7. -# Generated by GNU Autoconf 2.59 for sipsak 0.9.6.
  8. +# Generated by GNU Autoconf 2.61 for sipsak 0.9.6.
  9. #
  10. # Report bugs to <nils@sipsak.org>.
  11. #
  12. -# Copyright (C) 2003 Free Software Foundation, Inc.
  13. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  14. +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  15. # This configure script is free software; the Free Software Foundation
  16. # gives unlimited permission to copy, distribute and modify it.
  17. ## --------------------- ##
  18. ## M4sh Initialization. ##
  19. ## --------------------- ##
  20. -# Be Bourne compatible
  21. +# Be more Bourne compatible
  22. +DUALCASE=1; export DUALCASE # for MKS sh
  23. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  24. emulate sh
  25. NULLCMD=:
  26. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  27. # is contrary to our usage. Disable this feature.
  28. alias -g '${1+"$@"}'='"$@"'
  29. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  30. - set -o posix
  31. + setopt NO_GLOB_SUBST
  32. +else
  33. + case `(set -o) 2>/dev/null` in
  34. + *posix*) set -o posix ;;
  35. +esac
  36. +
  37. +fi
  38. +
  39. +
  40. +
  41. +
  42. +# PATH needs CR
  43. +# Avoid depending upon Character Ranges.
  44. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  45. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  46. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  47. +as_cr_digits='0123456789'
  48. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  49. +
  50. +# The user is always right.
  51. +if test "${PATH_SEPARATOR+set}" != set; then
  52. + echo "#! /bin/sh" >conf$$.sh
  53. + echo "exit 0" >>conf$$.sh
  54. + chmod +x conf$$.sh
  55. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  56. + PATH_SEPARATOR=';'
  57. + else
  58. + PATH_SEPARATOR=:
  59. + fi
  60. + rm -f conf$$.sh
  61. fi
  62. -DUALCASE=1; export DUALCASE # for MKS sh
  63. # Support unset when possible.
  64. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  65. @@ -31,8 +60,43 @@ else
  66. fi
  67. +# IFS
  68. +# We need space, tab and new line, in precisely that order. Quoting is
  69. +# there to prevent editors from complaining about space-tab.
  70. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  71. +# splitting by setting IFS to empty value.)
  72. +as_nl='
  73. +'
  74. +IFS=" "" $as_nl"
  75. +
  76. +# Find who we are. Look in the path if we contain no directory separator.
  77. +case $0 in
  78. + *[\\/]* ) as_myself=$0 ;;
  79. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  80. +for as_dir in $PATH
  81. +do
  82. + IFS=$as_save_IFS
  83. + test -z "$as_dir" && as_dir=.
  84. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  85. +done
  86. +IFS=$as_save_IFS
  87. +
  88. + ;;
  89. +esac
  90. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  91. +# in which case we are not to be found in the path.
  92. +if test "x$as_myself" = x; then
  93. + as_myself=$0
  94. +fi
  95. +if test ! -f "$as_myself"; then
  96. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  97. + { (exit 1); exit 1; }
  98. +fi
  99. +
  100. # Work around bugs in pre-3.0 UWIN ksh.
  101. -$as_unset ENV MAIL MAILPATH
  102. +for as_var in ENV MAIL MAILPATH
  103. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  104. +done
  105. PS1='$ '
  106. PS2='> '
  107. PS4='+ '
  108. @@ -46,18 +110,19 @@ do
  109. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  110. eval $as_var=C; export $as_var
  111. else
  112. - $as_unset $as_var
  113. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  114. fi
  115. done
  116. # Required to use basename.
  117. -if expr a : '\(a\)' >/dev/null 2>&1; then
  118. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  119. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  120. as_expr=expr
  121. else
  122. as_expr=false
  123. fi
  124. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  125. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  126. as_basename=basename
  127. else
  128. as_basename=false
  129. @@ -65,157 +130,388 @@ fi
  130. # Name of the executable.
  131. -as_me=`$as_basename "$0" ||
  132. +as_me=`$as_basename -- "$0" ||
  133. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  134. X"$0" : 'X\(//\)$' \| \
  135. - X"$0" : 'X\(/\)$' \| \
  136. - . : '\(.\)' 2>/dev/null ||
  137. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  138. echo X/"$0" |
  139. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  140. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  141. - /^X\/\(\/\).*/{ s//\1/; q; }
  142. - s/.*/./; q'`
  143. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  144. + s//\1/
  145. + q
  146. + }
  147. + /^X\/\(\/\/\)$/{
  148. + s//\1/
  149. + q
  150. + }
  151. + /^X\/\(\/\).*/{
  152. + s//\1/
  153. + q
  154. + }
  155. + s/.*/./; q'`
  156. +# CDPATH.
  157. +$as_unset CDPATH
  158. -# PATH needs CR, and LINENO needs CR and PATH.
  159. -# Avoid depending upon Character Ranges.
  160. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  161. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  162. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  163. -as_cr_digits='0123456789'
  164. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  165. -# The user is always right.
  166. -if test "${PATH_SEPARATOR+set}" != set; then
  167. - echo "#! /bin/sh" >conf$$.sh
  168. - echo "exit 0" >>conf$$.sh
  169. - chmod +x conf$$.sh
  170. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  171. - PATH_SEPARATOR=';'
  172. - else
  173. - PATH_SEPARATOR=:
  174. - fi
  175. - rm -f conf$$.sh
  176. +if test "x$CONFIG_SHELL" = x; then
  177. + if (eval ":") 2>/dev/null; then
  178. + as_have_required=yes
  179. +else
  180. + as_have_required=no
  181. fi
  182. + if test $as_have_required = yes && (eval ":
  183. +(as_func_return () {
  184. + (exit \$1)
  185. +}
  186. +as_func_success () {
  187. + as_func_return 0
  188. +}
  189. +as_func_failure () {
  190. + as_func_return 1
  191. +}
  192. +as_func_ret_success () {
  193. + return 0
  194. +}
  195. +as_func_ret_failure () {
  196. + return 1
  197. +}
  198. +
  199. +exitcode=0
  200. +if as_func_success; then
  201. + :
  202. +else
  203. + exitcode=1
  204. + echo as_func_success failed.
  205. +fi
  206. - as_lineno_1=$LINENO
  207. - as_lineno_2=$LINENO
  208. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  209. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  210. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  211. - # Find who we are. Look in the path if we contain no path at all
  212. - # relative or not.
  213. - case $0 in
  214. - *[\\/]* ) as_myself=$0 ;;
  215. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  216. -for as_dir in $PATH
  217. -do
  218. - IFS=$as_save_IFS
  219. - test -z "$as_dir" && as_dir=.
  220. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  221. -done
  222. +if as_func_failure; then
  223. + exitcode=1
  224. + echo as_func_failure succeeded.
  225. +fi
  226. - ;;
  227. - esac
  228. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  229. - # in which case we are not to be found in the path.
  230. - if test "x$as_myself" = x; then
  231. - as_myself=$0
  232. - fi
  233. - if test ! -f "$as_myself"; then
  234. - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  235. - { (exit 1); exit 1; }; }
  236. - fi
  237. - case $CONFIG_SHELL in
  238. - '')
  239. +if as_func_ret_success; then
  240. + :
  241. +else
  242. + exitcode=1
  243. + echo as_func_ret_success failed.
  244. +fi
  245. +
  246. +if as_func_ret_failure; then
  247. + exitcode=1
  248. + echo as_func_ret_failure succeeded.
  249. +fi
  250. +
  251. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  252. + :
  253. +else
  254. + exitcode=1
  255. + echo positional parameters were not saved.
  256. +fi
  257. +
  258. +test \$exitcode = 0) || { (exit 1); exit 1; }
  259. +
  260. +(
  261. + as_lineno_1=\$LINENO
  262. + as_lineno_2=\$LINENO
  263. + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  264. + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  265. +") 2> /dev/null; then
  266. + :
  267. +else
  268. + as_candidate_shells=
  269. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  270. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  271. do
  272. IFS=$as_save_IFS
  273. test -z "$as_dir" && as_dir=.
  274. - for as_base in sh bash ksh sh5; do
  275. - case $as_dir in
  276. + case $as_dir in
  277. /*)
  278. - if ("$as_dir/$as_base" -c '
  279. + for as_base in sh bash ksh sh5; do
  280. + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  281. + done;;
  282. + esac
  283. +done
  284. +IFS=$as_save_IFS
  285. +
  286. +
  287. + for as_shell in $as_candidate_shells $SHELL; do
  288. + # Try only shells that exist, to save several forks.
  289. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  290. + { ("$as_shell") 2> /dev/null <<\_ASEOF
  291. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  292. + emulate sh
  293. + NULLCMD=:
  294. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  295. + # is contrary to our usage. Disable this feature.
  296. + alias -g '${1+"$@"}'='"$@"'
  297. + setopt NO_GLOB_SUBST
  298. +else
  299. + case `(set -o) 2>/dev/null` in
  300. + *posix*) set -o posix ;;
  301. +esac
  302. +
  303. +fi
  304. +
  305. +
  306. +:
  307. +_ASEOF
  308. +}; then
  309. + CONFIG_SHELL=$as_shell
  310. + as_have_required=yes
  311. + if { "$as_shell" 2> /dev/null <<\_ASEOF
  312. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  313. + emulate sh
  314. + NULLCMD=:
  315. + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  316. + # is contrary to our usage. Disable this feature.
  317. + alias -g '${1+"$@"}'='"$@"'
  318. + setopt NO_GLOB_SUBST
  319. +else
  320. + case `(set -o) 2>/dev/null` in
  321. + *posix*) set -o posix ;;
  322. +esac
  323. +
  324. +fi
  325. +
  326. +
  327. +:
  328. +(as_func_return () {
  329. + (exit $1)
  330. +}
  331. +as_func_success () {
  332. + as_func_return 0
  333. +}
  334. +as_func_failure () {
  335. + as_func_return 1
  336. +}
  337. +as_func_ret_success () {
  338. + return 0
  339. +}
  340. +as_func_ret_failure () {
  341. + return 1
  342. +}
  343. +
  344. +exitcode=0
  345. +if as_func_success; then
  346. + :
  347. +else
  348. + exitcode=1
  349. + echo as_func_success failed.
  350. +fi
  351. +
  352. +if as_func_failure; then
  353. + exitcode=1
  354. + echo as_func_failure succeeded.
  355. +fi
  356. +
  357. +if as_func_ret_success; then
  358. + :
  359. +else
  360. + exitcode=1
  361. + echo as_func_ret_success failed.
  362. +fi
  363. +
  364. +if as_func_ret_failure; then
  365. + exitcode=1
  366. + echo as_func_ret_failure succeeded.
  367. +fi
  368. +
  369. +if ( set x; as_func_ret_success y && test x = "$1" ); then
  370. + :
  371. +else
  372. + exitcode=1
  373. + echo positional parameters were not saved.
  374. +fi
  375. +
  376. +test $exitcode = 0) || { (exit 1); exit 1; }
  377. +
  378. +(
  379. as_lineno_1=$LINENO
  380. as_lineno_2=$LINENO
  381. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  382. test "x$as_lineno_1" != "x$as_lineno_2" &&
  383. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  384. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  385. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  386. - CONFIG_SHELL=$as_dir/$as_base
  387. - export CONFIG_SHELL
  388. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  389. - fi;;
  390. - esac
  391. - done
  392. -done
  393. -;;
  394. - esac
  395. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  396. +
  397. +_ASEOF
  398. +}; then
  399. + break
  400. +fi
  401. +
  402. +fi
  403. +
  404. + done
  405. +
  406. + if test "x$CONFIG_SHELL" != x; then
  407. + for as_var in BASH_ENV ENV
  408. + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  409. + done
  410. + export CONFIG_SHELL
  411. + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  412. +fi
  413. +
  414. +
  415. + if test $as_have_required = no; then
  416. + echo This script requires a shell more modern than all the
  417. + echo shells that I found on your system. Please install a
  418. + echo modern shell, or manually run the script under such a
  419. + echo shell if you do have one.
  420. + { (exit 1); exit 1; }
  421. +fi
  422. +
  423. +
  424. +fi
  425. +
  426. +fi
  427. +
  428. +
  429. +
  430. +(eval "as_func_return () {
  431. + (exit \$1)
  432. +}
  433. +as_func_success () {
  434. + as_func_return 0
  435. +}
  436. +as_func_failure () {
  437. + as_func_return 1
  438. +}
  439. +as_func_ret_success () {
  440. + return 0
  441. +}
  442. +as_func_ret_failure () {
  443. + return 1
  444. +}
  445. +
  446. +exitcode=0
  447. +if as_func_success; then
  448. + :
  449. +else
  450. + exitcode=1
  451. + echo as_func_success failed.
  452. +fi
  453. +
  454. +if as_func_failure; then
  455. + exitcode=1
  456. + echo as_func_failure succeeded.
  457. +fi
  458. +
  459. +if as_func_ret_success; then
  460. + :
  461. +else
  462. + exitcode=1
  463. + echo as_func_ret_success failed.
  464. +fi
  465. +
  466. +if as_func_ret_failure; then
  467. + exitcode=1
  468. + echo as_func_ret_failure succeeded.
  469. +fi
  470. +
  471. +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  472. + :
  473. +else
  474. + exitcode=1
  475. + echo positional parameters were not saved.
  476. +fi
  477. +
  478. +test \$exitcode = 0") || {
  479. + echo No shell found that supports shell functions.
  480. + echo Please tell autoconf@gnu.org about your system,
  481. + echo including any error possibly output before this
  482. + echo message
  483. +}
  484. +
  485. +
  486. +
  487. + as_lineno_1=$LINENO
  488. + as_lineno_2=$LINENO
  489. + test "x$as_lineno_1" != "x$as_lineno_2" &&
  490. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  491. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  492. # uniformly replaced by the line number. The first 'sed' inserts a
  493. - # line-number line before each line; the second 'sed' does the real
  494. - # work. The second script uses 'N' to pair each line-number line
  495. - # with the numbered line, and appends trailing '-' during
  496. - # substitution so that $LINENO is not a special case at line end.
  497. + # line-number line after each line using $LINENO; the second 'sed'
  498. + # does the real work. The second script uses 'N' to pair each
  499. + # line-number line with the line containing $LINENO, and appends
  500. + # trailing '-' during substitution so that $LINENO is not a special
  501. + # case at line end.
  502. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  503. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  504. - sed '=' <$as_myself |
  505. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  506. + # E. McMahon (1931-1989) for sed's syntax. :-)
  507. + sed -n '
  508. + p
  509. + /[$]LINENO/=
  510. + ' <$as_myself |
  511. sed '
  512. + s/[$]LINENO.*/&-/
  513. + t lineno
  514. + b
  515. + :lineno
  516. N
  517. - s,$,-,
  518. - : loop
  519. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  520. + :loop
  521. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  522. t loop
  523. - s,-$,,
  524. - s,^['$as_cr_digits']*\n,,
  525. + s/-\n.*//
  526. ' >$as_me.lineno &&
  527. - chmod +x $as_me.lineno ||
  528. + chmod +x "$as_me.lineno" ||
  529. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  530. { (exit 1); exit 1; }; }
  531. # Don't try to exec as it changes $[0], causing all sort of problems
  532. # (the dirname of $[0] is not the place where we might find the
  533. - # original and so on. Autoconf is especially sensible to this).
  534. - . ./$as_me.lineno
  535. + # original and so on. Autoconf is especially sensitive to this).
  536. + . "./$as_me.lineno"
  537. # Exit status is that of the last command.
  538. exit
  539. }
  540. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  541. - *c*,-n*) ECHO_N= ECHO_C='
  542. -' ECHO_T=' ' ;;
  543. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  544. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  545. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  546. + as_dirname=dirname
  547. +else
  548. + as_dirname=false
  549. +fi
  550. +
  551. +ECHO_C= ECHO_N= ECHO_T=
  552. +case `echo -n x` in
  553. +-n*)
  554. + case `echo 'x\c'` in
  555. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  556. + *) ECHO_C='\c';;
  557. + esac;;
  558. +*)
  559. + ECHO_N='-n';;
  560. esac
  561. -if expr a : '\(a\)' >/dev/null 2>&1; then
  562. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  563. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  564. as_expr=expr
  565. else
  566. as_expr=false
  567. fi
  568. rm -f conf$$ conf$$.exe conf$$.file
  569. +if test -d conf$$.dir; then
  570. + rm -f conf$$.dir/conf$$.file
  571. +else
  572. + rm -f conf$$.dir
  573. + mkdir conf$$.dir
  574. +fi
  575. echo >conf$$.file
  576. if ln -s conf$$.file conf$$ 2>/dev/null; then
  577. - # We could just check for DJGPP; but this test a) works b) is more generic
  578. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  579. - if test -f conf$$.exe; then
  580. - # Don't use ln at all; we don't have any links
  581. + as_ln_s='ln -s'
  582. + # ... but there are two gotchas:
  583. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  584. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  585. + # In both cases, we have to default to `cp -p'.
  586. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  587. as_ln_s='cp -p'
  588. - else
  589. - as_ln_s='ln -s'
  590. - fi
  591. elif ln conf$$.file conf$$ 2>/dev/null; then
  592. as_ln_s=ln
  593. else
  594. as_ln_s='cp -p'
  595. fi
  596. -rm -f conf$$ conf$$.exe conf$$.file
  597. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  598. +rmdir conf$$.dir 2>/dev/null
  599. if mkdir -p . 2>/dev/null; then
  600. as_mkdir_p=:
  601. @@ -224,7 +520,28 @@ else
  602. as_mkdir_p=false
  603. fi
  604. -as_executable_p="test -f"
  605. +if test -x / >/dev/null 2>&1; then
  606. + as_test_x='test -x'
  607. +else
  608. + if ls -dL / >/dev/null 2>&1; then
  609. + as_ls_L_option=L
  610. + else
  611. + as_ls_L_option=
  612. + fi
  613. + as_test_x='
  614. + eval sh -c '\''
  615. + if test -d "$1"; then
  616. + test -d "$1/.";
  617. + else
  618. + case $1 in
  619. + -*)set "./$1";;
  620. + esac;
  621. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  622. + ???[sx]*):;;*)false;;esac;fi
  623. + '\'' sh
  624. + '
  625. +fi
  626. +as_executable_p=$as_test_x
  627. # Sed expression to map a string onto a valid CPP name.
  628. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  629. @@ -233,39 +550,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  630. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  631. -# IFS
  632. -# We need space, tab and new line, in precisely that order.
  633. -as_nl='
  634. -'
  635. -IFS=" $as_nl"
  636. -
  637. -# CDPATH.
  638. -$as_unset CDPATH
  639. +exec 7<&0 </dev/null 6>&1
  640. # Name of the host.
  641. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  642. # so uname gets run too.
  643. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  644. -exec 6>&1
  645. -
  646. #
  647. # Initializations.
  648. #
  649. ac_default_prefix=/usr/local
  650. +ac_clean_files=
  651. ac_config_libobj_dir=.
  652. +LIBOBJS=
  653. cross_compiling=no
  654. subdirs=
  655. MFLAGS=
  656. MAKEFLAGS=
  657. SHELL=${CONFIG_SHELL-/bin/sh}
  658. -# Maximum number of lines to put in a shell here document.
  659. -# This variable seems obsolete. It should probably be removed, and
  660. -# only ac_max_sed_lines should be used.
  661. -: ${ac_max_here_lines=38}
  662. -
  663. # Identity of this package.
  664. PACKAGE_NAME='sipsak'
  665. PACKAGE_TARNAME='sipsak'
  666. @@ -277,42 +582,146 @@ ac_unique_file="sipsak.c"
  667. # Factoring default headers for most tests.
  668. ac_includes_default="\
  669. #include <stdio.h>
  670. -#if HAVE_SYS_TYPES_H
  671. +#ifdef HAVE_SYS_TYPES_H
  672. # include <sys/types.h>
  673. #endif
  674. -#if HAVE_SYS_STAT_H
  675. +#ifdef HAVE_SYS_STAT_H
  676. # include <sys/stat.h>
  677. #endif
  678. -#if STDC_HEADERS
  679. +#ifdef STDC_HEADERS
  680. # include <stdlib.h>
  681. # include <stddef.h>
  682. #else
  683. -# if HAVE_STDLIB_H
  684. +# ifdef HAVE_STDLIB_H
  685. # include <stdlib.h>
  686. # endif
  687. #endif
  688. -#if HAVE_STRING_H
  689. -# if !STDC_HEADERS && HAVE_MEMORY_H
  690. +#ifdef HAVE_STRING_H
  691. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  692. # include <memory.h>
  693. # endif
  694. # include <string.h>
  695. #endif
  696. -#if HAVE_STRINGS_H
  697. +#ifdef HAVE_STRINGS_H
  698. # include <strings.h>
  699. #endif
  700. -#if HAVE_INTTYPES_H
  701. +#ifdef HAVE_INTTYPES_H
  702. # include <inttypes.h>
  703. -#else
  704. -# if HAVE_STDINT_H
  705. -# include <stdint.h>
  706. -# endif
  707. #endif
  708. -#if HAVE_UNISTD_H
  709. +#ifdef HAVE_STDINT_H
  710. +# include <stdint.h>
  711. +#endif
  712. +#ifdef HAVE_UNISTD_H
  713. # include <unistd.h>
  714. #endif"
  715. -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE DISTCC build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP LIBOBJS DISABLE_GNUTLS LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS SIPSAK_HAVE_ARES LTLIBOBJS'
  716. +ac_subst_vars='SHELL
  717. +PATH_SEPARATOR
  718. +PACKAGE_NAME
  719. +PACKAGE_TARNAME
  720. +PACKAGE_VERSION
  721. +PACKAGE_STRING
  722. +PACKAGE_BUGREPORT
  723. +exec_prefix
  724. +prefix
  725. +program_transform_name
  726. +bindir
  727. +sbindir
  728. +libexecdir
  729. +datarootdir
  730. +datadir
  731. +sysconfdir
  732. +sharedstatedir
  733. +localstatedir
  734. +includedir
  735. +oldincludedir
  736. +docdir
  737. +infodir
  738. +htmldir
  739. +dvidir
  740. +pdfdir
  741. +psdir
  742. +libdir
  743. +localedir
  744. +mandir
  745. +DEFS
  746. +ECHO_C
  747. +ECHO_N
  748. +ECHO_T
  749. +LIBS
  750. +build_alias
  751. +host_alias
  752. +target_alias
  753. +INSTALL_PROGRAM
  754. +INSTALL_SCRIPT
  755. +INSTALL_DATA
  756. +CYGPATH_W
  757. +PACKAGE
  758. +VERSION
  759. +ACLOCAL
  760. +AUTOCONF
  761. +AUTOMAKE
  762. +AUTOHEADER
  763. +MAKEINFO
  764. +install_sh
  765. +STRIP
  766. +INSTALL_STRIP_PROGRAM
  767. +mkdir_p
  768. +AWK
  769. +SET_MAKE
  770. +am__leading_dot
  771. +AMTAR
  772. +am__tar
  773. +am__untar
  774. +MAINTAINER_MODE_TRUE
  775. +MAINTAINER_MODE_FALSE
  776. +MAINT
  777. +CC
  778. +CFLAGS
  779. +LDFLAGS
  780. +CPPFLAGS
  781. +ac_ct_CC
  782. +EXEEXT
  783. +OBJEXT
  784. +DEPDIR
  785. +am__include
  786. +am__quote
  787. +AMDEP_TRUE
  788. +AMDEP_FALSE
  789. +AMDEPBACKSLASH
  790. +CCDEPMODE
  791. +am__fastdepCC_TRUE
  792. +am__fastdepCC_FALSE
  793. +DISTCC
  794. +build
  795. +build_cpu
  796. +build_vendor
  797. +build_os
  798. +host
  799. +host_cpu
  800. +host_vendor
  801. +host_os
  802. +CPP
  803. +GREP
  804. +EGREP
  805. +LIBOBJS
  806. +DISABLE_GNUTLS
  807. +LIBGNUTLS_CONFIG
  808. +LIBGNUTLS_CFLAGS
  809. +LIBGNUTLS_LIBS
  810. +SIPSAK_HAVE_ARES
  811. +LTLIBOBJS'
  812. ac_subst_files=''
  813. + ac_precious_vars='build_alias
  814. +host_alias
  815. +target_alias
  816. +CC
  817. +CFLAGS
  818. +LDFLAGS
  819. +LIBS
  820. +CPPFLAGS
  821. +CPP'
  822. +
  823. # Initialize some variables set by options.
  824. ac_init_help=
  825. @@ -339,34 +748,48 @@ x_libraries=NONE
  826. # and all the variables that are supposed to be based on exec_prefix
  827. # by default will actually change.
  828. # Use braces instead of parens because sh, perl, etc. also accept them.
  829. +# (The list follows the same order as the GNU Coding Standards.)
  830. bindir='${exec_prefix}/bin'
  831. sbindir='${exec_prefix}/sbin'
  832. libexecdir='${exec_prefix}/libexec'
  833. -datadir='${prefix}/share'
  834. +datarootdir='${prefix}/share'
  835. +datadir='${datarootdir}'
  836. sysconfdir='${prefix}/etc'
  837. sharedstatedir='${prefix}/com'
  838. localstatedir='${prefix}/var'
  839. -libdir='${exec_prefix}/lib'
  840. includedir='${prefix}/include'
  841. oldincludedir='/usr/include'
  842. -infodir='${prefix}/info'
  843. -mandir='${prefix}/man'
  844. +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  845. +infodir='${datarootdir}/info'
  846. +htmldir='${docdir}'
  847. +dvidir='${docdir}'
  848. +pdfdir='${docdir}'
  849. +psdir='${docdir}'
  850. +libdir='${exec_prefix}/lib'
  851. +localedir='${datarootdir}/locale'
  852. +mandir='${datarootdir}/man'
  853. ac_prev=
  854. +ac_dashdash=
  855. for ac_option
  856. do
  857. # If the previous option needs an argument, assign it.
  858. if test -n "$ac_prev"; then
  859. - eval "$ac_prev=\$ac_option"
  860. + eval $ac_prev=\$ac_option
  861. ac_prev=
  862. continue
  863. fi
  864. - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  865. + case $ac_option in
  866. + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  867. + *) ac_optarg=yes ;;
  868. + esac
  869. # Accept the important Cygnus configure options, so we can diagnose typos.
  870. - case $ac_option in
  871. + case $ac_dashdash$ac_option in
  872. + --)
  873. + ac_dashdash=yes ;;
  874. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  875. ac_prev=bindir ;;
  876. @@ -388,33 +811,45 @@ do
  877. --config-cache | -C)
  878. cache_file=config.cache ;;
  879. - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  880. + -datadir | --datadir | --datadi | --datad)
  881. ac_prev=datadir ;;
  882. - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  883. - | --da=*)
  884. + -datadir=* | --datadir=* | --datadi=* | --datad=*)
  885. datadir=$ac_optarg ;;
  886. + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  887. + | --dataroo | --dataro | --datar)
  888. + ac_prev=datarootdir ;;
  889. + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  890. + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  891. + datarootdir=$ac_optarg ;;
  892. +
  893. -disable-* | --disable-*)
  894. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  895. # Reject names that are not valid shell variable names.
  896. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  897. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  898. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  899. { (exit 1); exit 1; }; }
  900. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  901. - eval "enable_$ac_feature=no" ;;
  902. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  903. + eval enable_$ac_feature=no ;;
  904. +
  905. + -docdir | --docdir | --docdi | --doc | --do)
  906. + ac_prev=docdir ;;
  907. + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  908. + docdir=$ac_optarg ;;
  909. +
  910. + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  911. + ac_prev=dvidir ;;
  912. + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  913. + dvidir=$ac_optarg ;;
  914. -enable-* | --enable-*)
  915. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  916. # Reject names that are not valid shell variable names.
  917. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  918. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  919. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  920. { (exit 1); exit 1; }; }
  921. - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  922. - case $ac_option in
  923. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  924. - *) ac_optarg=yes ;;
  925. - esac
  926. - eval "enable_$ac_feature='$ac_optarg'" ;;
  927. + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  928. + eval enable_$ac_feature=\$ac_optarg ;;
  929. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  930. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  931. @@ -441,6 +876,12 @@ do
  932. -host=* | --host=* | --hos=* | --ho=*)
  933. host_alias=$ac_optarg ;;
  934. + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  935. + ac_prev=htmldir ;;
  936. + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  937. + | --ht=*)
  938. + htmldir=$ac_optarg ;;
  939. +
  940. -includedir | --includedir | --includedi | --included | --include \
  941. | --includ | --inclu | --incl | --inc)
  942. ac_prev=includedir ;;
  943. @@ -465,13 +906,16 @@ do
  944. | --libexe=* | --libex=* | --libe=*)
  945. libexecdir=$ac_optarg ;;
  946. + -localedir | --localedir | --localedi | --localed | --locale)
  947. + ac_prev=localedir ;;
  948. + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  949. + localedir=$ac_optarg ;;
  950. +
  951. -localstatedir | --localstatedir | --localstatedi | --localstated \
  952. - | --localstate | --localstat | --localsta | --localst \
  953. - | --locals | --local | --loca | --loc | --lo)
  954. + | --localstate | --localstat | --localsta | --localst | --locals)
  955. ac_prev=localstatedir ;;
  956. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  957. - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  958. - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  959. + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  960. localstatedir=$ac_optarg ;;
  961. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  962. @@ -536,6 +980,16 @@ do
  963. | --progr-tra=* | --program-tr=* | --program-t=*)
  964. program_transform_name=$ac_optarg ;;
  965. + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  966. + ac_prev=pdfdir ;;
  967. + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  968. + pdfdir=$ac_optarg ;;
  969. +
  970. + -psdir | --psdir | --psdi | --psd | --ps)
  971. + ac_prev=psdir ;;
  972. + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  973. + psdir=$ac_optarg ;;
  974. +
  975. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  976. | -silent | --silent | --silen | --sile | --sil)
  977. silent=yes ;;
  978. @@ -588,24 +1042,20 @@ do
  979. -with-* | --with-*)
  980. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  981. # Reject names that are not valid shell variable names.
  982. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  983. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  984. { echo "$as_me: error: invalid package name: $ac_package" >&2
  985. { (exit 1); exit 1; }; }
  986. - ac_package=`echo $ac_package| sed 's/-/_/g'`
  987. - case $ac_option in
  988. - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  989. - *) ac_optarg=yes ;;
  990. - esac
  991. - eval "with_$ac_package='$ac_optarg'" ;;
  992. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  993. + eval with_$ac_package=\$ac_optarg ;;
  994. -without-* | --without-*)
  995. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  996. # Reject names that are not valid shell variable names.
  997. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  998. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  999. { echo "$as_me: error: invalid package name: $ac_package" >&2
  1000. { (exit 1); exit 1; }; }
  1001. - ac_package=`echo $ac_package | sed 's/-/_/g'`
  1002. - eval "with_$ac_package=no" ;;
  1003. + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1004. + eval with_$ac_package=no ;;
  1005. --x)
  1006. # Obsolete; use --with-x.
  1007. @@ -636,8 +1086,7 @@ Try \`$0 --help' for more information."
  1008. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1009. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1010. { (exit 1); exit 1; }; }
  1011. - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  1012. - eval "$ac_envvar='$ac_optarg'"
  1013. + eval $ac_envvar=\$ac_optarg
  1014. export $ac_envvar ;;
  1015. *)
  1016. @@ -657,27 +1106,19 @@ if test -n "$ac_prev"; then
  1017. { (exit 1); exit 1; }; }
  1018. fi
  1019. -# Be sure to have absolute paths.
  1020. -for ac_var in exec_prefix prefix
  1021. -do
  1022. - eval ac_val=$`echo $ac_var`
  1023. - case $ac_val in
  1024. - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  1025. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1026. - { (exit 1); exit 1; }; };;
  1027. - esac
  1028. -done
  1029. -
  1030. -# Be sure to have absolute paths.
  1031. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  1032. - localstatedir libdir includedir oldincludedir infodir mandir
  1033. +# Be sure to have absolute directory names.
  1034. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1035. + datadir sysconfdir sharedstatedir localstatedir includedir \
  1036. + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1037. + libdir localedir mandir
  1038. do
  1039. - eval ac_val=$`echo $ac_var`
  1040. + eval ac_val=\$$ac_var
  1041. case $ac_val in
  1042. - [\\/$]* | ?:[\\/]* ) ;;
  1043. - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1044. - { (exit 1); exit 1; }; };;
  1045. + [\\/$]* | ?:[\\/]* ) continue;;
  1046. + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1047. esac
  1048. + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1049. + { (exit 1); exit 1; }; }
  1050. done
  1051. # There might be people who depend on the old broken behavior: `$host'
  1052. @@ -704,22 +1145,43 @@ test -n "$host_alias" && ac_tool_prefix=
  1053. test "$silent" = yes && exec 6>/dev/null
  1054. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1055. +ac_ls_di=`ls -di .` &&
  1056. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1057. + { echo "$as_me: error: Working directory cannot be determined" >&2
  1058. + { (exit 1); exit 1; }; }
  1059. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1060. + { echo "$as_me: error: pwd does not report name of working directory" >&2
  1061. + { (exit 1); exit 1; }; }
  1062. +
  1063. +
  1064. # Find the source files, if location was not specified.
  1065. if test -z "$srcdir"; then
  1066. ac_srcdir_defaulted=yes
  1067. - # Try the directory containing this script, then its parent.
  1068. - ac_confdir=`(dirname "$0") 2>/dev/null ||
  1069. + # Try the directory containing this script, then the parent directory.
  1070. + ac_confdir=`$as_dirname -- "$0" ||
  1071. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1072. X"$0" : 'X\(//\)[^/]' \| \
  1073. X"$0" : 'X\(//\)$' \| \
  1074. - X"$0" : 'X\(/\)' \| \
  1075. - . : '\(.\)' 2>/dev/null ||
  1076. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1077. echo X"$0" |
  1078. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1079. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1080. - /^X\(\/\/\)$/{ s//\1/; q; }
  1081. - /^X\(\/\).*/{ s//\1/; q; }
  1082. - s/.*/./; q'`
  1083. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1084. + s//\1/
  1085. + q
  1086. + }
  1087. + /^X\(\/\/\)[^/].*/{
  1088. + s//\1/
  1089. + q
  1090. + }
  1091. + /^X\(\/\/\)$/{
  1092. + s//\1/
  1093. + q
  1094. + }
  1095. + /^X\(\/\).*/{
  1096. + s//\1/
  1097. + q
  1098. + }
  1099. + s/.*/./; q'`
  1100. srcdir=$ac_confdir
  1101. if test ! -r "$srcdir/$ac_unique_file"; then
  1102. srcdir=..
  1103. @@ -728,50 +1190,31 @@ else
  1104. ac_srcdir_defaulted=no
  1105. fi
  1106. if test ! -r "$srcdir/$ac_unique_file"; then
  1107. - if test "$ac_srcdir_defaulted" = yes; then
  1108. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  1109. - { (exit 1); exit 1; }; }
  1110. - else
  1111. - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1112. + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1113. + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1114. { (exit 1); exit 1; }; }
  1115. - fi
  1116. fi
  1117. -(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
  1118. - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  1119. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1120. +ac_abs_confdir=`(
  1121. + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1122. { (exit 1); exit 1; }; }
  1123. -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  1124. -ac_env_build_alias_set=${build_alias+set}
  1125. -ac_env_build_alias_value=$build_alias
  1126. -ac_cv_env_build_alias_set=${build_alias+set}
  1127. -ac_cv_env_build_alias_value=$build_alias
  1128. -ac_env_host_alias_set=${host_alias+set}
  1129. -ac_env_host_alias_value=$host_alias
  1130. -ac_cv_env_host_alias_set=${host_alias+set}
  1131. -ac_cv_env_host_alias_value=$host_alias
  1132. -ac_env_target_alias_set=${target_alias+set}
  1133. -ac_env_target_alias_value=$target_alias
  1134. -ac_cv_env_target_alias_set=${target_alias+set}
  1135. -ac_cv_env_target_alias_value=$target_alias
  1136. -ac_env_CC_set=${CC+set}
  1137. -ac_env_CC_value=$CC
  1138. -ac_cv_env_CC_set=${CC+set}
  1139. -ac_cv_env_CC_value=$CC
  1140. -ac_env_CFLAGS_set=${CFLAGS+set}
  1141. -ac_env_CFLAGS_value=$CFLAGS
  1142. -ac_cv_env_CFLAGS_set=${CFLAGS+set}
  1143. -ac_cv_env_CFLAGS_value=$CFLAGS
  1144. -ac_env_LDFLAGS_set=${LDFLAGS+set}
  1145. -ac_env_LDFLAGS_value=$LDFLAGS
  1146. -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  1147. -ac_cv_env_LDFLAGS_value=$LDFLAGS
  1148. -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  1149. -ac_env_CPPFLAGS_value=$CPPFLAGS
  1150. -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  1151. -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  1152. -ac_env_CPP_set=${CPP+set}
  1153. -ac_env_CPP_value=$CPP
  1154. -ac_cv_env_CPP_set=${CPP+set}
  1155. -ac_cv_env_CPP_value=$CPP
  1156. + pwd)`
  1157. +# When building in place, set srcdir=.
  1158. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1159. + srcdir=.
  1160. +fi
  1161. +# Remove unnecessary trailing slashes from srcdir.
  1162. +# Double slashes in file names in object file debugging info
  1163. +# mess up M-x gdb in Emacs.
  1164. +case $srcdir in
  1165. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1166. +esac
  1167. +for ac_var in $ac_precious_vars; do
  1168. + eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1169. + eval ac_env_${ac_var}_value=\$${ac_var}
  1170. + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1171. + eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1172. +done
  1173. #
  1174. # Report the --help message.
  1175. @@ -800,9 +1243,6 @@ Configuration:
  1176. -n, --no-create do not create output files
  1177. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1178. -_ACEOF
  1179. -
  1180. - cat <<_ACEOF
  1181. Installation directories:
  1182. --prefix=PREFIX install architecture-independent files in PREFIX
  1183. [$ac_default_prefix]
  1184. @@ -820,15 +1260,22 @@ Fine tuning of the installation director
  1185. --bindir=DIR user executables [EPREFIX/bin]
  1186. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1187. --libexecdir=DIR program executables [EPREFIX/libexec]
  1188. - --datadir=DIR read-only architecture-independent data [PREFIX/share]
  1189. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1190. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1191. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1192. --libdir=DIR object code libraries [EPREFIX/lib]
  1193. --includedir=DIR C header files [PREFIX/include]
  1194. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1195. - --infodir=DIR info documentation [PREFIX/info]
  1196. - --mandir=DIR man documentation [PREFIX/man]
  1197. + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1198. + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1199. + --infodir=DIR info documentation [DATAROOTDIR/info]
  1200. + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1201. + --mandir=DIR man documentation [DATAROOTDIR/man]
  1202. + --docdir=DIR documentation root [DATAROOTDIR/doc/sipsak]
  1203. + --htmldir=DIR html documentation [DOCDIR]
  1204. + --dvidir=DIR dvi documentation [DOCDIR]
  1205. + --pdfdir=DIR pdf documentation [DOCDIR]
  1206. + --psdir=DIR ps documentation [DOCDIR]
  1207. _ACEOF
  1208. cat <<\_ACEOF
  1209. @@ -871,8 +1318,9 @@ Some influential environment variables:
  1210. CFLAGS C compiler flags
  1211. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1212. nonstandard directory <lib dir>
  1213. - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
  1214. - headers in a nonstandard directory <include dir>
  1215. + LIBS libraries to pass to the linker, e.g. -l<library>
  1216. + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1217. + you have headers in a nonstandard directory <include dir>
  1218. CPP C preprocessor
  1219. Use these variables to override the choices made by `configure' or to help
  1220. @@ -880,120 +1328,86 @@ it to find libraries and programs with n
  1221. Report bugs to <nils@sipsak.org>.
  1222. _ACEOF
  1223. +ac_status=$?
  1224. fi
  1225. if test "$ac_init_help" = "recursive"; then
  1226. # If there are subdirs, report their specific --help.
  1227. - ac_popdir=`pwd`
  1228. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1229. - test -d $ac_dir || continue
  1230. + test -d "$ac_dir" || continue
  1231. ac_builddir=.
  1232. -if test "$ac_dir" != .; then
  1233. +case "$ac_dir" in
  1234. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1235. +*)
  1236. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1237. - # A "../" for each directory in $ac_dir_suffix.
  1238. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1239. -else
  1240. - ac_dir_suffix= ac_top_builddir=
  1241. -fi
  1242. + # A ".." for each directory in $ac_dir_suffix.
  1243. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1244. + case $ac_top_builddir_sub in
  1245. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1246. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1247. + esac ;;
  1248. +esac
  1249. +ac_abs_top_builddir=$ac_pwd
  1250. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1251. +# for backward compatibility:
  1252. +ac_top_builddir=$ac_top_build_prefix
  1253. case $srcdir in
  1254. - .) # No --srcdir option. We are building in place.
  1255. + .) # We are building in place.
  1256. ac_srcdir=.
  1257. - if test -z "$ac_top_builddir"; then
  1258. - ac_top_srcdir=.
  1259. - else
  1260. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  1261. - fi ;;
  1262. - [\\/]* | ?:[\\/]* ) # Absolute path.
  1263. + ac_top_srcdir=$ac_top_builddir_sub
  1264. + ac_abs_top_srcdir=$ac_pwd ;;
  1265. + [\\/]* | ?:[\\/]* ) # Absolute name.
  1266. ac_srcdir=$srcdir$ac_dir_suffix;
  1267. - ac_top_srcdir=$srcdir ;;
  1268. - *) # Relative path.
  1269. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  1270. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  1271. -esac
  1272. -
  1273. -# Do not use `cd foo && pwd` to compute absolute paths, because
  1274. -# the directories may not exist.
  1275. -case `pwd` in
  1276. -.) ac_abs_builddir="$ac_dir";;
  1277. -*)
  1278. - case "$ac_dir" in
  1279. - .) ac_abs_builddir=`pwd`;;
  1280. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  1281. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  1282. - esac;;
  1283. -esac
  1284. -case $ac_abs_builddir in
  1285. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  1286. -*)
  1287. - case ${ac_top_builddir}. in
  1288. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  1289. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  1290. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  1291. - esac;;
  1292. -esac
  1293. -case $ac_abs_builddir in
  1294. -.) ac_abs_srcdir=$ac_srcdir;;
  1295. -*)
  1296. - case $ac_srcdir in
  1297. - .) ac_abs_srcdir=$ac_abs_builddir;;
  1298. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  1299. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  1300. - esac;;
  1301. -esac
  1302. -case $ac_abs_builddir in
  1303. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  1304. -*)
  1305. - case $ac_top_srcdir in
  1306. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  1307. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  1308. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  1309. - esac;;
  1310. + ac_top_srcdir=$srcdir
  1311. + ac_abs_top_srcdir=$srcdir ;;
  1312. + *) # Relative name.
  1313. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1314. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  1315. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1316. esac
  1317. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1318. - cd $ac_dir
  1319. - # Check for guested configure; otherwise get Cygnus style configure.
  1320. - if test -f $ac_srcdir/configure.gnu; then
  1321. - echo
  1322. - $SHELL $ac_srcdir/configure.gnu --help=recursive
  1323. - elif test -f $ac_srcdir/configure; then
  1324. - echo
  1325. - $SHELL $ac_srcdir/configure --help=recursive
  1326. - elif test -f $ac_srcdir/configure.ac ||
  1327. - test -f $ac_srcdir/configure.in; then
  1328. - echo
  1329. - $ac_configure --help
  1330. + cd "$ac_dir" || { ac_status=$?; continue; }
  1331. + # Check for guested configure.
  1332. + if test -f "$ac_srcdir/configure.gnu"; then
  1333. + echo &&
  1334. + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1335. + elif test -f "$ac_srcdir/configure"; then
  1336. + echo &&
  1337. + $SHELL "$ac_srcdir/configure" --help=recursive
  1338. else
  1339. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1340. - fi
  1341. - cd $ac_popdir
  1342. + fi || ac_status=$?
  1343. + cd "$ac_pwd" || { ac_status=$?; break; }
  1344. done
  1345. fi
  1346. -test -n "$ac_init_help" && exit 0
  1347. +test -n "$ac_init_help" && exit $ac_status
  1348. if $ac_init_version; then
  1349. cat <<\_ACEOF
  1350. sipsak configure 0.9.6
  1351. -generated by GNU Autoconf 2.59
  1352. +generated by GNU Autoconf 2.61
  1353. -Copyright (C) 2003 Free Software Foundation, Inc.
  1354. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1355. +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1356. This configure script is free software; the Free Software Foundation
  1357. gives unlimited permission to copy, distribute and modify it.
  1358. _ACEOF
  1359. - exit 0
  1360. + exit
  1361. fi
  1362. -exec 5>config.log
  1363. -cat >&5 <<_ACEOF
  1364. +cat >config.log <<_ACEOF
  1365. This file contains any messages produced by compilers while
  1366. running configure, to aid debugging if configure makes a mistake.
  1367. It was created by sipsak $as_me 0.9.6, which was
  1368. -generated by GNU Autoconf 2.59. Invocation command line was
  1369. +generated by GNU Autoconf 2.61. Invocation command line was
  1370. $ $0 $@
  1371. _ACEOF
  1372. +exec 5>>config.log
  1373. {
  1374. cat <<_ASUNAME
  1375. ## --------- ##
  1376. @@ -1012,7 +1426,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
  1377. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1378. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1379. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1380. -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  1381. +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1382. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1383. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1384. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1385. @@ -1026,6 +1440,7 @@ do
  1386. test -z "$as_dir" && as_dir=.
  1387. echo "PATH: $as_dir"
  1388. done
  1389. +IFS=$as_save_IFS
  1390. } >&5
  1391. @@ -1047,7 +1462,6 @@ _ACEOF
  1392. ac_configure_args=
  1393. ac_configure_args0=
  1394. ac_configure_args1=
  1395. -ac_sep=
  1396. ac_must_keep_next=false
  1397. for ac_pass in 1 2
  1398. do
  1399. @@ -1058,7 +1472,7 @@ do
  1400. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1401. | -silent | --silent | --silen | --sile | --sil)
  1402. continue ;;
  1403. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1404. + *\'*)
  1405. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1406. esac
  1407. case $ac_pass in
  1408. @@ -1080,9 +1494,7 @@ do
  1409. -* ) ac_must_keep_next=true ;;
  1410. esac
  1411. fi
  1412. - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  1413. - # Get rid of the leading space.
  1414. - ac_sep=" "
  1415. + ac_configure_args="$ac_configure_args '$ac_arg'"
  1416. ;;
  1417. esac
  1418. done
  1419. @@ -1093,8 +1505,8 @@ $as_unset ac_configure_args1 || test "${
  1420. # When interrupted or exit'd, cleanup temporary files, and complete
  1421. # config.log. We remove comments because anyway the quotes in there
  1422. # would cause problems or look ugly.
  1423. -# WARNING: Be sure not to use single quotes in there, as some shells,
  1424. -# such as our DU 5.0 friend, will then `close' the trap.
  1425. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1426. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1427. trap 'exit_status=$?
  1428. # Save into config.log some information that might help in debugging.
  1429. {
  1430. @@ -1107,20 +1519,34 @@ trap 'exit_status=$?
  1431. _ASBOX
  1432. echo
  1433. # The following way of writing the cache mishandles newlines in values,
  1434. -{
  1435. +(
  1436. + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1437. + eval ac_val=\$$ac_var
  1438. + case $ac_val in #(
  1439. + *${as_nl}*)
  1440. + case $ac_var in #(
  1441. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1442. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1443. + esac
  1444. + case $ac_var in #(
  1445. + _ | IFS | as_nl) ;; #(
  1446. + *) $as_unset $ac_var ;;
  1447. + esac ;;
  1448. + esac
  1449. + done
  1450. (set) 2>&1 |
  1451. - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  1452. - *ac_space=\ *)
  1453. + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1454. + *${as_nl}ac_space=\ *)
  1455. sed -n \
  1456. - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  1457. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  1458. - ;;
  1459. + "s/'\''/'\''\\\\'\'''\''/g;
  1460. + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1461. + ;; #(
  1462. *)
  1463. - sed -n \
  1464. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1465. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1466. ;;
  1467. - esac;
  1468. -}
  1469. + esac |
  1470. + sort
  1471. +)
  1472. echo
  1473. cat <<\_ASBOX
  1474. @@ -1131,22 +1557,28 @@ _ASBOX
  1475. echo
  1476. for ac_var in $ac_subst_vars
  1477. do
  1478. - eval ac_val=$`echo $ac_var`
  1479. - echo "$ac_var='"'"'$ac_val'"'"'"
  1480. + eval ac_val=\$$ac_var
  1481. + case $ac_val in
  1482. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1483. + esac
  1484. + echo "$ac_var='\''$ac_val'\''"
  1485. done | sort
  1486. echo
  1487. if test -n "$ac_subst_files"; then
  1488. cat <<\_ASBOX
  1489. -## ------------- ##
  1490. -## Output files. ##
  1491. -## ------------- ##
  1492. +## ------------------- ##
  1493. +## File substitutions. ##
  1494. +## ------------------- ##
  1495. _ASBOX
  1496. echo
  1497. for ac_var in $ac_subst_files
  1498. do
  1499. - eval ac_val=$`echo $ac_var`
  1500. - echo "$ac_var='"'"'$ac_val'"'"'"
  1501. + eval ac_val=\$$ac_var
  1502. + case $ac_val in
  1503. + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1504. + esac
  1505. + echo "$ac_var='\''$ac_val'\''"
  1506. done | sort
  1507. echo
  1508. fi
  1509. @@ -1158,26 +1590,24 @@ _ASBOX
  1510. ## ----------- ##
  1511. _ASBOX
  1512. echo
  1513. - sed "/^$/d" confdefs.h | sort
  1514. + cat confdefs.h
  1515. echo
  1516. fi
  1517. test "$ac_signal" != 0 &&
  1518. echo "$as_me: caught signal $ac_signal"
  1519. echo "$as_me: exit $exit_status"
  1520. } >&5
  1521. - rm -f core *.core &&
  1522. - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  1523. + rm -f core *.core core.conftest.* &&
  1524. + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1525. exit $exit_status
  1526. - ' 0
  1527. +' 0
  1528. for ac_signal in 1 2 13 15; do
  1529. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1530. done
  1531. ac_signal=0
  1532. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1533. -rm -rf conftest* confdefs.h
  1534. -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
  1535. -echo >confdefs.h
  1536. +rm -f -r conftest* confdefs.h
  1537. # Predefined preprocessor variables.
  1538. @@ -1208,14 +1638,17 @@ _ACEOF
  1539. # Let the site file select an alternate cache file if it wants to.
  1540. # Prefer explicitly selected file to automatically selected ones.
  1541. -if test -z "$CONFIG_SITE"; then
  1542. - if test "x$prefix" != xNONE; then
  1543. - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  1544. - else
  1545. - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  1546. - fi
  1547. +if test -n "$CONFIG_SITE"; then
  1548. + set x "$CONFIG_SITE"
  1549. +elif test "x$prefix" != xNONE; then
  1550. + set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1551. +else
  1552. + set x "$ac_default_prefix/share/config.site" \
  1553. + "$ac_default_prefix/etc/config.site"
  1554. fi
  1555. -for ac_site_file in $CONFIG_SITE; do
  1556. +shift
  1557. +for ac_site_file
  1558. +do
  1559. if test -r "$ac_site_file"; then
  1560. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1561. echo "$as_me: loading site script $ac_site_file" >&6;}
  1562. @@ -1231,8 +1664,8 @@ if test -r "$cache_file"; then
  1563. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1564. echo "$as_me: loading cache $cache_file" >&6;}
  1565. case $cache_file in
  1566. - [\\/]* | ?:[\\/]* ) . $cache_file;;
  1567. - *) . ./$cache_file;;
  1568. + [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1569. + *) . "./$cache_file";;
  1570. esac
  1571. fi
  1572. else
  1573. @@ -1244,12 +1677,11 @@ fi
  1574. # Check that the precious variables saved in the cache have kept the same
  1575. # value.
  1576. ac_cache_corrupted=false
  1577. -for ac_var in `(set) 2>&1 |
  1578. - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  1579. +for ac_var in $ac_precious_vars; do
  1580. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1581. eval ac_new_set=\$ac_env_${ac_var}_set
  1582. - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  1583. - eval ac_new_val="\$ac_env_${ac_var}_value"
  1584. + eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1585. + eval ac_new_val=\$ac_env_${ac_var}_value
  1586. case $ac_old_set,$ac_new_set in
  1587. set,)
  1588. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1589. @@ -1274,8 +1706,7 @@ echo "$as_me: current value: $ac_new_v
  1590. # Pass precious variables to config.status.
  1591. if test "$ac_new_set" = set; then
  1592. case $ac_new_val in
  1593. - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  1594. - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1595. + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1596. *) ac_arg=$ac_var=$ac_new_val ;;
  1597. esac
  1598. case " $ac_configure_args " in
  1599. @@ -1292,12 +1723,6 @@ echo "$as_me: error: run \`make distclea
  1600. { (exit 1); exit 1; }; }
  1601. fi
  1602. -ac_ext=c
  1603. -ac_cpp='$CPP $CPPFLAGS'
  1604. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1605. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1606. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1607. -
  1608. @@ -1322,33 +1747,44 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1609. +ac_ext=c
  1610. +ac_cpp='$CPP $CPPFLAGS'
  1611. +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1612. +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1613. +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1614. am__api_version="1.9"
  1615. ac_aux_dir=
  1616. -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1617. - if test -f $ac_dir/install-sh; then
  1618. +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1619. + if test -f "$ac_dir/install-sh"; then
  1620. ac_aux_dir=$ac_dir
  1621. ac_install_sh="$ac_aux_dir/install-sh -c"
  1622. break
  1623. - elif test -f $ac_dir/install.sh; then
  1624. + elif test -f "$ac_dir/install.sh"; then
  1625. ac_aux_dir=$ac_dir
  1626. ac_install_sh="$ac_aux_dir/install.sh -c"
  1627. break
  1628. - elif test -f $ac_dir/shtool; then
  1629. + elif test -f "$ac_dir/shtool"; then
  1630. ac_aux_dir=$ac_dir
  1631. ac_install_sh="$ac_aux_dir/shtool install -c"
  1632. break
  1633. fi
  1634. done
  1635. if test -z "$ac_aux_dir"; then
  1636. - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1637. -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1638. + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1639. +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1640. { (exit 1); exit 1; }; }
  1641. fi
  1642. -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1643. -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1644. -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1645. +
  1646. +# These three variables are undocumented and unsupported,
  1647. +# and are intended to be withdrawn in a future Autoconf release.
  1648. +# They can cause serious problems if a builder's source tree is in a directory
  1649. +# whose full name contains unusual characters.
  1650. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1651. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1652. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1653. +
  1654. # Find a good install program. We prefer a C program (faster),
  1655. # so one script is as good as another. But avoid the broken or
  1656. @@ -1363,8 +1799,8 @@ ac_configure="$SHELL $ac_aux_dir/configu
  1657. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1658. # OS/2's system install, which has a completely different semantic
  1659. # ./install, which can be erroneously created by make from ./install.sh.
  1660. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1661. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1662. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1663. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1664. if test -z "$INSTALL"; then
  1665. if test "${ac_cv_path_install+set}" = set; then
  1666. echo $ECHO_N "(cached) $ECHO_C" >&6
  1667. @@ -1386,7 +1822,7 @@ case $as_dir/ in
  1668. # by default.
  1669. for ac_prog in ginstall scoinst install; do
  1670. for ac_exec_ext in '' $ac_executable_extensions; do
  1671. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1672. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1673. if test $ac_prog = install &&
  1674. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1675. # AIX install. It has an incompatible calling convention.
  1676. @@ -1405,21 +1841,22 @@ case $as_dir/ in
  1677. ;;
  1678. esac
  1679. done
  1680. +IFS=$as_save_IFS
  1681. fi
  1682. if test "${ac_cv_path_install+set}" = set; then
  1683. INSTALL=$ac_cv_path_install
  1684. else
  1685. - # As a last resort, use the slow shell script. We don't cache a
  1686. - # path for INSTALL within a source directory, because that will
  1687. + # As a last resort, use the slow shell script. Don't cache a
  1688. + # value for INSTALL within a source directory, because that will
  1689. # break other packages using the cache if that directory is
  1690. - # removed, or if the path is relative.
  1691. + # removed, or if the value is a relative name.
  1692. INSTALL=$ac_install_sh
  1693. fi
  1694. fi
  1695. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  1696. -echo "${ECHO_T}$INSTALL" >&6
  1697. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  1698. +echo "${ECHO_T}$INSTALL" >&6; }
  1699. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1700. # It thinks the first close brace ends the variable substitution.
  1701. @@ -1429,8 +1866,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
  1702. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1703. -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1704. -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1705. +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1706. +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1707. # Just in case
  1708. sleep 1
  1709. echo timestamp > conftest.file
  1710. @@ -1472,20 +1909,20 @@ echo "$as_me: error: newly created file
  1711. Check your system clock" >&2;}
  1712. { (exit 1); exit 1; }; }
  1713. fi
  1714. -echo "$as_me:$LINENO: result: yes" >&5
  1715. -echo "${ECHO_T}yes" >&6
  1716. +{ echo "$as_me:$LINENO: result: yes" >&5
  1717. +echo "${ECHO_T}yes" >&6; }
  1718. test "$program_prefix" != NONE &&
  1719. - program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1720. + program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1721. # Use a double $ so make ignores it.
  1722. test "$program_suffix" != NONE &&
  1723. - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1724. + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1725. # Double any \ or $. echo might interpret backslashes.
  1726. # By default was `s,x,x', remove it if useless.
  1727. cat <<\_ACEOF >conftest.sed
  1728. s/[\\$]/&&/g;s/;s,x,x,$//
  1729. _ACEOF
  1730. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1731. -rm conftest.sed
  1732. +rm -f conftest.sed
  1733. # expand $ac_aux_dir to an absolute path
  1734. am_aux_dir=`cd $ac_aux_dir && pwd`
  1735. @@ -1537,8 +1974,8 @@ for ac_prog in gawk mawk nawk awk
  1736. do
  1737. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1738. set dummy $ac_prog; ac_word=$2
  1739. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1740. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1741. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1742. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1743. if test "${ac_cv_prog_AWK+set}" = set; then
  1744. echo $ECHO_N "(cached) $ECHO_C" >&6
  1745. else
  1746. @@ -1551,54 +1988,57 @@ do
  1747. IFS=$as_save_IFS
  1748. test -z "$as_dir" && as_dir=.
  1749. for ac_exec_ext in '' $ac_executable_extensions; do
  1750. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1751. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1752. ac_cv_prog_AWK="$ac_prog"
  1753. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1754. break 2
  1755. fi
  1756. done
  1757. done
  1758. +IFS=$as_save_IFS
  1759. fi
  1760. fi
  1761. AWK=$ac_cv_prog_AWK
  1762. if test -n "$AWK"; then
  1763. - echo "$as_me:$LINENO: result: $AWK" >&5
  1764. -echo "${ECHO_T}$AWK" >&6
  1765. + { echo "$as_me:$LINENO: result: $AWK" >&5
  1766. +echo "${ECHO_T}$AWK" >&6; }
  1767. else
  1768. - echo "$as_me:$LINENO: result: no" >&5
  1769. -echo "${ECHO_T}no" >&6
  1770. + { echo "$as_me:$LINENO: result: no" >&5
  1771. +echo "${ECHO_T}no" >&6; }
  1772. fi
  1773. +
  1774. test -n "$AWK" && break
  1775. done
  1776. -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1777. -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
  1778. -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
  1779. -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1780. +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  1781. +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  1782. +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  1783. +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  1784. echo $ECHO_N "(cached) $ECHO_C" >&6
  1785. else
  1786. cat >conftest.make <<\_ACEOF
  1787. +SHELL = /bin/sh
  1788. all:
  1789. - @echo 'ac_maketemp="$(MAKE)"'
  1790. + @echo '@@@%%%=$(MAKE)=@@@%%%'
  1791. _ACEOF
  1792. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1793. -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1794. -if test -n "$ac_maketemp"; then
  1795. - eval ac_cv_prog_make_${ac_make}_set=yes
  1796. -else
  1797. - eval ac_cv_prog_make_${ac_make}_set=no
  1798. -fi
  1799. +case `${MAKE-make} -f conftest.make 2>/dev/null` in
  1800. + *@@@%%%=?*=@@@%%%*)
  1801. + eval ac_cv_prog_make_${ac_make}_set=yes;;
  1802. + *)
  1803. + eval ac_cv_prog_make_${ac_make}_set=no;;
  1804. +esac
  1805. rm -f conftest.make
  1806. fi
  1807. -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1808. - echo "$as_me:$LINENO: result: yes" >&5
  1809. -echo "${ECHO_T}yes" >&6
  1810. +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  1811. + { echo "$as_me:$LINENO: result: yes" >&5
  1812. +echo "${ECHO_T}yes" >&6; }
  1813. SET_MAKE=
  1814. else
  1815. - echo "$as_me:$LINENO: result: no" >&5
  1816. -echo "${ECHO_T}no" >&6
  1817. + { echo "$as_me:$LINENO: result: no" >&5
  1818. +echo "${ECHO_T}no" >&6; }
  1819. SET_MAKE="MAKE=${MAKE-make}"
  1820. fi
  1821. @@ -1669,8 +2109,8 @@ if test "$cross_compiling" != no; then
  1822. if test -n "$ac_tool_prefix"; then
  1823. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1824. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1825. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1826. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1827. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1828. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1829. if test "${ac_cv_prog_STRIP+set}" = set; then
  1830. echo $ECHO_N "(cached) $ECHO_C" >&6
  1831. else
  1832. @@ -1683,32 +2123,34 @@ do
  1833. IFS=$as_save_IFS
  1834. test -z "$as_dir" && as_dir=.
  1835. for ac_exec_ext in '' $ac_executable_extensions; do
  1836. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1837. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1838. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1839. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1840. break 2
  1841. fi
  1842. done
  1843. done
  1844. +IFS=$as_save_IFS
  1845. fi
  1846. fi
  1847. STRIP=$ac_cv_prog_STRIP
  1848. if test -n "$STRIP"; then
  1849. - echo "$as_me:$LINENO: result: $STRIP" >&5
  1850. -echo "${ECHO_T}$STRIP" >&6
  1851. + { echo "$as_me:$LINENO: result: $STRIP" >&5
  1852. +echo "${ECHO_T}$STRIP" >&6; }
  1853. else
  1854. - echo "$as_me:$LINENO: result: no" >&5
  1855. -echo "${ECHO_T}no" >&6
  1856. + { echo "$as_me:$LINENO: result: no" >&5
  1857. +echo "${ECHO_T}no" >&6; }
  1858. fi
  1859. +
  1860. fi
  1861. if test -z "$ac_cv_prog_STRIP"; then
  1862. ac_ct_STRIP=$STRIP
  1863. # Extract the first word of "strip", so it can be a program name with args.
  1864. set dummy strip; ac_word=$2
  1865. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1866. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1867. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1868. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1869. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1870. echo $ECHO_N "(cached) $ECHO_C" >&6
  1871. else
  1872. @@ -1721,27 +2163,41 @@ do
  1873. IFS=$as_save_IFS
  1874. test -z "$as_dir" && as_dir=.
  1875. for ac_exec_ext in '' $ac_executable_extensions; do
  1876. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1877. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1878. ac_cv_prog_ac_ct_STRIP="strip"
  1879. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1880. break 2
  1881. fi
  1882. done
  1883. done
  1884. +IFS=$as_save_IFS
  1885. - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1886. fi
  1887. fi
  1888. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1889. if test -n "$ac_ct_STRIP"; then
  1890. - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1891. -echo "${ECHO_T}$ac_ct_STRIP" >&6
  1892. + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1893. +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  1894. else
  1895. - echo "$as_me:$LINENO: result: no" >&5
  1896. -echo "${ECHO_T}no" >&6
  1897. + { echo "$as_me:$LINENO: result: no" >&5
  1898. +echo "${ECHO_T}no" >&6; }
  1899. fi
  1900. - STRIP=$ac_ct_STRIP
  1901. + if test "x$ac_ct_STRIP" = x; then
  1902. + STRIP=":"
  1903. + else
  1904. + case $cross_compiling:$ac_tool_warned in
  1905. +yes:)
  1906. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1907. +whose name does not start with the host triplet. If you think this
  1908. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  1909. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1910. +whose name does not start with the host triplet. If you think this
  1911. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1912. +ac_tool_warned=yes ;;
  1913. +esac
  1914. + STRIP=$ac_ct_STRIP
  1915. + fi
  1916. else
  1917. STRIP="$ac_cv_prog_STRIP"
  1918. fi
  1919. @@ -1761,17 +2217,17 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
  1920. -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1921. -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
  1922. - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
  1923. +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  1924. +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  1925. + # Check whether --enable-maintainer-mode was given.
  1926. if test "${enable_maintainer_mode+set}" = set; then
  1927. - enableval="$enable_maintainer_mode"
  1928. - USE_MAINTAINER_MODE=$enableval
  1929. + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  1930. else
  1931. USE_MAINTAINER_MODE=no
  1932. -fi;
  1933. - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1934. -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
  1935. +fi
  1936. +
  1937. + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  1938. +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  1939. if test $USE_MAINTAINER_MODE = yes; then
  1940. @@ -1786,7 +2242,7 @@ fi
  1941. - ac_config_headers="$ac_config_headers config.h"
  1942. +ac_config_headers="$ac_config_headers config.h"
  1943. # Checks for programs.
  1944. @@ -1798,8 +2254,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1945. if test -n "$ac_tool_prefix"; then
  1946. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1947. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1948. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1949. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1950. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1951. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1952. if test "${ac_cv_prog_CC+set}" = set; then
  1953. echo $ECHO_N "(cached) $ECHO_C" >&6
  1954. else
  1955. @@ -1812,32 +2268,34 @@ do
  1956. IFS=$as_save_IFS
  1957. test -z "$as_dir" && as_dir=.
  1958. for ac_exec_ext in '' $ac_executable_extensions; do
  1959. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1960. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1961. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1962. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1963. break 2
  1964. fi
  1965. done
  1966. done
  1967. +IFS=$as_save_IFS
  1968. fi
  1969. fi
  1970. CC=$ac_cv_prog_CC
  1971. if test -n "$CC"; then
  1972. - echo "$as_me:$LINENO: result: $CC" >&5
  1973. -echo "${ECHO_T}$CC" >&6
  1974. + { echo "$as_me:$LINENO: result: $CC" >&5
  1975. +echo "${ECHO_T}$CC" >&6; }
  1976. else
  1977. - echo "$as_me:$LINENO: result: no" >&5
  1978. -echo "${ECHO_T}no" >&6
  1979. + { echo "$as_me:$LINENO: result: no" >&5
  1980. +echo "${ECHO_T}no" >&6; }
  1981. fi
  1982. +
  1983. fi
  1984. if test -z "$ac_cv_prog_CC"; then
  1985. ac_ct_CC=$CC
  1986. # Extract the first word of "gcc", so it can be a program name with args.
  1987. set dummy gcc; ac_word=$2
  1988. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  1989. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1990. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  1991. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1992. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1993. echo $ECHO_N "(cached) $ECHO_C" >&6
  1994. else
  1995. @@ -1850,36 +2308,51 @@ do
  1996. IFS=$as_save_IFS
  1997. test -z "$as_dir" && as_dir=.
  1998. for ac_exec_ext in '' $ac_executable_extensions; do
  1999. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2000. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2001. ac_cv_prog_ac_ct_CC="gcc"
  2002. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2003. break 2
  2004. fi
  2005. done
  2006. done
  2007. +IFS=$as_save_IFS
  2008. fi
  2009. fi
  2010. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2011. if test -n "$ac_ct_CC"; then
  2012. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2013. -echo "${ECHO_T}$ac_ct_CC" >&6
  2014. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2015. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2016. else
  2017. - echo "$as_me:$LINENO: result: no" >&5
  2018. -echo "${ECHO_T}no" >&6
  2019. + { echo "$as_me:$LINENO: result: no" >&5
  2020. +echo "${ECHO_T}no" >&6; }
  2021. fi
  2022. - CC=$ac_ct_CC
  2023. + if test "x$ac_ct_CC" = x; then
  2024. + CC=""
  2025. + else
  2026. + case $cross_compiling:$ac_tool_warned in
  2027. +yes:)
  2028. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2029. +whose name does not start with the host triplet. If you think this
  2030. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2031. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2032. +whose name does not start with the host triplet. If you think this
  2033. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2034. +ac_tool_warned=yes ;;
  2035. +esac
  2036. + CC=$ac_ct_CC
  2037. + fi
  2038. else
  2039. CC="$ac_cv_prog_CC"
  2040. fi
  2041. if test -z "$CC"; then
  2042. - if test -n "$ac_tool_prefix"; then
  2043. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2044. + if test -n "$ac_tool_prefix"; then
  2045. + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2046. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2047. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2048. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2049. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2050. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2051. if test "${ac_cv_prog_CC+set}" = set; then
  2052. echo $ECHO_N "(cached) $ECHO_C" >&6
  2053. else
  2054. @@ -1892,74 +2365,34 @@ do
  2055. IFS=$as_save_IFS
  2056. test -z "$as_dir" && as_dir=.
  2057. for ac_exec_ext in '' $ac_executable_extensions; do
  2058. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2059. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2060. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2061. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2062. break 2
  2063. fi
  2064. done
  2065. done
  2066. +IFS=$as_save_IFS
  2067. fi
  2068. fi
  2069. CC=$ac_cv_prog_CC
  2070. if test -n "$CC"; then
  2071. - echo "$as_me:$LINENO: result: $CC" >&5
  2072. -echo "${ECHO_T}$CC" >&6
  2073. -else
  2074. - echo "$as_me:$LINENO: result: no" >&5
  2075. -echo "${ECHO_T}no" >&6
  2076. -fi
  2077. -
  2078. -fi
  2079. -if test -z "$ac_cv_prog_CC"; then
  2080. - ac_ct_CC=$CC
  2081. - # Extract the first word of "cc", so it can be a program name with args.
  2082. -set dummy cc; ac_word=$2
  2083. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2084. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2085. -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2086. - echo $ECHO_N "(cached) $ECHO_C" >&6
  2087. -else
  2088. - if test -n "$ac_ct_CC"; then
  2089. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2090. -else
  2091. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2092. -for as_dir in $PATH
  2093. -do
  2094. - IFS=$as_save_IFS
  2095. - test -z "$as_dir" && as_dir=.
  2096. - for ac_exec_ext in '' $ac_executable_extensions; do
  2097. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2098. - ac_cv_prog_ac_ct_CC="cc"
  2099. - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2100. - break 2
  2101. - fi
  2102. -done
  2103. -done
  2104. -
  2105. -fi
  2106. -fi
  2107. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2108. -if test -n "$ac_ct_CC"; then
  2109. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2110. -echo "${ECHO_T}$ac_ct_CC" >&6
  2111. + { echo "$as_me:$LINENO: result: $CC" >&5
  2112. +echo "${ECHO_T}$CC" >&6; }
  2113. else
  2114. - echo "$as_me:$LINENO: result: no" >&5
  2115. -echo "${ECHO_T}no" >&6
  2116. + { echo "$as_me:$LINENO: result: no" >&5
  2117. +echo "${ECHO_T}no" >&6; }
  2118. fi
  2119. - CC=$ac_ct_CC
  2120. -else
  2121. - CC="$ac_cv_prog_CC"
  2122. -fi
  2123. + fi
  2124. fi
  2125. if test -z "$CC"; then
  2126. # Extract the first word of "cc", so it can be a program name with args.
  2127. set dummy cc; ac_word=$2
  2128. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2129. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2130. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2131. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2132. if test "${ac_cv_prog_CC+set}" = set; then
  2133. echo $ECHO_N "(cached) $ECHO_C" >&6
  2134. else
  2135. @@ -1973,7 +2406,7 @@ do
  2136. IFS=$as_save_IFS
  2137. test -z "$as_dir" && as_dir=.
  2138. for ac_exec_ext in '' $ac_executable_extensions; do
  2139. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2140. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2141. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2142. ac_prog_rejected=yes
  2143. continue
  2144. @@ -1984,6 +2417,7 @@ do
  2145. fi
  2146. done
  2147. done
  2148. +IFS=$as_save_IFS
  2149. if test $ac_prog_rejected = yes; then
  2150. # We found a bogon in the path, so make sure we never use it.
  2151. @@ -2001,22 +2435,23 @@ fi
  2152. fi
  2153. CC=$ac_cv_prog_CC
  2154. if test -n "$CC"; then
  2155. - echo "$as_me:$LINENO: result: $CC" >&5
  2156. -echo "${ECHO_T}$CC" >&6
  2157. + { echo "$as_me:$LINENO: result: $CC" >&5
  2158. +echo "${ECHO_T}$CC" >&6; }
  2159. else
  2160. - echo "$as_me:$LINENO: result: no" >&5
  2161. -echo "${ECHO_T}no" >&6
  2162. + { echo "$as_me:$LINENO: result: no" >&5
  2163. +echo "${ECHO_T}no" >&6; }
  2164. fi
  2165. +
  2166. fi
  2167. if test -z "$CC"; then
  2168. if test -n "$ac_tool_prefix"; then
  2169. - for ac_prog in cl
  2170. + for ac_prog in cl.exe
  2171. do
  2172. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2173. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2174. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2175. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2176. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2177. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2178. if test "${ac_cv_prog_CC+set}" = set; then
  2179. echo $ECHO_N "(cached) $ECHO_C" >&6
  2180. else
  2181. @@ -2029,36 +2464,38 @@ do
  2182. IFS=$as_save_IFS
  2183. test -z "$as_dir" && as_dir=.
  2184. for ac_exec_ext in '' $ac_executable_extensions; do
  2185. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2186. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2187. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2188. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2189. break 2
  2190. fi
  2191. done
  2192. done
  2193. +IFS=$as_save_IFS
  2194. fi
  2195. fi
  2196. CC=$ac_cv_prog_CC
  2197. if test -n "$CC"; then
  2198. - echo "$as_me:$LINENO: result: $CC" >&5
  2199. -echo "${ECHO_T}$CC" >&6
  2200. + { echo "$as_me:$LINENO: result: $CC" >&5
  2201. +echo "${ECHO_T}$CC" >&6; }
  2202. else
  2203. - echo "$as_me:$LINENO: result: no" >&5
  2204. -echo "${ECHO_T}no" >&6
  2205. + { echo "$as_me:$LINENO: result: no" >&5
  2206. +echo "${ECHO_T}no" >&6; }
  2207. fi
  2208. +
  2209. test -n "$CC" && break
  2210. done
  2211. fi
  2212. if test -z "$CC"; then
  2213. ac_ct_CC=$CC
  2214. - for ac_prog in cl
  2215. + for ac_prog in cl.exe
  2216. do
  2217. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2218. set dummy $ac_prog; ac_word=$2
  2219. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  2220. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  2221. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  2222. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2223. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2224. echo $ECHO_N "(cached) $ECHO_C" >&6
  2225. else
  2226. @@ -2071,29 +2508,45 @@ do
  2227. IFS=$as_save_IFS
  2228. test -z "$as_dir" && as_dir=.
  2229. for ac_exec_ext in '' $ac_executable_extensions; do
  2230. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2231. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2232. ac_cv_prog_ac_ct_CC="$ac_prog"
  2233. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2234. break 2
  2235. fi
  2236. done
  2237. done
  2238. +IFS=$as_save_IFS
  2239. fi
  2240. fi
  2241. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2242. if test -n "$ac_ct_CC"; then
  2243. - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2244. -echo "${ECHO_T}$ac_ct_CC" >&6
  2245. + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2246. +echo "${ECHO_T}$ac_ct_CC" >&6; }
  2247. else
  2248. - echo "$as_me:$LINENO: result: no" >&5
  2249. -echo "${ECHO_T}no" >&6
  2250. + { echo "$as_me:$LINENO: result: no" >&5
  2251. +echo "${ECHO_T}no" >&6; }
  2252. fi
  2253. +
  2254. test -n "$ac_ct_CC" && break
  2255. done
  2256. - CC=$ac_ct_CC
  2257. + if test "x$ac_ct_CC" = x; then
  2258. + CC=""
  2259. + else
  2260. + case $cross_compiling:$ac_tool_warned in
  2261. +yes:)
  2262. +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2263. +whose name does not start with the host triplet. If you think this
  2264. +configuration is useful to you, please write to autoconf@gnu.org." >&5
  2265. +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2266. +whose name does not start with the host triplet. If you think this
  2267. +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2268. +ac_tool_warned=yes ;;
  2269. +esac
  2270. + CC=$ac_ct_CC
  2271. + fi
  2272. fi
  2273. fi
  2274. @@ -2106,21 +2559,35 @@ See \`config.log' for more details." >&2
  2275. { (exit 1); exit 1; }; }
  2276. # Provide some information about the compiler.
  2277. -echo "$as_me:$LINENO:" \
  2278. - "checking for C compiler version" >&5
  2279. +echo "$as_me:$LINENO: checking for C compiler version" >&5
  2280. ac_compiler=`set X $ac_compile; echo $2`
  2281. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  2282. - (eval $ac_compiler --version </dev/null >&5) 2>&5
  2283. +{ (ac_try="$ac_compiler --version >&5"
  2284. +case "(($ac_try" in
  2285. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2286. + *) ac_try_echo=$ac_try;;
  2287. +esac
  2288. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2289. + (eval "$ac_compiler --version >&5") 2>&5
  2290. ac_status=$?
  2291. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2292. (exit $ac_status); }
  2293. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  2294. - (eval $ac_compiler -v </dev/null >&5) 2>&5
  2295. +{ (ac_try="$ac_compiler -v >&5"
  2296. +case "(($ac_try" in
  2297. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2298. + *) ac_try_echo=$ac_try;;
  2299. +esac
  2300. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2301. + (eval "$ac_compiler -v >&5") 2>&5
  2302. ac_status=$?
  2303. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2304. (exit $ac_status); }
  2305. -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  2306. - (eval $ac_compiler -V </dev/null >&5) 2>&5
  2307. +{ (ac_try="$ac_compiler -V >&5"
  2308. +case "(($ac_try" in
  2309. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2310. + *) ac_try_echo=$ac_try;;
  2311. +esac
  2312. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2313. + (eval "$ac_compiler -V >&5") 2>&5
  2314. ac_status=$?
  2315. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2316. (exit $ac_status); }
  2317. @@ -2145,47 +2612,77 @@ ac_clean_files="$ac_clean_files a.out a.
  2318. # Try to create an executable without -o first, disregard a.out.
  2319. # It will help us diagnose broken compilers, and finding out an intuition
  2320. # of exeext.
  2321. -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2322. -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
  2323. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2324. +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2325. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2326. -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  2327. - (eval $ac_link_default) 2>&5
  2328. +#
  2329. +# List of possible output files, starting from the most likely.
  2330. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2331. +# only as a last resort. b.out is created by i960 compilers.
  2332. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2333. +#
  2334. +# The IRIX 6 linker writes into existing files which may not be
  2335. +# executable, retaining their permissions. Remove them first so a
  2336. +# subsequent execution test works.
  2337. +ac_rmfiles=
  2338. +for ac_file in $ac_files
  2339. +do
  2340. + case $ac_file in
  2341. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2342. + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2343. + esac
  2344. +done
  2345. +rm -f $ac_rmfiles
  2346. +
  2347. +if { (ac_try="$ac_link_default"
  2348. +case "(($ac_try" in
  2349. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2350. + *) ac_try_echo=$ac_try;;
  2351. +esac
  2352. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2353. + (eval "$ac_link_default") 2>&5
  2354. ac_status=$?
  2355. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2356. (exit $ac_status); }; then
  2357. - # Find the output, starting from the most likely. This scheme is
  2358. -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
  2359. -# resort.
  2360. -
  2361. -# Be careful to initialize this variable, since it used to be cached.
  2362. -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
  2363. -ac_cv_exeext=
  2364. -# b.out is created by i960 compilers.
  2365. -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
  2366. + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2367. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2368. +# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2369. +# so that the user can short-circuit this test for compilers unknown to
  2370. +# Autoconf.
  2371. +for ac_file in $ac_files ''
  2372. do
  2373. test -f "$ac_file" || continue
  2374. case $ac_file in
  2375. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
  2376. - ;;
  2377. - conftest.$ac_ext )
  2378. - # This is the source file.
  2379. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2380. ;;
  2381. [ab].out )
  2382. # We found the default executable, but exeext='' is most
  2383. # certainly right.
  2384. break;;
  2385. *.* )
  2386. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2387. - # FIXME: I believe we export ac_cv_exeext for Libtool,
  2388. - # but it would be cool to find out if it's true. Does anybody
  2389. - # maintain Libtool? --akim.
  2390. - export ac_cv_exeext
  2391. + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2392. + then :; else
  2393. + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2394. + fi
  2395. + # We set ac_cv_exeext here because the later test for it is not
  2396. + # safe: cross compilers may not add the suffix if given an `-o'
  2397. + # argument, so we may need to know it at that point already.
  2398. + # Even if this section looks crufty: it has the advantage of
  2399. + # actually working.
  2400. break;;
  2401. * )
  2402. break;;
  2403. esac
  2404. done
  2405. +test "$ac_cv_exeext" = no && ac_cv_exeext=
  2406. +
  2407. else
  2408. + ac_file=''
  2409. +fi
  2410. +
  2411. +{ echo "$as_me:$LINENO: result: $ac_file" >&5
  2412. +echo "${ECHO_T}$ac_file" >&6; }
  2413. +if test -z "$ac_file"; then
  2414. echo "$as_me: failed program was:" >&5
  2415. sed 's/^/| /' conftest.$ac_ext >&5
  2416. @@ -2197,19 +2694,21 @@ See \`config.log' for more details." >&2
  2417. fi
  2418. ac_exeext=$ac_cv_exeext
  2419. -echo "$as_me:$LINENO: result: $ac_file" >&5
  2420. -echo "${ECHO_T}$ac_file" >&6
  2421. -# Check the compiler produces executables we can run. If not, either
  2422. +# Check that the compiler produces executables we can run. If not, either
  2423. # the compiler is broken, or we cross compile.
  2424. -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2425. -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
  2426. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2427. +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2428. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2429. # If not cross compiling, check that we can run a simple program.
  2430. if test "$cross_compiling" != yes; then
  2431. if { ac_try='./$ac_file'
  2432. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2433. - (eval $ac_try) 2>&5
  2434. + { (case "(($ac_try" in
  2435. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2436. + *) ac_try_echo=$ac_try;;
  2437. +esac
  2438. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2439. + (eval "$ac_try") 2>&5
  2440. ac_status=$?
  2441. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2442. (exit $ac_status); }; }; then
  2443. @@ -2228,22 +2727,27 @@ See \`config.log' for more details." >&2
  2444. fi
  2445. fi
  2446. fi
  2447. -echo "$as_me:$LINENO: result: yes" >&5
  2448. -echo "${ECHO_T}yes" >&6
  2449. +{ echo "$as_me:$LINENO: result: yes" >&5
  2450. +echo "${ECHO_T}yes" >&6; }
  2451. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2452. ac_clean_files=$ac_clean_files_save
  2453. -# Check the compiler produces executables we can run. If not, either
  2454. +# Check that the compiler produces executables we can run. If not, either
  2455. # the compiler is broken, or we cross compile.
  2456. -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2457. -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
  2458. -echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2459. -echo "${ECHO_T}$cross_compiling" >&6
  2460. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2461. +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2462. +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2463. +echo "${ECHO_T}$cross_compiling" >&6; }
  2464. -echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2465. -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
  2466. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  2467. - (eval $ac_link) 2>&5
  2468. +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2469. +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2470. +if { (ac_try="$ac_link"
  2471. +case "(($ac_try" in
  2472. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2473. + *) ac_try_echo=$ac_try;;
  2474. +esac
  2475. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2476. + (eval "$ac_link") 2>&5
  2477. ac_status=$?
  2478. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2479. (exit $ac_status); }; then
  2480. @@ -2254,9 +2758,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
  2481. for ac_file in conftest.exe conftest conftest.*; do
  2482. test -f "$ac_file" || continue
  2483. case $ac_file in
  2484. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
  2485. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2486. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2487. - export ac_cv_exeext
  2488. break;;
  2489. * ) break;;
  2490. esac
  2491. @@ -2270,14 +2773,14 @@ See \`config.log' for more details." >&2
  2492. fi
  2493. rm -f conftest$ac_cv_exeext
  2494. -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2495. -echo "${ECHO_T}$ac_cv_exeext" >&6
  2496. +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2497. +echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2498. rm -f conftest.$ac_ext
  2499. EXEEXT=$ac_cv_exeext
  2500. ac_exeext=$EXEEXT
  2501. -echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2502. -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
  2503. +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2504. +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2505. if test "${ac_cv_objext+set}" = set; then
  2506. echo $ECHO_N "(cached) $ECHO_C" >&6
  2507. else
  2508. @@ -2297,14 +2800,20 @@ main ()
  2509. }
  2510. _ACEOF
  2511. rm -f conftest.o conftest.obj
  2512. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2513. - (eval $ac_compile) 2>&5
  2514. +if { (ac_try="$ac_compile"
  2515. +case "(($ac_try" in
  2516. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2517. + *) ac_try_echo=$ac_try;;
  2518. +esac
  2519. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2520. + (eval "$ac_compile") 2>&5
  2521. ac_status=$?
  2522. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2523. (exit $ac_status); }; then
  2524. - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2525. + for ac_file in conftest.o conftest.obj conftest.*; do
  2526. + test -f "$ac_file" || continue;
  2527. case $ac_file in
  2528. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
  2529. + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2530. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2531. break;;
  2532. esac
  2533. @@ -2322,12 +2831,12 @@ fi
  2534. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2535. fi
  2536. -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2537. -echo "${ECHO_T}$ac_cv_objext" >&6
  2538. +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2539. +echo "${ECHO_T}$ac_cv_objext" >&6; }
  2540. OBJEXT=$ac_cv_objext
  2541. ac_objext=$OBJEXT
  2542. -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2543. -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
  2544. +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2545. +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2546. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2547. echo $ECHO_N "(cached) $ECHO_C" >&6
  2548. else
  2549. @@ -2350,50 +2859,49 @@ main ()
  2550. }
  2551. _ACEOF
  2552. rm -f conftest.$ac_objext
  2553. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2554. - (eval $ac_compile) 2>conftest.er1
  2555. +if { (ac_try="$ac_compile"
  2556. +case "(($ac_try" in
  2557. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2558. + *) ac_try_echo=$ac_try;;
  2559. +esac
  2560. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2561. + (eval "$ac_compile") 2>conftest.er1
  2562. ac_status=$?
  2563. grep -v '^ *+' conftest.er1 >conftest.err
  2564. rm -f conftest.er1
  2565. cat conftest.err >&5
  2566. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2567. - (exit $ac_status); } &&
  2568. - { ac_try='test -z "$ac_c_werror_flag"
  2569. - || test ! -s conftest.err'
  2570. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2571. - (eval $ac_try) 2>&5
  2572. - ac_status=$?
  2573. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2574. - (exit $ac_status); }; } &&
  2575. - { ac_try='test -s conftest.$ac_objext'
  2576. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2577. - (eval $ac_try) 2>&5
  2578. - ac_status=$?
  2579. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2580. - (exit $ac_status); }; }; then
  2581. + (exit $ac_status); } && {
  2582. + test -z "$ac_c_werror_flag" ||
  2583. + test ! -s conftest.err
  2584. + } && test -s conftest.$ac_objext; then
  2585. ac_compiler_gnu=yes
  2586. else
  2587. echo "$as_me: failed program was:" >&5
  2588. sed 's/^/| /' conftest.$ac_ext >&5
  2589. -ac_compiler_gnu=no
  2590. + ac_compiler_gnu=no
  2591. fi
  2592. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2593. +
  2594. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2595. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2596. fi
  2597. -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2598. -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
  2599. +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2600. +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2601. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2602. ac_test_CFLAGS=${CFLAGS+set}
  2603. ac_save_CFLAGS=$CFLAGS
  2604. -CFLAGS="-g"
  2605. -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2606. -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
  2607. +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2608. +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2609. if test "${ac_cv_prog_cc_g+set}" = set; then
  2610. echo $ECHO_N "(cached) $ECHO_C" >&6
  2611. else
  2612. - cat >conftest.$ac_ext <<_ACEOF
  2613. + ac_save_c_werror_flag=$ac_c_werror_flag
  2614. + ac_c_werror_flag=yes
  2615. + ac_cv_prog_cc_g=no
  2616. + CFLAGS="-g"
  2617. + cat >conftest.$ac_ext <<_ACEOF
  2618. /* confdefs.h. */
  2619. _ACEOF
  2620. cat confdefs.h >>conftest.$ac_ext
  2621. @@ -2409,38 +2917,118 @@ main ()
  2622. }
  2623. _ACEOF
  2624. rm -f conftest.$ac_objext
  2625. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2626. - (eval $ac_compile) 2>conftest.er1
  2627. +if { (ac_try="$ac_compile"
  2628. +case "(($ac_try" in
  2629. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2630. + *) ac_try_echo=$ac_try;;
  2631. +esac
  2632. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2633. + (eval "$ac_compile") 2>conftest.er1
  2634. ac_status=$?
  2635. grep -v '^ *+' conftest.er1 >conftest.err
  2636. rm -f conftest.er1
  2637. cat conftest.err >&5
  2638. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2639. - (exit $ac_status); } &&
  2640. - { ac_try='test -z "$ac_c_werror_flag"
  2641. - || test ! -s conftest.err'
  2642. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2643. - (eval $ac_try) 2>&5
  2644. + (exit $ac_status); } && {
  2645. + test -z "$ac_c_werror_flag" ||
  2646. + test ! -s conftest.err
  2647. + } && test -s conftest.$ac_objext; then
  2648. + ac_cv_prog_cc_g=yes
  2649. +else
  2650. + echo "$as_me: failed program was:" >&5
  2651. +sed 's/^/| /' conftest.$ac_ext >&5
  2652. +
  2653. + CFLAGS=""
  2654. + cat >conftest.$ac_ext <<_ACEOF
  2655. +/* confdefs.h. */
  2656. +_ACEOF
  2657. +cat confdefs.h >>conftest.$ac_ext
  2658. +cat >>conftest.$ac_ext <<_ACEOF
  2659. +/* end confdefs.h. */
  2660. +
  2661. +int
  2662. +main ()
  2663. +{
  2664. +
  2665. + ;
  2666. + return 0;
  2667. +}
  2668. +_ACEOF
  2669. +rm -f conftest.$ac_objext
  2670. +if { (ac_try="$ac_compile"
  2671. +case "(($ac_try" in
  2672. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2673. + *) ac_try_echo=$ac_try;;
  2674. +esac
  2675. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2676. + (eval "$ac_compile") 2>conftest.er1
  2677. ac_status=$?
  2678. + grep -v '^ *+' conftest.er1 >conftest.err
  2679. + rm -f conftest.er1
  2680. + cat conftest.err >&5
  2681. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2682. - (exit $ac_status); }; } &&
  2683. - { ac_try='test -s conftest.$ac_objext'
  2684. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2685. - (eval $ac_try) 2>&5
  2686. + (exit $ac_status); } && {
  2687. + test -z "$ac_c_werror_flag" ||
  2688. + test ! -s conftest.err
  2689. + } && test -s conftest.$ac_objext; then
  2690. + :
  2691. +else
  2692. + echo "$as_me: failed program was:" >&5
  2693. +sed 's/^/| /' conftest.$ac_ext >&5
  2694. +
  2695. + ac_c_werror_flag=$ac_save_c_werror_flag
  2696. + CFLAGS="-g"
  2697. + cat >conftest.$ac_ext <<_ACEOF
  2698. +/* confdefs.h. */
  2699. +_ACEOF
  2700. +cat confdefs.h >>conftest.$ac_ext
  2701. +cat >>conftest.$ac_ext <<_ACEOF
  2702. +/* end confdefs.h. */
  2703. +
  2704. +int
  2705. +main ()
  2706. +{
  2707. +
  2708. + ;
  2709. + return 0;
  2710. +}
  2711. +_ACEOF
  2712. +rm -f conftest.$ac_objext
  2713. +if { (ac_try="$ac_compile"
  2714. +case "(($ac_try" in
  2715. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2716. + *) ac_try_echo=$ac_try;;
  2717. +esac
  2718. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2719. + (eval "$ac_compile") 2>conftest.er1
  2720. ac_status=$?
  2721. + grep -v '^ *+' conftest.er1 >conftest.err
  2722. + rm -f conftest.er1
  2723. + cat conftest.err >&5
  2724. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2725. - (exit $ac_status); }; }; then
  2726. + (exit $ac_status); } && {
  2727. + test -z "$ac_c_werror_flag" ||
  2728. + test ! -s conftest.err
  2729. + } && test -s conftest.$ac_objext; then
  2730. ac_cv_prog_cc_g=yes
  2731. else
  2732. echo "$as_me: failed program was:" >&5
  2733. sed 's/^/| /' conftest.$ac_ext >&5
  2734. -ac_cv_prog_cc_g=no
  2735. +
  2736. fi
  2737. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2738. +
  2739. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2740. fi
  2741. -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2742. -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
  2743. +
  2744. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2745. +fi
  2746. +
  2747. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2748. + ac_c_werror_flag=$ac_save_c_werror_flag
  2749. +fi
  2750. +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2751. +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2752. if test "$ac_test_CFLAGS" = set; then
  2753. CFLAGS=$ac_save_CFLAGS
  2754. elif test $ac_cv_prog_cc_g = yes; then
  2755. @@ -2456,12 +3044,12 @@ else
  2756. CFLAGS=
  2757. fi
  2758. fi
  2759. -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
  2760. -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
  2761. -if test "${ac_cv_prog_cc_stdc+set}" = set; then
  2762. +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2763. +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2764. +if test "${ac_cv_prog_cc_c89+set}" = set; then
  2765. echo $ECHO_N "(cached) $ECHO_C" >&6
  2766. else
  2767. - ac_cv_prog_cc_stdc=no
  2768. + ac_cv_prog_cc_c89=no
  2769. ac_save_CC=$CC
  2770. cat >conftest.$ac_ext <<_ACEOF
  2771. /* confdefs.h. */
  2772. @@ -2495,12 +3083,17 @@ static char *f (char * (*g) (char **, in
  2773. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2774. function prototypes and stuff, but not '\xHH' hex character constants.
  2775. These don't provoke an error unfortunately, instead are silently treated
  2776. - as 'x'. The following induces an error, until -std1 is added to get
  2777. + as 'x'. The following induces an error, until -std is added to get
  2778. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2779. array size at least. It's necessary to write '\x00'==0 to get something
  2780. - that's true only with -std1. */
  2781. + that's true only with -std. */
  2782. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2783. +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2784. + inside strings and character constants. */
  2785. +#define FOO(x) 'x'
  2786. +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2787. +
  2788. int test (int i, double x);
  2789. struct s1 {int (*f) (int a);};
  2790. struct s2 {int (*f) (double a);};
  2791. @@ -2515,205 +3108,57 @@ return f (e, argv, 0) != argv[0] || f
  2792. return 0;
  2793. }
  2794. _ACEOF
  2795. -# Don't try gcc -ansi; that turns off useful extensions and
  2796. -# breaks some systems' header files.
  2797. -# AIX -qlanglvl=ansi
  2798. -# Ultrix and OSF/1 -std1
  2799. -# HP-UX 10.20 and later -Ae
  2800. -# HP-UX older versions -Aa -D_HPUX_SOURCE
  2801. -# SVR4 -Xc -D__EXTENSIONS__
  2802. -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2803. +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2804. + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2805. do
  2806. CC="$ac_save_CC $ac_arg"
  2807. rm -f conftest.$ac_objext
  2808. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2809. - (eval $ac_compile) 2>conftest.er1
  2810. +if { (ac_try="$ac_compile"
  2811. +case "(($ac_try" in
  2812. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2813. + *) ac_try_echo=$ac_try;;
  2814. +esac
  2815. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2816. + (eval "$ac_compile") 2>conftest.er1
  2817. ac_status=$?
  2818. grep -v '^ *+' conftest.er1 >conftest.err
  2819. rm -f conftest.er1
  2820. cat conftest.err >&5
  2821. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2822. - (exit $ac_status); } &&
  2823. - { ac_try='test -z "$ac_c_werror_flag"
  2824. - || test ! -s conftest.err'
  2825. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2826. - (eval $ac_try) 2>&5
  2827. - ac_status=$?
  2828. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2829. - (exit $ac_status); }; } &&
  2830. - { ac_try='test -s conftest.$ac_objext'
  2831. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2832. - (eval $ac_try) 2>&5
  2833. - ac_status=$?
  2834. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2835. - (exit $ac_status); }; }; then
  2836. - ac_cv_prog_cc_stdc=$ac_arg
  2837. -break
  2838. + (exit $ac_status); } && {
  2839. + test -z "$ac_c_werror_flag" ||
  2840. + test ! -s conftest.err
  2841. + } && test -s conftest.$ac_objext; then
  2842. + ac_cv_prog_cc_c89=$ac_arg
  2843. else
  2844. echo "$as_me: failed program was:" >&5
  2845. sed 's/^/| /' conftest.$ac_ext >&5
  2846. +
  2847. fi
  2848. -rm -f conftest.err conftest.$ac_objext
  2849. +
  2850. +rm -f core conftest.err conftest.$ac_objext
  2851. + test "x$ac_cv_prog_cc_c89" != "xno" && break
  2852. done
  2853. -rm -f conftest.$ac_ext conftest.$ac_objext
  2854. +rm -f conftest.$ac_ext
  2855. CC=$ac_save_CC
  2856. fi
  2857. -
  2858. -case "x$ac_cv_prog_cc_stdc" in
  2859. - x|xno)
  2860. - echo "$as_me:$LINENO: result: none needed" >&5
  2861. -echo "${ECHO_T}none needed" >&6 ;;
  2862. +# AC_CACHE_VAL
  2863. +case "x$ac_cv_prog_cc_c89" in
  2864. + x)
  2865. + { echo "$as_me:$LINENO: result: none needed" >&5
  2866. +echo "${ECHO_T}none needed" >&6; } ;;
  2867. + xno)
  2868. + { echo "$as_me:$LINENO: result: unsupported" >&5
  2869. +echo "${ECHO_T}unsupported" >&6; } ;;
  2870. *)
  2871. - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
  2872. -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
  2873. - CC="$CC $ac_cv_prog_cc_stdc" ;;
  2874. + CC="$CC $ac_cv_prog_cc_c89"
  2875. + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2876. +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2877. esac
  2878. -# Some people use a C++ compiler to compile C. Since we use `exit',
  2879. -# in C++ we need to declare it. In case someone uses the same compiler
  2880. -# for both compiling C and C++ we need to have the C++ compiler decide
  2881. -# the declaration of exit, since it's the most demanding environment.
  2882. -cat >conftest.$ac_ext <<_ACEOF
  2883. -#ifndef __cplusplus
  2884. - choke me
  2885. -#endif
  2886. -_ACEOF
  2887. -rm -f conftest.$ac_objext
  2888. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2889. - (eval $ac_compile) 2>conftest.er1
  2890. - ac_status=$?
  2891. - grep -v '^ *+' conftest.er1 >conftest.err
  2892. - rm -f conftest.er1
  2893. - cat conftest.err >&5
  2894. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2895. - (exit $ac_status); } &&
  2896. - { ac_try='test -z "$ac_c_werror_flag"
  2897. - || test ! -s conftest.err'
  2898. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2899. - (eval $ac_try) 2>&5
  2900. - ac_status=$?
  2901. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2902. - (exit $ac_status); }; } &&
  2903. - { ac_try='test -s conftest.$ac_objext'
  2904. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2905. - (eval $ac_try) 2>&5
  2906. - ac_status=$?
  2907. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2908. - (exit $ac_status); }; }; then
  2909. - for ac_declaration in \
  2910. - '' \
  2911. - 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2912. - 'extern "C" void std::exit (int); using std::exit;' \
  2913. - 'extern "C" void exit (int) throw ();' \
  2914. - 'extern "C" void exit (int);' \
  2915. - 'void exit (int);'
  2916. -do
  2917. - cat >conftest.$ac_ext <<_ACEOF
  2918. -/* confdefs.h. */
  2919. -_ACEOF
  2920. -cat confdefs.h >>conftest.$ac_ext
  2921. -cat >>conftest.$ac_ext <<_ACEOF
  2922. -/* end confdefs.h. */
  2923. -$ac_declaration
  2924. -#include <stdlib.h>
  2925. -int
  2926. -main ()
  2927. -{
  2928. -exit (42);
  2929. - ;
  2930. - return 0;
  2931. -}
  2932. -_ACEOF
  2933. -rm -f conftest.$ac_objext
  2934. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2935. - (eval $ac_compile) 2>conftest.er1
  2936. - ac_status=$?
  2937. - grep -v '^ *+' conftest.er1 >conftest.err
  2938. - rm -f conftest.er1
  2939. - cat conftest.err >&5
  2940. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2941. - (exit $ac_status); } &&
  2942. - { ac_try='test -z "$ac_c_werror_flag"
  2943. - || test ! -s conftest.err'
  2944. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2945. - (eval $ac_try) 2>&5
  2946. - ac_status=$?
  2947. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2948. - (exit $ac_status); }; } &&
  2949. - { ac_try='test -s conftest.$ac_objext'
  2950. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2951. - (eval $ac_try) 2>&5
  2952. - ac_status=$?
  2953. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2954. - (exit $ac_status); }; }; then
  2955. - :
  2956. -else
  2957. - echo "$as_me: failed program was:" >&5
  2958. -sed 's/^/| /' conftest.$ac_ext >&5
  2959. -continue
  2960. -fi
  2961. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  2962. - cat >conftest.$ac_ext <<_ACEOF
  2963. -/* confdefs.h. */
  2964. -_ACEOF
  2965. -cat confdefs.h >>conftest.$ac_ext
  2966. -cat >>conftest.$ac_ext <<_ACEOF
  2967. -/* end confdefs.h. */
  2968. -$ac_declaration
  2969. -int
  2970. -main ()
  2971. -{
  2972. -exit (42);
  2973. - ;
  2974. - return 0;
  2975. -}
  2976. -_ACEOF
  2977. -rm -f conftest.$ac_objext
  2978. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  2979. - (eval $ac_compile) 2>conftest.er1
  2980. - ac_status=$?
  2981. - grep -v '^ *+' conftest.er1 >conftest.err
  2982. - rm -f conftest.er1
  2983. - cat conftest.err >&5
  2984. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2985. - (exit $ac_status); } &&
  2986. - { ac_try='test -z "$ac_c_werror_flag"
  2987. - || test ! -s conftest.err'
  2988. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2989. - (eval $ac_try) 2>&5
  2990. - ac_status=$?
  2991. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2992. - (exit $ac_status); }; } &&
  2993. - { ac_try='test -s conftest.$ac_objext'
  2994. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  2995. - (eval $ac_try) 2>&5
  2996. - ac_status=$?
  2997. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2998. - (exit $ac_status); }; }; then
  2999. - break
  3000. -else
  3001. - echo "$as_me: failed program was:" >&5
  3002. -sed 's/^/| /' conftest.$ac_ext >&5
  3003. -
  3004. -fi
  3005. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3006. -done
  3007. -rm -f conftest*
  3008. -if test -n "$ac_declaration"; then
  3009. - echo '#ifdef __cplusplus' >>confdefs.h
  3010. - echo $ac_declaration >>confdefs.h
  3011. - echo '#endif' >>confdefs.h
  3012. -fi
  3013. -
  3014. -else
  3015. - echo "$as_me: failed program was:" >&5
  3016. -sed 's/^/| /' conftest.$ac_ext >&5
  3017. -
  3018. -fi
  3019. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3020. ac_ext=c
  3021. ac_cpp='$CPP $CPPFLAGS'
  3022. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3023. @@ -2721,7 +3166,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
  3024. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3025. DEPDIR="${am__leading_dot}deps"
  3026. - ac_config_commands="$ac_config_commands depfiles"
  3027. +ac_config_commands="$ac_config_commands depfiles"
  3028. am_make=${MAKE-make}
  3029. @@ -2731,8 +3176,8 @@ am__doit:
  3030. .PHONY: am__doit
  3031. END
  3032. # If we don't find an include directive, just comment out the code.
  3033. -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3034. -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
  3035. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3036. +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  3037. am__include="#"
  3038. am__quote=
  3039. _am_result=none
  3040. @@ -2759,15 +3204,15 @@ if test "$am__include" = "#"; then
  3041. fi
  3042. -echo "$as_me:$LINENO: result: $_am_result" >&5
  3043. -echo "${ECHO_T}$_am_result" >&6
  3044. +{ echo "$as_me:$LINENO: result: $_am_result" >&5
  3045. +echo "${ECHO_T}$_am_result" >&6; }
  3046. rm -f confinc confmf
  3047. -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
  3048. +# Check whether --enable-dependency-tracking was given.
  3049. if test "${enable_dependency_tracking+set}" = set; then
  3050. - enableval="$enable_dependency_tracking"
  3051. + enableval=$enable_dependency_tracking;
  3052. +fi
  3053. -fi;
  3054. if test "x$enable_dependency_tracking" != xno; then
  3055. am_depcomp="$ac_aux_dir/depcomp"
  3056. AMDEPBACKSLASH='\'
  3057. @@ -2787,8 +3232,8 @@ fi
  3058. depcc="$CC" am_compiler_list=
  3059. -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3060. -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
  3061. +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3062. +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3063. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3064. echo $ECHO_N "(cached) $ECHO_C" >&6
  3065. else
  3066. @@ -2877,8 +3322,8 @@ else
  3067. fi
  3068. fi
  3069. -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3070. -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
  3071. +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3072. +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3073. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3074. @@ -2902,8 +3347,8 @@ fi
  3075. ssp_cc=yes
  3076. if test "X$CC" != "X"; then
  3077. - echo "$as_me:$LINENO: checking whether ${CC} accepts -fstack-protector" >&5
  3078. -echo $ECHO_N "checking whether ${CC} accepts -fstack-protector... $ECHO_C" >&6
  3079. + { echo "$as_me:$LINENO: checking whether ${CC} accepts -fstack-protector" >&5
  3080. +echo $ECHO_N "checking whether ${CC} accepts -fstack-protector... $ECHO_C" >&6; }
  3081. ssp_old_cflags="$CFLAGS"
  3082. CFLAGS="$CFLAGS -fstack-protector"
  3083. cat >conftest.$ac_ext <<_ACEOF
  3084. @@ -2922,35 +3367,31 @@ main ()
  3085. }
  3086. _ACEOF
  3087. rm -f conftest.$ac_objext
  3088. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3089. - (eval $ac_compile) 2>conftest.er1
  3090. +if { (ac_try="$ac_compile"
  3091. +case "(($ac_try" in
  3092. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3093. + *) ac_try_echo=$ac_try;;
  3094. +esac
  3095. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3096. + (eval "$ac_compile") 2>conftest.er1
  3097. ac_status=$?
  3098. grep -v '^ *+' conftest.er1 >conftest.err
  3099. rm -f conftest.er1
  3100. cat conftest.err >&5
  3101. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3102. - (exit $ac_status); } &&
  3103. - { ac_try='test -z "$ac_c_werror_flag"
  3104. - || test ! -s conftest.err'
  3105. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3106. - (eval $ac_try) 2>&5
  3107. - ac_status=$?
  3108. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3109. - (exit $ac_status); }; } &&
  3110. - { ac_try='test -s conftest.$ac_objext'
  3111. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3112. - (eval $ac_try) 2>&5
  3113. - ac_status=$?
  3114. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3115. - (exit $ac_status); }; }; then
  3116. + (exit $ac_status); } && {
  3117. + test -z "$ac_c_werror_flag" ||
  3118. + test ! -s conftest.err
  3119. + } && test -s conftest.$ac_objext; then
  3120. :
  3121. else
  3122. echo "$as_me: failed program was:" >&5
  3123. sed 's/^/| /' conftest.$ac_ext >&5
  3124. -ssp_cc=no
  3125. + ssp_cc=no
  3126. fi
  3127. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3128. +
  3129. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3130. echo $ssp_cc
  3131. if test "X$ssp_cc" = "Xno"; then
  3132. CFLAGS="$ssp_old_cflags"
  3133. @@ -2964,12 +3405,11 @@ _ACEOF
  3134. fi
  3135. - echo "$as_me:$LINENO: checking for distcc" >&5
  3136. -echo $ECHO_N "checking for distcc... $ECHO_C" >&6
  3137. - # Check whether --enable-distcc or --disable-distcc was given.
  3138. + { echo "$as_me:$LINENO: checking for distcc" >&5
  3139. +echo $ECHO_N "checking for distcc... $ECHO_C" >&6; }
  3140. + # Check whether --enable-distcc was given.
  3141. if test "${enable_distcc+set}" = set; then
  3142. - enableval="$enable_distcc"
  3143. -
  3144. + enableval=$enable_distcc;
  3145. distcc_dirs="/ /usr /usr/local /usr/local/gnu /usr/gnu"
  3146. for dir in $distcc_dirs; do
  3147. if test -x "$dir/bin/distcc"; then
  3148. @@ -2983,16 +3423,17 @@ if test "${enable_distcc+set}" = set; th
  3149. echo "$as_me: error: not found" >&2;}
  3150. { (exit 1); exit 1; }; }
  3151. else
  3152. - echo "$as_me:$LINENO: result: yes" >&5
  3153. -echo "${ECHO_T}yes" >&6
  3154. + { echo "$as_me:$LINENO: result: yes" >&5
  3155. +echo "${ECHO_T}yes" >&6; }
  3156. fi
  3157. else
  3158. - echo "$as_me:$LINENO: result: not requested" >&5
  3159. -echo "${ECHO_T}not requested" >&6
  3160. + { echo "$as_me:$LINENO: result: not requested" >&5
  3161. +echo "${ECHO_T}not requested" >&6; }
  3162. +
  3163. +fi
  3164. -fi;
  3165. # Find a good install program. We prefer a C program (faster),
  3166. @@ -3008,8 +3449,8 @@ fi;
  3167. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3168. # OS/2's system install, which has a completely different semantic
  3169. # ./install, which can be erroneously created by make from ./install.sh.
  3170. -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3171. -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  3172. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3173. +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  3174. if test -z "$INSTALL"; then
  3175. if test "${ac_cv_path_install+set}" = set; then
  3176. echo $ECHO_N "(cached) $ECHO_C" >&6
  3177. @@ -3031,7 +3472,7 @@ case $as_dir/ in
  3178. # by default.
  3179. for ac_prog in ginstall scoinst install; do
  3180. for ac_exec_ext in '' $ac_executable_extensions; do
  3181. - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3182. + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  3183. if test $ac_prog = install &&
  3184. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3185. # AIX install. It has an incompatible calling convention.
  3186. @@ -3050,21 +3491,22 @@ case $as_dir/ in
  3187. ;;
  3188. esac
  3189. done
  3190. +IFS=$as_save_IFS
  3191. fi
  3192. if test "${ac_cv_path_install+set}" = set; then
  3193. INSTALL=$ac_cv_path_install
  3194. else
  3195. - # As a last resort, use the slow shell script. We don't cache a
  3196. - # path for INSTALL within a source directory, because that will
  3197. + # As a last resort, use the slow shell script. Don't cache a
  3198. + # value for INSTALL within a source directory, because that will
  3199. # break other packages using the cache if that directory is
  3200. - # removed, or if the path is relative.
  3201. + # removed, or if the value is a relative name.
  3202. INSTALL=$ac_install_sh
  3203. fi
  3204. fi
  3205. -echo "$as_me:$LINENO: result: $INSTALL" >&5
  3206. -echo "${ECHO_T}$INSTALL" >&6
  3207. +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
  3208. +echo "${ECHO_T}$INSTALL" >&6; }
  3209. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3210. # It thinks the first close brace ends the variable substitution.
  3211. @@ -3077,57 +3519,86 @@ test -z "$INSTALL_DATA" && INSTALL_DATA=
  3212. # Checks for libraries.
  3213. # Make sure we can run config.sub.
  3214. -$ac_config_sub sun4 >/dev/null 2>&1 ||
  3215. - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
  3216. -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
  3217. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3218. + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  3219. +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  3220. { (exit 1); exit 1; }; }
  3221. -echo "$as_me:$LINENO: checking build system type" >&5
  3222. -echo $ECHO_N "checking build system type... $ECHO_C" >&6
  3223. +{ echo "$as_me:$LINENO: checking build system type" >&5
  3224. +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  3225. if test "${ac_cv_build+set}" = set; then
  3226. echo $ECHO_N "(cached) $ECHO_C" >&6
  3227. else
  3228. - ac_cv_build_alias=$build_alias
  3229. -test -z "$ac_cv_build_alias" &&
  3230. - ac_cv_build_alias=`$ac_config_guess`
  3231. -test -z "$ac_cv_build_alias" &&
  3232. + ac_build_alias=$build_alias
  3233. +test "x$ac_build_alias" = x &&
  3234. + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3235. +test "x$ac_build_alias" = x &&
  3236. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  3237. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  3238. { (exit 1); exit 1; }; }
  3239. -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  3240. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
  3241. -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
  3242. +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3243. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  3244. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  3245. { (exit 1); exit 1; }; }
  3246. fi
  3247. -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  3248. -echo "${ECHO_T}$ac_cv_build" >&6
  3249. +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  3250. +echo "${ECHO_T}$ac_cv_build" >&6; }
  3251. +case $ac_cv_build in
  3252. +*-*-*) ;;
  3253. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  3254. +echo "$as_me: error: invalid value of canonical build" >&2;}
  3255. + { (exit 1); exit 1; }; };;
  3256. +esac
  3257. build=$ac_cv_build
  3258. -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  3259. -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  3260. -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  3261. +ac_save_IFS=$IFS; IFS='-'
  3262. +set x $ac_cv_build
  3263. +shift
  3264. +build_cpu=$1
  3265. +build_vendor=$2
  3266. +shift; shift
  3267. +# Remember, the first character of IFS is used to create $*,
  3268. +# except with old shells:
  3269. +build_os=$*
  3270. +IFS=$ac_save_IFS
  3271. +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3272. -echo "$as_me:$LINENO: checking host system type" >&5
  3273. -echo $ECHO_N "checking host system type... $ECHO_C" >&6
  3274. +{ echo "$as_me:$LINENO: checking host system type" >&5
  3275. +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  3276. if test "${ac_cv_host+set}" = set; then
  3277. echo $ECHO_N "(cached) $ECHO_C" >&6
  3278. else
  3279. - ac_cv_host_alias=$host_alias
  3280. -test -z "$ac_cv_host_alias" &&
  3281. - ac_cv_host_alias=$ac_cv_build_alias
  3282. -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  3283. - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
  3284. -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
  3285. + if test "x$host_alias" = x; then
  3286. + ac_cv_host=$ac_cv_build
  3287. +else
  3288. + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3289. + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  3290. +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  3291. { (exit 1); exit 1; }; }
  3292. +fi
  3293. fi
  3294. -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3295. -echo "${ECHO_T}$ac_cv_host" >&6
  3296. +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3297. +echo "${ECHO_T}$ac_cv_host" >&6; }
  3298. +case $ac_cv_host in
  3299. +*-*-*) ;;
  3300. +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  3301. +echo "$as_me: error: invalid value of canonical host" >&2;}
  3302. + { (exit 1); exit 1; }; };;
  3303. +esac
  3304. host=$ac_cv_host
  3305. -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  3306. -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  3307. -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  3308. +ac_save_IFS=$IFS; IFS='-'
  3309. +set x $ac_cv_host
  3310. +shift
  3311. +host_cpu=$1
  3312. +host_vendor=$2
  3313. +shift; shift
  3314. +# Remember, the first character of IFS is used to create $*,
  3315. +# except with old shells:
  3316. +host_os=$*
  3317. +IFS=$ac_save_IFS
  3318. +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3319. @@ -3147,8 +3618,8 @@ ac_cpp='$CPP $CPPFLAGS'
  3320. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3321. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3322. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3323. -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3324. -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
  3325. +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3326. +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  3327. # On Suns, sometimes $CPP names a directory.
  3328. if test -n "$CPP" && test -d "$CPP"; then
  3329. CPP=
  3330. @@ -3182,24 +3653,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3331. #endif
  3332. Syntax error
  3333. _ACEOF
  3334. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3335. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3336. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3337. +case "(($ac_try" in
  3338. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3339. + *) ac_try_echo=$ac_try;;
  3340. +esac
  3341. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3342. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3343. ac_status=$?
  3344. grep -v '^ *+' conftest.er1 >conftest.err
  3345. rm -f conftest.er1
  3346. cat conftest.err >&5
  3347. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3348. - (exit $ac_status); } >/dev/null; then
  3349. - if test -s conftest.err; then
  3350. - ac_cpp_err=$ac_c_preproc_warn_flag
  3351. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3352. - else
  3353. - ac_cpp_err=
  3354. - fi
  3355. -else
  3356. - ac_cpp_err=yes
  3357. -fi
  3358. -if test -z "$ac_cpp_err"; then
  3359. + (exit $ac_status); } >/dev/null && {
  3360. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3361. + test ! -s conftest.err
  3362. + }; then
  3363. :
  3364. else
  3365. echo "$as_me: failed program was:" >&5
  3366. @@ -3208,9 +3677,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3367. # Broken: fails on valid input.
  3368. continue
  3369. fi
  3370. +
  3371. rm -f conftest.err conftest.$ac_ext
  3372. - # OK, works on sane cases. Now check whether non-existent headers
  3373. + # OK, works on sane cases. Now check whether nonexistent headers
  3374. # can be detected and how.
  3375. cat >conftest.$ac_ext <<_ACEOF
  3376. /* confdefs.h. */
  3377. @@ -3220,24 +3690,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3378. /* end confdefs.h. */
  3379. #include <ac_nonexistent.h>
  3380. _ACEOF
  3381. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3382. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3383. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3384. +case "(($ac_try" in
  3385. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386. + *) ac_try_echo=$ac_try;;
  3387. +esac
  3388. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3389. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3390. ac_status=$?
  3391. grep -v '^ *+' conftest.er1 >conftest.err
  3392. rm -f conftest.er1
  3393. cat conftest.err >&5
  3394. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3395. - (exit $ac_status); } >/dev/null; then
  3396. - if test -s conftest.err; then
  3397. - ac_cpp_err=$ac_c_preproc_warn_flag
  3398. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3399. - else
  3400. - ac_cpp_err=
  3401. - fi
  3402. -else
  3403. - ac_cpp_err=yes
  3404. -fi
  3405. -if test -z "$ac_cpp_err"; then
  3406. + (exit $ac_status); } >/dev/null && {
  3407. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3408. + test ! -s conftest.err
  3409. + }; then
  3410. # Broken: success on invalid input.
  3411. continue
  3412. else
  3413. @@ -3248,6 +3716,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3414. ac_preproc_ok=:
  3415. break
  3416. fi
  3417. +
  3418. rm -f conftest.err conftest.$ac_ext
  3419. done
  3420. @@ -3265,8 +3734,8 @@ fi
  3421. else
  3422. ac_cv_prog_CPP=$CPP
  3423. fi
  3424. -echo "$as_me:$LINENO: result: $CPP" >&5
  3425. -echo "${ECHO_T}$CPP" >&6
  3426. +{ echo "$as_me:$LINENO: result: $CPP" >&5
  3427. +echo "${ECHO_T}$CPP" >&6; }
  3428. ac_preproc_ok=false
  3429. for ac_c_preproc_warn_flag in '' yes
  3430. do
  3431. @@ -3289,24 +3758,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3432. #endif
  3433. Syntax error
  3434. _ACEOF
  3435. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3436. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3437. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3438. +case "(($ac_try" in
  3439. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3440. + *) ac_try_echo=$ac_try;;
  3441. +esac
  3442. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3443. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3444. ac_status=$?
  3445. grep -v '^ *+' conftest.er1 >conftest.err
  3446. rm -f conftest.er1
  3447. cat conftest.err >&5
  3448. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3449. - (exit $ac_status); } >/dev/null; then
  3450. - if test -s conftest.err; then
  3451. - ac_cpp_err=$ac_c_preproc_warn_flag
  3452. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3453. - else
  3454. - ac_cpp_err=
  3455. - fi
  3456. -else
  3457. - ac_cpp_err=yes
  3458. -fi
  3459. -if test -z "$ac_cpp_err"; then
  3460. + (exit $ac_status); } >/dev/null && {
  3461. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3462. + test ! -s conftest.err
  3463. + }; then
  3464. :
  3465. else
  3466. echo "$as_me: failed program was:" >&5
  3467. @@ -3315,9 +3782,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3468. # Broken: fails on valid input.
  3469. continue
  3470. fi
  3471. +
  3472. rm -f conftest.err conftest.$ac_ext
  3473. - # OK, works on sane cases. Now check whether non-existent headers
  3474. + # OK, works on sane cases. Now check whether nonexistent headers
  3475. # can be detected and how.
  3476. cat >conftest.$ac_ext <<_ACEOF
  3477. /* confdefs.h. */
  3478. @@ -3327,24 +3795,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3479. /* end confdefs.h. */
  3480. #include <ac_nonexistent.h>
  3481. _ACEOF
  3482. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3483. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3484. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3485. +case "(($ac_try" in
  3486. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3487. + *) ac_try_echo=$ac_try;;
  3488. +esac
  3489. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3490. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3491. ac_status=$?
  3492. grep -v '^ *+' conftest.er1 >conftest.err
  3493. rm -f conftest.er1
  3494. cat conftest.err >&5
  3495. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3496. - (exit $ac_status); } >/dev/null; then
  3497. - if test -s conftest.err; then
  3498. - ac_cpp_err=$ac_c_preproc_warn_flag
  3499. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3500. - else
  3501. - ac_cpp_err=
  3502. - fi
  3503. -else
  3504. - ac_cpp_err=yes
  3505. -fi
  3506. -if test -z "$ac_cpp_err"; then
  3507. + (exit $ac_status); } >/dev/null && {
  3508. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3509. + test ! -s conftest.err
  3510. + }; then
  3511. # Broken: success on invalid input.
  3512. continue
  3513. else
  3514. @@ -3355,6 +3821,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3515. ac_preproc_ok=:
  3516. break
  3517. fi
  3518. +
  3519. rm -f conftest.err conftest.$ac_ext
  3520. done
  3521. @@ -3377,23 +3844,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
  3522. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3523. -echo "$as_me:$LINENO: checking for egrep" >&5
  3524. -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
  3525. -if test "${ac_cv_prog_egrep+set}" = set; then
  3526. +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3527. +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3528. +if test "${ac_cv_path_GREP+set}" = set; then
  3529. echo $ECHO_N "(cached) $ECHO_C" >&6
  3530. else
  3531. - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
  3532. - then ac_cv_prog_egrep='grep -E'
  3533. - else ac_cv_prog_egrep='egrep'
  3534. + # Extract the first word of "grep ggrep" to use in msg output
  3535. +if test -z "$GREP"; then
  3536. +set dummy grep ggrep; ac_prog_name=$2
  3537. +if test "${ac_cv_path_GREP+set}" = set; then
  3538. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3539. +else
  3540. + ac_path_GREP_found=false
  3541. +# Loop through the user's path and test for each of PROGNAME-LIST
  3542. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3543. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3544. +do
  3545. + IFS=$as_save_IFS
  3546. + test -z "$as_dir" && as_dir=.
  3547. + for ac_prog in grep ggrep; do
  3548. + for ac_exec_ext in '' $ac_executable_extensions; do
  3549. + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3550. + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3551. + # Check for GNU ac_path_GREP and select it if it is found.
  3552. + # Check for GNU $ac_path_GREP
  3553. +case `"$ac_path_GREP" --version 2>&1` in
  3554. +*GNU*)
  3555. + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3556. +*)
  3557. + ac_count=0
  3558. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3559. + while :
  3560. + do
  3561. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3562. + mv "conftest.tmp" "conftest.in"
  3563. + cp "conftest.in" "conftest.nl"
  3564. + echo 'GREP' >> "conftest.nl"
  3565. + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3566. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3567. + ac_count=`expr $ac_count + 1`
  3568. + if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3569. + # Best one so far, save it but keep looking for a better one
  3570. + ac_cv_path_GREP="$ac_path_GREP"
  3571. + ac_path_GREP_max=$ac_count
  3572. fi
  3573. + # 10*(2^10) chars as input seems more than enough
  3574. + test $ac_count -gt 10 && break
  3575. + done
  3576. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3577. +esac
  3578. +
  3579. +
  3580. + $ac_path_GREP_found && break 3
  3581. + done
  3582. +done
  3583. +
  3584. +done
  3585. +IFS=$as_save_IFS
  3586. +
  3587. +
  3588. fi
  3589. -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
  3590. -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
  3591. - EGREP=$ac_cv_prog_egrep
  3592. +GREP="$ac_cv_path_GREP"
  3593. +if test -z "$GREP"; then
  3594. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3595. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3596. + { (exit 1); exit 1; }; }
  3597. +fi
  3598. -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3599. -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
  3600. +else
  3601. + ac_cv_path_GREP=$GREP
  3602. +fi
  3603. +
  3604. +
  3605. +fi
  3606. +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3607. +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3608. + GREP="$ac_cv_path_GREP"
  3609. +
  3610. +
  3611. +{ echo "$as_me:$LINENO: checking for egrep" >&5
  3612. +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3613. +if test "${ac_cv_path_EGREP+set}" = set; then
  3614. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3615. +else
  3616. + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3617. + then ac_cv_path_EGREP="$GREP -E"
  3618. + else
  3619. + # Extract the first word of "egrep" to use in msg output
  3620. +if test -z "$EGREP"; then
  3621. +set dummy egrep; ac_prog_name=$2
  3622. +if test "${ac_cv_path_EGREP+set}" = set; then
  3623. + echo $ECHO_N "(cached) $ECHO_C" >&6
  3624. +else
  3625. + ac_path_EGREP_found=false
  3626. +# Loop through the user's path and test for each of PROGNAME-LIST
  3627. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3628. +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3629. +do
  3630. + IFS=$as_save_IFS
  3631. + test -z "$as_dir" && as_dir=.
  3632. + for ac_prog in egrep; do
  3633. + for ac_exec_ext in '' $ac_executable_extensions; do
  3634. + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3635. + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3636. + # Check for GNU ac_path_EGREP and select it if it is found.
  3637. + # Check for GNU $ac_path_EGREP
  3638. +case `"$ac_path_EGREP" --version 2>&1` in
  3639. +*GNU*)
  3640. + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3641. +*)
  3642. + ac_count=0
  3643. + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3644. + while :
  3645. + do
  3646. + cat "conftest.in" "conftest.in" >"conftest.tmp"
  3647. + mv "conftest.tmp" "conftest.in"
  3648. + cp "conftest.in" "conftest.nl"
  3649. + echo 'EGREP' >> "conftest.nl"
  3650. + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3651. + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3652. + ac_count=`expr $ac_count + 1`
  3653. + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3654. + # Best one so far, save it but keep looking for a better one
  3655. + ac_cv_path_EGREP="$ac_path_EGREP"
  3656. + ac_path_EGREP_max=$ac_count
  3657. + fi
  3658. + # 10*(2^10) chars as input seems more than enough
  3659. + test $ac_count -gt 10 && break
  3660. + done
  3661. + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3662. +esac
  3663. +
  3664. +
  3665. + $ac_path_EGREP_found && break 3
  3666. + done
  3667. +done
  3668. +
  3669. +done
  3670. +IFS=$as_save_IFS
  3671. +
  3672. +
  3673. +fi
  3674. +
  3675. +EGREP="$ac_cv_path_EGREP"
  3676. +if test -z "$EGREP"; then
  3677. + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3678. +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3679. + { (exit 1); exit 1; }; }
  3680. +fi
  3681. +
  3682. +else
  3683. + ac_cv_path_EGREP=$EGREP
  3684. +fi
  3685. +
  3686. +
  3687. + fi
  3688. +fi
  3689. +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3690. +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3691. + EGREP="$ac_cv_path_EGREP"
  3692. +
  3693. +
  3694. +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3695. +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3696. if test "${ac_cv_header_stdc+set}" = set; then
  3697. echo $ECHO_N "(cached) $ECHO_C" >&6
  3698. else
  3699. @@ -3417,35 +4031,31 @@ main ()
  3700. }
  3701. _ACEOF
  3702. rm -f conftest.$ac_objext
  3703. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3704. - (eval $ac_compile) 2>conftest.er1
  3705. +if { (ac_try="$ac_compile"
  3706. +case "(($ac_try" in
  3707. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3708. + *) ac_try_echo=$ac_try;;
  3709. +esac
  3710. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3711. + (eval "$ac_compile") 2>conftest.er1
  3712. ac_status=$?
  3713. grep -v '^ *+' conftest.er1 >conftest.err
  3714. rm -f conftest.er1
  3715. cat conftest.err >&5
  3716. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3717. - (exit $ac_status); } &&
  3718. - { ac_try='test -z "$ac_c_werror_flag"
  3719. - || test ! -s conftest.err'
  3720. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3721. - (eval $ac_try) 2>&5
  3722. - ac_status=$?
  3723. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3724. - (exit $ac_status); }; } &&
  3725. - { ac_try='test -s conftest.$ac_objext'
  3726. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3727. - (eval $ac_try) 2>&5
  3728. - ac_status=$?
  3729. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3730. - (exit $ac_status); }; }; then
  3731. + (exit $ac_status); } && {
  3732. + test -z "$ac_c_werror_flag" ||
  3733. + test ! -s conftest.err
  3734. + } && test -s conftest.$ac_objext; then
  3735. ac_cv_header_stdc=yes
  3736. else
  3737. echo "$as_me: failed program was:" >&5
  3738. sed 's/^/| /' conftest.$ac_ext >&5
  3739. -ac_cv_header_stdc=no
  3740. + ac_cv_header_stdc=no
  3741. fi
  3742. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3743. +
  3744. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3745. if test $ac_cv_header_stdc = yes; then
  3746. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3747. @@ -3501,6 +4111,7 @@ cat confdefs.h >>conftest.$ac_ext
  3748. cat >>conftest.$ac_ext <<_ACEOF
  3749. /* end confdefs.h. */
  3750. #include <ctype.h>
  3751. +#include <stdlib.h>
  3752. #if ((' ' & 0x0FF) == 0x020)
  3753. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3754. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3755. @@ -3520,18 +4131,27 @@ main ()
  3756. for (i = 0; i < 256; i++)
  3757. if (XOR (islower (i), ISLOWER (i))
  3758. || toupper (i) != TOUPPER (i))
  3759. - exit(2);
  3760. - exit (0);
  3761. + return 2;
  3762. + return 0;
  3763. }
  3764. _ACEOF
  3765. rm -f conftest$ac_exeext
  3766. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  3767. - (eval $ac_link) 2>&5
  3768. +if { (ac_try="$ac_link"
  3769. +case "(($ac_try" in
  3770. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3771. + *) ac_try_echo=$ac_try;;
  3772. +esac
  3773. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3774. + (eval "$ac_link") 2>&5
  3775. ac_status=$?
  3776. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3777. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3778. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3779. - (eval $ac_try) 2>&5
  3780. + { (case "(($ac_try" in
  3781. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3782. + *) ac_try_echo=$ac_try;;
  3783. +esac
  3784. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3785. + (eval "$ac_try") 2>&5
  3786. ac_status=$?
  3787. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3788. (exit $ac_status); }; }; then
  3789. @@ -3544,12 +4164,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3790. ( exit $ac_status )
  3791. ac_cv_header_stdc=no
  3792. fi
  3793. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3794. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3795. fi
  3796. +
  3797. +
  3798. fi
  3799. fi
  3800. -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3801. -echo "${ECHO_T}$ac_cv_header_stdc" >&6
  3802. +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3803. +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3804. if test $ac_cv_header_stdc = yes; then
  3805. cat >>confdefs.h <<\_ACEOF
  3806. @@ -3572,9 +4194,9 @@ for ac_header in sys/types.h sys/stat.h
  3807. inttypes.h stdint.h unistd.h
  3808. do
  3809. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3810. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  3811. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3812. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3813. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  3814. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3815. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3816. echo $ECHO_N "(cached) $ECHO_C" >&6
  3817. else
  3818. cat >conftest.$ac_ext <<_ACEOF
  3819. @@ -3588,38 +4210,35 @@ $ac_includes_default
  3820. #include <$ac_header>
  3821. _ACEOF
  3822. rm -f conftest.$ac_objext
  3823. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3824. - (eval $ac_compile) 2>conftest.er1
  3825. +if { (ac_try="$ac_compile"
  3826. +case "(($ac_try" in
  3827. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3828. + *) ac_try_echo=$ac_try;;
  3829. +esac
  3830. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3831. + (eval "$ac_compile") 2>conftest.er1
  3832. ac_status=$?
  3833. grep -v '^ *+' conftest.er1 >conftest.err
  3834. rm -f conftest.er1
  3835. cat conftest.err >&5
  3836. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3837. - (exit $ac_status); } &&
  3838. - { ac_try='test -z "$ac_c_werror_flag"
  3839. - || test ! -s conftest.err'
  3840. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3841. - (eval $ac_try) 2>&5
  3842. - ac_status=$?
  3843. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3844. - (exit $ac_status); }; } &&
  3845. - { ac_try='test -s conftest.$ac_objext'
  3846. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3847. - (eval $ac_try) 2>&5
  3848. - ac_status=$?
  3849. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3850. - (exit $ac_status); }; }; then
  3851. + (exit $ac_status); } && {
  3852. + test -z "$ac_c_werror_flag" ||
  3853. + test ! -s conftest.err
  3854. + } && test -s conftest.$ac_objext; then
  3855. eval "$as_ac_Header=yes"
  3856. else
  3857. echo "$as_me: failed program was:" >&5
  3858. sed 's/^/| /' conftest.$ac_ext >&5
  3859. -eval "$as_ac_Header=no"
  3860. + eval "$as_ac_Header=no"
  3861. fi
  3862. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3863. +
  3864. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3865. fi
  3866. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3867. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3868. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3869. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3870. +echo "${ECHO_T}$ac_res" >&6; }
  3871. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3872. cat >>confdefs.h <<_ACEOF
  3873. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3874. @@ -3651,18 +4270,19 @@ done
  3875. for ac_header in ctype.h errno.h arpa/inet.h netdb.h netinet/in.h netinet/in_systm.h limits.h sys/poll.h regex.h signal.h stdlib.h stdio.h string.h sys/param.h sys/socket.h sys/time.h unistd.h sys/utsname.h
  3876. do
  3877. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3878. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3879. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  3880. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  3881. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  3882. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3883. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3884. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3885. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3886. echo $ECHO_N "(cached) $ECHO_C" >&6
  3887. fi
  3888. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  3889. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  3890. +ac_res=`eval echo '${'$as_ac_Header'}'`
  3891. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  3892. +echo "${ECHO_T}$ac_res" >&6; }
  3893. else
  3894. # Is the header compilable?
  3895. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3896. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  3897. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3898. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  3899. cat >conftest.$ac_ext <<_ACEOF
  3900. /* confdefs.h. */
  3901. _ACEOF
  3902. @@ -3673,41 +4293,37 @@ $ac_includes_default
  3903. #include <$ac_header>
  3904. _ACEOF
  3905. rm -f conftest.$ac_objext
  3906. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  3907. - (eval $ac_compile) 2>conftest.er1
  3908. +if { (ac_try="$ac_compile"
  3909. +case "(($ac_try" in
  3910. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3911. + *) ac_try_echo=$ac_try;;
  3912. +esac
  3913. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3914. + (eval "$ac_compile") 2>conftest.er1
  3915. ac_status=$?
  3916. grep -v '^ *+' conftest.er1 >conftest.err
  3917. rm -f conftest.er1
  3918. cat conftest.err >&5
  3919. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3920. - (exit $ac_status); } &&
  3921. - { ac_try='test -z "$ac_c_werror_flag"
  3922. - || test ! -s conftest.err'
  3923. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3924. - (eval $ac_try) 2>&5
  3925. - ac_status=$?
  3926. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3927. - (exit $ac_status); }; } &&
  3928. - { ac_try='test -s conftest.$ac_objext'
  3929. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  3930. - (eval $ac_try) 2>&5
  3931. - ac_status=$?
  3932. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3933. - (exit $ac_status); }; }; then
  3934. + (exit $ac_status); } && {
  3935. + test -z "$ac_c_werror_flag" ||
  3936. + test ! -s conftest.err
  3937. + } && test -s conftest.$ac_objext; then
  3938. ac_header_compiler=yes
  3939. else
  3940. echo "$as_me: failed program was:" >&5
  3941. sed 's/^/| /' conftest.$ac_ext >&5
  3942. -ac_header_compiler=no
  3943. + ac_header_compiler=no
  3944. fi
  3945. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  3946. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3947. -echo "${ECHO_T}$ac_header_compiler" >&6
  3948. +
  3949. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3950. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3951. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  3952. # Is the header present?
  3953. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3954. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  3955. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3956. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  3957. cat >conftest.$ac_ext <<_ACEOF
  3958. /* confdefs.h. */
  3959. _ACEOF
  3960. @@ -3716,24 +4332,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  3961. /* end confdefs.h. */
  3962. #include <$ac_header>
  3963. _ACEOF
  3964. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  3965. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  3966. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  3967. +case "(($ac_try" in
  3968. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3969. + *) ac_try_echo=$ac_try;;
  3970. +esac
  3971. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3972. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3973. ac_status=$?
  3974. grep -v '^ *+' conftest.er1 >conftest.err
  3975. rm -f conftest.er1
  3976. cat conftest.err >&5
  3977. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3978. - (exit $ac_status); } >/dev/null; then
  3979. - if test -s conftest.err; then
  3980. - ac_cpp_err=$ac_c_preproc_warn_flag
  3981. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3982. - else
  3983. - ac_cpp_err=
  3984. - fi
  3985. -else
  3986. - ac_cpp_err=yes
  3987. -fi
  3988. -if test -z "$ac_cpp_err"; then
  3989. + (exit $ac_status); } >/dev/null && {
  3990. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3991. + test ! -s conftest.err
  3992. + }; then
  3993. ac_header_preproc=yes
  3994. else
  3995. echo "$as_me: failed program was:" >&5
  3996. @@ -3741,9 +4355,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  3997. ac_header_preproc=no
  3998. fi
  3999. +
  4000. rm -f conftest.err conftest.$ac_ext
  4001. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4002. -echo "${ECHO_T}$ac_header_preproc" >&6
  4003. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4004. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4005. # So? What about this header?
  4006. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4007. @@ -3767,25 +4382,24 @@ echo "$as_me: WARNING: $ac_header: s
  4008. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4009. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4010. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4011. - (
  4012. - cat <<\_ASBOX
  4013. + ( cat <<\_ASBOX
  4014. ## ------------------------------ ##
  4015. ## Report this to nils@sipsak.org ##
  4016. ## ------------------------------ ##
  4017. _ASBOX
  4018. - ) |
  4019. - sed "s/^/$as_me: WARNING: /" >&2
  4020. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4021. ;;
  4022. esac
  4023. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4024. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4025. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4026. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4027. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4028. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4029. echo $ECHO_N "(cached) $ECHO_C" >&6
  4030. else
  4031. eval "$as_ac_Header=\$ac_header_preproc"
  4032. fi
  4033. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4034. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4035. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4036. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4037. +echo "${ECHO_T}$ac_res" >&6; }
  4038. fi
  4039. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4040. @@ -3805,18 +4419,19 @@ done
  4041. for ac_header in getopt.h
  4042. do
  4043. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4044. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4045. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4046. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4047. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4048. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4049. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4050. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4051. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4052. echo $ECHO_N "(cached) $ECHO_C" >&6
  4053. fi
  4054. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4055. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4056. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4057. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4058. +echo "${ECHO_T}$ac_res" >&6; }
  4059. else
  4060. # Is the header compilable?
  4061. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4062. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4063. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4064. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4065. cat >conftest.$ac_ext <<_ACEOF
  4066. /* confdefs.h. */
  4067. _ACEOF
  4068. @@ -3827,41 +4442,37 @@ $ac_includes_default
  4069. #include <$ac_header>
  4070. _ACEOF
  4071. rm -f conftest.$ac_objext
  4072. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4073. - (eval $ac_compile) 2>conftest.er1
  4074. +if { (ac_try="$ac_compile"
  4075. +case "(($ac_try" in
  4076. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4077. + *) ac_try_echo=$ac_try;;
  4078. +esac
  4079. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4080. + (eval "$ac_compile") 2>conftest.er1
  4081. ac_status=$?
  4082. grep -v '^ *+' conftest.er1 >conftest.err
  4083. rm -f conftest.er1
  4084. cat conftest.err >&5
  4085. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4086. - (exit $ac_status); } &&
  4087. - { ac_try='test -z "$ac_c_werror_flag"
  4088. - || test ! -s conftest.err'
  4089. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4090. - (eval $ac_try) 2>&5
  4091. - ac_status=$?
  4092. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4093. - (exit $ac_status); }; } &&
  4094. - { ac_try='test -s conftest.$ac_objext'
  4095. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4096. - (eval $ac_try) 2>&5
  4097. - ac_status=$?
  4098. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4099. - (exit $ac_status); }; }; then
  4100. + (exit $ac_status); } && {
  4101. + test -z "$ac_c_werror_flag" ||
  4102. + test ! -s conftest.err
  4103. + } && test -s conftest.$ac_objext; then
  4104. ac_header_compiler=yes
  4105. else
  4106. echo "$as_me: failed program was:" >&5
  4107. sed 's/^/| /' conftest.$ac_ext >&5
  4108. -ac_header_compiler=no
  4109. + ac_header_compiler=no
  4110. fi
  4111. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4112. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4113. -echo "${ECHO_T}$ac_header_compiler" >&6
  4114. +
  4115. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4116. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4117. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4118. # Is the header present?
  4119. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4120. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4121. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4122. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4123. cat >conftest.$ac_ext <<_ACEOF
  4124. /* confdefs.h. */
  4125. _ACEOF
  4126. @@ -3870,24 +4481,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4127. /* end confdefs.h. */
  4128. #include <$ac_header>
  4129. _ACEOF
  4130. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4131. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4132. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4133. +case "(($ac_try" in
  4134. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4135. + *) ac_try_echo=$ac_try;;
  4136. +esac
  4137. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4138. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4139. ac_status=$?
  4140. grep -v '^ *+' conftest.er1 >conftest.err
  4141. rm -f conftest.er1
  4142. cat conftest.err >&5
  4143. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4144. - (exit $ac_status); } >/dev/null; then
  4145. - if test -s conftest.err; then
  4146. - ac_cpp_err=$ac_c_preproc_warn_flag
  4147. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4148. - else
  4149. - ac_cpp_err=
  4150. - fi
  4151. -else
  4152. - ac_cpp_err=yes
  4153. -fi
  4154. -if test -z "$ac_cpp_err"; then
  4155. + (exit $ac_status); } >/dev/null && {
  4156. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4157. + test ! -s conftest.err
  4158. + }; then
  4159. ac_header_preproc=yes
  4160. else
  4161. echo "$as_me: failed program was:" >&5
  4162. @@ -3895,9 +4504,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4163. ac_header_preproc=no
  4164. fi
  4165. +
  4166. rm -f conftest.err conftest.$ac_ext
  4167. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4168. -echo "${ECHO_T}$ac_header_preproc" >&6
  4169. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4170. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4171. # So? What about this header?
  4172. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4173. @@ -3921,25 +4531,24 @@ echo "$as_me: WARNING: $ac_header: s
  4174. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4175. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4176. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4177. - (
  4178. - cat <<\_ASBOX
  4179. + ( cat <<\_ASBOX
  4180. ## ------------------------------ ##
  4181. ## Report this to nils@sipsak.org ##
  4182. ## ------------------------------ ##
  4183. _ASBOX
  4184. - ) |
  4185. - sed "s/^/$as_me: WARNING: /" >&2
  4186. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4187. ;;
  4188. esac
  4189. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4190. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4191. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4192. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4193. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4194. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4195. echo $ECHO_N "(cached) $ECHO_C" >&6
  4196. else
  4197. eval "$as_ac_Header=\$ac_header_preproc"
  4198. fi
  4199. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4200. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4201. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4202. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4203. +echo "${ECHO_T}$ac_res" >&6; }
  4204. fi
  4205. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4206. @@ -3951,8 +4560,8 @@ fi
  4207. done
  4208. -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  4209. -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
  4210. +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
  4211. +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
  4212. if test "${ac_cv_header_sys_wait_h+set}" = set; then
  4213. echo $ECHO_N "(cached) $ECHO_C" >&6
  4214. else
  4215. @@ -3965,7 +4574,7 @@ cat >>conftest.$ac_ext <<_ACEOF
  4216. #include <sys/types.h>
  4217. #include <sys/wait.h>
  4218. #ifndef WEXITSTATUS
  4219. -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  4220. +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
  4221. #endif
  4222. #ifndef WIFEXITED
  4223. # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  4224. @@ -3982,38 +4591,34 @@ main ()
  4225. }
  4226. _ACEOF
  4227. rm -f conftest.$ac_objext
  4228. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4229. - (eval $ac_compile) 2>conftest.er1
  4230. +if { (ac_try="$ac_compile"
  4231. +case "(($ac_try" in
  4232. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4233. + *) ac_try_echo=$ac_try;;
  4234. +esac
  4235. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4236. + (eval "$ac_compile") 2>conftest.er1
  4237. ac_status=$?
  4238. grep -v '^ *+' conftest.er1 >conftest.err
  4239. rm -f conftest.er1
  4240. cat conftest.err >&5
  4241. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4242. - (exit $ac_status); } &&
  4243. - { ac_try='test -z "$ac_c_werror_flag"
  4244. - || test ! -s conftest.err'
  4245. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4246. - (eval $ac_try) 2>&5
  4247. - ac_status=$?
  4248. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4249. - (exit $ac_status); }; } &&
  4250. - { ac_try='test -s conftest.$ac_objext'
  4251. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4252. - (eval $ac_try) 2>&5
  4253. - ac_status=$?
  4254. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4255. - (exit $ac_status); }; }; then
  4256. + (exit $ac_status); } && {
  4257. + test -z "$ac_c_werror_flag" ||
  4258. + test ! -s conftest.err
  4259. + } && test -s conftest.$ac_objext; then
  4260. ac_cv_header_sys_wait_h=yes
  4261. else
  4262. echo "$as_me: failed program was:" >&5
  4263. sed 's/^/| /' conftest.$ac_ext >&5
  4264. -ac_cv_header_sys_wait_h=no
  4265. + ac_cv_header_sys_wait_h=no
  4266. fi
  4267. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4268. +
  4269. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4270. fi
  4271. -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  4272. -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
  4273. +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
  4274. +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
  4275. if test $ac_cv_header_sys_wait_h = yes; then
  4276. cat >>confdefs.h <<\_ACEOF
  4277. @@ -4022,8 +4627,8 @@ _ACEOF
  4278. fi
  4279. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4280. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  4281. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4282. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  4283. if test "${ac_cv_header_time+set}" = set; then
  4284. echo $ECHO_N "(cached) $ECHO_C" >&6
  4285. else
  4286. @@ -4047,38 +4652,34 @@ return 0;
  4287. }
  4288. _ACEOF
  4289. rm -f conftest.$ac_objext
  4290. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4291. - (eval $ac_compile) 2>conftest.er1
  4292. +if { (ac_try="$ac_compile"
  4293. +case "(($ac_try" in
  4294. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4295. + *) ac_try_echo=$ac_try;;
  4296. +esac
  4297. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4298. + (eval "$ac_compile") 2>conftest.er1
  4299. ac_status=$?
  4300. grep -v '^ *+' conftest.er1 >conftest.err
  4301. rm -f conftest.er1
  4302. cat conftest.err >&5
  4303. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4304. - (exit $ac_status); } &&
  4305. - { ac_try='test -z "$ac_c_werror_flag"
  4306. - || test ! -s conftest.err'
  4307. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4308. - (eval $ac_try) 2>&5
  4309. - ac_status=$?
  4310. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4311. - (exit $ac_status); }; } &&
  4312. - { ac_try='test -s conftest.$ac_objext'
  4313. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4314. - (eval $ac_try) 2>&5
  4315. - ac_status=$?
  4316. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4317. - (exit $ac_status); }; }; then
  4318. + (exit $ac_status); } && {
  4319. + test -z "$ac_c_werror_flag" ||
  4320. + test ! -s conftest.err
  4321. + } && test -s conftest.$ac_objext; then
  4322. ac_cv_header_time=yes
  4323. else
  4324. echo "$as_me: failed program was:" >&5
  4325. sed 's/^/| /' conftest.$ac_ext >&5
  4326. -ac_cv_header_time=no
  4327. + ac_cv_header_time=no
  4328. fi
  4329. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4330. +
  4331. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4332. fi
  4333. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4334. -echo "${ECHO_T}$ac_cv_header_time" >&6
  4335. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4336. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  4337. if test $ac_cv_header_time = yes; then
  4338. cat >>confdefs.h <<\_ACEOF
  4339. @@ -4094,9 +4695,9 @@ fi
  4340. for ac_header in netinet/ip.h netinet/udp.h
  4341. do
  4342. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4343. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4344. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4345. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4346. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4347. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4348. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4349. echo $ECHO_N "(cached) $ECHO_C" >&6
  4350. else
  4351. cat >conftest.$ac_ext <<_ACEOF
  4352. @@ -4115,38 +4716,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  4353. #include <$ac_header>
  4354. _ACEOF
  4355. rm -f conftest.$ac_objext
  4356. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4357. - (eval $ac_compile) 2>conftest.er1
  4358. +if { (ac_try="$ac_compile"
  4359. +case "(($ac_try" in
  4360. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4361. + *) ac_try_echo=$ac_try;;
  4362. +esac
  4363. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4364. + (eval "$ac_compile") 2>conftest.er1
  4365. ac_status=$?
  4366. grep -v '^ *+' conftest.er1 >conftest.err
  4367. rm -f conftest.er1
  4368. cat conftest.err >&5
  4369. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4370. - (exit $ac_status); } &&
  4371. - { ac_try='test -z "$ac_c_werror_flag"
  4372. - || test ! -s conftest.err'
  4373. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4374. - (eval $ac_try) 2>&5
  4375. - ac_status=$?
  4376. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4377. - (exit $ac_status); }; } &&
  4378. - { ac_try='test -s conftest.$ac_objext'
  4379. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4380. - (eval $ac_try) 2>&5
  4381. - ac_status=$?
  4382. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4383. - (exit $ac_status); }; }; then
  4384. + (exit $ac_status); } && {
  4385. + test -z "$ac_c_werror_flag" ||
  4386. + test ! -s conftest.err
  4387. + } && test -s conftest.$ac_objext; then
  4388. eval "$as_ac_Header=yes"
  4389. else
  4390. echo "$as_me: failed program was:" >&5
  4391. sed 's/^/| /' conftest.$ac_ext >&5
  4392. -eval "$as_ac_Header=no"
  4393. + eval "$as_ac_Header=no"
  4394. fi
  4395. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4396. +
  4397. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4398. fi
  4399. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4400. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4401. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4402. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4403. +echo "${ECHO_T}$ac_res" >&6; }
  4404. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4405. cat >>confdefs.h <<_ACEOF
  4406. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4407. @@ -4162,9 +4760,9 @@ done
  4408. for ac_header in netinet/ip_icmp.h
  4409. do
  4410. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4411. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4412. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4413. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4414. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4415. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4416. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4417. echo $ECHO_N "(cached) $ECHO_C" >&6
  4418. else
  4419. cat >conftest.$ac_ext <<_ACEOF
  4420. @@ -4186,38 +4784,35 @@ cat >>conftest.$ac_ext <<_ACEOF
  4421. #include <$ac_header>
  4422. _ACEOF
  4423. rm -f conftest.$ac_objext
  4424. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4425. - (eval $ac_compile) 2>conftest.er1
  4426. +if { (ac_try="$ac_compile"
  4427. +case "(($ac_try" in
  4428. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4429. + *) ac_try_echo=$ac_try;;
  4430. +esac
  4431. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4432. + (eval "$ac_compile") 2>conftest.er1
  4433. ac_status=$?
  4434. grep -v '^ *+' conftest.er1 >conftest.err
  4435. rm -f conftest.er1
  4436. cat conftest.err >&5
  4437. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4438. - (exit $ac_status); } &&
  4439. - { ac_try='test -z "$ac_c_werror_flag"
  4440. - || test ! -s conftest.err'
  4441. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4442. - (eval $ac_try) 2>&5
  4443. - ac_status=$?
  4444. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4445. - (exit $ac_status); }; } &&
  4446. - { ac_try='test -s conftest.$ac_objext'
  4447. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4448. - (eval $ac_try) 2>&5
  4449. - ac_status=$?
  4450. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4451. - (exit $ac_status); }; }; then
  4452. + (exit $ac_status); } && {
  4453. + test -z "$ac_c_werror_flag" ||
  4454. + test ! -s conftest.err
  4455. + } && test -s conftest.$ac_objext; then
  4456. eval "$as_ac_Header=yes"
  4457. else
  4458. echo "$as_me: failed program was:" >&5
  4459. sed 's/^/| /' conftest.$ac_ext >&5
  4460. -eval "$as_ac_Header=no"
  4461. + eval "$as_ac_Header=no"
  4462. fi
  4463. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4464. +
  4465. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4466. fi
  4467. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4468. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4469. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4470. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4471. +echo "${ECHO_T}$ac_res" >&6; }
  4472. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4473. cat >>confdefs.h <<_ACEOF
  4474. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4475. @@ -4232,18 +4827,19 @@ done
  4476. for ac_header in cygwin/icmp.h
  4477. do
  4478. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4479. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4480. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4481. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4482. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4483. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4484. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4485. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4486. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4487. echo $ECHO_N "(cached) $ECHO_C" >&6
  4488. fi
  4489. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4490. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4491. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4492. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4493. +echo "${ECHO_T}$ac_res" >&6; }
  4494. else
  4495. # Is the header compilable?
  4496. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4497. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4498. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4499. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4500. cat >conftest.$ac_ext <<_ACEOF
  4501. /* confdefs.h. */
  4502. _ACEOF
  4503. @@ -4254,41 +4850,37 @@ $ac_includes_default
  4504. #include <$ac_header>
  4505. _ACEOF
  4506. rm -f conftest.$ac_objext
  4507. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4508. - (eval $ac_compile) 2>conftest.er1
  4509. +if { (ac_try="$ac_compile"
  4510. +case "(($ac_try" in
  4511. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4512. + *) ac_try_echo=$ac_try;;
  4513. +esac
  4514. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4515. + (eval "$ac_compile") 2>conftest.er1
  4516. ac_status=$?
  4517. grep -v '^ *+' conftest.er1 >conftest.err
  4518. rm -f conftest.er1
  4519. cat conftest.err >&5
  4520. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4521. - (exit $ac_status); } &&
  4522. - { ac_try='test -z "$ac_c_werror_flag"
  4523. - || test ! -s conftest.err'
  4524. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4525. - (eval $ac_try) 2>&5
  4526. - ac_status=$?
  4527. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4528. - (exit $ac_status); }; } &&
  4529. - { ac_try='test -s conftest.$ac_objext'
  4530. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4531. - (eval $ac_try) 2>&5
  4532. - ac_status=$?
  4533. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4534. - (exit $ac_status); }; }; then
  4535. + (exit $ac_status); } && {
  4536. + test -z "$ac_c_werror_flag" ||
  4537. + test ! -s conftest.err
  4538. + } && test -s conftest.$ac_objext; then
  4539. ac_header_compiler=yes
  4540. else
  4541. echo "$as_me: failed program was:" >&5
  4542. sed 's/^/| /' conftest.$ac_ext >&5
  4543. -ac_header_compiler=no
  4544. + ac_header_compiler=no
  4545. fi
  4546. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4547. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4548. -echo "${ECHO_T}$ac_header_compiler" >&6
  4549. +
  4550. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4551. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4552. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4553. # Is the header present?
  4554. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4555. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4556. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4557. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4558. cat >conftest.$ac_ext <<_ACEOF
  4559. /* confdefs.h. */
  4560. _ACEOF
  4561. @@ -4297,24 +4889,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4562. /* end confdefs.h. */
  4563. #include <$ac_header>
  4564. _ACEOF
  4565. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4566. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4567. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4568. +case "(($ac_try" in
  4569. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4570. + *) ac_try_echo=$ac_try;;
  4571. +esac
  4572. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4573. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4574. ac_status=$?
  4575. grep -v '^ *+' conftest.er1 >conftest.err
  4576. rm -f conftest.er1
  4577. cat conftest.err >&5
  4578. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4579. - (exit $ac_status); } >/dev/null; then
  4580. - if test -s conftest.err; then
  4581. - ac_cpp_err=$ac_c_preproc_warn_flag
  4582. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4583. - else
  4584. - ac_cpp_err=
  4585. - fi
  4586. -else
  4587. - ac_cpp_err=yes
  4588. -fi
  4589. -if test -z "$ac_cpp_err"; then
  4590. + (exit $ac_status); } >/dev/null && {
  4591. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4592. + test ! -s conftest.err
  4593. + }; then
  4594. ac_header_preproc=yes
  4595. else
  4596. echo "$as_me: failed program was:" >&5
  4597. @@ -4322,9 +4912,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4598. ac_header_preproc=no
  4599. fi
  4600. +
  4601. rm -f conftest.err conftest.$ac_ext
  4602. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4603. -echo "${ECHO_T}$ac_header_preproc" >&6
  4604. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4605. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4606. # So? What about this header?
  4607. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4608. @@ -4348,25 +4939,24 @@ echo "$as_me: WARNING: $ac_header: s
  4609. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4610. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4611. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4612. - (
  4613. - cat <<\_ASBOX
  4614. + ( cat <<\_ASBOX
  4615. ## ------------------------------ ##
  4616. ## Report this to nils@sipsak.org ##
  4617. ## ------------------------------ ##
  4618. _ASBOX
  4619. - ) |
  4620. - sed "s/^/$as_me: WARNING: /" >&2
  4621. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4622. ;;
  4623. esac
  4624. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4625. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4626. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4627. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4628. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4629. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4630. echo $ECHO_N "(cached) $ECHO_C" >&6
  4631. else
  4632. eval "$as_ac_Header=\$ac_header_preproc"
  4633. fi
  4634. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4635. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4636. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4637. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4638. +echo "${ECHO_T}$ac_res" >&6; }
  4639. fi
  4640. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4641. @@ -4380,8 +4970,8 @@ done
  4642. # Checks for typedefs, structures, and compiler characteristics.
  4643. -echo "$as_me:$LINENO: checking for size_t" >&5
  4644. -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
  4645. +{ echo "$as_me:$LINENO: checking for size_t" >&5
  4646. +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  4647. if test "${ac_cv_type_size_t+set}" = set; then
  4648. echo $ECHO_N "(cached) $ECHO_C" >&6
  4649. else
  4650. @@ -4392,62 +4982,59 @@ cat confdefs.h >>conftest.$ac_ext
  4651. cat >>conftest.$ac_ext <<_ACEOF
  4652. /* end confdefs.h. */
  4653. $ac_includes_default
  4654. +typedef size_t ac__type_new_;
  4655. int
  4656. main ()
  4657. {
  4658. -if ((size_t *) 0)
  4659. +if ((ac__type_new_ *) 0)
  4660. return 0;
  4661. -if (sizeof (size_t))
  4662. +if (sizeof (ac__type_new_))
  4663. return 0;
  4664. ;
  4665. return 0;
  4666. }
  4667. _ACEOF
  4668. rm -f conftest.$ac_objext
  4669. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4670. - (eval $ac_compile) 2>conftest.er1
  4671. +if { (ac_try="$ac_compile"
  4672. +case "(($ac_try" in
  4673. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4674. + *) ac_try_echo=$ac_try;;
  4675. +esac
  4676. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4677. + (eval "$ac_compile") 2>conftest.er1
  4678. ac_status=$?
  4679. grep -v '^ *+' conftest.er1 >conftest.err
  4680. rm -f conftest.er1
  4681. cat conftest.err >&5
  4682. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4683. - (exit $ac_status); } &&
  4684. - { ac_try='test -z "$ac_c_werror_flag"
  4685. - || test ! -s conftest.err'
  4686. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4687. - (eval $ac_try) 2>&5
  4688. - ac_status=$?
  4689. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4690. - (exit $ac_status); }; } &&
  4691. - { ac_try='test -s conftest.$ac_objext'
  4692. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4693. - (eval $ac_try) 2>&5
  4694. - ac_status=$?
  4695. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4696. - (exit $ac_status); }; }; then
  4697. + (exit $ac_status); } && {
  4698. + test -z "$ac_c_werror_flag" ||
  4699. + test ! -s conftest.err
  4700. + } && test -s conftest.$ac_objext; then
  4701. ac_cv_type_size_t=yes
  4702. else
  4703. echo "$as_me: failed program was:" >&5
  4704. sed 's/^/| /' conftest.$ac_ext >&5
  4705. -ac_cv_type_size_t=no
  4706. + ac_cv_type_size_t=no
  4707. fi
  4708. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4709. +
  4710. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4711. fi
  4712. -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  4713. -echo "${ECHO_T}$ac_cv_type_size_t" >&6
  4714. +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  4715. +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  4716. if test $ac_cv_type_size_t = yes; then
  4717. :
  4718. else
  4719. cat >>confdefs.h <<_ACEOF
  4720. -#define size_t unsigned
  4721. +#define size_t unsigned int
  4722. _ACEOF
  4723. fi
  4724. -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4725. -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
  4726. +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  4727. +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  4728. if test "${ac_cv_header_time+set}" = set; then
  4729. echo $ECHO_N "(cached) $ECHO_C" >&6
  4730. else
  4731. @@ -4471,38 +5058,34 @@ return 0;
  4732. }
  4733. _ACEOF
  4734. rm -f conftest.$ac_objext
  4735. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4736. - (eval $ac_compile) 2>conftest.er1
  4737. +if { (ac_try="$ac_compile"
  4738. +case "(($ac_try" in
  4739. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4740. + *) ac_try_echo=$ac_try;;
  4741. +esac
  4742. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4743. + (eval "$ac_compile") 2>conftest.er1
  4744. ac_status=$?
  4745. grep -v '^ *+' conftest.er1 >conftest.err
  4746. rm -f conftest.er1
  4747. cat conftest.err >&5
  4748. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4749. - (exit $ac_status); } &&
  4750. - { ac_try='test -z "$ac_c_werror_flag"
  4751. - || test ! -s conftest.err'
  4752. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4753. - (eval $ac_try) 2>&5
  4754. - ac_status=$?
  4755. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4756. - (exit $ac_status); }; } &&
  4757. - { ac_try='test -s conftest.$ac_objext'
  4758. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4759. - (eval $ac_try) 2>&5
  4760. - ac_status=$?
  4761. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4762. - (exit $ac_status); }; }; then
  4763. + (exit $ac_status); } && {
  4764. + test -z "$ac_c_werror_flag" ||
  4765. + test ! -s conftest.err
  4766. + } && test -s conftest.$ac_objext; then
  4767. ac_cv_header_time=yes
  4768. else
  4769. echo "$as_me: failed program was:" >&5
  4770. sed 's/^/| /' conftest.$ac_ext >&5
  4771. -ac_cv_header_time=no
  4772. + ac_cv_header_time=no
  4773. fi
  4774. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4775. +
  4776. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4777. fi
  4778. -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4779. -echo "${ECHO_T}$ac_cv_header_time" >&6
  4780. +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  4781. +echo "${ECHO_T}$ac_cv_header_time" >&6; }
  4782. if test $ac_cv_header_time = yes; then
  4783. cat >>confdefs.h <<\_ACEOF
  4784. @@ -4517,18 +5100,19 @@ fi
  4785. for ac_header in stdlib.h
  4786. do
  4787. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4788. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4789. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  4790. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4791. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4792. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4793. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  4794. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4795. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4796. echo $ECHO_N "(cached) $ECHO_C" >&6
  4797. fi
  4798. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4799. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4800. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4801. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4802. +echo "${ECHO_T}$ac_res" >&6; }
  4803. else
  4804. # Is the header compilable?
  4805. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4806. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  4807. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4808. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  4809. cat >conftest.$ac_ext <<_ACEOF
  4810. /* confdefs.h. */
  4811. _ACEOF
  4812. @@ -4539,41 +5123,37 @@ $ac_includes_default
  4813. #include <$ac_header>
  4814. _ACEOF
  4815. rm -f conftest.$ac_objext
  4816. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  4817. - (eval $ac_compile) 2>conftest.er1
  4818. +if { (ac_try="$ac_compile"
  4819. +case "(($ac_try" in
  4820. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4821. + *) ac_try_echo=$ac_try;;
  4822. +esac
  4823. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4824. + (eval "$ac_compile") 2>conftest.er1
  4825. ac_status=$?
  4826. grep -v '^ *+' conftest.er1 >conftest.err
  4827. rm -f conftest.er1
  4828. cat conftest.err >&5
  4829. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4830. - (exit $ac_status); } &&
  4831. - { ac_try='test -z "$ac_c_werror_flag"
  4832. - || test ! -s conftest.err'
  4833. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4834. - (eval $ac_try) 2>&5
  4835. - ac_status=$?
  4836. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4837. - (exit $ac_status); }; } &&
  4838. - { ac_try='test -s conftest.$ac_objext'
  4839. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4840. - (eval $ac_try) 2>&5
  4841. - ac_status=$?
  4842. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4843. - (exit $ac_status); }; }; then
  4844. + (exit $ac_status); } && {
  4845. + test -z "$ac_c_werror_flag" ||
  4846. + test ! -s conftest.err
  4847. + } && test -s conftest.$ac_objext; then
  4848. ac_header_compiler=yes
  4849. else
  4850. echo "$as_me: failed program was:" >&5
  4851. sed 's/^/| /' conftest.$ac_ext >&5
  4852. -ac_header_compiler=no
  4853. + ac_header_compiler=no
  4854. fi
  4855. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  4856. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4857. -echo "${ECHO_T}$ac_header_compiler" >&6
  4858. +
  4859. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4860. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4861. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  4862. # Is the header present?
  4863. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4864. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  4865. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4866. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  4867. cat >conftest.$ac_ext <<_ACEOF
  4868. /* confdefs.h. */
  4869. _ACEOF
  4870. @@ -4582,24 +5162,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  4871. /* end confdefs.h. */
  4872. #include <$ac_header>
  4873. _ACEOF
  4874. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  4875. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  4876. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  4877. +case "(($ac_try" in
  4878. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4879. + *) ac_try_echo=$ac_try;;
  4880. +esac
  4881. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4882. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4883. ac_status=$?
  4884. grep -v '^ *+' conftest.er1 >conftest.err
  4885. rm -f conftest.er1
  4886. cat conftest.err >&5
  4887. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4888. - (exit $ac_status); } >/dev/null; then
  4889. - if test -s conftest.err; then
  4890. - ac_cpp_err=$ac_c_preproc_warn_flag
  4891. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  4892. - else
  4893. - ac_cpp_err=
  4894. - fi
  4895. -else
  4896. - ac_cpp_err=yes
  4897. -fi
  4898. -if test -z "$ac_cpp_err"; then
  4899. + (exit $ac_status); } >/dev/null && {
  4900. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4901. + test ! -s conftest.err
  4902. + }; then
  4903. ac_header_preproc=yes
  4904. else
  4905. echo "$as_me: failed program was:" >&5
  4906. @@ -4607,9 +5185,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  4907. ac_header_preproc=no
  4908. fi
  4909. +
  4910. rm -f conftest.err conftest.$ac_ext
  4911. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4912. -echo "${ECHO_T}$ac_header_preproc" >&6
  4913. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4914. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  4915. # So? What about this header?
  4916. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4917. @@ -4633,25 +5212,24 @@ echo "$as_me: WARNING: $ac_header: s
  4918. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4919. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4920. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4921. - (
  4922. - cat <<\_ASBOX
  4923. + ( cat <<\_ASBOX
  4924. ## ------------------------------ ##
  4925. ## Report this to nils@sipsak.org ##
  4926. ## ------------------------------ ##
  4927. _ASBOX
  4928. - ) |
  4929. - sed "s/^/$as_me: WARNING: /" >&2
  4930. + ) | sed "s/^/$as_me: WARNING: /" >&2
  4931. ;;
  4932. esac
  4933. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  4934. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  4935. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  4936. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  4937. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  4938. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4939. echo $ECHO_N "(cached) $ECHO_C" >&6
  4940. else
  4941. eval "$as_ac_Header=\$ac_header_preproc"
  4942. fi
  4943. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  4944. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  4945. +ac_res=`eval echo '${'$as_ac_Header'}'`
  4946. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  4947. +echo "${ECHO_T}$ac_res" >&6; }
  4948. fi
  4949. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  4950. @@ -4663,8 +5241,8 @@ fi
  4951. done
  4952. -echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
  4953. -echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
  4954. +{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
  4955. +echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
  4956. if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
  4957. echo $ECHO_N "(cached) $ECHO_C" >&6
  4958. else
  4959. @@ -4677,7 +5255,7 @@ _ACEOF
  4960. cat confdefs.h >>conftest.$ac_ext
  4961. cat >>conftest.$ac_ext <<_ACEOF
  4962. /* end confdefs.h. */
  4963. -#if STDC_HEADERS || HAVE_STDLIB_H
  4964. +#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4965. # include <stdlib.h>
  4966. #else
  4967. char *malloc ();
  4968. @@ -4686,19 +5264,28 @@ char *malloc ();
  4969. int
  4970. main ()
  4971. {
  4972. -exit (malloc (0) ? 0 : 1);
  4973. +return ! malloc (0);
  4974. ;
  4975. return 0;
  4976. }
  4977. _ACEOF
  4978. rm -f conftest$ac_exeext
  4979. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  4980. - (eval $ac_link) 2>&5
  4981. +if { (ac_try="$ac_link"
  4982. +case "(($ac_try" in
  4983. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4984. + *) ac_try_echo=$ac_try;;
  4985. +esac
  4986. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4987. + (eval "$ac_link") 2>&5
  4988. ac_status=$?
  4989. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4990. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4991. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  4992. - (eval $ac_try) 2>&5
  4993. + { (case "(($ac_try" in
  4994. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4995. + *) ac_try_echo=$ac_try;;
  4996. +esac
  4997. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4998. + (eval "$ac_try") 2>&5
  4999. ac_status=$?
  5000. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5001. (exit $ac_status); }; }; then
  5002. @@ -4711,11 +5298,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5003. ( exit $ac_status )
  5004. ac_cv_func_malloc_0_nonnull=no
  5005. fi
  5006. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5007. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5008. fi
  5009. +
  5010. +
  5011. fi
  5012. -echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
  5013. -echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
  5014. +{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
  5015. +echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
  5016. if test $ac_cv_func_malloc_0_nonnull = yes; then
  5017. cat >>confdefs.h <<\_ACEOF
  5018. @@ -4727,12 +5316,10 @@ else
  5019. #define HAVE_MALLOC 0
  5020. _ACEOF
  5021. - case $LIBOBJS in
  5022. - "malloc.$ac_objext" | \
  5023. - *" malloc.$ac_objext" | \
  5024. - "malloc.$ac_objext "* | \
  5025. + case " $LIBOBJS " in
  5026. *" malloc.$ac_objext "* ) ;;
  5027. - *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
  5028. + *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  5029. + ;;
  5030. esac
  5031. @@ -4749,18 +5336,19 @@ fi
  5032. for ac_header in sys/select.h sys/socket.h
  5033. do
  5034. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5035. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5036. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5037. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5038. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5039. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5040. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5041. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5042. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5043. echo $ECHO_N "(cached) $ECHO_C" >&6
  5044. fi
  5045. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5046. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5047. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5048. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5049. +echo "${ECHO_T}$ac_res" >&6; }
  5050. else
  5051. # Is the header compilable?
  5052. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5053. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5054. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5055. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5056. cat >conftest.$ac_ext <<_ACEOF
  5057. /* confdefs.h. */
  5058. _ACEOF
  5059. @@ -4771,41 +5359,37 @@ $ac_includes_default
  5060. #include <$ac_header>
  5061. _ACEOF
  5062. rm -f conftest.$ac_objext
  5063. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5064. - (eval $ac_compile) 2>conftest.er1
  5065. +if { (ac_try="$ac_compile"
  5066. +case "(($ac_try" in
  5067. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5068. + *) ac_try_echo=$ac_try;;
  5069. +esac
  5070. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5071. + (eval "$ac_compile") 2>conftest.er1
  5072. ac_status=$?
  5073. grep -v '^ *+' conftest.er1 >conftest.err
  5074. rm -f conftest.er1
  5075. cat conftest.err >&5
  5076. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5077. - (exit $ac_status); } &&
  5078. - { ac_try='test -z "$ac_c_werror_flag"
  5079. - || test ! -s conftest.err'
  5080. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5081. - (eval $ac_try) 2>&5
  5082. - ac_status=$?
  5083. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5084. - (exit $ac_status); }; } &&
  5085. - { ac_try='test -s conftest.$ac_objext'
  5086. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5087. - (eval $ac_try) 2>&5
  5088. - ac_status=$?
  5089. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5090. - (exit $ac_status); }; }; then
  5091. + (exit $ac_status); } && {
  5092. + test -z "$ac_c_werror_flag" ||
  5093. + test ! -s conftest.err
  5094. + } && test -s conftest.$ac_objext; then
  5095. ac_header_compiler=yes
  5096. else
  5097. echo "$as_me: failed program was:" >&5
  5098. sed 's/^/| /' conftest.$ac_ext >&5
  5099. -ac_header_compiler=no
  5100. + ac_header_compiler=no
  5101. fi
  5102. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5103. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5104. -echo "${ECHO_T}$ac_header_compiler" >&6
  5105. +
  5106. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5107. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5108. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  5109. # Is the header present?
  5110. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5111. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5112. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5113. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  5114. cat >conftest.$ac_ext <<_ACEOF
  5115. /* confdefs.h. */
  5116. _ACEOF
  5117. @@ -4814,24 +5398,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  5118. /* end confdefs.h. */
  5119. #include <$ac_header>
  5120. _ACEOF
  5121. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5122. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5123. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5124. +case "(($ac_try" in
  5125. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5126. + *) ac_try_echo=$ac_try;;
  5127. +esac
  5128. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5129. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5130. ac_status=$?
  5131. grep -v '^ *+' conftest.er1 >conftest.err
  5132. rm -f conftest.er1
  5133. cat conftest.err >&5
  5134. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5135. - (exit $ac_status); } >/dev/null; then
  5136. - if test -s conftest.err; then
  5137. - ac_cpp_err=$ac_c_preproc_warn_flag
  5138. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5139. - else
  5140. - ac_cpp_err=
  5141. - fi
  5142. -else
  5143. - ac_cpp_err=yes
  5144. -fi
  5145. -if test -z "$ac_cpp_err"; then
  5146. + (exit $ac_status); } >/dev/null && {
  5147. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5148. + test ! -s conftest.err
  5149. + }; then
  5150. ac_header_preproc=yes
  5151. else
  5152. echo "$as_me: failed program was:" >&5
  5153. @@ -4839,9 +5421,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5154. ac_header_preproc=no
  5155. fi
  5156. +
  5157. rm -f conftest.err conftest.$ac_ext
  5158. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5159. -echo "${ECHO_T}$ac_header_preproc" >&6
  5160. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5161. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  5162. # So? What about this header?
  5163. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5164. @@ -4865,25 +5448,24 @@ echo "$as_me: WARNING: $ac_header: s
  5165. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5166. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5167. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5168. - (
  5169. - cat <<\_ASBOX
  5170. + ( cat <<\_ASBOX
  5171. ## ------------------------------ ##
  5172. ## Report this to nils@sipsak.org ##
  5173. ## ------------------------------ ##
  5174. _ASBOX
  5175. - ) |
  5176. - sed "s/^/$as_me: WARNING: /" >&2
  5177. + ) | sed "s/^/$as_me: WARNING: /" >&2
  5178. ;;
  5179. esac
  5180. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  5181. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5182. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5183. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  5184. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5185. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5186. echo $ECHO_N "(cached) $ECHO_C" >&6
  5187. else
  5188. eval "$as_ac_Header=\$ac_header_preproc"
  5189. fi
  5190. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5191. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5192. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5193. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5194. +echo "${ECHO_T}$ac_res" >&6; }
  5195. fi
  5196. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5197. @@ -4895,13 +5477,13 @@ fi
  5198. done
  5199. -echo "$as_me:$LINENO: checking types of arguments for select" >&5
  5200. -echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
  5201. +{ echo "$as_me:$LINENO: checking types of arguments for select" >&5
  5202. +echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
  5203. if test "${ac_cv_func_select_args+set}" = set; then
  5204. echo $ECHO_N "(cached) $ECHO_C" >&6
  5205. else
  5206. for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  5207. - for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
  5208. + for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
  5209. for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  5210. cat >conftest.$ac_ext <<_ACEOF
  5211. /* confdefs.h. */
  5212. @@ -4910,10 +5492,10 @@ cat confdefs.h >>conftest.$ac_ext
  5213. cat >>conftest.$ac_ext <<_ACEOF
  5214. /* end confdefs.h. */
  5215. $ac_includes_default
  5216. -#if HAVE_SYS_SELECT_H
  5217. +#ifdef HAVE_SYS_SELECT_H
  5218. # include <sys/select.h>
  5219. #endif
  5220. -#if HAVE_SYS_SOCKET_H
  5221. +#ifdef HAVE_SYS_SOCKET_H
  5222. # include <sys/socket.h>
  5223. #endif
  5224. @@ -4928,34 +5510,31 @@ extern int select ($ac_arg1,
  5225. }
  5226. _ACEOF
  5227. rm -f conftest.$ac_objext
  5228. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5229. - (eval $ac_compile) 2>conftest.er1
  5230. +if { (ac_try="$ac_compile"
  5231. +case "(($ac_try" in
  5232. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5233. + *) ac_try_echo=$ac_try;;
  5234. +esac
  5235. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5236. + (eval "$ac_compile") 2>conftest.er1
  5237. ac_status=$?
  5238. grep -v '^ *+' conftest.er1 >conftest.err
  5239. rm -f conftest.er1
  5240. cat conftest.err >&5
  5241. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5242. - (exit $ac_status); } &&
  5243. - { ac_try='test -z "$ac_c_werror_flag"
  5244. - || test ! -s conftest.err'
  5245. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5246. - (eval $ac_try) 2>&5
  5247. - ac_status=$?
  5248. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5249. - (exit $ac_status); }; } &&
  5250. - { ac_try='test -s conftest.$ac_objext'
  5251. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5252. - (eval $ac_try) 2>&5
  5253. - ac_status=$?
  5254. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5255. - (exit $ac_status); }; }; then
  5256. + (exit $ac_status); } && {
  5257. + test -z "$ac_c_werror_flag" ||
  5258. + test ! -s conftest.err
  5259. + } && test -s conftest.$ac_objext; then
  5260. ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
  5261. else
  5262. echo "$as_me: failed program was:" >&5
  5263. sed 's/^/| /' conftest.$ac_ext >&5
  5264. +
  5265. fi
  5266. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5267. +
  5268. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5269. done
  5270. done
  5271. done
  5272. @@ -4963,8 +5542,8 @@ done
  5273. : ${ac_cv_func_select_args='int,int *,struct timeval *'}
  5274. fi
  5275. -echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  5276. -echo "${ECHO_T}$ac_cv_func_select_args" >&6
  5277. +{ echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
  5278. +echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
  5279. ac_save_IFS=$IFS; IFS=','
  5280. set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  5281. IFS=$ac_save_IFS
  5282. @@ -5005,9 +5584,9 @@ rm -f conftest*
  5283. for ac_func in getchar gethostbyname gethostname getopt getpid gettimeofday memset ntohs regcomp select socket strchr strcmp strstr strtol uname
  5284. do
  5285. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5286. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  5287. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5288. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  5289. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  5290. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  5291. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5292. echo $ECHO_N "(cached) $ECHO_C" >&6
  5293. else
  5294. cat >conftest.$ac_ext <<_ACEOF
  5295. @@ -5033,68 +5612,60 @@ cat >>conftest.$ac_ext <<_ACEOF
  5296. #undef $ac_func
  5297. -/* Override any gcc2 internal prototype to avoid an error. */
  5298. +/* Override any GCC internal prototype to avoid an error.
  5299. + Use char because int might match the return type of a GCC
  5300. + builtin and then its argument prototype would still apply. */
  5301. #ifdef __cplusplus
  5302. extern "C"
  5303. -{
  5304. #endif
  5305. -/* We use char because int might match the return type of a gcc2
  5306. - builtin and then its argument prototype would still apply. */
  5307. char $ac_func ();
  5308. /* The GNU C library defines this for functions which it implements
  5309. to always fail with ENOSYS. Some functions are actually named
  5310. something starting with __ and the normal name is an alias. */
  5311. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5312. +#if defined __stub_$ac_func || defined __stub___$ac_func
  5313. choke me
  5314. -#else
  5315. -char (*f) () = $ac_func;
  5316. -#endif
  5317. -#ifdef __cplusplus
  5318. -}
  5319. #endif
  5320. int
  5321. main ()
  5322. {
  5323. -return f != $ac_func;
  5324. +return $ac_func ();
  5325. ;
  5326. return 0;
  5327. }
  5328. _ACEOF
  5329. rm -f conftest.$ac_objext conftest$ac_exeext
  5330. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5331. - (eval $ac_link) 2>conftest.er1
  5332. +if { (ac_try="$ac_link"
  5333. +case "(($ac_try" in
  5334. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5335. + *) ac_try_echo=$ac_try;;
  5336. +esac
  5337. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5338. + (eval "$ac_link") 2>conftest.er1
  5339. ac_status=$?
  5340. grep -v '^ *+' conftest.er1 >conftest.err
  5341. rm -f conftest.er1
  5342. cat conftest.err >&5
  5343. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5344. - (exit $ac_status); } &&
  5345. - { ac_try='test -z "$ac_c_werror_flag"
  5346. - || test ! -s conftest.err'
  5347. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5348. - (eval $ac_try) 2>&5
  5349. - ac_status=$?
  5350. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5351. - (exit $ac_status); }; } &&
  5352. - { ac_try='test -s conftest$ac_exeext'
  5353. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5354. - (eval $ac_try) 2>&5
  5355. - ac_status=$?
  5356. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5357. - (exit $ac_status); }; }; then
  5358. + (exit $ac_status); } && {
  5359. + test -z "$ac_c_werror_flag" ||
  5360. + test ! -s conftest.err
  5361. + } && test -s conftest$ac_exeext &&
  5362. + $as_test_x conftest$ac_exeext; then
  5363. eval "$as_ac_var=yes"
  5364. else
  5365. echo "$as_me: failed program was:" >&5
  5366. sed 's/^/| /' conftest.$ac_ext >&5
  5367. -eval "$as_ac_var=no"
  5368. + eval "$as_ac_var=no"
  5369. fi
  5370. -rm -f conftest.err conftest.$ac_objext \
  5371. +
  5372. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5373. conftest$ac_exeext conftest.$ac_ext
  5374. fi
  5375. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5376. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5377. +ac_res=`eval echo '${'$as_ac_var'}'`
  5378. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5379. +echo "${ECHO_T}$ac_res" >&6; }
  5380. if test `eval echo '${'$as_ac_var'}'` = yes; then
  5381. cat >>confdefs.h <<_ACEOF
  5382. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5383. @@ -5116,9 +5687,9 @@ done
  5384. for ac_func in calloc getdomainname getopt_long inet_ntop strncasecmp strcasestr
  5385. do
  5386. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  5387. -echo "$as_me:$LINENO: checking for $ac_func" >&5
  5388. -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
  5389. -if eval "test \"\${$as_ac_var+set}\" = set"; then
  5390. +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
  5391. +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  5392. +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  5393. echo $ECHO_N "(cached) $ECHO_C" >&6
  5394. else
  5395. cat >conftest.$ac_ext <<_ACEOF
  5396. @@ -5144,68 +5715,60 @@ cat >>conftest.$ac_ext <<_ACEOF
  5397. #undef $ac_func
  5398. -/* Override any gcc2 internal prototype to avoid an error. */
  5399. +/* Override any GCC internal prototype to avoid an error.
  5400. + Use char because int might match the return type of a GCC
  5401. + builtin and then its argument prototype would still apply. */
  5402. #ifdef __cplusplus
  5403. extern "C"
  5404. -{
  5405. #endif
  5406. -/* We use char because int might match the return type of a gcc2
  5407. - builtin and then its argument prototype would still apply. */
  5408. char $ac_func ();
  5409. /* The GNU C library defines this for functions which it implements
  5410. to always fail with ENOSYS. Some functions are actually named
  5411. something starting with __ and the normal name is an alias. */
  5412. -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
  5413. +#if defined __stub_$ac_func || defined __stub___$ac_func
  5414. choke me
  5415. -#else
  5416. -char (*f) () = $ac_func;
  5417. -#endif
  5418. -#ifdef __cplusplus
  5419. -}
  5420. #endif
  5421. int
  5422. main ()
  5423. {
  5424. -return f != $ac_func;
  5425. +return $ac_func ();
  5426. ;
  5427. return 0;
  5428. }
  5429. _ACEOF
  5430. rm -f conftest.$ac_objext conftest$ac_exeext
  5431. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5432. - (eval $ac_link) 2>conftest.er1
  5433. +if { (ac_try="$ac_link"
  5434. +case "(($ac_try" in
  5435. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5436. + *) ac_try_echo=$ac_try;;
  5437. +esac
  5438. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5439. + (eval "$ac_link") 2>conftest.er1
  5440. ac_status=$?
  5441. grep -v '^ *+' conftest.er1 >conftest.err
  5442. rm -f conftest.er1
  5443. cat conftest.err >&5
  5444. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5445. - (exit $ac_status); } &&
  5446. - { ac_try='test -z "$ac_c_werror_flag"
  5447. - || test ! -s conftest.err'
  5448. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5449. - (eval $ac_try) 2>&5
  5450. - ac_status=$?
  5451. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5452. - (exit $ac_status); }; } &&
  5453. - { ac_try='test -s conftest$ac_exeext'
  5454. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5455. - (eval $ac_try) 2>&5
  5456. - ac_status=$?
  5457. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5458. - (exit $ac_status); }; }; then
  5459. + (exit $ac_status); } && {
  5460. + test -z "$ac_c_werror_flag" ||
  5461. + test ! -s conftest.err
  5462. + } && test -s conftest$ac_exeext &&
  5463. + $as_test_x conftest$ac_exeext; then
  5464. eval "$as_ac_var=yes"
  5465. else
  5466. echo "$as_me: failed program was:" >&5
  5467. sed 's/^/| /' conftest.$ac_ext >&5
  5468. -eval "$as_ac_var=no"
  5469. + eval "$as_ac_var=no"
  5470. fi
  5471. -rm -f conftest.err conftest.$ac_objext \
  5472. +
  5473. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5474. conftest$ac_exeext conftest.$ac_ext
  5475. fi
  5476. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
  5477. -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
  5478. +ac_res=`eval echo '${'$as_ac_var'}'`
  5479. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5480. +echo "${ECHO_T}$ac_res" >&6; }
  5481. if test `eval echo '${'$as_ac_var'}'` = yes; then
  5482. cat >>confdefs.h <<_ACEOF
  5483. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  5484. @@ -5216,30 +5779,30 @@ done
  5485. -echo "$as_me:$LINENO: checking disabled gnutls" >&5
  5486. -echo $ECHO_N "checking disabled gnutls... $ECHO_C" >&6
  5487. -# Check whether --enable-gnutls or --disable-gnutls was given.
  5488. +{ echo "$as_me:$LINENO: checking disabled gnutls" >&5
  5489. +echo $ECHO_N "checking disabled gnutls... $ECHO_C" >&6; }
  5490. +# Check whether --enable-gnutls was given.
  5491. if test "${enable_gnutls+set}" = set; then
  5492. - enableval="$enable_gnutls"
  5493. -
  5494. - echo "$as_me:$LINENO: result: yes" >&5
  5495. -echo "${ECHO_T}yes" >&6
  5496. + enableval=$enable_gnutls;
  5497. + { echo "$as_me:$LINENO: result: yes" >&5
  5498. +echo "${ECHO_T}yes" >&6; }
  5499. DISABLE_GNUTLS=yes
  5500. else
  5501. - echo "$as_me:$LINENO: result: not requested" >&5
  5502. -echo "${ECHO_T}not requested" >&6
  5503. + { echo "$as_me:$LINENO: result: not requested" >&5
  5504. +echo "${ECHO_T}not requested" >&6; }
  5505. -fi;
  5506. +fi
  5507. -# Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
  5508. +
  5509. +# Check whether --with-libgnutls-prefix was given.
  5510. if test "${with_libgnutls_prefix+set}" = set; then
  5511. - withval="$with_libgnutls_prefix"
  5512. - libgnutls_config_prefix="$withval"
  5513. + withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
  5514. else
  5515. libgnutls_config_prefix=""
  5516. -fi;
  5517. +fi
  5518. +
  5519. if test x$libgnutls_config_prefix != x ; then
  5520. if test x${LIBGNUTLS_CONFIG+set} != xset ; then
  5521. @@ -5250,8 +5813,8 @@ fi;
  5522. if test "$DISABLE_GNUTLS" != "yes"; then
  5523. # Extract the first word of "libgnutls-config", so it can be a program name with args.
  5524. set dummy libgnutls-config; ac_word=$2
  5525. -echo "$as_me:$LINENO: checking for $ac_word" >&5
  5526. -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  5527. +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
  5528. +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5529. if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
  5530. echo $ECHO_N "(cached) $ECHO_C" >&6
  5531. else
  5532. @@ -5266,32 +5829,33 @@ do
  5533. IFS=$as_save_IFS
  5534. test -z "$as_dir" && as_dir=.
  5535. for ac_exec_ext in '' $ac_executable_extensions; do
  5536. - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5537. + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5538. ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  5539. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5540. break 2
  5541. fi
  5542. done
  5543. done
  5544. +IFS=$as_save_IFS
  5545. test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
  5546. ;;
  5547. esac
  5548. fi
  5549. LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
  5550. -
  5551. if test -n "$LIBGNUTLS_CONFIG"; then
  5552. - echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
  5553. -echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
  5554. + { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
  5555. +echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
  5556. else
  5557. - echo "$as_me:$LINENO: result: no" >&5
  5558. -echo "${ECHO_T}no" >&6
  5559. + { echo "$as_me:$LINENO: result: no" >&5
  5560. +echo "${ECHO_T}no" >&6; }
  5561. fi
  5562. +
  5563. fi
  5564. min_libgnutls_version=1.0.0
  5565. - echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
  5566. -echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6
  5567. + { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
  5568. +echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
  5569. no_libgnutls=""
  5570. if test "$DISABLE_GNUTLS" = "yes"; then
  5571. LIBGNUTLS_CONFIG=no
  5572. @@ -5375,13 +5939,22 @@ main ()
  5573. _ACEOF
  5574. rm -f conftest$ac_exeext
  5575. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5576. - (eval $ac_link) 2>&5
  5577. +if { (ac_try="$ac_link"
  5578. +case "(($ac_try" in
  5579. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5580. + *) ac_try_echo=$ac_try;;
  5581. +esac
  5582. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5583. + (eval "$ac_link") 2>&5
  5584. ac_status=$?
  5585. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5586. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5587. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5588. - (eval $ac_try) 2>&5
  5589. + { (case "(($ac_try" in
  5590. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5591. + *) ac_try_echo=$ac_try;;
  5592. +esac
  5593. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5594. + (eval "$ac_try") 2>&5
  5595. ac_status=$?
  5596. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5597. (exit $ac_status); }; }; then
  5598. @@ -5394,15 +5967,17 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5599. ( exit $ac_status )
  5600. no_libgnutls=yes
  5601. fi
  5602. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5603. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5604. fi
  5605. +
  5606. +
  5607. CFLAGS="$ac_save_CFLAGS"
  5608. LIBS="$ac_save_LIBS"
  5609. fi
  5610. if test "x$no_libgnutls" = x ; then
  5611. - echo "$as_me:$LINENO: result: yes" >&5
  5612. -echo "${ECHO_T}yes" >&6
  5613. + { echo "$as_me:$LINENO: result: yes" >&5
  5614. +echo "${ECHO_T}yes" >&6; }
  5615. cat >>confdefs.h <<\_ACEOF
  5616. #define HAVE_GNUTLS 1
  5617. @@ -5415,8 +5990,8 @@ _ACEOF
  5618. if test -f conf.libgnutlstest ; then
  5619. :
  5620. else
  5621. - echo "$as_me:$LINENO: result: no" >&5
  5622. -echo "${ECHO_T}no" >&6
  5623. + { echo "$as_me:$LINENO: result: no" >&5
  5624. +echo "${ECHO_T}no" >&6; }
  5625. fi
  5626. if test "$LIBGNUTLS_CONFIG" != "no" ; then
  5627. if test -f conf.libgnutlstest ; then
  5628. @@ -5446,27 +6021,23 @@ main ()
  5629. }
  5630. _ACEOF
  5631. rm -f conftest.$ac_objext conftest$ac_exeext
  5632. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5633. - (eval $ac_link) 2>conftest.er1
  5634. +if { (ac_try="$ac_link"
  5635. +case "(($ac_try" in
  5636. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5637. + *) ac_try_echo=$ac_try;;
  5638. +esac
  5639. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5640. + (eval "$ac_link") 2>conftest.er1
  5641. ac_status=$?
  5642. grep -v '^ *+' conftest.er1 >conftest.err
  5643. rm -f conftest.er1
  5644. cat conftest.err >&5
  5645. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5646. - (exit $ac_status); } &&
  5647. - { ac_try='test -z "$ac_c_werror_flag"
  5648. - || test ! -s conftest.err'
  5649. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5650. - (eval $ac_try) 2>&5
  5651. - ac_status=$?
  5652. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5653. - (exit $ac_status); }; } &&
  5654. - { ac_try='test -s conftest$ac_exeext'
  5655. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5656. - (eval $ac_try) 2>&5
  5657. - ac_status=$?
  5658. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5659. - (exit $ac_status); }; }; then
  5660. + (exit $ac_status); } && {
  5661. + test -z "$ac_c_werror_flag" ||
  5662. + test ! -s conftest.err
  5663. + } && test -s conftest$ac_exeext &&
  5664. + $as_test_x conftest$ac_exeext; then
  5665. echo "*** The test program compiled, but did not run. This usually means"
  5666. echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
  5667. echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
  5668. @@ -5481,12 +6052,13 @@ else
  5669. echo "$as_me: failed program was:" >&5
  5670. sed 's/^/| /' conftest.$ac_ext >&5
  5671. - echo "*** The test program failed to compile or link. See the file config.log for the"
  5672. + echo "*** The test program failed to compile or link. See the file config.log for the"
  5673. echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
  5674. echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
  5675. echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
  5676. fi
  5677. -rm -f conftest.err conftest.$ac_objext \
  5678. +
  5679. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5680. conftest$ac_exeext conftest.$ac_ext
  5681. CFLAGS="$ac_save_CFLAGS"
  5682. LIBS="$ac_save_LIBS"
  5683. @@ -5506,18 +6078,19 @@ if test "X$LIBGNUTLS_LIBS" == "X";then
  5684. for ac_header in openssl/md5.h
  5685. do
  5686. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5687. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5688. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5689. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5690. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5691. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5692. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5693. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5694. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5695. echo $ECHO_N "(cached) $ECHO_C" >&6
  5696. fi
  5697. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5698. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5699. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5700. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5701. +echo "${ECHO_T}$ac_res" >&6; }
  5702. else
  5703. # Is the header compilable?
  5704. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5705. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5706. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5707. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5708. cat >conftest.$ac_ext <<_ACEOF
  5709. /* confdefs.h. */
  5710. _ACEOF
  5711. @@ -5528,41 +6101,37 @@ $ac_includes_default
  5712. #include <$ac_header>
  5713. _ACEOF
  5714. rm -f conftest.$ac_objext
  5715. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5716. - (eval $ac_compile) 2>conftest.er1
  5717. +if { (ac_try="$ac_compile"
  5718. +case "(($ac_try" in
  5719. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5720. + *) ac_try_echo=$ac_try;;
  5721. +esac
  5722. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5723. + (eval "$ac_compile") 2>conftest.er1
  5724. ac_status=$?
  5725. grep -v '^ *+' conftest.er1 >conftest.err
  5726. rm -f conftest.er1
  5727. cat conftest.err >&5
  5728. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5729. - (exit $ac_status); } &&
  5730. - { ac_try='test -z "$ac_c_werror_flag"
  5731. - || test ! -s conftest.err'
  5732. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5733. - (eval $ac_try) 2>&5
  5734. - ac_status=$?
  5735. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5736. - (exit $ac_status); }; } &&
  5737. - { ac_try='test -s conftest.$ac_objext'
  5738. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5739. - (eval $ac_try) 2>&5
  5740. - ac_status=$?
  5741. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5742. - (exit $ac_status); }; }; then
  5743. + (exit $ac_status); } && {
  5744. + test -z "$ac_c_werror_flag" ||
  5745. + test ! -s conftest.err
  5746. + } && test -s conftest.$ac_objext; then
  5747. ac_header_compiler=yes
  5748. else
  5749. echo "$as_me: failed program was:" >&5
  5750. sed 's/^/| /' conftest.$ac_ext >&5
  5751. -ac_header_compiler=no
  5752. + ac_header_compiler=no
  5753. fi
  5754. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  5755. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5756. -echo "${ECHO_T}$ac_header_compiler" >&6
  5757. +
  5758. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5759. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5760. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  5761. # Is the header present?
  5762. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5763. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  5764. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  5765. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  5766. cat >conftest.$ac_ext <<_ACEOF
  5767. /* confdefs.h. */
  5768. _ACEOF
  5769. @@ -5571,24 +6140,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  5770. /* end confdefs.h. */
  5771. #include <$ac_header>
  5772. _ACEOF
  5773. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  5774. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  5775. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  5776. +case "(($ac_try" in
  5777. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5778. + *) ac_try_echo=$ac_try;;
  5779. +esac
  5780. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5781. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5782. ac_status=$?
  5783. grep -v '^ *+' conftest.er1 >conftest.err
  5784. rm -f conftest.er1
  5785. cat conftest.err >&5
  5786. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5787. - (exit $ac_status); } >/dev/null; then
  5788. - if test -s conftest.err; then
  5789. - ac_cpp_err=$ac_c_preproc_warn_flag
  5790. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  5791. - else
  5792. - ac_cpp_err=
  5793. - fi
  5794. -else
  5795. - ac_cpp_err=yes
  5796. -fi
  5797. -if test -z "$ac_cpp_err"; then
  5798. + (exit $ac_status); } >/dev/null && {
  5799. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5800. + test ! -s conftest.err
  5801. + }; then
  5802. ac_header_preproc=yes
  5803. else
  5804. echo "$as_me: failed program was:" >&5
  5805. @@ -5596,9 +6163,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  5806. ac_header_preproc=no
  5807. fi
  5808. +
  5809. rm -f conftest.err conftest.$ac_ext
  5810. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5811. -echo "${ECHO_T}$ac_header_preproc" >&6
  5812. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5813. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  5814. # So? What about this header?
  5815. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5816. @@ -5622,33 +6190,32 @@ echo "$as_me: WARNING: $ac_header: s
  5817. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  5818. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  5819. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  5820. - (
  5821. - cat <<\_ASBOX
  5822. + ( cat <<\_ASBOX
  5823. ## ------------------------------ ##
  5824. ## Report this to nils@sipsak.org ##
  5825. ## ------------------------------ ##
  5826. _ASBOX
  5827. - ) |
  5828. - sed "s/^/$as_me: WARNING: /" >&2
  5829. + ) | sed "s/^/$as_me: WARNING: /" >&2
  5830. ;;
  5831. esac
  5832. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  5833. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5834. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5835. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  5836. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5837. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5838. echo $ECHO_N "(cached) $ECHO_C" >&6
  5839. else
  5840. eval "$as_ac_Header=\$ac_header_preproc"
  5841. fi
  5842. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5843. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5844. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5845. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5846. +echo "${ECHO_T}$ac_res" >&6; }
  5847. fi
  5848. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5849. cat >>confdefs.h <<_ACEOF
  5850. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5851. _ACEOF
  5852. - echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5
  5853. -echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6
  5854. + { echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5
  5855. +echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6; }
  5856. if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then
  5857. echo $ECHO_N "(cached) $ECHO_C" >&6
  5858. else
  5859. @@ -5661,56 +6228,53 @@ cat confdefs.h >>conftest.$ac_ext
  5860. cat >>conftest.$ac_ext <<_ACEOF
  5861. /* end confdefs.h. */
  5862. -/* Override any gcc2 internal prototype to avoid an error. */
  5863. +/* Override any GCC internal prototype to avoid an error.
  5864. + Use char because int might match the return type of a GCC
  5865. + builtin and then its argument prototype would still apply. */
  5866. #ifdef __cplusplus
  5867. extern "C"
  5868. #endif
  5869. -/* We use char because int might match the return type of a gcc2
  5870. - builtin and then its argument prototype would still apply. */
  5871. char MD5_Init ();
  5872. int
  5873. main ()
  5874. {
  5875. -MD5_Init ();
  5876. +return MD5_Init ();
  5877. ;
  5878. return 0;
  5879. }
  5880. _ACEOF
  5881. rm -f conftest.$ac_objext conftest$ac_exeext
  5882. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  5883. - (eval $ac_link) 2>conftest.er1
  5884. +if { (ac_try="$ac_link"
  5885. +case "(($ac_try" in
  5886. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5887. + *) ac_try_echo=$ac_try;;
  5888. +esac
  5889. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5890. + (eval "$ac_link") 2>conftest.er1
  5891. ac_status=$?
  5892. grep -v '^ *+' conftest.er1 >conftest.err
  5893. rm -f conftest.er1
  5894. cat conftest.err >&5
  5895. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5896. - (exit $ac_status); } &&
  5897. - { ac_try='test -z "$ac_c_werror_flag"
  5898. - || test ! -s conftest.err'
  5899. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5900. - (eval $ac_try) 2>&5
  5901. - ac_status=$?
  5902. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5903. - (exit $ac_status); }; } &&
  5904. - { ac_try='test -s conftest$ac_exeext'
  5905. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5906. - (eval $ac_try) 2>&5
  5907. - ac_status=$?
  5908. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5909. - (exit $ac_status); }; }; then
  5910. + (exit $ac_status); } && {
  5911. + test -z "$ac_c_werror_flag" ||
  5912. + test ! -s conftest.err
  5913. + } && test -s conftest$ac_exeext &&
  5914. + $as_test_x conftest$ac_exeext; then
  5915. ac_cv_lib_crypto_MD5_Init=yes
  5916. else
  5917. echo "$as_me: failed program was:" >&5
  5918. sed 's/^/| /' conftest.$ac_ext >&5
  5919. -ac_cv_lib_crypto_MD5_Init=no
  5920. + ac_cv_lib_crypto_MD5_Init=no
  5921. fi
  5922. -rm -f conftest.err conftest.$ac_objext \
  5923. +
  5924. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5925. conftest$ac_exeext conftest.$ac_ext
  5926. LIBS=$ac_check_lib_save_LIBS
  5927. fi
  5928. -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
  5929. -echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6
  5930. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5
  5931. +echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6; }
  5932. if test $ac_cv_lib_crypto_MD5_Init = yes; then
  5933. cat >>confdefs.h <<\_ACEOF
  5934. @@ -5732,18 +6296,19 @@ fi
  5935. for ac_header in openssl/sha.h
  5936. do
  5937. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5938. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5939. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  5940. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  5941. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  5942. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5943. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5944. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5945. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5946. echo $ECHO_N "(cached) $ECHO_C" >&6
  5947. fi
  5948. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  5949. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  5950. +ac_res=`eval echo '${'$as_ac_Header'}'`
  5951. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  5952. +echo "${ECHO_T}$ac_res" >&6; }
  5953. else
  5954. # Is the header compilable?
  5955. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5956. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  5957. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  5958. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  5959. cat >conftest.$ac_ext <<_ACEOF
  5960. /* confdefs.h. */
  5961. _ACEOF
  5962. @@ -5754,41 +6319,37 @@ $ac_includes_default
  5963. #include <$ac_header>
  5964. _ACEOF
  5965. rm -f conftest.$ac_objext
  5966. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5967. - (eval $ac_compile) 2>conftest.er1
  5968. +if { (ac_try="$ac_compile"
  5969. +case "(($ac_try" in
  5970. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5971. + *) ac_try_echo=$ac_try;;
  5972. +esac
  5973. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5974. + (eval "$ac_compile") 2>conftest.er1
  5975. ac_status=$?
  5976. grep -v '^ *+' conftest.er1 >conftest.err
  5977. rm -f conftest.er1
  5978. cat conftest.err >&5
  5979. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5980. - (exit $ac_status); } &&
  5981. - { ac_try='test -z "$ac_c_werror_flag"
  5982. - || test ! -s conftest.err'
  5983. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5984. - (eval $ac_try) 2>&5
  5985. - ac_status=$?
  5986. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5987. - (exit $ac_status); }; } &&
  5988. - { ac_try='test -s conftest.$ac_objext'
  5989. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  5990. - (eval $ac_try) 2>&5
  5991. - ac_status=$?
  5992. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5993. - (exit $ac_status); }; }; then
  5994. + (exit $ac_status); } && {
  5995. + test -z "$ac_c_werror_flag" ||
  5996. + test ! -s conftest.err
  5997. + } && test -s conftest.$ac_objext; then
  5998. ac_header_compiler=yes
  5999. else
  6000. echo "$as_me: failed program was:" >&5
  6001. sed 's/^/| /' conftest.$ac_ext >&5
  6002. -ac_header_compiler=no
  6003. + ac_header_compiler=no
  6004. fi
  6005. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6006. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6007. -echo "${ECHO_T}$ac_header_compiler" >&6
  6008. +
  6009. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6010. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6011. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  6012. # Is the header present?
  6013. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6014. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  6015. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6016. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6017. cat >conftest.$ac_ext <<_ACEOF
  6018. /* confdefs.h. */
  6019. _ACEOF
  6020. @@ -5797,24 +6358,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  6021. /* end confdefs.h. */
  6022. #include <$ac_header>
  6023. _ACEOF
  6024. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  6025. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  6026. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  6027. +case "(($ac_try" in
  6028. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6029. + *) ac_try_echo=$ac_try;;
  6030. +esac
  6031. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6032. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6033. ac_status=$?
  6034. grep -v '^ *+' conftest.er1 >conftest.err
  6035. rm -f conftest.er1
  6036. cat conftest.err >&5
  6037. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6038. - (exit $ac_status); } >/dev/null; then
  6039. - if test -s conftest.err; then
  6040. - ac_cpp_err=$ac_c_preproc_warn_flag
  6041. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6042. - else
  6043. - ac_cpp_err=
  6044. - fi
  6045. -else
  6046. - ac_cpp_err=yes
  6047. -fi
  6048. -if test -z "$ac_cpp_err"; then
  6049. + (exit $ac_status); } >/dev/null && {
  6050. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6051. + test ! -s conftest.err
  6052. + }; then
  6053. ac_header_preproc=yes
  6054. else
  6055. echo "$as_me: failed program was:" >&5
  6056. @@ -5822,9 +6381,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6057. ac_header_preproc=no
  6058. fi
  6059. +
  6060. rm -f conftest.err conftest.$ac_ext
  6061. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6062. -echo "${ECHO_T}$ac_header_preproc" >&6
  6063. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6064. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  6065. # So? What about this header?
  6066. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6067. @@ -5848,33 +6408,32 @@ echo "$as_me: WARNING: $ac_header: s
  6068. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6069. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6070. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6071. - (
  6072. - cat <<\_ASBOX
  6073. + ( cat <<\_ASBOX
  6074. ## ------------------------------ ##
  6075. ## Report this to nils@sipsak.org ##
  6076. ## ------------------------------ ##
  6077. _ASBOX
  6078. - ) |
  6079. - sed "s/^/$as_me: WARNING: /" >&2
  6080. + ) | sed "s/^/$as_me: WARNING: /" >&2
  6081. ;;
  6082. esac
  6083. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  6084. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6085. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6086. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  6087. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6088. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6089. echo $ECHO_N "(cached) $ECHO_C" >&6
  6090. else
  6091. eval "$as_ac_Header=\$ac_header_preproc"
  6092. fi
  6093. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6094. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6095. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6096. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6097. +echo "${ECHO_T}$ac_res" >&6; }
  6098. fi
  6099. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6100. cat >>confdefs.h <<_ACEOF
  6101. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6102. _ACEOF
  6103. - echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
  6104. -echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6
  6105. + { echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5
  6106. +echo $ECHO_N "checking for SHA1_Init in -lcrypto... $ECHO_C" >&6; }
  6107. if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then
  6108. echo $ECHO_N "(cached) $ECHO_C" >&6
  6109. else
  6110. @@ -5887,56 +6446,53 @@ cat confdefs.h >>conftest.$ac_ext
  6111. cat >>conftest.$ac_ext <<_ACEOF
  6112. /* end confdefs.h. */
  6113. -/* Override any gcc2 internal prototype to avoid an error. */
  6114. +/* Override any GCC internal prototype to avoid an error.
  6115. + Use char because int might match the return type of a GCC
  6116. + builtin and then its argument prototype would still apply. */
  6117. #ifdef __cplusplus
  6118. extern "C"
  6119. #endif
  6120. -/* We use char because int might match the return type of a gcc2
  6121. - builtin and then its argument prototype would still apply. */
  6122. char SHA1_Init ();
  6123. int
  6124. main ()
  6125. {
  6126. -SHA1_Init ();
  6127. +return SHA1_Init ();
  6128. ;
  6129. return 0;
  6130. }
  6131. _ACEOF
  6132. rm -f conftest.$ac_objext conftest$ac_exeext
  6133. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6134. - (eval $ac_link) 2>conftest.er1
  6135. +if { (ac_try="$ac_link"
  6136. +case "(($ac_try" in
  6137. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6138. + *) ac_try_echo=$ac_try;;
  6139. +esac
  6140. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6141. + (eval "$ac_link") 2>conftest.er1
  6142. ac_status=$?
  6143. grep -v '^ *+' conftest.er1 >conftest.err
  6144. rm -f conftest.er1
  6145. cat conftest.err >&5
  6146. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6147. - (exit $ac_status); } &&
  6148. - { ac_try='test -z "$ac_c_werror_flag"
  6149. - || test ! -s conftest.err'
  6150. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6151. - (eval $ac_try) 2>&5
  6152. - ac_status=$?
  6153. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6154. - (exit $ac_status); }; } &&
  6155. - { ac_try='test -s conftest$ac_exeext'
  6156. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6157. - (eval $ac_try) 2>&5
  6158. - ac_status=$?
  6159. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6160. - (exit $ac_status); }; }; then
  6161. + (exit $ac_status); } && {
  6162. + test -z "$ac_c_werror_flag" ||
  6163. + test ! -s conftest.err
  6164. + } && test -s conftest$ac_exeext &&
  6165. + $as_test_x conftest$ac_exeext; then
  6166. ac_cv_lib_crypto_SHA1_Init=yes
  6167. else
  6168. echo "$as_me: failed program was:" >&5
  6169. sed 's/^/| /' conftest.$ac_ext >&5
  6170. -ac_cv_lib_crypto_SHA1_Init=no
  6171. + ac_cv_lib_crypto_SHA1_Init=no
  6172. fi
  6173. -rm -f conftest.err conftest.$ac_objext \
  6174. +
  6175. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6176. conftest$ac_exeext conftest.$ac_ext
  6177. LIBS=$ac_check_lib_save_LIBS
  6178. fi
  6179. -echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_Init" >&5
  6180. -echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_Init" >&6
  6181. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_Init" >&5
  6182. +echo "${ECHO_T}$ac_cv_lib_crypto_SHA1_Init" >&6; }
  6183. if test $ac_cv_lib_crypto_SHA1_Init = yes; then
  6184. cat >>confdefs.h <<\_ACEOF
  6185. @@ -5954,8 +6510,8 @@ done
  6186. - echo "$as_me:$LINENO: checking for ares_version.h" >&5
  6187. -echo $ECHO_N "checking for ares_version.h... $ECHO_C" >&6
  6188. + { echo "$as_me:$LINENO: checking for ares_version.h" >&5
  6189. +echo $ECHO_N "checking for ares_version.h... $ECHO_C" >&6; }
  6190. ares_incdir=NONE
  6191. ares_libdir=NONE
  6192. @@ -5973,14 +6529,14 @@ echo $ECHO_N "checking for ares_version.
  6193. done
  6194. if test "$ares_incdir" = "NONE"; then
  6195. - echo "$as_me:$LINENO: result: not found" >&5
  6196. -echo "${ECHO_T}not found" >&6
  6197. + { echo "$as_me:$LINENO: result: not found" >&5
  6198. +echo "${ECHO_T}not found" >&6; }
  6199. else
  6200. - echo "$as_me:$LINENO: result: found at $ares_incdir" >&5
  6201. -echo "${ECHO_T}found at $ares_incdir" >&6
  6202. + { echo "$as_me:$LINENO: result: found at $ares_incdir" >&5
  6203. +echo "${ECHO_T}found at $ares_incdir" >&6; }
  6204. - echo "$as_me:$LINENO: checking for c-ares lib" >&5
  6205. -echo $ECHO_N "checking for c-ares lib... $ECHO_C" >&6
  6206. + { echo "$as_me:$LINENO: checking for c-ares lib" >&5
  6207. +echo $ECHO_N "checking for c-ares lib... $ECHO_C" >&6; }
  6208. for dir in $ares_libdirs; do
  6209. for extension in $ares_libexten; do
  6210. @@ -5997,15 +6553,15 @@ echo $ECHO_N "checking for c-ares lib...
  6211. done
  6212. if test "$ares_libdir" = "NONE"; then
  6213. - echo "$as_me:$LINENO: result: not found" >&5
  6214. -echo "${ECHO_T}not found" >&6
  6215. + { echo "$as_me:$LINENO: result: not found" >&5
  6216. +echo "${ECHO_T}not found" >&6; }
  6217. else
  6218. - echo "$as_me:$LINENO: result: found at $ares_libdir" >&5
  6219. -echo "${ECHO_T}found at $ares_libdir" >&6
  6220. + { echo "$as_me:$LINENO: result: found at $ares_libdir" >&5
  6221. +echo "${ECHO_T}found at $ares_libdir" >&6; }
  6222. fi
  6223. - echo "$as_me:$LINENO: checking for ares_version in -lcares" >&5
  6224. -echo $ECHO_N "checking for ares_version in -lcares... $ECHO_C" >&6
  6225. + { echo "$as_me:$LINENO: checking for ares_version in -lcares" >&5
  6226. +echo $ECHO_N "checking for ares_version in -lcares... $ECHO_C" >&6; }
  6227. if test "${ac_cv_lib_cares_ares_version+set}" = set; then
  6228. echo $ECHO_N "(cached) $ECHO_C" >&6
  6229. else
  6230. @@ -6018,56 +6574,53 @@ cat confdefs.h >>conftest.$ac_ext
  6231. cat >>conftest.$ac_ext <<_ACEOF
  6232. /* end confdefs.h. */
  6233. -/* Override any gcc2 internal prototype to avoid an error. */
  6234. +/* Override any GCC internal prototype to avoid an error.
  6235. + Use char because int might match the return type of a GCC
  6236. + builtin and then its argument prototype would still apply. */
  6237. #ifdef __cplusplus
  6238. extern "C"
  6239. #endif
  6240. -/* We use char because int might match the return type of a gcc2
  6241. - builtin and then its argument prototype would still apply. */
  6242. char ares_version ();
  6243. int
  6244. main ()
  6245. {
  6246. -ares_version ();
  6247. +return ares_version ();
  6248. ;
  6249. return 0;
  6250. }
  6251. _ACEOF
  6252. rm -f conftest.$ac_objext conftest$ac_exeext
  6253. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6254. - (eval $ac_link) 2>conftest.er1
  6255. +if { (ac_try="$ac_link"
  6256. +case "(($ac_try" in
  6257. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6258. + *) ac_try_echo=$ac_try;;
  6259. +esac
  6260. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6261. + (eval "$ac_link") 2>conftest.er1
  6262. ac_status=$?
  6263. grep -v '^ *+' conftest.er1 >conftest.err
  6264. rm -f conftest.er1
  6265. cat conftest.err >&5
  6266. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6267. - (exit $ac_status); } &&
  6268. - { ac_try='test -z "$ac_c_werror_flag"
  6269. - || test ! -s conftest.err'
  6270. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6271. - (eval $ac_try) 2>&5
  6272. - ac_status=$?
  6273. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6274. - (exit $ac_status); }; } &&
  6275. - { ac_try='test -s conftest$ac_exeext'
  6276. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6277. - (eval $ac_try) 2>&5
  6278. - ac_status=$?
  6279. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6280. - (exit $ac_status); }; }; then
  6281. + (exit $ac_status); } && {
  6282. + test -z "$ac_c_werror_flag" ||
  6283. + test ! -s conftest.err
  6284. + } && test -s conftest$ac_exeext &&
  6285. + $as_test_x conftest$ac_exeext; then
  6286. ac_cv_lib_cares_ares_version=yes
  6287. else
  6288. echo "$as_me: failed program was:" >&5
  6289. sed 's/^/| /' conftest.$ac_ext >&5
  6290. -ac_cv_lib_cares_ares_version=no
  6291. + ac_cv_lib_cares_ares_version=no
  6292. fi
  6293. -rm -f conftest.err conftest.$ac_objext \
  6294. +
  6295. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6296. conftest$ac_exeext conftest.$ac_ext
  6297. LIBS=$ac_check_lib_save_LIBS
  6298. fi
  6299. -echo "$as_me:$LINENO: result: $ac_cv_lib_cares_ares_version" >&5
  6300. -echo "${ECHO_T}$ac_cv_lib_cares_ares_version" >&6
  6301. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_cares_ares_version" >&5
  6302. +echo "${ECHO_T}$ac_cv_lib_cares_ares_version" >&6; }
  6303. if test $ac_cv_lib_cares_ares_version = yes; then
  6304. cat >>confdefs.h <<\_ACEOF
  6305. @@ -6085,8 +6638,8 @@ fi
  6306. if test "X$SIPSAK_HAVE_ARES" == "X"; then
  6307. - echo "$as_me:$LINENO: checking for ruli.h" >&5
  6308. -echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6
  6309. + { echo "$as_me:$LINENO: checking for ruli.h" >&5
  6310. +echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6; }
  6311. ruli_incdir=NONE
  6312. ruli_libdir=NONE
  6313. @@ -6103,14 +6656,14 @@ echo $ECHO_N "checking for ruli.h... $EC
  6314. done
  6315. if test "$ruli_incdir" = "NONE"; then
  6316. - echo "$as_me:$LINENO: result: not found" >&5
  6317. -echo "${ECHO_T}not found" >&6
  6318. + { echo "$as_me:$LINENO: result: not found" >&5
  6319. +echo "${ECHO_T}not found" >&6; }
  6320. else
  6321. - echo "$as_me:$LINENO: result: found at $ruli_incdir" >&5
  6322. -echo "${ECHO_T}found at $ruli_incdir" >&6
  6323. + { echo "$as_me:$LINENO: result: found at $ruli_incdir" >&5
  6324. +echo "${ECHO_T}found at $ruli_incdir" >&6; }
  6325. - echo "$as_me:$LINENO: checking for libruli" >&5
  6326. -echo $ECHO_N "checking for libruli... $ECHO_C" >&6
  6327. + { echo "$as_me:$LINENO: checking for libruli" >&5
  6328. +echo $ECHO_N "checking for libruli... $ECHO_C" >&6; }
  6329. for dir in $ruli_libdirs; do
  6330. for extension in $ruli_libexten; do
  6331. @@ -6126,15 +6679,15 @@ echo $ECHO_N "checking for libruli... $E
  6332. done
  6333. if test "$ruli_libdir" = "NONE"; then
  6334. - echo "$as_me:$LINENO: result: not found" >&5
  6335. -echo "${ECHO_T}not found" >&6
  6336. + { echo "$as_me:$LINENO: result: not found" >&5
  6337. +echo "${ECHO_T}not found" >&6; }
  6338. else
  6339. - echo "$as_me:$LINENO: result: found at $ruli_libdir" >&5
  6340. -echo "${ECHO_T}found at $ruli_libdir" >&6
  6341. + { echo "$as_me:$LINENO: result: found at $ruli_libdir" >&5
  6342. +echo "${ECHO_T}found at $ruli_libdir" >&6; }
  6343. fi
  6344. - echo "$as_me:$LINENO: checking for ruli_sync_query in -lruli" >&5
  6345. -echo $ECHO_N "checking for ruli_sync_query in -lruli... $ECHO_C" >&6
  6346. + { echo "$as_me:$LINENO: checking for ruli_sync_query in -lruli" >&5
  6347. +echo $ECHO_N "checking for ruli_sync_query in -lruli... $ECHO_C" >&6; }
  6348. if test "${ac_cv_lib_ruli_ruli_sync_query+set}" = set; then
  6349. echo $ECHO_N "(cached) $ECHO_C" >&6
  6350. else
  6351. @@ -6147,56 +6700,53 @@ cat confdefs.h >>conftest.$ac_ext
  6352. cat >>conftest.$ac_ext <<_ACEOF
  6353. /* end confdefs.h. */
  6354. -/* Override any gcc2 internal prototype to avoid an error. */
  6355. +/* Override any GCC internal prototype to avoid an error.
  6356. + Use char because int might match the return type of a GCC
  6357. + builtin and then its argument prototype would still apply. */
  6358. #ifdef __cplusplus
  6359. extern "C"
  6360. #endif
  6361. -/* We use char because int might match the return type of a gcc2
  6362. - builtin and then its argument prototype would still apply. */
  6363. char ruli_sync_query ();
  6364. int
  6365. main ()
  6366. {
  6367. -ruli_sync_query ();
  6368. +return ruli_sync_query ();
  6369. ;
  6370. return 0;
  6371. }
  6372. _ACEOF
  6373. rm -f conftest.$ac_objext conftest$ac_exeext
  6374. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6375. - (eval $ac_link) 2>conftest.er1
  6376. +if { (ac_try="$ac_link"
  6377. +case "(($ac_try" in
  6378. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6379. + *) ac_try_echo=$ac_try;;
  6380. +esac
  6381. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6382. + (eval "$ac_link") 2>conftest.er1
  6383. ac_status=$?
  6384. grep -v '^ *+' conftest.er1 >conftest.err
  6385. rm -f conftest.er1
  6386. cat conftest.err >&5
  6387. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6388. - (exit $ac_status); } &&
  6389. - { ac_try='test -z "$ac_c_werror_flag"
  6390. - || test ! -s conftest.err'
  6391. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6392. - (eval $ac_try) 2>&5
  6393. - ac_status=$?
  6394. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6395. - (exit $ac_status); }; } &&
  6396. - { ac_try='test -s conftest$ac_exeext'
  6397. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6398. - (eval $ac_try) 2>&5
  6399. - ac_status=$?
  6400. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6401. - (exit $ac_status); }; }; then
  6402. + (exit $ac_status); } && {
  6403. + test -z "$ac_c_werror_flag" ||
  6404. + test ! -s conftest.err
  6405. + } && test -s conftest$ac_exeext &&
  6406. + $as_test_x conftest$ac_exeext; then
  6407. ac_cv_lib_ruli_ruli_sync_query=yes
  6408. else
  6409. echo "$as_me: failed program was:" >&5
  6410. sed 's/^/| /' conftest.$ac_ext >&5
  6411. -ac_cv_lib_ruli_ruli_sync_query=no
  6412. + ac_cv_lib_ruli_ruli_sync_query=no
  6413. fi
  6414. -rm -f conftest.err conftest.$ac_objext \
  6415. +
  6416. +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6417. conftest$ac_exeext conftest.$ac_ext
  6418. LIBS=$ac_check_lib_save_LIBS
  6419. fi
  6420. -echo "$as_me:$LINENO: result: $ac_cv_lib_ruli_ruli_sync_query" >&5
  6421. -echo "${ECHO_T}$ac_cv_lib_ruli_ruli_sync_query" >&6
  6422. +{ echo "$as_me:$LINENO: result: $ac_cv_lib_ruli_ruli_sync_query" >&5
  6423. +echo "${ECHO_T}$ac_cv_lib_ruli_ruli_sync_query" >&6; }
  6424. if test $ac_cv_lib_ruli_ruli_sync_query = yes; then
  6425. cat >>confdefs.h <<\_ACEOF
  6426. @@ -6215,18 +6765,19 @@ else
  6427. for ac_header in arpa/nameser.h
  6428. do
  6429. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6430. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6431. - echo "$as_me:$LINENO: checking for $ac_header" >&5
  6432. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6433. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6434. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6435. + { echo "$as_me:$LINENO: checking for $ac_header" >&5
  6436. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6437. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6438. echo $ECHO_N "(cached) $ECHO_C" >&6
  6439. fi
  6440. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6441. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6442. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6443. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6444. +echo "${ECHO_T}$ac_res" >&6; }
  6445. else
  6446. # Is the header compilable?
  6447. -echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6448. -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
  6449. +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6450. +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  6451. cat >conftest.$ac_ext <<_ACEOF
  6452. /* confdefs.h. */
  6453. _ACEOF
  6454. @@ -6237,41 +6788,37 @@ $ac_includes_default
  6455. #include <$ac_header>
  6456. _ACEOF
  6457. rm -f conftest.$ac_objext
  6458. -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6459. - (eval $ac_compile) 2>conftest.er1
  6460. +if { (ac_try="$ac_compile"
  6461. +case "(($ac_try" in
  6462. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6463. + *) ac_try_echo=$ac_try;;
  6464. +esac
  6465. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6466. + (eval "$ac_compile") 2>conftest.er1
  6467. ac_status=$?
  6468. grep -v '^ *+' conftest.er1 >conftest.err
  6469. rm -f conftest.er1
  6470. cat conftest.err >&5
  6471. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6472. - (exit $ac_status); } &&
  6473. - { ac_try='test -z "$ac_c_werror_flag"
  6474. - || test ! -s conftest.err'
  6475. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6476. - (eval $ac_try) 2>&5
  6477. - ac_status=$?
  6478. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6479. - (exit $ac_status); }; } &&
  6480. - { ac_try='test -s conftest.$ac_objext'
  6481. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  6482. - (eval $ac_try) 2>&5
  6483. - ac_status=$?
  6484. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6485. - (exit $ac_status); }; }; then
  6486. + (exit $ac_status); } && {
  6487. + test -z "$ac_c_werror_flag" ||
  6488. + test ! -s conftest.err
  6489. + } && test -s conftest.$ac_objext; then
  6490. ac_header_compiler=yes
  6491. else
  6492. echo "$as_me: failed program was:" >&5
  6493. sed 's/^/| /' conftest.$ac_ext >&5
  6494. -ac_header_compiler=no
  6495. + ac_header_compiler=no
  6496. fi
  6497. -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  6498. -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6499. -echo "${ECHO_T}$ac_header_compiler" >&6
  6500. +
  6501. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6502. +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6503. +echo "${ECHO_T}$ac_header_compiler" >&6; }
  6504. # Is the header present?
  6505. -echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6506. -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
  6507. +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6508. +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  6509. cat >conftest.$ac_ext <<_ACEOF
  6510. /* confdefs.h. */
  6511. _ACEOF
  6512. @@ -6280,24 +6827,22 @@ cat >>conftest.$ac_ext <<_ACEOF
  6513. /* end confdefs.h. */
  6514. #include <$ac_header>
  6515. _ACEOF
  6516. -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  6517. - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  6518. +if { (ac_try="$ac_cpp conftest.$ac_ext"
  6519. +case "(($ac_try" in
  6520. + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6521. + *) ac_try_echo=$ac_try;;
  6522. +esac
  6523. +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6524. + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6525. ac_status=$?
  6526. grep -v '^ *+' conftest.er1 >conftest.err
  6527. rm -f conftest.er1
  6528. cat conftest.err >&5
  6529. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6530. - (exit $ac_status); } >/dev/null; then
  6531. - if test -s conftest.err; then
  6532. - ac_cpp_err=$ac_c_preproc_warn_flag
  6533. - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  6534. - else
  6535. - ac_cpp_err=
  6536. - fi
  6537. -else
  6538. - ac_cpp_err=yes
  6539. -fi
  6540. -if test -z "$ac_cpp_err"; then
  6541. + (exit $ac_status); } >/dev/null && {
  6542. + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6543. + test ! -s conftest.err
  6544. + }; then
  6545. ac_header_preproc=yes
  6546. else
  6547. echo "$as_me: failed program was:" >&5
  6548. @@ -6305,9 +6850,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
  6549. ac_header_preproc=no
  6550. fi
  6551. +
  6552. rm -f conftest.err conftest.$ac_ext
  6553. -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6554. -echo "${ECHO_T}$ac_header_preproc" >&6
  6555. +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6556. +echo "${ECHO_T}$ac_header_preproc" >&6; }
  6557. # So? What about this header?
  6558. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6559. @@ -6331,25 +6877,24 @@ echo "$as_me: WARNING: $ac_header: s
  6560. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6561. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6562. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6563. - (
  6564. - cat <<\_ASBOX
  6565. + ( cat <<\_ASBOX
  6566. ## ------------------------------ ##
  6567. ## Report this to nils@sipsak.org ##
  6568. ## ------------------------------ ##
  6569. _ASBOX
  6570. - ) |
  6571. - sed "s/^/$as_me: WARNING: /" >&2
  6572. + ) | sed "s/^/$as_me: WARNING: /" >&2
  6573. ;;
  6574. esac
  6575. -echo "$as_me:$LINENO: checking for $ac_header" >&5
  6576. -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
  6577. -if eval "test \"\${$as_ac_Header+set}\" = set"; then
  6578. +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
  6579. +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  6580. +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6581. echo $ECHO_N "(cached) $ECHO_C" >&6
  6582. else
  6583. eval "$as_ac_Header=\$ac_header_preproc"
  6584. fi
  6585. -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
  6586. -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
  6587. +ac_res=`eval echo '${'$as_ac_Header'}'`
  6588. + { echo "$as_me:$LINENO: result: $ac_res" >&5
  6589. +echo "${ECHO_T}$ac_res" >&6; }
  6590. fi
  6591. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  6592. @@ -6366,11 +6911,11 @@ fi
  6593. # Check for T1 timer value
  6594. def_timeout=500
  6595. - # Check whether --enable-timeout or --disable-timeout was given.
  6596. + # Check whether --enable-timeout was given.
  6597. if test "${enable_timeout+set}" = set; then
  6598. - enableval="$enable_timeout"
  6599. - def_timeout=$enableval
  6600. -fi;
  6601. + enableval=$enable_timeout; def_timeout=$enableval
  6602. +fi
  6603. +
  6604. if test "X$def_timeout" = "Xno"; then
  6605. # no timeout makes no sense
  6606. def_timeout=500
  6607. @@ -6382,7 +6927,7 @@ _ACEOF
  6608. - ac_config_files="$ac_config_files Makefile"
  6609. +ac_config_files="$ac_config_files Makefile"
  6610. cat >confcache <<\_ACEOF
  6611. # This file is a shell script that caches the results of configure
  6612. @@ -6402,39 +6947,58 @@ _ACEOF
  6613. # The following way of writing the cache mishandles newlines in values,
  6614. # but we know of no workaround that is simple, portable, and efficient.
  6615. -# So, don't put newlines in cache variables' values.
  6616. +# So, we kill variables containing newlines.
  6617. # Ultrix sh set writes to stderr and can't be redirected directly,
  6618. # and sets the high bit in the cache file unless we assign to the vars.
  6619. -{
  6620. +(
  6621. + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  6622. + eval ac_val=\$$ac_var
  6623. + case $ac_val in #(
  6624. + *${as_nl}*)
  6625. + case $ac_var in #(
  6626. + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  6627. +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  6628. + esac
  6629. + case $ac_var in #(
  6630. + _ | IFS | as_nl) ;; #(
  6631. + *) $as_unset $ac_var ;;
  6632. + esac ;;
  6633. + esac
  6634. + done
  6635. +
  6636. (set) 2>&1 |
  6637. - case `(ac_space=' '; set | grep ac_space) 2>&1` in
  6638. - *ac_space=\ *)
  6639. + case $as_nl`(ac_space=' '; set) 2>&1` in #(
  6640. + *${as_nl}ac_space=\ *)
  6641. # `set' does not quote correctly, so add quotes (double-quote
  6642. # substitution turns \\\\ into \\, and sed turns \\ into \).
  6643. sed -n \
  6644. "s/'/'\\\\''/g;
  6645. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  6646. - ;;
  6647. + ;; #(
  6648. *)
  6649. # `set' quotes correctly as required by POSIX, so do not add quotes.
  6650. - sed -n \
  6651. - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  6652. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  6653. ;;
  6654. - esac;
  6655. -} |
  6656. + esac |
  6657. + sort
  6658. +) |
  6659. sed '
  6660. + /^ac_cv_env_/b end
  6661. t clear
  6662. - : clear
  6663. + :clear
  6664. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  6665. t end
  6666. - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6667. - : end' >>confcache
  6668. -if diff $cache_file confcache >/dev/null 2>&1; then :; else
  6669. - if test -w $cache_file; then
  6670. - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  6671. + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  6672. + :end' >>confcache
  6673. +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  6674. + if test -w "$cache_file"; then
  6675. + test "x$cache_file" != "x/dev/null" &&
  6676. + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  6677. +echo "$as_me: updating cache $cache_file" >&6;}
  6678. cat confcache >$cache_file
  6679. else
  6680. - echo "not updating unwritable cache $cache_file"
  6681. + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  6682. +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  6683. fi
  6684. fi
  6685. rm -f confcache
  6686. @@ -6443,32 +7007,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
  6687. # Let make expand exec_prefix.
  6688. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  6689. -# VPATH may cause trouble with some makes, so we remove $(srcdir),
  6690. -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  6691. -# trailing colons and then remove the whole line if VPATH becomes empty
  6692. -# (actually we leave an empty line to preserve line numbers).
  6693. -if test "x$srcdir" = x.; then
  6694. - ac_vpsub='/^[ ]*VPATH[ ]*=/{
  6695. -s/:*\$(srcdir):*/:/;
  6696. -s/:*\${srcdir}:*/:/;
  6697. -s/:*@srcdir@:*/:/;
  6698. -s/^\([^=]*=[ ]*\):*/\1/;
  6699. -s/:*$//;
  6700. -s/^[^=]*=[ ]*$//;
  6701. -}'
  6702. -fi
  6703. -
  6704. DEFS=-DHAVE_CONFIG_H
  6705. ac_libobjs=
  6706. ac_ltlibobjs=
  6707. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  6708. # 1. Remove the extension, and $U if already installed.
  6709. - ac_i=`echo "$ac_i" |
  6710. - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  6711. - # 2. Add them.
  6712. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  6713. - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  6714. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  6715. + ac_i=`echo "$ac_i" | sed "$ac_script"`
  6716. + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  6717. + # will be set to the directory where LIBOBJS objects are built.
  6718. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  6719. + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  6720. done
  6721. LIBOBJS=$ac_libobjs
  6722. @@ -6520,17 +7070,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
  6723. ## M4sh Initialization. ##
  6724. ## --------------------- ##
  6725. -# Be Bourne compatible
  6726. +# Be more Bourne compatible
  6727. +DUALCASE=1; export DUALCASE # for MKS sh
  6728. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6729. emulate sh
  6730. NULLCMD=:
  6731. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  6732. # is contrary to our usage. Disable this feature.
  6733. alias -g '${1+"$@"}'='"$@"'
  6734. -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  6735. - set -o posix
  6736. + setopt NO_GLOB_SUBST
  6737. +else
  6738. + case `(set -o) 2>/dev/null` in
  6739. + *posix*) set -o posix ;;
  6740. +esac
  6741. +
  6742. +fi
  6743. +
  6744. +
  6745. +
  6746. +
  6747. +# PATH needs CR
  6748. +# Avoid depending upon Character Ranges.
  6749. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6750. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6751. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6752. +as_cr_digits='0123456789'
  6753. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  6754. +
  6755. +# The user is always right.
  6756. +if test "${PATH_SEPARATOR+set}" != set; then
  6757. + echo "#! /bin/sh" >conf$$.sh
  6758. + echo "exit 0" >>conf$$.sh
  6759. + chmod +x conf$$.sh
  6760. + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6761. + PATH_SEPARATOR=';'
  6762. + else
  6763. + PATH_SEPARATOR=:
  6764. + fi
  6765. + rm -f conf$$.sh
  6766. fi
  6767. -DUALCASE=1; export DUALCASE # for MKS sh
  6768. # Support unset when possible.
  6769. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  6770. @@ -6540,8 +7118,43 @@ else
  6771. fi
  6772. +# IFS
  6773. +# We need space, tab and new line, in precisely that order. Quoting is
  6774. +# there to prevent editors from complaining about space-tab.
  6775. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  6776. +# splitting by setting IFS to empty value.)
  6777. +as_nl='
  6778. +'
  6779. +IFS=" "" $as_nl"
  6780. +
  6781. +# Find who we are. Look in the path if we contain no directory separator.
  6782. +case $0 in
  6783. + *[\\/]* ) as_myself=$0 ;;
  6784. + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6785. +for as_dir in $PATH
  6786. +do
  6787. + IFS=$as_save_IFS
  6788. + test -z "$as_dir" && as_dir=.
  6789. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6790. +done
  6791. +IFS=$as_save_IFS
  6792. +
  6793. + ;;
  6794. +esac
  6795. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  6796. +# in which case we are not to be found in the path.
  6797. +if test "x$as_myself" = x; then
  6798. + as_myself=$0
  6799. +fi
  6800. +if test ! -f "$as_myself"; then
  6801. + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  6802. + { (exit 1); exit 1; }
  6803. +fi
  6804. +
  6805. # Work around bugs in pre-3.0 UWIN ksh.
  6806. -$as_unset ENV MAIL MAILPATH
  6807. +for as_var in ENV MAIL MAILPATH
  6808. +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6809. +done
  6810. PS1='$ '
  6811. PS2='> '
  6812. PS4='+ '
  6813. @@ -6555,18 +7168,19 @@ do
  6814. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  6815. eval $as_var=C; export $as_var
  6816. else
  6817. - $as_unset $as_var
  6818. + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  6819. fi
  6820. done
  6821. # Required to use basename.
  6822. -if expr a : '\(a\)' >/dev/null 2>&1; then
  6823. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  6824. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  6825. as_expr=expr
  6826. else
  6827. as_expr=false
  6828. fi
  6829. -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  6830. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  6831. as_basename=basename
  6832. else
  6833. as_basename=false
  6834. @@ -6574,159 +7188,120 @@ fi
  6835. # Name of the executable.
  6836. -as_me=`$as_basename "$0" ||
  6837. +as_me=`$as_basename -- "$0" ||
  6838. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  6839. X"$0" : 'X\(//\)$' \| \
  6840. - X"$0" : 'X\(/\)$' \| \
  6841. - . : '\(.\)' 2>/dev/null ||
  6842. + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  6843. echo X/"$0" |
  6844. - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  6845. - /^X\/\(\/\/\)$/{ s//\1/; q; }
  6846. - /^X\/\(\/\).*/{ s//\1/; q; }
  6847. - s/.*/./; q'`
  6848. -
  6849. -
  6850. -# PATH needs CR, and LINENO needs CR and PATH.
  6851. -# Avoid depending upon Character Ranges.
  6852. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  6853. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  6854. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  6855. -as_cr_digits='0123456789'
  6856. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  6857. + sed '/^.*\/\([^/][^/]*\)\/*$/{
  6858. + s//\1/
  6859. + q
  6860. + }
  6861. + /^X\/\(\/\/\)$/{
  6862. + s//\1/
  6863. + q
  6864. + }
  6865. + /^X\/\(\/\).*/{
  6866. + s//\1/
  6867. + q
  6868. + }
  6869. + s/.*/./; q'`
  6870. -# The user is always right.
  6871. -if test "${PATH_SEPARATOR+set}" != set; then
  6872. - echo "#! /bin/sh" >conf$$.sh
  6873. - echo "exit 0" >>conf$$.sh
  6874. - chmod +x conf$$.sh
  6875. - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  6876. - PATH_SEPARATOR=';'
  6877. - else
  6878. - PATH_SEPARATOR=:
  6879. - fi
  6880. - rm -f conf$$.sh
  6881. -fi
  6882. +# CDPATH.
  6883. +$as_unset CDPATH
  6884. - as_lineno_1=$LINENO
  6885. - as_lineno_2=$LINENO
  6886. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6887. - test "x$as_lineno_1" != "x$as_lineno_2" &&
  6888. - test "x$as_lineno_3" = "x$as_lineno_2" || {
  6889. - # Find who we are. Look in the path if we contain no path at all
  6890. - # relative or not.
  6891. - case $0 in
  6892. - *[\\/]* ) as_myself=$0 ;;
  6893. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6894. -for as_dir in $PATH
  6895. -do
  6896. - IFS=$as_save_IFS
  6897. - test -z "$as_dir" && as_dir=.
  6898. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  6899. -done
  6900. - ;;
  6901. - esac
  6902. - # We did not find ourselves, most probably we were run as `sh COMMAND'
  6903. - # in which case we are not to be found in the path.
  6904. - if test "x$as_myself" = x; then
  6905. - as_myself=$0
  6906. - fi
  6907. - if test ! -f "$as_myself"; then
  6908. - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  6909. -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  6910. - { (exit 1); exit 1; }; }
  6911. - fi
  6912. - case $CONFIG_SHELL in
  6913. - '')
  6914. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6915. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  6916. -do
  6917. - IFS=$as_save_IFS
  6918. - test -z "$as_dir" && as_dir=.
  6919. - for as_base in sh bash ksh sh5; do
  6920. - case $as_dir in
  6921. - /*)
  6922. - if ("$as_dir/$as_base" -c '
  6923. as_lineno_1=$LINENO
  6924. as_lineno_2=$LINENO
  6925. - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  6926. test "x$as_lineno_1" != "x$as_lineno_2" &&
  6927. - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  6928. - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  6929. - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  6930. - CONFIG_SHELL=$as_dir/$as_base
  6931. - export CONFIG_SHELL
  6932. - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  6933. - fi;;
  6934. - esac
  6935. - done
  6936. -done
  6937. -;;
  6938. - esac
  6939. + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  6940. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  6941. # uniformly replaced by the line number. The first 'sed' inserts a
  6942. - # line-number line before each line; the second 'sed' does the real
  6943. - # work. The second script uses 'N' to pair each line-number line
  6944. - # with the numbered line, and appends trailing '-' during
  6945. - # substitution so that $LINENO is not a special case at line end.
  6946. + # line-number line after each line using $LINENO; the second 'sed'
  6947. + # does the real work. The second script uses 'N' to pair each
  6948. + # line-number line with the line containing $LINENO, and appends
  6949. + # trailing '-' during substitution so that $LINENO is not a special
  6950. + # case at line end.
  6951. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  6952. - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  6953. - sed '=' <$as_myself |
  6954. + # scripts with optimization help from Paolo Bonzini. Blame Lee
  6955. + # E. McMahon (1931-1989) for sed's syntax. :-)
  6956. + sed -n '
  6957. + p
  6958. + /[$]LINENO/=
  6959. + ' <$as_myself |
  6960. sed '
  6961. + s/[$]LINENO.*/&-/
  6962. + t lineno
  6963. + b
  6964. + :lineno
  6965. N
  6966. - s,$,-,
  6967. - : loop
  6968. - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  6969. + :loop
  6970. + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  6971. t loop
  6972. - s,-$,,
  6973. - s,^['$as_cr_digits']*\n,,
  6974. + s/-\n.*//
  6975. ' >$as_me.lineno &&
  6976. - chmod +x $as_me.lineno ||
  6977. - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  6978. -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  6979. + chmod +x "$as_me.lineno" ||
  6980. + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  6981. { (exit 1); exit 1; }; }
  6982. # Don't try to exec as it changes $[0], causing all sort of problems
  6983. # (the dirname of $[0] is not the place where we might find the
  6984. - # original and so on. Autoconf is especially sensible to this).
  6985. - . ./$as_me.lineno
  6986. + # original and so on. Autoconf is especially sensitive to this).
  6987. + . "./$as_me.lineno"
  6988. # Exit status is that of the last command.
  6989. exit
  6990. }
  6991. -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  6992. - *c*,-n*) ECHO_N= ECHO_C='
  6993. -' ECHO_T=' ' ;;
  6994. - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  6995. - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  6996. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  6997. + as_dirname=dirname
  6998. +else
  6999. + as_dirname=false
  7000. +fi
  7001. +
  7002. +ECHO_C= ECHO_N= ECHO_T=
  7003. +case `echo -n x` in
  7004. +-n*)
  7005. + case `echo 'x\c'` in
  7006. + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  7007. + *) ECHO_C='\c';;
  7008. + esac;;
  7009. +*)
  7010. + ECHO_N='-n';;
  7011. esac
  7012. -if expr a : '\(a\)' >/dev/null 2>&1; then
  7013. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  7014. + test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7015. as_expr=expr
  7016. else
  7017. as_expr=false
  7018. fi
  7019. rm -f conf$$ conf$$.exe conf$$.file
  7020. +if test -d conf$$.dir; then
  7021. + rm -f conf$$.dir/conf$$.file
  7022. +else
  7023. + rm -f conf$$.dir
  7024. + mkdir conf$$.dir
  7025. +fi
  7026. echo >conf$$.file
  7027. if ln -s conf$$.file conf$$ 2>/dev/null; then
  7028. - # We could just check for DJGPP; but this test a) works b) is more generic
  7029. - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  7030. - if test -f conf$$.exe; then
  7031. - # Don't use ln at all; we don't have any links
  7032. + as_ln_s='ln -s'
  7033. + # ... but there are two gotchas:
  7034. + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7035. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7036. + # In both cases, we have to default to `cp -p'.
  7037. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7038. as_ln_s='cp -p'
  7039. - else
  7040. - as_ln_s='ln -s'
  7041. - fi
  7042. elif ln conf$$.file conf$$ 2>/dev/null; then
  7043. as_ln_s=ln
  7044. else
  7045. as_ln_s='cp -p'
  7046. fi
  7047. -rm -f conf$$ conf$$.exe conf$$.file
  7048. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7049. +rmdir conf$$.dir 2>/dev/null
  7050. if mkdir -p . 2>/dev/null; then
  7051. as_mkdir_p=:
  7052. @@ -6735,7 +7310,28 @@ else
  7053. as_mkdir_p=false
  7054. fi
  7055. -as_executable_p="test -f"
  7056. +if test -x / >/dev/null 2>&1; then
  7057. + as_test_x='test -x'
  7058. +else
  7059. + if ls -dL / >/dev/null 2>&1; then
  7060. + as_ls_L_option=L
  7061. + else
  7062. + as_ls_L_option=
  7063. + fi
  7064. + as_test_x='
  7065. + eval sh -c '\''
  7066. + if test -d "$1"; then
  7067. + test -d "$1/.";
  7068. + else
  7069. + case $1 in
  7070. + -*)set "./$1";;
  7071. + esac;
  7072. + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  7073. + ???[sx]*):;;*)false;;esac;fi
  7074. + '\'' sh
  7075. + '
  7076. +fi
  7077. +as_executable_p=$as_test_x
  7078. # Sed expression to map a string onto a valid CPP name.
  7079. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7080. @@ -6744,31 +7340,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
  7081. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7082. -# IFS
  7083. -# We need space, tab and new line, in precisely that order.
  7084. -as_nl='
  7085. -'
  7086. -IFS=" $as_nl"
  7087. -
  7088. -# CDPATH.
  7089. -$as_unset CDPATH
  7090. -
  7091. exec 6>&1
  7092. -# Open the log real soon, to keep \$[0] and so on meaningful, and to
  7093. +# Save the log message, to keep $[0] and so on meaningful, and to
  7094. # report actual input values of CONFIG_FILES etc. instead of their
  7095. -# values after options handling. Logging --version etc. is OK.
  7096. -exec 5>>config.log
  7097. -{
  7098. - echo
  7099. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7100. -## Running $as_me. ##
  7101. -_ASBOX
  7102. -} >&5
  7103. -cat >&5 <<_CSEOF
  7104. -
  7105. +# values after options handling.
  7106. +ac_log="
  7107. This file was extended by sipsak $as_me 0.9.6, which was
  7108. -generated by GNU Autoconf 2.59. Invocation command line was
  7109. +generated by GNU Autoconf 2.61. Invocation command line was
  7110. CONFIG_FILES = $CONFIG_FILES
  7111. CONFIG_HEADERS = $CONFIG_HEADERS
  7112. @@ -6776,30 +7355,20 @@ generated by GNU Autoconf 2.59. Invocat
  7113. CONFIG_COMMANDS = $CONFIG_COMMANDS
  7114. $ $0 $@
  7115. -_CSEOF
  7116. -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  7117. -echo >&5
  7118. +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7119. +"
  7120. +
  7121. _ACEOF
  7122. +cat >>$CONFIG_STATUS <<_ACEOF
  7123. # Files that config.status was made for.
  7124. -if test -n "$ac_config_files"; then
  7125. - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  7126. -fi
  7127. -
  7128. -if test -n "$ac_config_headers"; then
  7129. - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  7130. -fi
  7131. -
  7132. -if test -n "$ac_config_links"; then
  7133. - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  7134. -fi
  7135. +config_files="$ac_config_files"
  7136. +config_headers="$ac_config_headers"
  7137. +config_commands="$ac_config_commands"
  7138. -if test -n "$ac_config_commands"; then
  7139. - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  7140. -fi
  7141. +_ACEOF
  7142. cat >>$CONFIG_STATUS <<\_ACEOF
  7143. -
  7144. ac_cs_usage="\
  7145. \`$as_me' instantiates files from templates according to the
  7146. current configuration.
  7147. @@ -6807,7 +7376,7 @@ current configuration.
  7148. Usage: $0 [OPTIONS] [FILE]...
  7149. -h, --help print this help, then exit
  7150. - -V, --version print version number, then exit
  7151. + -V, --version print version number and configuration settings, then exit
  7152. -q, --quiet do not print progress messages
  7153. -d, --debug don't remove temporary files
  7154. --recheck update $as_me by reconfiguring in the same conditions
  7155. @@ -6826,19 +7395,21 @@ Configuration commands:
  7156. $config_commands
  7157. Report bugs to <bug-autoconf@gnu.org>."
  7158. -_ACEOF
  7159. +_ACEOF
  7160. cat >>$CONFIG_STATUS <<_ACEOF
  7161. ac_cs_version="\\
  7162. sipsak config.status 0.9.6
  7163. -configured by $0, generated by GNU Autoconf 2.59,
  7164. - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  7165. +configured by $0, generated by GNU Autoconf 2.61,
  7166. + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  7167. -Copyright (C) 2003 Free Software Foundation, Inc.
  7168. +Copyright (C) 2006 Free Software Foundation, Inc.
  7169. This config.status script is free software; the Free Software Foundation
  7170. gives unlimited permission to copy, distribute and modify it."
  7171. -srcdir=$srcdir
  7172. -INSTALL="$INSTALL"
  7173. +
  7174. +ac_pwd='$ac_pwd'
  7175. +srcdir='$srcdir'
  7176. +INSTALL='$INSTALL'
  7177. _ACEOF
  7178. cat >>$CONFIG_STATUS <<\_ACEOF
  7179. @@ -6849,39 +7420,24 @@ while test $# != 0
  7180. do
  7181. case $1 in
  7182. --*=*)
  7183. - ac_option=`expr "x$1" : 'x\([^=]*\)='`
  7184. - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  7185. + ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7186. + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7187. ac_shift=:
  7188. ;;
  7189. - -*)
  7190. + *)
  7191. ac_option=$1
  7192. ac_optarg=$2
  7193. ac_shift=shift
  7194. ;;
  7195. - *) # This is not an option, so the user has probably given explicit
  7196. - # arguments.
  7197. - ac_option=$1
  7198. - ac_need_defaults=false;;
  7199. esac
  7200. case $ac_option in
  7201. # Handling of the options.
  7202. -_ACEOF
  7203. -cat >>$CONFIG_STATUS <<\_ACEOF
  7204. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7205. ac_cs_recheck=: ;;
  7206. - --version | --vers* | -V )
  7207. - echo "$ac_cs_version"; exit 0 ;;
  7208. - --he | --h)
  7209. - # Conflict between --help and --header
  7210. - { { echo "$as_me:$LINENO: error: ambiguous option: $1
  7211. -Try \`$0 --help' for more information." >&5
  7212. -echo "$as_me: error: ambiguous option: $1
  7213. -Try \`$0 --help' for more information." >&2;}
  7214. - { (exit 1); exit 1; }; };;
  7215. - --help | --hel | -h )
  7216. - echo "$ac_cs_usage"; exit 0 ;;
  7217. - --debug | --d* | -d )
  7218. + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7219. + echo "$ac_cs_version"; exit ;;
  7220. + --debug | --debu | --deb | --de | --d | -d )
  7221. debug=: ;;
  7222. --file | --fil | --fi | --f )
  7223. $ac_shift
  7224. @@ -6891,18 +7447,24 @@ Try \`$0 --help' for more information."
  7225. $ac_shift
  7226. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  7227. ac_need_defaults=false;;
  7228. + --he | --h)
  7229. + # Conflict between --help and --header
  7230. + { echo "$as_me: error: ambiguous option: $1
  7231. +Try \`$0 --help' for more information." >&2
  7232. + { (exit 1); exit 1; }; };;
  7233. + --help | --hel | -h )
  7234. + echo "$ac_cs_usage"; exit ;;
  7235. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7236. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7237. ac_cs_silent=: ;;
  7238. # This is an error.
  7239. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  7240. -Try \`$0 --help' for more information." >&5
  7241. -echo "$as_me: error: unrecognized option: $1
  7242. -Try \`$0 --help' for more information." >&2;}
  7243. + -*) { echo "$as_me: error: unrecognized option: $1
  7244. +Try \`$0 --help' for more information." >&2
  7245. { (exit 1); exit 1; }; } ;;
  7246. - *) ac_config_targets="$ac_config_targets $1" ;;
  7247. + *) ac_config_targets="$ac_config_targets $1"
  7248. + ac_need_defaults=false ;;
  7249. esac
  7250. shift
  7251. @@ -6918,37 +7480,49 @@ fi
  7252. _ACEOF
  7253. cat >>$CONFIG_STATUS <<_ACEOF
  7254. if \$ac_cs_recheck; then
  7255. - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7256. - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7257. + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7258. + CONFIG_SHELL=$SHELL
  7259. + export CONFIG_SHELL
  7260. + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7261. fi
  7262. _ACEOF
  7263. +cat >>$CONFIG_STATUS <<\_ACEOF
  7264. +exec 5>>config.log
  7265. +{
  7266. + echo
  7267. + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7268. +## Running $as_me. ##
  7269. +_ASBOX
  7270. + echo "$ac_log"
  7271. +} >&5
  7272. +_ACEOF
  7273. cat >>$CONFIG_STATUS <<_ACEOF
  7274. #
  7275. -# INIT-COMMANDS section.
  7276. +# INIT-COMMANDS
  7277. #
  7278. -
  7279. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  7280. _ACEOF
  7281. -
  7282. -
  7283. cat >>$CONFIG_STATUS <<\_ACEOF
  7284. +
  7285. +# Handling of arguments.
  7286. for ac_config_target in $ac_config_targets
  7287. do
  7288. - case "$ac_config_target" in
  7289. - # Handling of arguments.
  7290. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7291. - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7292. - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7293. + case $ac_config_target in
  7294. + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7295. + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  7296. + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7297. +
  7298. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  7299. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  7300. { (exit 1); exit 1; }; };;
  7301. esac
  7302. done
  7303. +
  7304. # If the user did not use the arguments to specify the items to instantiate,
  7305. # then the envvar interface is used. Set only those that are not.
  7306. # We use the long form for the default assignment because of an extremely
  7307. @@ -6960,592 +7534,539 @@ if $ac_need_defaults; then
  7308. fi
  7309. # Have a temporary directory for convenience. Make it in the build tree
  7310. -# simply because there is no reason to put it here, and in addition,
  7311. +# simply because there is no reason against having it here, and in addition,
  7312. # creating and moving files from /tmp can sometimes cause problems.
  7313. -# Create a temporary directory, and hook for its removal unless debugging.
  7314. +# Hook for its removal unless debugging.
  7315. +# Note that there is a small window in which the directory will not be cleaned:
  7316. +# after its creation but before its name has been assigned to `$tmp'.
  7317. $debug ||
  7318. {
  7319. - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  7320. + tmp=
  7321. + trap 'exit_status=$?
  7322. + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  7323. +' 0
  7324. trap '{ (exit 1); exit 1; }' 1 2 13 15
  7325. }
  7326. -
  7327. # Create a (secure) tmp directory for tmp files.
  7328. {
  7329. - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  7330. + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7331. test -n "$tmp" && test -d "$tmp"
  7332. } ||
  7333. {
  7334. - tmp=./confstat$$-$RANDOM
  7335. - (umask 077 && mkdir $tmp)
  7336. + tmp=./conf$$-$RANDOM
  7337. + (umask 077 && mkdir "$tmp")
  7338. } ||
  7339. {
  7340. echo "$me: cannot create a temporary directory in ." >&2
  7341. { (exit 1); exit 1; }
  7342. }
  7343. -_ACEOF
  7344. -
  7345. -cat >>$CONFIG_STATUS <<_ACEOF
  7346. -
  7347. #
  7348. -# CONFIG_FILES section.
  7349. +# Set up the sed scripts for CONFIG_FILES section.
  7350. #
  7351. # No need to generate the scripts if there are no CONFIG_FILES.
  7352. # This happens for instance when ./config.status config.h
  7353. -if test -n "\$CONFIG_FILES"; then
  7354. - # Protect against being on the right side of a sed subst in config.status.
  7355. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  7356. - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  7357. -s,@SHELL@,$SHELL,;t t
  7358. -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  7359. -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  7360. -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  7361. -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  7362. -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  7363. -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  7364. -s,@exec_prefix@,$exec_prefix,;t t
  7365. -s,@prefix@,$prefix,;t t
  7366. -s,@program_transform_name@,$program_transform_name,;t t
  7367. -s,@bindir@,$bindir,;t t
  7368. -s,@sbindir@,$sbindir,;t t
  7369. -s,@libexecdir@,$libexecdir,;t t
  7370. -s,@datadir@,$datadir,;t t
  7371. -s,@sysconfdir@,$sysconfdir,;t t
  7372. -s,@sharedstatedir@,$sharedstatedir,;t t
  7373. -s,@localstatedir@,$localstatedir,;t t
  7374. -s,@libdir@,$libdir,;t t
  7375. -s,@includedir@,$includedir,;t t
  7376. -s,@oldincludedir@,$oldincludedir,;t t
  7377. -s,@infodir@,$infodir,;t t
  7378. -s,@mandir@,$mandir,;t t
  7379. -s,@build_alias@,$build_alias,;t t
  7380. -s,@host_alias@,$host_alias,;t t
  7381. -s,@target_alias@,$target_alias,;t t
  7382. -s,@DEFS@,$DEFS,;t t
  7383. -s,@ECHO_C@,$ECHO_C,;t t
  7384. -s,@ECHO_N@,$ECHO_N,;t t
  7385. -s,@ECHO_T@,$ECHO_T,;t t
  7386. -s,@LIBS@,$LIBS,;t t
  7387. -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  7388. -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  7389. -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  7390. -s,@CYGPATH_W@,$CYGPATH_W,;t t
  7391. -s,@PACKAGE@,$PACKAGE,;t t
  7392. -s,@VERSION@,$VERSION,;t t
  7393. -s,@ACLOCAL@,$ACLOCAL,;t t
  7394. -s,@AUTOCONF@,$AUTOCONF,;t t
  7395. -s,@AUTOMAKE@,$AUTOMAKE,;t t
  7396. -s,@AUTOHEADER@,$AUTOHEADER,;t t
  7397. -s,@MAKEINFO@,$MAKEINFO,;t t
  7398. -s,@install_sh@,$install_sh,;t t
  7399. -s,@STRIP@,$STRIP,;t t
  7400. -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  7401. -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  7402. -s,@mkdir_p@,$mkdir_p,;t t
  7403. -s,@AWK@,$AWK,;t t
  7404. -s,@SET_MAKE@,$SET_MAKE,;t t
  7405. -s,@am__leading_dot@,$am__leading_dot,;t t
  7406. -s,@AMTAR@,$AMTAR,;t t
  7407. -s,@am__tar@,$am__tar,;t t
  7408. -s,@am__untar@,$am__untar,;t t
  7409. -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
  7410. -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
  7411. -s,@MAINT@,$MAINT,;t t
  7412. -s,@CC@,$CC,;t t
  7413. -s,@CFLAGS@,$CFLAGS,;t t
  7414. -s,@LDFLAGS@,$LDFLAGS,;t t
  7415. -s,@CPPFLAGS@,$CPPFLAGS,;t t
  7416. -s,@ac_ct_CC@,$ac_ct_CC,;t t
  7417. -s,@EXEEXT@,$EXEEXT,;t t
  7418. -s,@OBJEXT@,$OBJEXT,;t t
  7419. -s,@DEPDIR@,$DEPDIR,;t t
  7420. -s,@am__include@,$am__include,;t t
  7421. -s,@am__quote@,$am__quote,;t t
  7422. -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
  7423. -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
  7424. -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
  7425. -s,@CCDEPMODE@,$CCDEPMODE,;t t
  7426. -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
  7427. -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
  7428. -s,@DISTCC@,$DISTCC,;t t
  7429. -s,@build@,$build,;t t
  7430. -s,@build_cpu@,$build_cpu,;t t
  7431. -s,@build_vendor@,$build_vendor,;t t
  7432. -s,@build_os@,$build_os,;t t
  7433. -s,@host@,$host,;t t
  7434. -s,@host_cpu@,$host_cpu,;t t
  7435. -s,@host_vendor@,$host_vendor,;t t
  7436. -s,@host_os@,$host_os,;t t
  7437. -s,@CPP@,$CPP,;t t
  7438. -s,@EGREP@,$EGREP,;t t
  7439. -s,@LIBOBJS@,$LIBOBJS,;t t
  7440. -s,@DISABLE_GNUTLS@,$DISABLE_GNUTLS,;t t
  7441. -s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
  7442. -s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
  7443. -s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
  7444. -s,@SIPSAK_HAVE_ARES@,$SIPSAK_HAVE_ARES,;t t
  7445. -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  7446. -CEOF
  7447. +if test -n "$CONFIG_FILES"; then
  7448. _ACEOF
  7449. - cat >>$CONFIG_STATUS <<\_ACEOF
  7450. - # Split the substitutions into bite-sized pieces for seds with
  7451. - # small command number limits, like on Digital OSF/1 and HP-UX.
  7452. - ac_max_sed_lines=48
  7453. - ac_sed_frag=1 # Number of current file.
  7454. - ac_beg=1 # First line for current file.
  7455. - ac_end=$ac_max_sed_lines # Line after last line for current file.
  7456. - ac_more_lines=:
  7457. - ac_sed_cmds=
  7458. - while $ac_more_lines; do
  7459. - if test $ac_beg -gt 1; then
  7460. - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7461. - else
  7462. - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7463. - fi
  7464. - if test ! -s $tmp/subs.frag; then
  7465. - ac_more_lines=false
  7466. - else
  7467. - # The purpose of the label and of the branching condition is to
  7468. - # speed up the sed processing (if there are no `@' at all, there
  7469. - # is no need to browse any of the substitutions).
  7470. - # These are the two extra sed commands mentioned above.
  7471. - (echo ':t
  7472. - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  7473. - if test -z "$ac_sed_cmds"; then
  7474. - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  7475. - else
  7476. - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  7477. - fi
  7478. - ac_sed_frag=`expr $ac_sed_frag + 1`
  7479. - ac_beg=$ac_end
  7480. - ac_end=`expr $ac_end + $ac_max_sed_lines`
  7481. - fi
  7482. - done
  7483. - if test -z "$ac_sed_cmds"; then
  7484. - ac_sed_cmds=cat
  7485. +
  7486. +
  7487. +ac_delim='%!_!# '
  7488. +for ac_last_try in false false false false false :; do
  7489. + cat >conf$$subs.sed <<_ACEOF
  7490. +SHELL!$SHELL$ac_delim
  7491. +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  7492. +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  7493. +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  7494. +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  7495. +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  7496. +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  7497. +exec_prefix!$exec_prefix$ac_delim
  7498. +prefix!$prefix$ac_delim
  7499. +program_transform_name!$program_transform_name$ac_delim
  7500. +bindir!$bindir$ac_delim
  7501. +sbindir!$sbindir$ac_delim
  7502. +libexecdir!$libexecdir$ac_delim
  7503. +datarootdir!$datarootdir$ac_delim
  7504. +datadir!$datadir$ac_delim
  7505. +sysconfdir!$sysconfdir$ac_delim
  7506. +sharedstatedir!$sharedstatedir$ac_delim
  7507. +localstatedir!$localstatedir$ac_delim
  7508. +includedir!$includedir$ac_delim
  7509. +oldincludedir!$oldincludedir$ac_delim
  7510. +docdir!$docdir$ac_delim
  7511. +infodir!$infodir$ac_delim
  7512. +htmldir!$htmldir$ac_delim
  7513. +dvidir!$dvidir$ac_delim
  7514. +pdfdir!$pdfdir$ac_delim
  7515. +psdir!$psdir$ac_delim
  7516. +libdir!$libdir$ac_delim
  7517. +localedir!$localedir$ac_delim
  7518. +mandir!$mandir$ac_delim
  7519. +DEFS!$DEFS$ac_delim
  7520. +ECHO_C!$ECHO_C$ac_delim
  7521. +ECHO_N!$ECHO_N$ac_delim
  7522. +ECHO_T!$ECHO_T$ac_delim
  7523. +LIBS!$LIBS$ac_delim
  7524. +build_alias!$build_alias$ac_delim
  7525. +host_alias!$host_alias$ac_delim
  7526. +target_alias!$target_alias$ac_delim
  7527. +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  7528. +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  7529. +INSTALL_DATA!$INSTALL_DATA$ac_delim
  7530. +CYGPATH_W!$CYGPATH_W$ac_delim
  7531. +PACKAGE!$PACKAGE$ac_delim
  7532. +VERSION!$VERSION$ac_delim
  7533. +ACLOCAL!$ACLOCAL$ac_delim
  7534. +AUTOCONF!$AUTOCONF$ac_delim
  7535. +AUTOMAKE!$AUTOMAKE$ac_delim
  7536. +AUTOHEADER!$AUTOHEADER$ac_delim
  7537. +MAKEINFO!$MAKEINFO$ac_delim
  7538. +install_sh!$install_sh$ac_delim
  7539. +STRIP!$STRIP$ac_delim
  7540. +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
  7541. +mkdir_p!$mkdir_p$ac_delim
  7542. +AWK!$AWK$ac_delim
  7543. +SET_MAKE!$SET_MAKE$ac_delim
  7544. +am__leading_dot!$am__leading_dot$ac_delim
  7545. +AMTAR!$AMTAR$ac_delim
  7546. +am__tar!$am__tar$ac_delim
  7547. +am__untar!$am__untar$ac_delim
  7548. +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
  7549. +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
  7550. +MAINT!$MAINT$ac_delim
  7551. +CC!$CC$ac_delim
  7552. +CFLAGS!$CFLAGS$ac_delim
  7553. +LDFLAGS!$LDFLAGS$ac_delim
  7554. +CPPFLAGS!$CPPFLAGS$ac_delim
  7555. +ac_ct_CC!$ac_ct_CC$ac_delim
  7556. +EXEEXT!$EXEEXT$ac_delim
  7557. +OBJEXT!$OBJEXT$ac_delim
  7558. +DEPDIR!$DEPDIR$ac_delim
  7559. +am__include!$am__include$ac_delim
  7560. +am__quote!$am__quote$ac_delim
  7561. +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
  7562. +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
  7563. +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
  7564. +CCDEPMODE!$CCDEPMODE$ac_delim
  7565. +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
  7566. +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
  7567. +DISTCC!$DISTCC$ac_delim
  7568. +build!$build$ac_delim
  7569. +build_cpu!$build_cpu$ac_delim
  7570. +build_vendor!$build_vendor$ac_delim
  7571. +build_os!$build_os$ac_delim
  7572. +host!$host$ac_delim
  7573. +host_cpu!$host_cpu$ac_delim
  7574. +host_vendor!$host_vendor$ac_delim
  7575. +host_os!$host_os$ac_delim
  7576. +CPP!$CPP$ac_delim
  7577. +GREP!$GREP$ac_delim
  7578. +EGREP!$EGREP$ac_delim
  7579. +LIBOBJS!$LIBOBJS$ac_delim
  7580. +DISABLE_GNUTLS!$DISABLE_GNUTLS$ac_delim
  7581. +LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
  7582. +LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim
  7583. +LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim
  7584. +SIPSAK_HAVE_ARES!$SIPSAK_HAVE_ARES$ac_delim
  7585. +LTLIBOBJS!$LTLIBOBJS$ac_delim
  7586. +_ACEOF
  7587. +
  7588. + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
  7589. + break
  7590. + elif $ac_last_try; then
  7591. + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7592. +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7593. + { (exit 1); exit 1; }; }
  7594. + else
  7595. + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7596. fi
  7597. -fi # test -n "$CONFIG_FILES"
  7598. +done
  7599. +
  7600. +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  7601. +if test -n "$ac_eof"; then
  7602. + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  7603. + ac_eof=`expr $ac_eof + 1`
  7604. +fi
  7605. +cat >>$CONFIG_STATUS <<_ACEOF
  7606. +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  7607. +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7608. _ACEOF
  7609. +sed '
  7610. +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  7611. +s/^/s,@/; s/!/@,|#_!!_#|/
  7612. +:n
  7613. +t n
  7614. +s/'"$ac_delim"'$/,g/; t
  7615. +s/$/\\/; p
  7616. +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  7617. +' >>$CONFIG_STATUS <conf$$subs.sed
  7618. +rm -f conf$$subs.sed
  7619. +cat >>$CONFIG_STATUS <<_ACEOF
  7620. +CEOF$ac_eof
  7621. +_ACEOF
  7622. +
  7623. +
  7624. +# VPATH may cause trouble with some makes, so we remove $(srcdir),
  7625. +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  7626. +# trailing colons and then remove the whole line if VPATH becomes empty
  7627. +# (actually we leave an empty line to preserve line numbers).
  7628. +if test "x$srcdir" = x.; then
  7629. + ac_vpsub='/^[ ]*VPATH[ ]*=/{
  7630. +s/:*\$(srcdir):*/:/
  7631. +s/:*\${srcdir}:*/:/
  7632. +s/:*@srcdir@:*/:/
  7633. +s/^\([^=]*=[ ]*\):*/\1/
  7634. +s/:*$//
  7635. +s/^[^=]*=[ ]*$//
  7636. +}'
  7637. +fi
  7638. +
  7639. cat >>$CONFIG_STATUS <<\_ACEOF
  7640. -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  7641. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  7642. - case $ac_file in
  7643. - - | *:- | *:-:* ) # input from stdin
  7644. - cat >$tmp/stdin
  7645. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  7646. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7647. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  7648. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7649. - * ) ac_file_in=$ac_file.in ;;
  7650. +fi # test -n "$CONFIG_FILES"
  7651. +
  7652. +
  7653. +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
  7654. +do
  7655. + case $ac_tag in
  7656. + :[FHLC]) ac_mode=$ac_tag; continue;;
  7657. esac
  7658. + case $ac_mode$ac_tag in
  7659. + :[FHL]*:*);;
  7660. + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  7661. +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  7662. + { (exit 1); exit 1; }; };;
  7663. + :[FH]-) ac_tag=-:-;;
  7664. + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  7665. + esac
  7666. + ac_save_IFS=$IFS
  7667. + IFS=:
  7668. + set x $ac_tag
  7669. + IFS=$ac_save_IFS
  7670. + shift
  7671. + ac_file=$1
  7672. + shift
  7673. - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  7674. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  7675. + case $ac_mode in
  7676. + :L) ac_source=$1;;
  7677. + :[FH])
  7678. + ac_file_inputs=
  7679. + for ac_f
  7680. + do
  7681. + case $ac_f in
  7682. + -) ac_f="$tmp/stdin";;
  7683. + *) # Look for the file first in the build tree, then in the source tree
  7684. + # (if the path is not absolute). The absolute path cannot be DOS-style,
  7685. + # because $ac_f cannot contain `:'.
  7686. + test -f "$ac_f" ||
  7687. + case $ac_f in
  7688. + [\\/$]*) false;;
  7689. + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  7690. + esac ||
  7691. + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  7692. +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  7693. + { (exit 1); exit 1; }; };;
  7694. + esac
  7695. + ac_file_inputs="$ac_file_inputs $ac_f"
  7696. + done
  7697. +
  7698. + # Let's still pretend it is `configure' which instantiates (i.e., don't
  7699. + # use $as_me), people would be surprised to read:
  7700. + # /* config.h. Generated by config.status. */
  7701. + configure_input="Generated from "`IFS=:
  7702. + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  7703. + if test x"$ac_file" != x-; then
  7704. + configure_input="$ac_file. $configure_input"
  7705. + { echo "$as_me:$LINENO: creating $ac_file" >&5
  7706. +echo "$as_me: creating $ac_file" >&6;}
  7707. + fi
  7708. +
  7709. + case $ac_tag in
  7710. + *:-:* | *:-) cat >"$tmp/stdin";;
  7711. + esac
  7712. + ;;
  7713. + esac
  7714. +
  7715. + ac_dir=`$as_dirname -- "$ac_file" ||
  7716. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7717. X"$ac_file" : 'X\(//\)[^/]' \| \
  7718. X"$ac_file" : 'X\(//\)$' \| \
  7719. - X"$ac_file" : 'X\(/\)' \| \
  7720. - . : '\(.\)' 2>/dev/null ||
  7721. + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  7722. echo X"$ac_file" |
  7723. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7724. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7725. - /^X\(\/\/\)$/{ s//\1/; q; }
  7726. - /^X\(\/\).*/{ s//\1/; q; }
  7727. - s/.*/./; q'`
  7728. - { if $as_mkdir_p; then
  7729. - mkdir -p "$ac_dir"
  7730. - else
  7731. - as_dir="$ac_dir"
  7732. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7733. + s//\1/
  7734. + q
  7735. + }
  7736. + /^X\(\/\/\)[^/].*/{
  7737. + s//\1/
  7738. + q
  7739. + }
  7740. + /^X\(\/\/\)$/{
  7741. + s//\1/
  7742. + q
  7743. + }
  7744. + /^X\(\/\).*/{
  7745. + s//\1/
  7746. + q
  7747. + }
  7748. + s/.*/./; q'`
  7749. + { as_dir="$ac_dir"
  7750. + case $as_dir in #(
  7751. + -*) as_dir=./$as_dir;;
  7752. + esac
  7753. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  7754. as_dirs=
  7755. - while test ! -d "$as_dir"; do
  7756. - as_dirs="$as_dir $as_dirs"
  7757. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  7758. + while :; do
  7759. + case $as_dir in #(
  7760. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  7761. + *) as_qdir=$as_dir;;
  7762. + esac
  7763. + as_dirs="'$as_qdir' $as_dirs"
  7764. + as_dir=`$as_dirname -- "$as_dir" ||
  7765. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  7766. X"$as_dir" : 'X\(//\)[^/]' \| \
  7767. X"$as_dir" : 'X\(//\)$' \| \
  7768. - X"$as_dir" : 'X\(/\)' \| \
  7769. - . : '\(.\)' 2>/dev/null ||
  7770. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  7771. echo X"$as_dir" |
  7772. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  7773. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  7774. - /^X\(\/\/\)$/{ s//\1/; q; }
  7775. - /^X\(\/\).*/{ s//\1/; q; }
  7776. - s/.*/./; q'`
  7777. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  7778. + s//\1/
  7779. + q
  7780. + }
  7781. + /^X\(\/\/\)[^/].*/{
  7782. + s//\1/
  7783. + q
  7784. + }
  7785. + /^X\(\/\/\)$/{
  7786. + s//\1/
  7787. + q
  7788. + }
  7789. + /^X\(\/\).*/{
  7790. + s//\1/
  7791. + q
  7792. + }
  7793. + s/.*/./; q'`
  7794. + test -d "$as_dir" && break
  7795. done
  7796. - test ! -n "$as_dirs" || mkdir $as_dirs
  7797. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  7798. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  7799. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  7800. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  7801. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  7802. { (exit 1); exit 1; }; }; }
  7803. -
  7804. ac_builddir=.
  7805. -if test "$ac_dir" != .; then
  7806. +case "$ac_dir" in
  7807. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7808. +*)
  7809. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  7810. - # A "../" for each directory in $ac_dir_suffix.
  7811. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  7812. -else
  7813. - ac_dir_suffix= ac_top_builddir=
  7814. -fi
  7815. + # A ".." for each directory in $ac_dir_suffix.
  7816. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  7817. + case $ac_top_builddir_sub in
  7818. + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  7819. + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  7820. + esac ;;
  7821. +esac
  7822. +ac_abs_top_builddir=$ac_pwd
  7823. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  7824. +# for backward compatibility:
  7825. +ac_top_builddir=$ac_top_build_prefix
  7826. case $srcdir in
  7827. - .) # No --srcdir option. We are building in place.
  7828. + .) # We are building in place.
  7829. ac_srcdir=.
  7830. - if test -z "$ac_top_builddir"; then
  7831. - ac_top_srcdir=.
  7832. - else
  7833. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  7834. - fi ;;
  7835. - [\\/]* | ?:[\\/]* ) # Absolute path.
  7836. + ac_top_srcdir=$ac_top_builddir_sub
  7837. + ac_abs_top_srcdir=$ac_pwd ;;
  7838. + [\\/]* | ?:[\\/]* ) # Absolute name.
  7839. ac_srcdir=$srcdir$ac_dir_suffix;
  7840. - ac_top_srcdir=$srcdir ;;
  7841. - *) # Relative path.
  7842. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  7843. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  7844. + ac_top_srcdir=$srcdir
  7845. + ac_abs_top_srcdir=$srcdir ;;
  7846. + *) # Relative name.
  7847. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  7848. + ac_top_srcdir=$ac_top_build_prefix$srcdir
  7849. + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  7850. esac
  7851. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  7852. -# Do not use `cd foo && pwd` to compute absolute paths, because
  7853. -# the directories may not exist.
  7854. -case `pwd` in
  7855. -.) ac_abs_builddir="$ac_dir";;
  7856. -*)
  7857. - case "$ac_dir" in
  7858. - .) ac_abs_builddir=`pwd`;;
  7859. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  7860. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  7861. - esac;;
  7862. -esac
  7863. -case $ac_abs_builddir in
  7864. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  7865. -*)
  7866. - case ${ac_top_builddir}. in
  7867. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  7868. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  7869. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  7870. - esac;;
  7871. -esac
  7872. -case $ac_abs_builddir in
  7873. -.) ac_abs_srcdir=$ac_srcdir;;
  7874. -*)
  7875. - case $ac_srcdir in
  7876. - .) ac_abs_srcdir=$ac_abs_builddir;;
  7877. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  7878. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  7879. - esac;;
  7880. -esac
  7881. -case $ac_abs_builddir in
  7882. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  7883. -*)
  7884. - case $ac_top_srcdir in
  7885. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  7886. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  7887. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  7888. - esac;;
  7889. -esac
  7890. + case $ac_mode in
  7891. + :F)
  7892. + #
  7893. + # CONFIG_FILE
  7894. + #
  7895. case $INSTALL in
  7896. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  7897. - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  7898. + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  7899. esac
  7900. +_ACEOF
  7901. - if test x"$ac_file" != x-; then
  7902. - { echo "$as_me:$LINENO: creating $ac_file" >&5
  7903. -echo "$as_me: creating $ac_file" >&6;}
  7904. - rm -f "$ac_file"
  7905. - fi
  7906. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  7907. - # use $as_me), people would be surprised to read:
  7908. - # /* config.h. Generated by config.status. */
  7909. - if test x"$ac_file" = x-; then
  7910. - configure_input=
  7911. - else
  7912. - configure_input="$ac_file. "
  7913. - fi
  7914. - configure_input=$configure_input"Generated from `echo $ac_file_in |
  7915. - sed 's,.*/,,'` by configure."
  7916. +cat >>$CONFIG_STATUS <<\_ACEOF
  7917. +# If the template does not know about datarootdir, expand it.
  7918. +# FIXME: This hack should be removed a few years after 2.60.
  7919. +ac_datarootdir_hack=; ac_datarootdir_seen=
  7920. - # First look for the input files in the build tree, otherwise in the
  7921. - # src tree.
  7922. - ac_file_inputs=`IFS=:
  7923. - for f in $ac_file_in; do
  7924. - case $f in
  7925. - -) echo $tmp/stdin ;;
  7926. - [\\/$]*)
  7927. - # Absolute (can't be DOS-style, as IFS=:)
  7928. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  7929. -echo "$as_me: error: cannot find input file: $f" >&2;}
  7930. - { (exit 1); exit 1; }; }
  7931. - echo "$f";;
  7932. - *) # Relative
  7933. - if test -f "$f"; then
  7934. - # Build tree
  7935. - echo "$f"
  7936. - elif test -f "$srcdir/$f"; then
  7937. - # Source tree
  7938. - echo "$srcdir/$f"
  7939. - else
  7940. - # /dev/null tree
  7941. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  7942. -echo "$as_me: error: cannot find input file: $f" >&2;}
  7943. - { (exit 1); exit 1; }; }
  7944. - fi;;
  7945. - esac
  7946. - done` || { (exit 1); exit 1; }
  7947. +case `sed -n '/datarootdir/ {
  7948. + p
  7949. + q
  7950. +}
  7951. +/@datadir@/p
  7952. +/@docdir@/p
  7953. +/@infodir@/p
  7954. +/@localedir@/p
  7955. +/@mandir@/p
  7956. +' $ac_file_inputs` in
  7957. +*datarootdir*) ac_datarootdir_seen=yes;;
  7958. +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  7959. + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  7960. +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  7961. _ACEOF
  7962. cat >>$CONFIG_STATUS <<_ACEOF
  7963. + ac_datarootdir_hack='
  7964. + s&@datadir@&$datadir&g
  7965. + s&@docdir@&$docdir&g
  7966. + s&@infodir@&$infodir&g
  7967. + s&@localedir@&$localedir&g
  7968. + s&@mandir@&$mandir&g
  7969. + s&\\\${datarootdir}&$datarootdir&g' ;;
  7970. +esac
  7971. +_ACEOF
  7972. +
  7973. +# Neutralize VPATH when `$srcdir' = `.'.
  7974. +# Shell code in configure.ac might set extrasub.
  7975. +# FIXME: do we really want to maintain this feature?
  7976. +cat >>$CONFIG_STATUS <<_ACEOF
  7977. sed "$ac_vpsub
  7978. $extrasub
  7979. _ACEOF
  7980. cat >>$CONFIG_STATUS <<\_ACEOF
  7981. :t
  7982. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  7983. -s,@configure_input@,$configure_input,;t t
  7984. -s,@srcdir@,$ac_srcdir,;t t
  7985. -s,@abs_srcdir@,$ac_abs_srcdir,;t t
  7986. -s,@top_srcdir@,$ac_top_srcdir,;t t
  7987. -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  7988. -s,@builddir@,$ac_builddir,;t t
  7989. -s,@abs_builddir@,$ac_abs_builddir,;t t
  7990. -s,@top_builddir@,$ac_top_builddir,;t t
  7991. -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  7992. -s,@INSTALL@,$ac_INSTALL,;t t
  7993. -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  7994. - rm -f $tmp/stdin
  7995. - if test x"$ac_file" != x-; then
  7996. - mv $tmp/out $ac_file
  7997. - else
  7998. - cat $tmp/out
  7999. - rm -f $tmp/out
  8000. - fi
  8001. -
  8002. -done
  8003. -_ACEOF
  8004. -cat >>$CONFIG_STATUS <<\_ACEOF
  8005. -
  8006. -#
  8007. -# CONFIG_HEADER section.
  8008. -#
  8009. +s&@configure_input@&$configure_input&;t t
  8010. +s&@top_builddir@&$ac_top_builddir_sub&;t t
  8011. +s&@srcdir@&$ac_srcdir&;t t
  8012. +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  8013. +s&@top_srcdir@&$ac_top_srcdir&;t t
  8014. +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  8015. +s&@builddir@&$ac_builddir&;t t
  8016. +s&@abs_builddir@&$ac_abs_builddir&;t t
  8017. +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  8018. +s&@INSTALL@&$ac_INSTALL&;t t
  8019. +$ac_datarootdir_hack
  8020. +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
  8021. -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  8022. -# NAME is the cpp macro being defined and VALUE is the value it is being given.
  8023. -#
  8024. -# ac_d sets the value in "#define NAME VALUE" lines.
  8025. -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  8026. -ac_dB='[ ].*$,\1#\2'
  8027. -ac_dC=' '
  8028. -ac_dD=',;t'
  8029. -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  8030. -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  8031. -ac_uB='$,\1#\2define\3'
  8032. -ac_uC=' '
  8033. -ac_uD=',;t'
  8034. +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  8035. + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  8036. + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  8037. + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8038. +which seems to be undefined. Please make sure it is defined." >&5
  8039. +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8040. +which seems to be undefined. Please make sure it is defined." >&2;}
  8041. -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  8042. - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  8043. + rm -f "$tmp/stdin"
  8044. case $ac_file in
  8045. - - | *:- | *:-:* ) # input from stdin
  8046. - cat >$tmp/stdin
  8047. - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8048. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  8049. - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8050. - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  8051. - * ) ac_file_in=$ac_file.in ;;
  8052. + -) cat "$tmp/out"; rm -f "$tmp/out";;
  8053. + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  8054. esac
  8055. -
  8056. - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
  8057. -echo "$as_me: creating $ac_file" >&6;}
  8058. -
  8059. - # First look for the input files in the build tree, otherwise in the
  8060. - # src tree.
  8061. - ac_file_inputs=`IFS=:
  8062. - for f in $ac_file_in; do
  8063. - case $f in
  8064. - -) echo $tmp/stdin ;;
  8065. - [\\/$]*)
  8066. - # Absolute (can't be DOS-style, as IFS=:)
  8067. - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  8068. -echo "$as_me: error: cannot find input file: $f" >&2;}
  8069. - { (exit 1); exit 1; }; }
  8070. - # Do quote $f, to prevent DOS paths from being IFS'd.
  8071. - echo "$f";;
  8072. - *) # Relative
  8073. - if test -f "$f"; then
  8074. - # Build tree
  8075. - echo "$f"
  8076. - elif test -f "$srcdir/$f"; then
  8077. - # Source tree
  8078. - echo "$srcdir/$f"
  8079. - else
  8080. - # /dev/null tree
  8081. - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  8082. -echo "$as_me: error: cannot find input file: $f" >&2;}
  8083. - { (exit 1); exit 1; }; }
  8084. - fi;;
  8085. - esac
  8086. - done` || { (exit 1); exit 1; }
  8087. - # Remove the trailing spaces.
  8088. - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
  8089. -
  8090. + ;;
  8091. + :H)
  8092. + #
  8093. + # CONFIG_HEADER
  8094. + #
  8095. _ACEOF
  8096. -# Transform confdefs.h into two sed scripts, `conftest.defines' and
  8097. -# `conftest.undefs', that substitutes the proper values into
  8098. -# config.h.in to produce config.h. The first handles `#define'
  8099. -# templates, and the second `#undef' templates.
  8100. -# And first: Protect against being on the right side of a sed subst in
  8101. -# config.status. Protect against being in an unquoted here document
  8102. -# in config.status.
  8103. -rm -f conftest.defines conftest.undefs
  8104. -# Using a here document instead of a string reduces the quoting nightmare.
  8105. -# Putting comments in sed scripts is not portable.
  8106. -#
  8107. -# `end' is used to avoid that the second main sed command (meant for
  8108. -# 0-ary CPP macros) applies to n-ary macro definitions.
  8109. -# See the Autoconf documentation for `clear'.
  8110. -cat >confdef2sed.sed <<\_ACEOF
  8111. -s/[\\&,]/\\&/g
  8112. -s,[\\$`],\\&,g
  8113. -t clear
  8114. -: clear
  8115. -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
  8116. -t end
  8117. -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  8118. -: end
  8119. -_ACEOF
  8120. -# If some macros were called several times there might be several times
  8121. -# the same #defines, which is useless. Nevertheless, we may not want to
  8122. -# sort them, since we want the *last* AC-DEFINE to be honored.
  8123. -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  8124. -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  8125. -rm -f confdef2sed.sed
  8126. +# Transform confdefs.h into a sed script `conftest.defines', that
  8127. +# substitutes the proper values into config.h.in to produce config.h.
  8128. +rm -f conftest.defines conftest.tail
  8129. +# First, append a space to every undef/define line, to ease matching.
  8130. +echo 's/$/ /' >conftest.defines
  8131. +# Then, protect against being on the right side of a sed subst, or in
  8132. +# an unquoted here document, in config.status. If some macros were
  8133. +# called several times there might be several #defines for the same
  8134. +# symbol, which is useless. But do not sort them, since the last
  8135. +# AC_DEFINE must be honored.
  8136. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  8137. +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  8138. +# NAME is the cpp macro being defined, VALUE is the value it is being given.
  8139. +# PARAMS is the parameter list in the macro definition--in most cases, it's
  8140. +# just an empty string.
  8141. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  8142. +ac_dB='\\)[ (].*,\\1define\\2'
  8143. +ac_dC=' '
  8144. +ac_dD=' ,'
  8145. -# This sed command replaces #undef with comments. This is necessary, for
  8146. +uniq confdefs.h |
  8147. + sed -n '
  8148. + t rset
  8149. + :rset
  8150. + s/^[ ]*#[ ]*define[ ][ ]*//
  8151. + t ok
  8152. + d
  8153. + :ok
  8154. + s/[\\&,]/\\&/g
  8155. + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  8156. + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  8157. + ' >>conftest.defines
  8158. +
  8159. +# Remove the space that was appended to ease matching.
  8160. +# Then replace #undef with comments. This is necessary, for
  8161. # example, in the case of _POSIX_SOURCE, which is predefined and required
  8162. # on some systems where configure will not decide to define it.
  8163. -cat >>conftest.undefs <<\_ACEOF
  8164. -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
  8165. -_ACEOF
  8166. +# (The regexp can be short, since the line contains either #define or #undef.)
  8167. +echo 's/ $//
  8168. +s,^[ #]*u.*,/* & */,' >>conftest.defines
  8169. -# Break up conftest.defines because some shells have a limit on the size
  8170. -# of here documents, and old seds have small limits too (100 cmds).
  8171. -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  8172. -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  8173. -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  8174. -echo ' :' >>$CONFIG_STATUS
  8175. -rm -f conftest.tail
  8176. -while grep . conftest.defines >/dev/null
  8177. +# Break up conftest.defines:
  8178. +ac_max_sed_lines=50
  8179. +
  8180. +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  8181. +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  8182. +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  8183. +# et cetera.
  8184. +ac_in='$ac_file_inputs'
  8185. +ac_out='"$tmp/out1"'
  8186. +ac_nxt='"$tmp/out2"'
  8187. +
  8188. +while :
  8189. do
  8190. - # Write a limited-size here document to $tmp/defines.sed.
  8191. - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  8192. - # Speed up: don't consider the non `#define' lines.
  8193. - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
  8194. - # Work around the forget-to-reset-the-flag bug.
  8195. - echo 't clr' >>$CONFIG_STATUS
  8196. - echo ': clr' >>$CONFIG_STATUS
  8197. - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  8198. + # Write a here document:
  8199. + cat >>$CONFIG_STATUS <<_ACEOF
  8200. + # First, check the format of the line:
  8201. + cat >"\$tmp/defines.sed" <<\\CEOF
  8202. +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  8203. +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  8204. +b
  8205. +:def
  8206. +_ACEOF
  8207. + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  8208. echo 'CEOF
  8209. - sed -f $tmp/defines.sed $tmp/in >$tmp/out
  8210. - rm -f $tmp/in
  8211. - mv $tmp/out $tmp/in
  8212. -' >>$CONFIG_STATUS
  8213. - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  8214. + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  8215. + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  8216. + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  8217. + grep . conftest.tail >/dev/null || break
  8218. rm -f conftest.defines
  8219. mv conftest.tail conftest.defines
  8220. done
  8221. -rm -f conftest.defines
  8222. -echo ' fi # grep' >>$CONFIG_STATUS
  8223. -echo >>$CONFIG_STATUS
  8224. -
  8225. -# Break up conftest.undefs because some shells have a limit on the size
  8226. -# of here documents, and old seds have small limits too (100 cmds).
  8227. -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  8228. -rm -f conftest.tail
  8229. -while grep . conftest.undefs >/dev/null
  8230. -do
  8231. - # Write a limited-size here document to $tmp/undefs.sed.
  8232. - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  8233. - # Speed up: don't consider the non `#undef'
  8234. - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
  8235. - # Work around the forget-to-reset-the-flag bug.
  8236. - echo 't clr' >>$CONFIG_STATUS
  8237. - echo ': clr' >>$CONFIG_STATUS
  8238. - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  8239. - echo 'CEOF
  8240. - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  8241. - rm -f $tmp/in
  8242. - mv $tmp/out $tmp/in
  8243. -' >>$CONFIG_STATUS
  8244. - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  8245. - rm -f conftest.undefs
  8246. - mv conftest.tail conftest.undefs
  8247. -done
  8248. -rm -f conftest.undefs
  8249. +rm -f conftest.defines conftest.tail
  8250. +echo "ac_result=$ac_in" >>$CONFIG_STATUS
  8251. cat >>$CONFIG_STATUS <<\_ACEOF
  8252. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  8253. - # use $as_me), people would be surprised to read:
  8254. - # /* config.h. Generated by config.status. */
  8255. - if test x"$ac_file" = x-; then
  8256. - echo "/* Generated by configure. */" >$tmp/config.h
  8257. - else
  8258. - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
  8259. - fi
  8260. - cat $tmp/in >>$tmp/config.h
  8261. - rm -f $tmp/in
  8262. if test x"$ac_file" != x-; then
  8263. - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
  8264. + echo "/* $configure_input */" >"$tmp/config.h"
  8265. + cat "$ac_result" >>"$tmp/config.h"
  8266. + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  8267. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  8268. echo "$as_me: $ac_file is unchanged" >&6;}
  8269. else
  8270. - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  8271. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8272. - X"$ac_file" : 'X\(//\)[^/]' \| \
  8273. - X"$ac_file" : 'X\(//\)$' \| \
  8274. - X"$ac_file" : 'X\(/\)' \| \
  8275. - . : '\(.\)' 2>/dev/null ||
  8276. -echo X"$ac_file" |
  8277. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8278. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8279. - /^X\(\/\/\)$/{ s//\1/; q; }
  8280. - /^X\(\/\).*/{ s//\1/; q; }
  8281. - s/.*/./; q'`
  8282. - { if $as_mkdir_p; then
  8283. - mkdir -p "$ac_dir"
  8284. - else
  8285. - as_dir="$ac_dir"
  8286. - as_dirs=
  8287. - while test ! -d "$as_dir"; do
  8288. - as_dirs="$as_dir $as_dirs"
  8289. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8290. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8291. - X"$as_dir" : 'X\(//\)[^/]' \| \
  8292. - X"$as_dir" : 'X\(//\)$' \| \
  8293. - X"$as_dir" : 'X\(/\)' \| \
  8294. - . : '\(.\)' 2>/dev/null ||
  8295. -echo X"$as_dir" |
  8296. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8297. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8298. - /^X\(\/\/\)$/{ s//\1/; q; }
  8299. - /^X\(\/\).*/{ s//\1/; q; }
  8300. - s/.*/./; q'`
  8301. - done
  8302. - test ! -n "$as_dirs" || mkdir $as_dirs
  8303. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  8304. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  8305. - { (exit 1); exit 1; }; }; }
  8306. -
  8307. rm -f $ac_file
  8308. - mv $tmp/config.h $ac_file
  8309. + mv "$tmp/config.h" $ac_file
  8310. fi
  8311. else
  8312. - cat $tmp/config.h
  8313. - rm -f $tmp/config.h
  8314. + echo "/* $configure_input */"
  8315. + cat "$ac_result"
  8316. fi
  8317. + rm -f "$tmp/out12"
  8318. # Compute $ac_file's index in $config_headers.
  8319. _am_stamp_count=1
  8320. for _am_header in $config_headers :; do
  8321. @@ -7556,135 +8077,39 @@ for _am_header in $config_headers :; do
  8322. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  8323. esac
  8324. done
  8325. -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
  8326. +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
  8327. $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8328. X$ac_file : 'X\(//\)[^/]' \| \
  8329. X$ac_file : 'X\(//\)$' \| \
  8330. - X$ac_file : 'X\(/\)' \| \
  8331. - . : '\(.\)' 2>/dev/null ||
  8332. + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
  8333. echo X$ac_file |
  8334. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8335. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8336. - /^X\(\/\/\)$/{ s//\1/; q; }
  8337. - /^X\(\/\).*/{ s//\1/; q; }
  8338. - s/.*/./; q'`/stamp-h$_am_stamp_count
  8339. -done
  8340. -_ACEOF
  8341. -cat >>$CONFIG_STATUS <<\_ACEOF
  8342. -
  8343. -#
  8344. -# CONFIG_COMMANDS section.
  8345. -#
  8346. -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  8347. - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  8348. - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  8349. - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
  8350. -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8351. - X"$ac_dest" : 'X\(//\)[^/]' \| \
  8352. - X"$ac_dest" : 'X\(//\)$' \| \
  8353. - X"$ac_dest" : 'X\(/\)' \| \
  8354. - . : '\(.\)' 2>/dev/null ||
  8355. -echo X"$ac_dest" |
  8356. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8357. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8358. - /^X\(\/\/\)$/{ s//\1/; q; }
  8359. - /^X\(\/\).*/{ s//\1/; q; }
  8360. - s/.*/./; q'`
  8361. - { if $as_mkdir_p; then
  8362. - mkdir -p "$ac_dir"
  8363. - else
  8364. - as_dir="$ac_dir"
  8365. - as_dirs=
  8366. - while test ! -d "$as_dir"; do
  8367. - as_dirs="$as_dir $as_dirs"
  8368. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8369. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8370. - X"$as_dir" : 'X\(//\)[^/]' \| \
  8371. - X"$as_dir" : 'X\(//\)$' \| \
  8372. - X"$as_dir" : 'X\(/\)' \| \
  8373. - . : '\(.\)' 2>/dev/null ||
  8374. -echo X"$as_dir" |
  8375. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8376. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8377. - /^X\(\/\/\)$/{ s//\1/; q; }
  8378. - /^X\(\/\).*/{ s//\1/; q; }
  8379. - s/.*/./; q'`
  8380. - done
  8381. - test ! -n "$as_dirs" || mkdir $as_dirs
  8382. - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  8383. -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  8384. - { (exit 1); exit 1; }; }; }
  8385. -
  8386. - ac_builddir=.
  8387. -
  8388. -if test "$ac_dir" != .; then
  8389. - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8390. - # A "../" for each directory in $ac_dir_suffix.
  8391. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  8392. -else
  8393. - ac_dir_suffix= ac_top_builddir=
  8394. -fi
  8395. -
  8396. -case $srcdir in
  8397. - .) # No --srcdir option. We are building in place.
  8398. - ac_srcdir=.
  8399. - if test -z "$ac_top_builddir"; then
  8400. - ac_top_srcdir=.
  8401. - else
  8402. - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  8403. - fi ;;
  8404. - [\\/]* | ?:[\\/]* ) # Absolute path.
  8405. - ac_srcdir=$srcdir$ac_dir_suffix;
  8406. - ac_top_srcdir=$srcdir ;;
  8407. - *) # Relative path.
  8408. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  8409. - ac_top_srcdir=$ac_top_builddir$srcdir ;;
  8410. -esac
  8411. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8412. + s//\1/
  8413. + q
  8414. + }
  8415. + /^X\(\/\/\)[^/].*/{
  8416. + s//\1/
  8417. + q
  8418. + }
  8419. + /^X\(\/\/\)$/{
  8420. + s//\1/
  8421. + q
  8422. + }
  8423. + /^X\(\/\).*/{
  8424. + s//\1/
  8425. + q
  8426. + }
  8427. + s/.*/./; q'`/stamp-h$_am_stamp_count
  8428. + ;;
  8429. -# Do not use `cd foo && pwd` to compute absolute paths, because
  8430. -# the directories may not exist.
  8431. -case `pwd` in
  8432. -.) ac_abs_builddir="$ac_dir";;
  8433. -*)
  8434. - case "$ac_dir" in
  8435. - .) ac_abs_builddir=`pwd`;;
  8436. - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  8437. - *) ac_abs_builddir=`pwd`/"$ac_dir";;
  8438. - esac;;
  8439. -esac
  8440. -case $ac_abs_builddir in
  8441. -.) ac_abs_top_builddir=${ac_top_builddir}.;;
  8442. -*)
  8443. - case ${ac_top_builddir}. in
  8444. - .) ac_abs_top_builddir=$ac_abs_builddir;;
  8445. - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  8446. - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  8447. - esac;;
  8448. -esac
  8449. -case $ac_abs_builddir in
  8450. -.) ac_abs_srcdir=$ac_srcdir;;
  8451. -*)
  8452. - case $ac_srcdir in
  8453. - .) ac_abs_srcdir=$ac_abs_builddir;;
  8454. - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  8455. - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  8456. - esac;;
  8457. -esac
  8458. -case $ac_abs_builddir in
  8459. -.) ac_abs_top_srcdir=$ac_top_srcdir;;
  8460. -*)
  8461. - case $ac_top_srcdir in
  8462. - .) ac_abs_top_srcdir=$ac_abs_builddir;;
  8463. - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  8464. - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  8465. - esac;;
  8466. -esac
  8467. + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
  8468. +echo "$as_me: executing $ac_file commands" >&6;}
  8469. + ;;
  8470. + esac
  8471. - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
  8472. -echo "$as_me: executing $ac_dest commands" >&6;}
  8473. - case $ac_dest in
  8474. - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8475. + case $ac_file$ac_mode in
  8476. + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
  8477. # Strip MF so we end up with the name of the file.
  8478. mf=`echo "$mf" | sed -e 's/:.*$//'`
  8479. # Check whether this is an Automake generated Makefile or not.
  8480. @@ -7694,18 +8119,29 @@ echo "$as_me: executing $ac_dest command
  8481. # each Makefile.in and add a new line on top of each file to say so.
  8482. # So let's grep whole file.
  8483. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  8484. - dirpart=`(dirname "$mf") 2>/dev/null ||
  8485. + dirpart=`$as_dirname -- "$mf" ||
  8486. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8487. X"$mf" : 'X\(//\)[^/]' \| \
  8488. X"$mf" : 'X\(//\)$' \| \
  8489. - X"$mf" : 'X\(/\)' \| \
  8490. - . : '\(.\)' 2>/dev/null ||
  8491. + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  8492. echo X"$mf" |
  8493. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8494. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8495. - /^X\(\/\/\)$/{ s//\1/; q; }
  8496. - /^X\(\/\).*/{ s//\1/; q; }
  8497. - s/.*/./; q'`
  8498. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8499. + s//\1/
  8500. + q
  8501. + }
  8502. + /^X\(\/\/\)[^/].*/{
  8503. + s//\1/
  8504. + q
  8505. + }
  8506. + /^X\(\/\/\)$/{
  8507. + s//\1/
  8508. + q
  8509. + }
  8510. + /^X\(\/\).*/{
  8511. + s//\1/
  8512. + q
  8513. + }
  8514. + s/.*/./; q'`
  8515. else
  8516. continue
  8517. fi
  8518. @@ -7727,53 +8163,79 @@ echo X"$mf" |
  8519. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8520. # Make sure the directory exists.
  8521. test -f "$dirpart/$file" && continue
  8522. - fdir=`(dirname "$file") 2>/dev/null ||
  8523. + fdir=`$as_dirname -- "$file" ||
  8524. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8525. X"$file" : 'X\(//\)[^/]' \| \
  8526. X"$file" : 'X\(//\)$' \| \
  8527. - X"$file" : 'X\(/\)' \| \
  8528. - . : '\(.\)' 2>/dev/null ||
  8529. + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  8530. echo X"$file" |
  8531. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8532. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8533. - /^X\(\/\/\)$/{ s//\1/; q; }
  8534. - /^X\(\/\).*/{ s//\1/; q; }
  8535. - s/.*/./; q'`
  8536. - { if $as_mkdir_p; then
  8537. - mkdir -p $dirpart/$fdir
  8538. - else
  8539. - as_dir=$dirpart/$fdir
  8540. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8541. + s//\1/
  8542. + q
  8543. + }
  8544. + /^X\(\/\/\)[^/].*/{
  8545. + s//\1/
  8546. + q
  8547. + }
  8548. + /^X\(\/\/\)$/{
  8549. + s//\1/
  8550. + q
  8551. + }
  8552. + /^X\(\/\).*/{
  8553. + s//\1/
  8554. + q
  8555. + }
  8556. + s/.*/./; q'`
  8557. + { as_dir=$dirpart/$fdir
  8558. + case $as_dir in #(
  8559. + -*) as_dir=./$as_dir;;
  8560. + esac
  8561. + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8562. as_dirs=
  8563. - while test ! -d "$as_dir"; do
  8564. - as_dirs="$as_dir $as_dirs"
  8565. - as_dir=`(dirname "$as_dir") 2>/dev/null ||
  8566. + while :; do
  8567. + case $as_dir in #(
  8568. + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8569. + *) as_qdir=$as_dir;;
  8570. + esac
  8571. + as_dirs="'$as_qdir' $as_dirs"
  8572. + as_dir=`$as_dirname -- "$as_dir" ||
  8573. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8574. X"$as_dir" : 'X\(//\)[^/]' \| \
  8575. X"$as_dir" : 'X\(//\)$' \| \
  8576. - X"$as_dir" : 'X\(/\)' \| \
  8577. - . : '\(.\)' 2>/dev/null ||
  8578. + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8579. echo X"$as_dir" |
  8580. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8581. - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8582. - /^X\(\/\/\)$/{ s//\1/; q; }
  8583. - /^X\(\/\).*/{ s//\1/; q; }
  8584. - s/.*/./; q'`
  8585. + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8586. + s//\1/
  8587. + q
  8588. + }
  8589. + /^X\(\/\/\)[^/].*/{
  8590. + s//\1/
  8591. + q
  8592. + }
  8593. + /^X\(\/\/\)$/{
  8594. + s//\1/
  8595. + q
  8596. + }
  8597. + /^X\(\/\).*/{
  8598. + s//\1/
  8599. + q
  8600. + }
  8601. + s/.*/./; q'`
  8602. + test -d "$as_dir" && break
  8603. done
  8604. - test ! -n "$as_dirs" || mkdir $as_dirs
  8605. - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
  8606. -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
  8607. + test -z "$as_dirs" || eval "mkdir $as_dirs"
  8608. + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8609. +echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8610. { (exit 1); exit 1; }; }; }
  8611. -
  8612. # echo "creating $dirpart/$file"
  8613. echo '# dummy' > "$dirpart/$file"
  8614. done
  8615. done
  8616. ;;
  8617. +
  8618. esac
  8619. -done
  8620. -_ACEOF
  8621. +done # for ac_tag
  8622. -cat >>$CONFIG_STATUS <<\_ACEOF
  8623. { (exit 0); exit 0; }
  8624. _ACEOF