autotools.patch 281 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192
  1. diff -Nur cifs-utils-6.1.orig/aclocal.m4 cifs-utils-6.1/aclocal.m4
  2. --- cifs-utils-6.1.orig/aclocal.m4 2013-07-02 21:20:30.000000000 +0200
  3. +++ cifs-utils-6.1/aclocal.m4 2013-10-05 18:12:37.000000000 +0200
  4. @@ -1,7 +1,8 @@
  5. -# generated automatically by aclocal 1.12.2 -*- Autoconf -*-
  6. -
  7. -# Copyright (C) 1996-2012 Free Software Foundation, Inc.
  8. +# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
  9. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  10. +# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
  11. +# Inc.
  12. # This file is free software; the Free Software Foundation
  13. # gives unlimited permission to copy and/or distribute it,
  14. # with or without modifications, as long as this notice is preserved.
  15. @@ -17,48 +18,7 @@
  16. [m4_warning([this file was generated for autoconf 2.69.
  17. You have another version of autoconf. It may work, but is not guaranteed to.
  18. If you have problems, you may need to regenerate the build system entirely.
  19. -To do so, use the procedure documented by the package, typically 'autoreconf'.])])
  20. -
  21. -# libcap-ng.m4 - Checks for the libcap-ng support
  22. -# Copyright (c) 2009 Steve Grubb sgrubb@redhat.com
  23. -#
  24. -AC_DEFUN([LIBCAP_NG_PATH],
  25. -[
  26. - AC_ARG_WITH(libcap-ng,
  27. - [ --with-libcap-ng=[auto/yes/no] Add Libcap-ng support [default=auto]],,
  28. - with_libcap_ng=auto)
  29. -
  30. - # Check for Libcap-ng API
  31. - #
  32. - # libcap-ng detection
  33. -
  34. - if test x$with_libcap_ng = xno ; then
  35. - have_libcap_ng=no;
  36. - else
  37. - # Start by checking for header file
  38. - AC_CHECK_HEADER(cap-ng.h, capng_headers=yes, capng_headers=no)
  39. -
  40. - # See if we have libcap-ng library
  41. - AC_CHECK_LIB(cap-ng, capng_clear,
  42. - CAPNG_LDADD=-lcap-ng,)
  43. -
  44. - # Check results are usable
  45. - if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
  46. - AC_MSG_ERROR(libcap-ng support was requested and the library was not found)
  47. - fi
  48. - if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
  49. - AC_MSG_ERROR(libcap-ng libraries found but headers are missing)
  50. - fi
  51. - fi
  52. - AC_SUBST(CAPNG_LDADD)
  53. - AC_MSG_CHECKING(whether to use libcap-ng)
  54. - if test x$CAPNG_LDADD != x ; then
  55. - AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])
  56. - AC_MSG_RESULT(yes)
  57. - else
  58. - AC_MSG_RESULT(no)
  59. - fi
  60. -])
  61. +To do so, use the procedure documented by the package, typically `autoreconf'.])])
  62. # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
  63. # serial 1 (pkg-config-0.24)
  64. @@ -220,53 +180,14 @@
  65. fi[]dnl
  66. ])# PKG_CHECK_MODULES
  67. -
  68. -# PKG_INSTALLDIR(DIRECTORY)
  69. -# -------------------------
  70. -# Substitutes the variable pkgconfigdir as the location where a module
  71. -# should install pkg-config .pc files. By default the directory is
  72. -# $libdir/pkgconfig, but the default can be changed by passing
  73. -# DIRECTORY. The user can override through the --with-pkgconfigdir
  74. -# parameter.
  75. -AC_DEFUN([PKG_INSTALLDIR],
  76. -[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
  77. -m4_pushdef([pkg_description],
  78. - [pkg-config installation directory @<:@]pkg_default[@:>@])
  79. -AC_ARG_WITH([pkgconfigdir],
  80. - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
  81. - [with_pkgconfigdir=]pkg_default)
  82. -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
  83. -m4_popdef([pkg_default])
  84. -m4_popdef([pkg_description])
  85. -]) dnl PKG_INSTALLDIR
  86. -
  87. -
  88. -# PKG_NOARCH_INSTALLDIR(DIRECTORY)
  89. -# -------------------------
  90. -# Substitutes the variable noarch_pkgconfigdir as the location where a
  91. -# module should install arch-independent pkg-config .pc files. By
  92. -# default the directory is $datadir/pkgconfig, but the default can be
  93. -# changed by passing DIRECTORY. The user can override through the
  94. -# --with-noarch-pkgconfigdir parameter.
  95. -AC_DEFUN([PKG_NOARCH_INSTALLDIR],
  96. -[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
  97. -m4_pushdef([pkg_description],
  98. - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
  99. -AC_ARG_WITH([noarch-pkgconfigdir],
  100. - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
  101. - [with_noarch_pkgconfigdir=]pkg_default)
  102. -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
  103. -m4_popdef([pkg_default])
  104. -m4_popdef([pkg_description])
  105. -]) dnl PKG_NOARCH_INSTALLDIR
  106. -
  107. -# Copyright (C) 2002-2012 Free Software Foundation, Inc.
  108. +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
  109. +# Foundation, Inc.
  110. #
  111. # This file is free software; the Free Software Foundation
  112. # gives unlimited permission to copy and/or distribute it,
  113. # with or without modifications, as long as this notice is preserved.
  114. -# serial 8
  115. +# serial 1
  116. # AM_AUTOMAKE_VERSION(VERSION)
  117. # ----------------------------
  118. @@ -274,10 +195,10 @@
  119. # generated from the m4 files accompanying Automake X.Y.
  120. # (This private macro should not be called outside this file.)
  121. AC_DEFUN([AM_AUTOMAKE_VERSION],
  122. -[am__api_version='1.12'
  123. +[am__api_version='1.11'
  124. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  125. dnl require some minimum version. Point them to the right macro.
  126. -m4_if([$1], [1.12.2], [],
  127. +m4_if([$1], [1.11.6], [],
  128. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  129. ])
  130. @@ -293,24 +214,24 @@
  131. # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  132. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  133. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  134. -[AM_AUTOMAKE_VERSION([1.12.2])dnl
  135. +[AM_AUTOMAKE_VERSION([1.11.6])dnl
  136. m4_ifndef([AC_AUTOCONF_VERSION],
  137. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  138. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  139. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  140. -# Copyright (C) 2001-2012 Free Software Foundation, Inc.
  141. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
  142. #
  143. # This file is free software; the Free Software Foundation
  144. # gives unlimited permission to copy and/or distribute it,
  145. # with or without modifications, as long as this notice is preserved.
  146. -# serial 2
  147. +# serial 1
  148. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  149. -# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
  150. -# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  151. +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  152. +# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  153. #
  154. # Of course, Automake must honor this variable whenever it calls a
  155. # tool from the auxiliary directory. The problem is that $srcdir (and
  156. @@ -329,7 +250,7 @@
  157. #
  158. # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  159. # are both prefixed by $srcdir. In an in-source build this is usually
  160. -# harmless because $srcdir is '.', but things will broke when you
  161. +# harmless because $srcdir is `.', but things will broke when you
  162. # start a VPATH build or use an absolute $srcdir.
  163. #
  164. # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  165. @@ -355,21 +276,22 @@
  166. # AM_CONDITIONAL -*- Autoconf -*-
  167. -# Copyright (C) 1997-2012 Free Software Foundation, Inc.
  168. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  169. +# Free Software Foundation, Inc.
  170. #
  171. # This file is free software; the Free Software Foundation
  172. # gives unlimited permission to copy and/or distribute it,
  173. # with or without modifications, as long as this notice is preserved.
  174. -# serial 10
  175. +# serial 9
  176. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  177. # -------------------------------------
  178. # Define a conditional.
  179. AC_DEFUN([AM_CONDITIONAL],
  180. -[AC_PREREQ([2.52])dnl
  181. - m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  182. - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  183. +[AC_PREREQ(2.52)dnl
  184. + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  185. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  186. AC_SUBST([$1_TRUE])dnl
  187. AC_SUBST([$1_FALSE])dnl
  188. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  189. @@ -388,15 +310,16 @@
  190. Usually this means the macro was only invoked conditionally.]])
  191. fi])])
  192. -# Copyright (C) 1999-2012 Free Software Foundation, Inc.
  193. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
  194. +# 2010, 2011 Free Software Foundation, Inc.
  195. #
  196. # This file is free software; the Free Software Foundation
  197. # gives unlimited permission to copy and/or distribute it,
  198. # with or without modifications, as long as this notice is preserved.
  199. -# serial 17
  200. +# serial 12
  201. -# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  202. +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  203. # written in clear, in which case automake, when reading aclocal.m4,
  204. # will think it sees a *use*, and therefore will trigger all it's
  205. # C support machinery. Also note that it means that autoscan, seeing
  206. @@ -406,7 +329,7 @@
  207. # _AM_DEPENDENCIES(NAME)
  208. # ----------------------
  209. # See how the compiler implements dependency checking.
  210. -# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  211. +# NAME is "CC", "CXX", "GCJ", or "OBJC".
  212. # We try a few techniques and use that to set a single cache variable.
  213. #
  214. # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  215. @@ -419,13 +342,12 @@
  216. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  217. AC_REQUIRE([AM_DEP_TRACK])dnl
  218. -m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  219. - [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  220. - [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  221. - [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  222. - [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  223. - [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  224. - [depcc="$$1" am_compiler_list=])
  225. +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  226. + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  227. + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  228. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  229. + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  230. + [depcc="$$1" am_compiler_list=])
  231. AC_CACHE_CHECK([dependency style of $depcc],
  232. [am_cv_$1_dependencies_compiler_type],
  233. @@ -433,8 +355,8 @@
  234. # We make a subdir and do the tests there. Otherwise we can end up
  235. # making bogus files that we don't know about and never remove. For
  236. # instance it was reported that on HP-UX the gcc test will end up
  237. - # making a dummy file named 'D' -- because '-MD' means "put the output
  238. - # in D".
  239. + # making a dummy file named `D' -- because `-MD' means `put the output
  240. + # in D'.
  241. rm -rf conftest.dir
  242. mkdir conftest.dir
  243. # Copy depcomp to subdir because otherwise we won't find it if we're
  244. @@ -474,16 +396,16 @@
  245. : > sub/conftest.c
  246. for i in 1 2 3 4 5 6; do
  247. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  248. - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  249. - # Solaris 10 /bin/sh.
  250. - echo '/* dummy */' > sub/conftst$i.h
  251. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  252. + # Solaris 8's {/usr,}/bin/sh.
  253. + touch sub/conftst$i.h
  254. done
  255. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  256. - # We check with '-c' and '-o' for the sake of the "dashmstdout"
  257. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  258. # mode. It turns out that the SunPro C++ compiler does not properly
  259. - # handle '-M -o', and we need to detect this. Also, some Intel
  260. - # versions had trouble with output in subdirs.
  261. + # handle `-M -o', and we need to detect this. Also, some Intel
  262. + # versions had trouble with output in subdirs
  263. am__obj=sub/conftest.${OBJEXT-o}
  264. am__minus_obj="-o $am__obj"
  265. case $depmode in
  266. @@ -492,8 +414,8 @@
  267. test "$am__universal" = false || continue
  268. ;;
  269. nosideeffect)
  270. - # After this tag, mechanisms are not by side-effect, so they'll
  271. - # only be used when explicitly requested.
  272. + # after this tag, mechanisms are not by side-effect, so they'll
  273. + # only be used when explicitly requested
  274. if test "x$enable_dependency_tracking" = xyes; then
  275. continue
  276. else
  277. @@ -501,7 +423,7 @@
  278. fi
  279. ;;
  280. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  281. - # This compiler won't grok '-c -o', but also, the minuso test has
  282. + # This compiler won't grok `-c -o', but also, the minuso test has
  283. # not run yet. These depmodes are late enough in the game, and
  284. # so weak that their functioning should not be impacted.
  285. am__obj=conftest.${OBJEXT-o}
  286. @@ -549,7 +471,7 @@
  287. # AM_SET_DEPDIR
  288. # -------------
  289. # Choose a directory name for dependency files.
  290. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  291. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  292. AC_DEFUN([AM_SET_DEPDIR],
  293. [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  294. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  295. @@ -559,13 +481,9 @@
  296. # AM_DEP_TRACK
  297. # ------------
  298. AC_DEFUN([AM_DEP_TRACK],
  299. -[AC_ARG_ENABLE([dependency-tracking], [dnl
  300. -AS_HELP_STRING(
  301. - [--enable-dependency-tracking],
  302. - [do not reject slow dependency extractors])
  303. -AS_HELP_STRING(
  304. - [--disable-dependency-tracking],
  305. - [speeds up one-time build])])
  306. +[AC_ARG_ENABLE(dependency-tracking,
  307. +[ --disable-dependency-tracking speeds up one-time build
  308. + --enable-dependency-tracking do not reject slow dependency extractors])
  309. if test "x$enable_dependency_tracking" != xno; then
  310. am_depcomp="$ac_aux_dir/depcomp"
  311. AMDEPBACKSLASH='\'
  312. @@ -580,13 +498,14 @@
  313. # Generate code to set up dependency tracking. -*- Autoconf -*-
  314. -# Copyright (C) 1999-2012 Free Software Foundation, Inc.
  315. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  316. +# Free Software Foundation, Inc.
  317. #
  318. # This file is free software; the Free Software Foundation
  319. # gives unlimited permission to copy and/or distribute it,
  320. # with or without modifications, as long as this notice is preserved.
  321. -# serial 6
  322. +#serial 5
  323. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  324. # ------------------------------
  325. @@ -605,7 +524,7 @@
  326. # Strip MF so we end up with the name of the file.
  327. mf=`echo "$mf" | sed -e 's/:.*$//'`
  328. # Check whether this is an Automake generated Makefile or not.
  329. - # We used to match only the files named 'Makefile.in', but
  330. + # We used to match only the files named `Makefile.in', but
  331. # some people rename them; so instead we look at the file content.
  332. # Grep'ing the first line is not enough: some people post-process
  333. # each Makefile.in and add a new line on top of each file to say so.
  334. @@ -617,19 +536,21 @@
  335. continue
  336. fi
  337. # Extract the definition of DEPDIR, am__include, and am__quote
  338. - # from the Makefile without running 'make'.
  339. + # from the Makefile without running `make'.
  340. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  341. test -z "$DEPDIR" && continue
  342. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  343. test -z "am__include" && continue
  344. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  345. + # When using ansi2knr, U may be empty or an underscore; expand it
  346. + U=`sed -n 's/^U = //p' < "$mf"`
  347. # Find all dependency output files, they are included files with
  348. # $(DEPDIR) in their names. We invoke sed twice because it is the
  349. # simplest approach to changing $(DEPDIR) to its actual value in the
  350. # expansion.
  351. for file in `sed -n "
  352. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  353. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  354. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  355. # Make sure the directory exists.
  356. test -f "$dirpart/$file" && continue
  357. fdir=`AS_DIRNAME(["$file"])`
  358. @@ -647,7 +568,7 @@
  359. # This macro should only be invoked once -- use via AC_REQUIRE.
  360. #
  361. # This code is only required when automatic dependency tracking
  362. -# is enabled. FIXME. This creates each '.P' file that we will
  363. +# is enabled. FIXME. This creates each `.P' file that we will
  364. # need in order to bootstrap the dependency handling code.
  365. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  366. [AC_CONFIG_COMMANDS([depfiles],
  367. @@ -657,13 +578,14 @@
  368. # Do all the work for Automake. -*- Autoconf -*-
  369. -# Copyright (C) 1996-2012 Free Software Foundation, Inc.
  370. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  371. +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  372. #
  373. # This file is free software; the Free Software Foundation
  374. # gives unlimited permission to copy and/or distribute it,
  375. # with or without modifications, as long as this notice is preserved.
  376. -# serial 19
  377. +# serial 16
  378. # This macro actually does too much. Some checks are only needed if
  379. # your package does certain things. But this isn't really a big deal.
  380. @@ -709,41 +631,31 @@
  381. # Define the identity of the package.
  382. dnl Distinguish between old-style and new-style calls.
  383. m4_ifval([$2],
  384. -[AC_DIAGNOSE([obsolete],
  385. -[$0: two- and three-arguments forms are deprecated. For more info, see:
  386. -http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
  387. -m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  388. +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  389. AC_SUBST([PACKAGE], [$1])dnl
  390. AC_SUBST([VERSION], [$2])],
  391. [_AM_SET_OPTIONS([$1])dnl
  392. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  393. -m4_if(
  394. - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  395. - [ok:ok],,
  396. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  397. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  398. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  399. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  400. _AM_IF_OPTION([no-define],,
  401. -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  402. - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  403. +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  404. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  405. # Some tools Automake needs.
  406. AC_REQUIRE([AM_SANITY_CHECK])dnl
  407. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  408. -AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  409. -AM_MISSING_PROG([AUTOCONF], [autoconf])
  410. -AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  411. -AM_MISSING_PROG([AUTOHEADER], [autoheader])
  412. -AM_MISSING_PROG([MAKEINFO], [makeinfo])
  413. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  414. +AM_MISSING_PROG(AUTOCONF, autoconf)
  415. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  416. +AM_MISSING_PROG(AUTOHEADER, autoheader)
  417. +AM_MISSING_PROG(MAKEINFO, makeinfo)
  418. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  419. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  420. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  421. -# For better backward compatibility. To be removed once Automake 1.9.x
  422. -# dies out for good. For more background, see:
  423. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  424. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  425. -AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  426. +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  427. # We need awk for the "check" target. The system "awk" is bad on
  428. # some platforms.
  429. AC_REQUIRE([AC_PROG_AWK])dnl
  430. @@ -754,35 +666,28 @@
  431. [_AM_PROG_TAR([v7])])])
  432. _AM_IF_OPTION([no-dependencies],,
  433. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  434. - [_AM_DEPENDENCIES([CC])],
  435. - [m4_define([AC_PROG_CC],
  436. - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  437. + [_AM_DEPENDENCIES(CC)],
  438. + [define([AC_PROG_CC],
  439. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  440. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  441. - [_AM_DEPENDENCIES([CXX])],
  442. - [m4_define([AC_PROG_CXX],
  443. - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  444. + [_AM_DEPENDENCIES(CXX)],
  445. + [define([AC_PROG_CXX],
  446. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  447. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  448. - [_AM_DEPENDENCIES([OBJC])],
  449. - [m4_define([AC_PROG_OBJC],
  450. - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  451. -dnl Support for Objective C++ was only introduced in Autoconf 2.65,
  452. -dnl but we still cater to Autoconf 2.62.
  453. -m4_ifdef([AC_PROG_OBJCXX],
  454. -[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  455. - [_AM_DEPENDENCIES([OBJCXX])],
  456. - [m4_define([AC_PROG_OBJCXX],
  457. - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
  458. + [_AM_DEPENDENCIES(OBJC)],
  459. + [define([AC_PROG_OBJC],
  460. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  461. ])
  462. _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  463. -dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
  464. -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  465. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  466. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  467. dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  468. AC_CONFIG_COMMANDS_PRE(dnl
  469. [m4_provide_if([_AM_COMPILER_EXEEXT],
  470. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  471. ])
  472. -dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  473. +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
  474. dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  475. dnl mangled by Autoconf and run in a shell conditional statement.
  476. m4_define([_AC_COMPILER_EXEEXT],
  477. @@ -810,13 +715,14 @@
  478. done
  479. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  480. -# Copyright (C) 2001-2012 Free Software Foundation, Inc.
  481. +# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
  482. +# Inc.
  483. #
  484. # This file is free software; the Free Software Foundation
  485. # gives unlimited permission to copy and/or distribute it,
  486. # with or without modifications, as long as this notice is preserved.
  487. -# serial 8
  488. +# serial 1
  489. # AM_PROG_INSTALL_SH
  490. # ------------------
  491. @@ -831,9 +737,9 @@
  492. install_sh="\${SHELL} $am_aux_dir/install-sh"
  493. esac
  494. fi
  495. -AC_SUBST([install_sh])])
  496. +AC_SUBST(install_sh)])
  497. -# Copyright (C) 2003-2012 Free Software Foundation, Inc.
  498. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  499. #
  500. # This file is free software; the Free Software Foundation
  501. # gives unlimited permission to copy and/or distribute it,
  502. @@ -856,13 +762,13 @@
  503. # Check to see how 'make' treats includes. -*- Autoconf -*-
  504. -# Copyright (C) 2001-2012 Free Software Foundation, Inc.
  505. +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
  506. #
  507. # This file is free software; the Free Software Foundation
  508. # gives unlimited permission to copy and/or distribute it,
  509. # with or without modifications, as long as this notice is preserved.
  510. -# serial 5
  511. +# serial 4
  512. # AM_MAKE_INCLUDE()
  513. # -----------------
  514. @@ -881,7 +787,7 @@
  515. _am_result=none
  516. # First try GNU make style include.
  517. echo "include confinc" > confmf
  518. -# Ignore all kinds of additional output from 'make'.
  519. +# Ignore all kinds of additional output from `make'.
  520. case `$am_make -s -f confmf 2> /dev/null` in #(
  521. *the\ am__doit\ target*)
  522. am__include=include
  523. @@ -906,7 +812,8 @@
  524. rm -f confinc confmf
  525. ])
  526. -# Copyright (C) 1999-2012 Free Software Foundation, Inc.
  527. +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
  528. +# Free Software Foundation, Inc.
  529. #
  530. # This file is free software; the Free Software Foundation
  531. # gives unlimited permission to copy and/or distribute it,
  532. @@ -942,13 +849,14 @@
  533. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  534. -# Copyright (C) 1997-2012 Free Software Foundation, Inc.
  535. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  536. +# Free Software Foundation, Inc.
  537. #
  538. # This file is free software; the Free Software Foundation
  539. # gives unlimited permission to copy and/or distribute it,
  540. # with or without modifications, as long as this notice is preserved.
  541. -# serial 7
  542. +# serial 6
  543. # AM_MISSING_PROG(NAME, PROGRAM)
  544. # ------------------------------
  545. @@ -978,19 +886,49 @@
  546. am_missing_run="$MISSING --run "
  547. else
  548. am_missing_run=
  549. - AC_MSG_WARN(['missing' script is too old or missing])
  550. + AC_MSG_WARN([`missing' script is too old or missing])
  551. fi
  552. ])
  553. +# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
  554. +# Inc.
  555. +#
  556. +# This file is free software; the Free Software Foundation
  557. +# gives unlimited permission to copy and/or distribute it,
  558. +# with or without modifications, as long as this notice is preserved.
  559. +
  560. +# serial 1
  561. +
  562. +# AM_PROG_MKDIR_P
  563. +# ---------------
  564. +# Check for `mkdir -p'.
  565. +AC_DEFUN([AM_PROG_MKDIR_P],
  566. +[AC_PREREQ([2.60])dnl
  567. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  568. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  569. +dnl while keeping a definition of mkdir_p for backward compatibility.
  570. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  571. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  572. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  573. +dnl adjustment using top_builddir (which is defined more often than
  574. +dnl MKDIR_P).
  575. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  576. +case $mkdir_p in
  577. + [[\\/$]]* | ?:[[\\/]]*) ;;
  578. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  579. +esac
  580. +])
  581. +
  582. # Helper functions for option handling. -*- Autoconf -*-
  583. -# Copyright (C) 2001-2012 Free Software Foundation, Inc.
  584. +# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
  585. +# Foundation, Inc.
  586. #
  587. # This file is free software; the Free Software Foundation
  588. # gives unlimited permission to copy and/or distribute it,
  589. # with or without modifications, as long as this notice is preserved.
  590. -# serial 6
  591. +# serial 5
  592. # _AM_MANGLE_OPTION(NAME)
  593. # -----------------------
  594. @@ -1001,7 +939,7 @@
  595. # --------------------
  596. # Set option NAME. Presently that only means defining a flag for this option.
  597. AC_DEFUN([_AM_SET_OPTION],
  598. -[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  599. +[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  600. # _AM_SET_OPTIONS(OPTIONS)
  601. # ------------------------
  602. @@ -1017,18 +955,22 @@
  603. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  604. -# Copyright (C) 1996-2012 Free Software Foundation, Inc.
  605. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  606. +# Free Software Foundation, Inc.
  607. #
  608. # This file is free software; the Free Software Foundation
  609. # gives unlimited permission to copy and/or distribute it,
  610. # with or without modifications, as long as this notice is preserved.
  611. -# serial 9
  612. +# serial 5
  613. # AM_SANITY_CHECK
  614. # ---------------
  615. AC_DEFUN([AM_SANITY_CHECK],
  616. [AC_MSG_CHECKING([whether build environment is sane])
  617. +# Just in case
  618. +sleep 1
  619. +echo timestamp > conftest.file
  620. # Reject unsafe characters in $srcdir or the absolute working directory
  621. # name. Accept space and tab only in the latter.
  622. am_lf='
  623. @@ -1039,40 +981,32 @@
  624. esac
  625. case $srcdir in
  626. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  627. - AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  628. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  629. esac
  630. -# Do 'set' in a subshell so we don't clobber the current shell's
  631. +# Do `set' in a subshell so we don't clobber the current shell's
  632. # arguments. Must try -L first in case configure is actually a
  633. # symlink; some systems play weird games with the mod time of symlinks
  634. # (eg FreeBSD returns the mod time of the symlink's containing
  635. # directory).
  636. if (
  637. - am_has_slept=no
  638. - for am_try in 1 2; do
  639. - echo "timestamp, slept: $am_has_slept" > conftest.file
  640. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  641. - if test "$[*]" = "X"; then
  642. - # -L didn't work.
  643. - set X `ls -t "$srcdir/configure" conftest.file`
  644. - fi
  645. - if test "$[*]" != "X $srcdir/configure conftest.file" \
  646. - && test "$[*]" != "X conftest.file $srcdir/configure"; then
  647. -
  648. - # If neither matched, then we have a broken ls. This can happen
  649. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  650. - # broken ls alias from the environment. This has actually
  651. - # happened. Such a system could not be considered "sane".
  652. - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  653. - alias in your environment])
  654. - fi
  655. - if test "$[2]" = conftest.file || test $am_try -eq 2; then
  656. - break
  657. - fi
  658. - # Just in case.
  659. - sleep 1
  660. - am_has_slept=yes
  661. - done
  662. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  663. + if test "$[*]" = "X"; then
  664. + # -L didn't work.
  665. + set X `ls -t "$srcdir/configure" conftest.file`
  666. + fi
  667. + rm -f conftest.file
  668. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  669. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  670. +
  671. + # If neither matched, then we have a broken ls. This can happen
  672. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  673. + # broken ls alias from the environment. This has actually
  674. + # happened. Such a system could not be considered "sane".
  675. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  676. +alias in your environment])
  677. + fi
  678. +
  679. test "$[2]" = conftest.file
  680. )
  681. then
  682. @@ -1082,55 +1016,39 @@
  683. AC_MSG_ERROR([newly created file is older than distributed files!
  684. Check your system clock])
  685. fi
  686. -AC_MSG_RESULT([yes])
  687. -# If we didn't sleep, we still need to ensure time stamps of config.status and
  688. -# generated files are strictly newer.
  689. -am_sleep_pid=
  690. -if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  691. - ( sleep 1 ) &
  692. - am_sleep_pid=$!
  693. -fi
  694. -AC_CONFIG_COMMANDS_PRE(
  695. - [AC_MSG_CHECKING([that generated files are newer than configure])
  696. - if test -n "$am_sleep_pid"; then
  697. - # Hide warnings about reused PIDs.
  698. - wait $am_sleep_pid 2>/dev/null
  699. - fi
  700. - AC_MSG_RESULT([done])])
  701. -rm -f conftest.file
  702. -])
  703. +AC_MSG_RESULT(yes)])
  704. -# Copyright (C) 2001-2012 Free Software Foundation, Inc.
  705. +# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
  706. #
  707. # This file is free software; the Free Software Foundation
  708. # gives unlimited permission to copy and/or distribute it,
  709. # with or without modifications, as long as this notice is preserved.
  710. -# serial 2
  711. +# serial 1
  712. # AM_PROG_INSTALL_STRIP
  713. # ---------------------
  714. -# One issue with vendor 'install' (even GNU) is that you can't
  715. +# One issue with vendor `install' (even GNU) is that you can't
  716. # specify the program used to strip binaries. This is especially
  717. # annoying in cross-compiling environments, where the build's strip
  718. # is unlikely to handle the host's binaries.
  719. # Fortunately install-sh will honor a STRIPPROG variable, so we
  720. -# always use install-sh in "make install-strip", and initialize
  721. +# always use install-sh in `make install-strip', and initialize
  722. # STRIPPROG with the value of the STRIP variable (set by the user).
  723. AC_DEFUN([AM_PROG_INSTALL_STRIP],
  724. [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  725. -# Installed binaries are usually stripped using 'strip' when the user
  726. -# run "make install-strip". However 'strip' might not be the right
  727. +# Installed binaries are usually stripped using `strip' when the user
  728. +# run `make install-strip'. However `strip' might not be the right
  729. # tool to use in cross-compilation environments, therefore Automake
  730. -# will honor the 'STRIP' environment variable to overrule this program.
  731. -dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  732. +# will honor the `STRIP' environment variable to overrule this program.
  733. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  734. if test "$cross_compiling" != no; then
  735. AC_CHECK_TOOL([STRIP], [strip], :)
  736. fi
  737. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  738. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  739. -# Copyright (C) 2006-2012 Free Software Foundation, Inc.
  740. +# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
  741. #
  742. # This file is free software; the Free Software Foundation
  743. # gives unlimited permission to copy and/or distribute it,
  744. @@ -1151,18 +1069,18 @@
  745. # Check how to create a tarball. -*- Autoconf -*-
  746. -# Copyright (C) 2004-2012 Free Software Foundation, Inc.
  747. +# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
  748. #
  749. # This file is free software; the Free Software Foundation
  750. # gives unlimited permission to copy and/or distribute it,
  751. # with or without modifications, as long as this notice is preserved.
  752. -# serial 3
  753. +# serial 2
  754. # _AM_PROG_TAR(FORMAT)
  755. # --------------------
  756. # Check how to create a tarball in format FORMAT.
  757. -# FORMAT should be one of 'v7', 'ustar', or 'pax'.
  758. +# FORMAT should be one of `v7', `ustar', or `pax'.
  759. #
  760. # Substitute a variable $(am__tar) that is a command
  761. # writing to stdout a FORMAT-tarball containing the directory
  762. @@ -1185,7 +1103,7 @@
  763. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  764. _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  765. # Do not fold the above two line into one, because Tru64 sh and
  766. -# Solaris sh will not grok spaces in the rhs of '-'.
  767. +# Solaris sh will not grok spaces in the rhs of `-'.
  768. for _am_tool in $_am_tools
  769. do
  770. case $_am_tool in
  771. diff -Nur cifs-utils-6.1.orig/autom4te.cache/output.0 cifs-utils-6.1/autom4te.cache/output.0
  772. --- cifs-utils-6.1.orig/autom4te.cache/output.0 2013-07-02 21:20:30.000000000 +0200
  773. +++ cifs-utils-6.1/autom4te.cache/output.0 2013-10-05 18:12:37.000000000 +0200
  774. @@ -626,7 +626,6 @@
  775. am__EXEEXT_TRUE
  776. LTLIBOBJS
  777. LIBCAP
  778. -CAPNG_LDADD
  779. CONFIG_PLUGIN_FALSE
  780. CONFIG_PLUGIN_TRUE
  781. CONFIG_CIFSACL_FALSE
  782. @@ -646,14 +645,6 @@
  783. RELRO_CFLAGS
  784. PIE_CFLAGS
  785. RT_LDADD
  786. -host_os
  787. -host_vendor
  788. -host_cpu
  789. -host
  790. -build_os
  791. -build_vendor
  792. -build_cpu
  793. -build
  794. LIB@&t@OBJS
  795. SED
  796. EGREP
  797. @@ -751,7 +742,6 @@
  798. enable_systemd
  799. with_idmap_plugin
  800. enable_dependency_tracking
  801. -with_libcap_ng
  802. with_libcap
  803. '
  804. ac_precious_vars='build_alias
  805. @@ -1370,10 +1360,6 @@
  806. --program-prefix=PREFIX prepend PREFIX to installed program names
  807. --program-suffix=SUFFIX append SUFFIX to installed program names
  808. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  809. -
  810. -System types:
  811. - --build=BUILD configure for building on BUILD [guessed]
  812. - --host=HOST cross-compile to build programs to run on HOST [BUILD]
  813. _ACEOF
  814. fi
  815. @@ -1396,10 +1382,8 @@
  816. --enable-cifsacl Create get/set cifsacl binary @<:@default=yes@:>@
  817. --enable-systemd Enable systemd specific behavior for mount.cifs
  818. @<:@default=yes@:>@
  819. - --enable-dependency-tracking
  820. - do not reject slow dependency extractors
  821. - --disable-dependency-tracking
  822. - speeds up one-time build
  823. + --disable-dependency-tracking speeds up one-time build
  824. + --enable-dependency-tracking do not reject slow dependency extractors
  825. Optional Packages:
  826. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  827. @@ -1408,7 +1392,6 @@
  828. Define the path to the plugin that the idmapping
  829. infrastructure should use
  830. @<:@default=/etc/cifs-utils/idmap-plugin@:>@
  831. - --with-libcap-ng=auto/yes/no Add Libcap-ng support default=auto
  832. --with-libcap Add libcap support default=yes, if libcap-ng not available
  833. Some influential environment variables:
  834. @@ -2323,7 +2306,7 @@
  835. -am__api_version='1.12'
  836. +am__api_version='1.11'
  837. ac_aux_dir=
  838. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  839. @@ -2449,6 +2432,9 @@
  840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  841. $as_echo_n "checking whether build environment is sane... " >&6; }
  842. +# Just in case
  843. +sleep 1
  844. +echo timestamp > conftest.file
  845. # Reject unsafe characters in $srcdir or the absolute working directory
  846. # name. Accept space and tab only in the latter.
  847. am_lf='
  848. @@ -2459,40 +2445,32 @@
  849. esac
  850. case $srcdir in
  851. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  852. - as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  853. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  854. esac
  855. -# Do 'set' in a subshell so we don't clobber the current shell's
  856. +# Do `set' in a subshell so we don't clobber the current shell's
  857. # arguments. Must try -L first in case configure is actually a
  858. # symlink; some systems play weird games with the mod time of symlinks
  859. # (eg FreeBSD returns the mod time of the symlink's containing
  860. # directory).
  861. if (
  862. - am_has_slept=no
  863. - for am_try in 1 2; do
  864. - echo "timestamp, slept: $am_has_slept" > conftest.file
  865. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  866. - if test "$*" = "X"; then
  867. - # -L didn't work.
  868. - set X `ls -t "$srcdir/configure" conftest.file`
  869. - fi
  870. - if test "$*" != "X $srcdir/configure conftest.file" \
  871. - && test "$*" != "X conftest.file $srcdir/configure"; then
  872. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  873. + if test "$*" = "X"; then
  874. + # -L didn't work.
  875. + set X `ls -t "$srcdir/configure" conftest.file`
  876. + fi
  877. + rm -f conftest.file
  878. + if test "$*" != "X $srcdir/configure conftest.file" \
  879. + && test "$*" != "X conftest.file $srcdir/configure"; then
  880. +
  881. + # If neither matched, then we have a broken ls. This can happen
  882. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  883. + # broken ls alias from the environment. This has actually
  884. + # happened. Such a system could not be considered "sane".
  885. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  886. +alias in your environment" "$LINENO" 5
  887. + fi
  888. - # If neither matched, then we have a broken ls. This can happen
  889. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  890. - # broken ls alias from the environment. This has actually
  891. - # happened. Such a system could not be considered "sane".
  892. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  893. - alias in your environment" "$LINENO" 5
  894. - fi
  895. - if test "$2" = conftest.file || test $am_try -eq 2; then
  896. - break
  897. - fi
  898. - # Just in case.
  899. - sleep 1
  900. - am_has_slept=yes
  901. - done
  902. test "$2" = conftest.file
  903. )
  904. then
  905. @@ -2504,16 +2482,6 @@
  906. fi
  907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  908. $as_echo "yes" >&6; }
  909. -# If we didn't sleep, we still need to ensure time stamps of config.status and
  910. -# generated files are strictly newer.
  911. -am_sleep_pid=
  912. -if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  913. - ( sleep 1 ) &
  914. - am_sleep_pid=$!
  915. -fi
  916. -
  917. -rm -f conftest.file
  918. -
  919. test "$program_prefix" != NONE &&
  920. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  921. # Use a double $ so make ignores it.
  922. @@ -2540,8 +2508,8 @@
  923. am_missing_run="$MISSING --run "
  924. else
  925. am_missing_run=
  926. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  927. -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  928. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  929. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  930. fi
  931. if test x"${install_sh}" != xset; then
  932. @@ -2553,10 +2521,10 @@
  933. esac
  934. fi
  935. -# Installed binaries are usually stripped using 'strip' when the user
  936. -# run "make install-strip". However 'strip' might not be the right
  937. +# Installed binaries are usually stripped using `strip' when the user
  938. +# run `make install-strip'. However `strip' might not be the right
  939. # tool to use in cross-compilation environments, therefore Automake
  940. -# will honor the 'STRIP' environment variable to overrule this program.
  941. +# will honor the `STRIP' environment variable to overrule this program.
  942. if test "$cross_compiling" != no; then
  943. if test -n "$ac_tool_prefix"; then
  944. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  945. @@ -2695,6 +2663,12 @@
  946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  947. $as_echo "$MKDIR_P" >&6; }
  948. +mkdir_p="$MKDIR_P"
  949. +case $mkdir_p in
  950. + [\\/$]* | ?:[\\/]*) ;;
  951. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  952. +esac
  953. +
  954. for ac_prog in gawk mawk nawk awk
  955. do
  956. # Extract the first word of "$ac_prog", so it can be a program name with args.
  957. @@ -2827,12 +2801,6 @@
  958. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  959. -# For better backward compatibility. To be removed once Automake 1.9.x
  960. -# dies out for good. For more background, see:
  961. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  962. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  963. -mkdir_p='$(MKDIR_P)'
  964. -
  965. # We need awk for the "check" target. The system "awk" is bad on
  966. # some platforms.
  967. # Always define AMTAR for backward compatibility. Yes, it's still used
  968. @@ -3735,7 +3703,7 @@
  969. _am_result=none
  970. # First try GNU make style include.
  971. echo "include confinc" > confmf
  972. -# Ignore all kinds of additional output from 'make'.
  973. +# Ignore all kinds of additional output from `make'.
  974. case `$am_make -s -f confmf 2> /dev/null` in #(
  975. *the\ am__doit\ target*)
  976. am__include=include
  977. @@ -3791,8 +3759,8 @@
  978. # We make a subdir and do the tests there. Otherwise we can end up
  979. # making bogus files that we don't know about and never remove. For
  980. # instance it was reported that on HP-UX the gcc test will end up
  981. - # making a dummy file named 'D' -- because '-MD' means "put the output
  982. - # in D".
  983. + # making a dummy file named `D' -- because `-MD' means `put the output
  984. + # in D'.
  985. rm -rf conftest.dir
  986. mkdir conftest.dir
  987. # Copy depcomp to subdir because otherwise we won't find it if we're
  988. @@ -3827,16 +3795,16 @@
  989. : > sub/conftest.c
  990. for i in 1 2 3 4 5 6; do
  991. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  992. - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  993. - # Solaris 10 /bin/sh.
  994. - echo '/* dummy */' > sub/conftst$i.h
  995. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  996. + # Solaris 8's {/usr,}/bin/sh.
  997. + touch sub/conftst$i.h
  998. done
  999. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  1000. - # We check with '-c' and '-o' for the sake of the "dashmstdout"
  1001. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  1002. # mode. It turns out that the SunPro C++ compiler does not properly
  1003. - # handle '-M -o', and we need to detect this. Also, some Intel
  1004. - # versions had trouble with output in subdirs.
  1005. + # handle `-M -o', and we need to detect this. Also, some Intel
  1006. + # versions had trouble with output in subdirs
  1007. am__obj=sub/conftest.${OBJEXT-o}
  1008. am__minus_obj="-o $am__obj"
  1009. case $depmode in
  1010. @@ -3845,8 +3813,8 @@
  1011. test "$am__universal" = false || continue
  1012. ;;
  1013. nosideeffect)
  1014. - # After this tag, mechanisms are not by side-effect, so they'll
  1015. - # only be used when explicitly requested.
  1016. + # after this tag, mechanisms are not by side-effect, so they'll
  1017. + # only be used when explicitly requested
  1018. if test "x$enable_dependency_tracking" = xyes; then
  1019. continue
  1020. else
  1021. @@ -3854,7 +3822,7 @@
  1022. fi
  1023. ;;
  1024. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  1025. - # This compiler won't grok '-c -o', but also, the minuso test has
  1026. + # This compiler won't grok `-c -o', but also, the minuso test has
  1027. # not run yet. These depmodes are late enough in the game, and
  1028. # so weak that their functioning should not be impacted.
  1029. am__obj=conftest.${OBJEXT-o}
  1030. @@ -4827,346 +4795,76 @@
  1031. fi
  1032. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  1033. -$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  1034. -if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  1035. - $as_echo_n "(cached) " >&6
  1036. -else
  1037. - rm -f conftest.sym conftest.file
  1038. -echo >conftest.file
  1039. -if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  1040. - if test "$cross_compiling" = yes; then :
  1041. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1042. -else
  1043. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1044. -/* end confdefs.h. */
  1045. -$ac_includes_default
  1046. -int
  1047. -main ()
  1048. -{
  1049. -struct stat sbuf;
  1050. - /* Linux will dereference the symlink and fail, as required by POSIX.
  1051. - That is better in the sense that it means we will not
  1052. - have to compile and use the lstat wrapper. */
  1053. - return lstat ("conftest.sym/", &sbuf) == 0;
  1054. - ;
  1055. - return 0;
  1056. -}
  1057. -_ACEOF
  1058. -if ac_fn_c_try_run "$LINENO"; then :
  1059. - ac_cv_func_lstat_dereferences_slashed_symlink=yes
  1060. -else
  1061. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1062. -fi
  1063. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1064. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1065. -fi
  1066. -else
  1067. - # If the `ln -s' command failed, then we probably don't even
  1068. - # have an lstat function.
  1069. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1070. -fi
  1071. -rm -f conftest.sym conftest.file
  1072. -
  1073. -fi
  1074. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
  1075. -$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
  1076. -
  1077. -test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  1078. -
  1079. -cat >>confdefs.h <<_ACEOF
  1080. -@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  1081. -_ACEOF
  1082. -
  1083. -
  1084. -if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  1085. - case " $LIB@&t@OBJS " in
  1086. - *" lstat.$ac_objext "* ) ;;
  1087. - *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
  1088. - ;;
  1089. -esac
  1090. -
  1091. -fi
  1092. -
  1093. -for ac_header in stdlib.h
  1094. +# check for required functions
  1095. +for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop malloc memset realloc realpath setenv strchr strcmp strdup strerror strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul tolower uname
  1096. do :
  1097. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  1098. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  1099. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  1100. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  1101. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  1102. cat >>confdefs.h <<_ACEOF
  1103. -@%:@define HAVE_STDLIB_H 1
  1104. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  1105. _ACEOF
  1106. -fi
  1107. -
  1108. -done
  1109. -
  1110. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  1111. -$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  1112. -if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  1113. - $as_echo_n "(cached) " >&6
  1114. -else
  1115. - if test "$cross_compiling" = yes; then :
  1116. - ac_cv_func_malloc_0_nonnull=no
  1117. else
  1118. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1119. -/* end confdefs.h. */
  1120. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  1121. -# include <stdlib.h>
  1122. -#else
  1123. -char *malloc ();
  1124. -#endif
  1125. -
  1126. -int
  1127. -main ()
  1128. -{
  1129. -return ! malloc (0);
  1130. - ;
  1131. - return 0;
  1132. -}
  1133. -_ACEOF
  1134. -if ac_fn_c_try_run "$LINENO"; then :
  1135. - ac_cv_func_malloc_0_nonnull=yes
  1136. -else
  1137. - ac_cv_func_malloc_0_nonnull=no
  1138. -fi
  1139. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1140. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1141. -fi
  1142. -
  1143. -fi
  1144. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  1145. -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  1146. -if test $ac_cv_func_malloc_0_nonnull = yes; then :
  1147. -
  1148. -$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
  1149. -
  1150. -else
  1151. - $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
  1152. -
  1153. - case " $LIB@&t@OBJS " in
  1154. - *" malloc.$ac_objext "* ) ;;
  1155. - *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
  1156. - ;;
  1157. -esac
  1158. -
  1159. -
  1160. -$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
  1161. -
  1162. + as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  1163. fi
  1164. +done
  1165. -for ac_header in stdlib.h
  1166. +for ac_func in getopt_long
  1167. do :
  1168. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  1169. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  1170. + ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
  1171. +if test "x$ac_cv_func_getopt_long" = xyes; then :
  1172. cat >>confdefs.h <<_ACEOF
  1173. -@%:@define HAVE_STDLIB_H 1
  1174. +@%:@define HAVE_GETOPT_LONG 1
  1175. _ACEOF
  1176. +else
  1177. + as_fn_error $? "getopt_long function not found" "$LINENO" 5
  1178. fi
  1179. -
  1180. done
  1181. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
  1182. -$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
  1183. -if ${ac_cv_func_realloc_0_nonnull+:} false; then :
  1184. - $as_echo_n "(cached) " >&6
  1185. -else
  1186. - if test "$cross_compiling" = yes; then :
  1187. - ac_cv_func_realloc_0_nonnull=no
  1188. -else
  1189. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1190. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getopt_long is GNU specific" >&5
  1191. +$as_echo_n "checking if getopt_long is GNU specific... " >&6; }
  1192. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1193. /* end confdefs.h. */
  1194. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  1195. -# include <stdlib.h>
  1196. -#else
  1197. -char *realloc ();
  1198. -#endif
  1199. +#include <features.h>
  1200. +#ifndef __GLIBC__
  1201. +#error No GNU extension
  1202. +#endif
  1203. +
  1204. int
  1205. main ()
  1206. {
  1207. -return ! realloc (0, 0);
  1208. +;
  1209. ;
  1210. return 0;
  1211. }
  1212. +
  1213. _ACEOF
  1214. -if ac_fn_c_try_run "$LINENO"; then :
  1215. - ac_cv_func_realloc_0_nonnull=yes
  1216. -else
  1217. - ac_cv_func_realloc_0_nonnull=no
  1218. -fi
  1219. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1220. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1221. -fi
  1222. -
  1223. -fi
  1224. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
  1225. -$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
  1226. -if test $ac_cv_func_realloc_0_nonnull = yes; then :
  1227. +if ac_fn_c_try_cpp "$LINENO"; then :
  1228. -$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
  1229. -
  1230. -else
  1231. - $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
  1232. -
  1233. - case " $LIB@&t@OBJS " in
  1234. - *" realloc.$ac_objext "* ) ;;
  1235. - *) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext"
  1236. - ;;
  1237. -esac
  1238. -
  1239. -
  1240. -$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
  1241. -
  1242. -fi
  1243. -
  1244. -
  1245. -# Make sure we can run config.sub.
  1246. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1247. - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1248. -
  1249. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1250. -$as_echo_n "checking build system type... " >&6; }
  1251. -if ${ac_cv_build+:} false; then :
  1252. - $as_echo_n "(cached) " >&6
  1253. -else
  1254. - ac_build_alias=$build_alias
  1255. -test "x$ac_build_alias" = x &&
  1256. - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1257. -test "x$ac_build_alias" = x &&
  1258. - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1259. -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1260. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1261. -
  1262. -fi
  1263. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1264. -$as_echo "$ac_cv_build" >&6; }
  1265. -case $ac_cv_build in
  1266. -*-*-*) ;;
  1267. -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1268. -esac
  1269. -build=$ac_cv_build
  1270. -ac_save_IFS=$IFS; IFS='-'
  1271. -set x $ac_cv_build
  1272. -shift
  1273. -build_cpu=$1
  1274. -build_vendor=$2
  1275. -shift; shift
  1276. -# Remember, the first character of IFS is used to create $*,
  1277. -# except with old shells:
  1278. -build_os=$*
  1279. -IFS=$ac_save_IFS
  1280. -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1281. -
  1282. -
  1283. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1284. -$as_echo_n "checking host system type... " >&6; }
  1285. -if ${ac_cv_host+:} false; then :
  1286. - $as_echo_n "(cached) " >&6
  1287. -else
  1288. - if test "x$host_alias" = x; then
  1289. - ac_cv_host=$ac_cv_build
  1290. -else
  1291. - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1292. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1293. -fi
  1294. -
  1295. -fi
  1296. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1297. -$as_echo "$ac_cv_host" >&6; }
  1298. -case $ac_cv_host in
  1299. -*-*-*) ;;
  1300. -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  1301. -esac
  1302. -host=$ac_cv_host
  1303. -ac_save_IFS=$IFS; IFS='-'
  1304. -set x $ac_cv_host
  1305. -shift
  1306. -host_cpu=$1
  1307. -host_vendor=$2
  1308. -shift; shift
  1309. -# Remember, the first character of IFS is used to create $*,
  1310. -# except with old shells:
  1311. -host_os=$*
  1312. -IFS=$ac_save_IFS
  1313. -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1314. -
  1315. -
  1316. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  1317. -$as_echo_n "checking for working strnlen... " >&6; }
  1318. -if ${ac_cv_func_strnlen_working+:} false; then :
  1319. - $as_echo_n "(cached) " >&6
  1320. -else
  1321. - if test "$cross_compiling" = yes; then :
  1322. - # Guess no on AIX systems, yes otherwise.
  1323. - case "$host_os" in
  1324. - aix*) ac_cv_func_strnlen_working=no;;
  1325. - *) ac_cv_func_strnlen_working=yes;;
  1326. - esac
  1327. -else
  1328. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1329. -/* end confdefs.h. */
  1330. -$ac_includes_default
  1331. -int
  1332. -main ()
  1333. -{
  1334. -
  1335. -#define S "foobar"
  1336. -#define S_LEN (sizeof S - 1)
  1337. -
  1338. - /* At least one implementation is buggy: that of AIX 4.3 would
  1339. - give strnlen (S, 1) == 3. */
  1340. -
  1341. - int i;
  1342. - for (i = 0; i < S_LEN + 1; ++i)
  1343. - {
  1344. - int expected = i <= S_LEN ? i : S_LEN;
  1345. - if (strnlen (S, i) != expected)
  1346. - return 1;
  1347. - }
  1348. - return 0;
  1349. +
  1350. +$as_echo "@%:@define HAVE_GNU_GETOPT_LONG 1" >>confdefs.h
  1351. - ;
  1352. - return 0;
  1353. -}
  1354. -_ACEOF
  1355. -if ac_fn_c_try_run "$LINENO"; then :
  1356. - ac_cv_func_strnlen_working=yes
  1357. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1358. +$as_echo "yes" >&6; }
  1359. +
  1360. else
  1361. - ac_cv_func_strnlen_working=no
  1362. -fi
  1363. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1364. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1365. -fi
  1366. -
  1367. -fi
  1368. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  1369. -$as_echo "$ac_cv_func_strnlen_working" >&6; }
  1370. -test $ac_cv_func_strnlen_working = no && case " $LIB@&t@OBJS " in
  1371. - *" strnlen.$ac_objext "* ) ;;
  1372. - *) LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext"
  1373. +
  1374. + case " $LIB@&t@OBJS " in
  1375. + *" gnu_getopt.$ac_objext "* ) ;;
  1376. + *) LIB@&t@OBJS="$LIB@&t@OBJS gnu_getopt.$ac_objext"
  1377. ;;
  1378. esac
  1379. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1380. +$as_echo "no" >&6; }
  1381. -
  1382. -# check for required functions
  1383. -for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strcmp strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul tolower uname
  1384. -do :
  1385. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  1386. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  1387. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  1388. - cat >>confdefs.h <<_ACEOF
  1389. -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  1390. -_ACEOF
  1391. -
  1392. -else
  1393. - as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  1394. fi
  1395. -done
  1396. -
  1397. +rm -f conftest.err conftest.i conftest.$ac_ext
  1398. for ac_func in clock_gettime
  1399. do :
  1400. @@ -5954,97 +5652,7 @@
  1401. fi
  1402. -
  1403. -
  1404. -@%:@ Check whether --with-libcap-ng was given.
  1405. -if test "${with_libcap_ng+set}" = set; then :
  1406. - withval=$with_libcap_ng;
  1407. -else
  1408. - with_libcap_ng=auto
  1409. -fi
  1410. -
  1411. -
  1412. - # Check for Libcap-ng API
  1413. - #
  1414. - # libcap-ng detection
  1415. -
  1416. - if test x$with_libcap_ng = xno ; then
  1417. - have_libcap_ng=no;
  1418. - else
  1419. - # Start by checking for header file
  1420. - ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
  1421. -if test "x$ac_cv_header_cap_ng_h" = xyes; then :
  1422. - capng_headers=yes
  1423. -else
  1424. - capng_headers=no
  1425. -fi
  1426. -
  1427. -
  1428. -
  1429. - # See if we have libcap-ng library
  1430. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
  1431. -$as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
  1432. -if ${ac_cv_lib_cap_ng_capng_clear+:} false; then :
  1433. - $as_echo_n "(cached) " >&6
  1434. -else
  1435. - ac_check_lib_save_LIBS=$LIBS
  1436. -LIBS="-lcap-ng $LIBS"
  1437. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1438. -/* end confdefs.h. */
  1439. -
  1440. -/* Override any GCC internal prototype to avoid an error.
  1441. - Use char because int might match the return type of a GCC
  1442. - builtin and then its argument prototype would still apply. */
  1443. -#ifdef __cplusplus
  1444. -extern "C"
  1445. -#endif
  1446. -char capng_clear ();
  1447. -int
  1448. -main ()
  1449. -{
  1450. -return capng_clear ();
  1451. - ;
  1452. - return 0;
  1453. -}
  1454. -_ACEOF
  1455. -if ac_fn_c_try_link "$LINENO"; then :
  1456. - ac_cv_lib_cap_ng_capng_clear=yes
  1457. -else
  1458. - ac_cv_lib_cap_ng_capng_clear=no
  1459. -fi
  1460. -rm -f core conftest.err conftest.$ac_objext \
  1461. - conftest$ac_exeext conftest.$ac_ext
  1462. -LIBS=$ac_check_lib_save_LIBS
  1463. -fi
  1464. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
  1465. -$as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
  1466. -if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes; then :
  1467. - CAPNG_LDADD=-lcap-ng
  1468. -fi
  1469. -
  1470. -
  1471. - # Check results are usable
  1472. - if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
  1473. - as_fn_error $? "libcap-ng support was requested and the library was not found" "$LINENO" 5
  1474. - fi
  1475. - if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
  1476. - as_fn_error $? "libcap-ng libraries found but headers are missing" "$LINENO" 5
  1477. - fi
  1478. - fi
  1479. -
  1480. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
  1481. -$as_echo_n "checking whether to use libcap-ng... " >&6; }
  1482. - if test x$CAPNG_LDADD != x ; then
  1483. -
  1484. -$as_echo "@%:@define HAVE_LIBCAP_NG 1" >>confdefs.h
  1485. -
  1486. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1487. -$as_echo "yes" >&6; }
  1488. - else
  1489. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1490. -$as_echo "no" >&6; }
  1491. - fi
  1492. -
  1493. +LIBCAP_NG_PATH
  1494. if test "x$CAPNG_LDADD" = "x"; then
  1495. @@ -6253,14 +5861,6 @@
  1496. LTLIBOBJS=$ac_ltlibobjs
  1497. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  1498. -$as_echo_n "checking that generated files are newer than configure... " >&6; }
  1499. - if test -n "$am_sleep_pid"; then
  1500. - # Hide warnings about reused PIDs.
  1501. - wait $am_sleep_pid 2>/dev/null
  1502. - fi
  1503. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  1504. -$as_echo "done" >&6; }
  1505. if test -n "$EXEEXT"; then
  1506. am__EXEEXT_TRUE=
  1507. am__EXEEXT_FALSE='#'
  1508. @@ -7504,7 +7104,7 @@
  1509. # Strip MF so we end up with the name of the file.
  1510. mf=`echo "$mf" | sed -e 's/:.*$//'`
  1511. # Check whether this is an Automake generated Makefile or not.
  1512. - # We used to match only the files named 'Makefile.in', but
  1513. + # We used to match only the files named `Makefile.in', but
  1514. # some people rename them; so instead we look at the file content.
  1515. # Grep'ing the first line is not enough: some people post-process
  1516. # each Makefile.in and add a new line on top of each file to say so.
  1517. @@ -7538,19 +7138,21 @@
  1518. continue
  1519. fi
  1520. # Extract the definition of DEPDIR, am__include, and am__quote
  1521. - # from the Makefile without running 'make'.
  1522. + # from the Makefile without running `make'.
  1523. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1524. test -z "$DEPDIR" && continue
  1525. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1526. test -z "am__include" && continue
  1527. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1528. + # When using ansi2knr, U may be empty or an underscore; expand it
  1529. + U=`sed -n 's/^U = //p' < "$mf"`
  1530. # Find all dependency output files, they are included files with
  1531. # $(DEPDIR) in their names. We invoke sed twice because it is the
  1532. # simplest approach to changing $(DEPDIR) to its actual value in the
  1533. # expansion.
  1534. for file in `sed -n "
  1535. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1536. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  1537. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1538. # Make sure the directory exists.
  1539. test -f "$dirpart/$file" && continue
  1540. fdir=`$as_dirname -- "$file" ||
  1541. diff -Nur cifs-utils-6.1.orig/autom4te.cache/output.1 cifs-utils-6.1/autom4te.cache/output.1
  1542. --- cifs-utils-6.1.orig/autom4te.cache/output.1 2013-07-02 21:20:33.000000000 +0200
  1543. +++ cifs-utils-6.1/autom4te.cache/output.1 2013-10-05 18:12:38.000000000 +0200
  1544. @@ -626,7 +626,6 @@
  1545. am__EXEEXT_TRUE
  1546. LTLIBOBJS
  1547. LIBCAP
  1548. -CAPNG_LDADD
  1549. CONFIG_PLUGIN_FALSE
  1550. CONFIG_PLUGIN_TRUE
  1551. CONFIG_CIFSACL_FALSE
  1552. @@ -646,14 +645,6 @@
  1553. RELRO_CFLAGS
  1554. PIE_CFLAGS
  1555. RT_LDADD
  1556. -host_os
  1557. -host_vendor
  1558. -host_cpu
  1559. -host
  1560. -build_os
  1561. -build_vendor
  1562. -build_cpu
  1563. -build
  1564. LIB@&t@OBJS
  1565. SED
  1566. EGREP
  1567. @@ -751,7 +742,6 @@
  1568. enable_systemd
  1569. with_idmap_plugin
  1570. enable_dependency_tracking
  1571. -with_libcap_ng
  1572. with_libcap
  1573. '
  1574. ac_precious_vars='build_alias
  1575. @@ -1370,10 +1360,6 @@
  1576. --program-prefix=PREFIX prepend PREFIX to installed program names
  1577. --program-suffix=SUFFIX append SUFFIX to installed program names
  1578. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1579. -
  1580. -System types:
  1581. - --build=BUILD configure for building on BUILD [guessed]
  1582. - --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1583. _ACEOF
  1584. fi
  1585. @@ -1396,10 +1382,8 @@
  1586. --enable-cifsacl Create get/set cifsacl binary @<:@default=yes@:>@
  1587. --enable-systemd Enable systemd specific behavior for mount.cifs
  1588. @<:@default=yes@:>@
  1589. - --enable-dependency-tracking
  1590. - do not reject slow dependency extractors
  1591. - --disable-dependency-tracking
  1592. - speeds up one-time build
  1593. + --disable-dependency-tracking speeds up one-time build
  1594. + --enable-dependency-tracking do not reject slow dependency extractors
  1595. Optional Packages:
  1596. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1597. @@ -1408,7 +1392,6 @@
  1598. Define the path to the plugin that the idmapping
  1599. infrastructure should use
  1600. @<:@default=/etc/cifs-utils/idmap-plugin@:>@
  1601. - --with-libcap-ng=auto/yes/no Add Libcap-ng support default=auto
  1602. --with-libcap Add libcap support default=yes, if libcap-ng not available
  1603. Some influential environment variables:
  1604. @@ -2323,7 +2306,7 @@
  1605. -am__api_version='1.12'
  1606. +am__api_version='1.11'
  1607. ac_aux_dir=
  1608. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1609. @@ -2449,6 +2432,9 @@
  1610. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  1611. $as_echo_n "checking whether build environment is sane... " >&6; }
  1612. +# Just in case
  1613. +sleep 1
  1614. +echo timestamp > conftest.file
  1615. # Reject unsafe characters in $srcdir or the absolute working directory
  1616. # name. Accept space and tab only in the latter.
  1617. am_lf='
  1618. @@ -2459,40 +2445,32 @@
  1619. esac
  1620. case $srcdir in
  1621. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  1622. - as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  1623. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  1624. esac
  1625. -# Do 'set' in a subshell so we don't clobber the current shell's
  1626. +# Do `set' in a subshell so we don't clobber the current shell's
  1627. # arguments. Must try -L first in case configure is actually a
  1628. # symlink; some systems play weird games with the mod time of symlinks
  1629. # (eg FreeBSD returns the mod time of the symlink's containing
  1630. # directory).
  1631. if (
  1632. - am_has_slept=no
  1633. - for am_try in 1 2; do
  1634. - echo "timestamp, slept: $am_has_slept" > conftest.file
  1635. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1636. - if test "$*" = "X"; then
  1637. - # -L didn't work.
  1638. - set X `ls -t "$srcdir/configure" conftest.file`
  1639. - fi
  1640. - if test "$*" != "X $srcdir/configure conftest.file" \
  1641. - && test "$*" != "X conftest.file $srcdir/configure"; then
  1642. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  1643. + if test "$*" = "X"; then
  1644. + # -L didn't work.
  1645. + set X `ls -t "$srcdir/configure" conftest.file`
  1646. + fi
  1647. + rm -f conftest.file
  1648. + if test "$*" != "X $srcdir/configure conftest.file" \
  1649. + && test "$*" != "X conftest.file $srcdir/configure"; then
  1650. +
  1651. + # If neither matched, then we have a broken ls. This can happen
  1652. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  1653. + # broken ls alias from the environment. This has actually
  1654. + # happened. Such a system could not be considered "sane".
  1655. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  1656. +alias in your environment" "$LINENO" 5
  1657. + fi
  1658. - # If neither matched, then we have a broken ls. This can happen
  1659. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  1660. - # broken ls alias from the environment. This has actually
  1661. - # happened. Such a system could not be considered "sane".
  1662. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  1663. - alias in your environment" "$LINENO" 5
  1664. - fi
  1665. - if test "$2" = conftest.file || test $am_try -eq 2; then
  1666. - break
  1667. - fi
  1668. - # Just in case.
  1669. - sleep 1
  1670. - am_has_slept=yes
  1671. - done
  1672. test "$2" = conftest.file
  1673. )
  1674. then
  1675. @@ -2504,16 +2482,6 @@
  1676. fi
  1677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1678. $as_echo "yes" >&6; }
  1679. -# If we didn't sleep, we still need to ensure time stamps of config.status and
  1680. -# generated files are strictly newer.
  1681. -am_sleep_pid=
  1682. -if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  1683. - ( sleep 1 ) &
  1684. - am_sleep_pid=$!
  1685. -fi
  1686. -
  1687. -rm -f conftest.file
  1688. -
  1689. test "$program_prefix" != NONE &&
  1690. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1691. # Use a double $ so make ignores it.
  1692. @@ -2540,8 +2508,8 @@
  1693. am_missing_run="$MISSING --run "
  1694. else
  1695. am_missing_run=
  1696. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  1697. -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  1698. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  1699. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1700. fi
  1701. if test x"${install_sh}" != xset; then
  1702. @@ -2553,10 +2521,10 @@
  1703. esac
  1704. fi
  1705. -# Installed binaries are usually stripped using 'strip' when the user
  1706. -# run "make install-strip". However 'strip' might not be the right
  1707. +# Installed binaries are usually stripped using `strip' when the user
  1708. +# run `make install-strip'. However `strip' might not be the right
  1709. # tool to use in cross-compilation environments, therefore Automake
  1710. -# will honor the 'STRIP' environment variable to overrule this program.
  1711. +# will honor the `STRIP' environment variable to overrule this program.
  1712. if test "$cross_compiling" != no; then
  1713. if test -n "$ac_tool_prefix"; then
  1714. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1715. @@ -2695,6 +2663,12 @@
  1716. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  1717. $as_echo "$MKDIR_P" >&6; }
  1718. +mkdir_p="$MKDIR_P"
  1719. +case $mkdir_p in
  1720. + [\\/$]* | ?:[\\/]*) ;;
  1721. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  1722. +esac
  1723. +
  1724. for ac_prog in gawk mawk nawk awk
  1725. do
  1726. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1727. @@ -2827,12 +2801,6 @@
  1728. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1729. -# For better backward compatibility. To be removed once Automake 1.9.x
  1730. -# dies out for good. For more background, see:
  1731. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  1732. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  1733. -mkdir_p='$(MKDIR_P)'
  1734. -
  1735. # We need awk for the "check" target. The system "awk" is bad on
  1736. # some platforms.
  1737. # Always define AMTAR for backward compatibility. Yes, it's still used
  1738. @@ -3735,7 +3703,7 @@
  1739. _am_result=none
  1740. # First try GNU make style include.
  1741. echo "include confinc" > confmf
  1742. -# Ignore all kinds of additional output from 'make'.
  1743. +# Ignore all kinds of additional output from `make'.
  1744. case `$am_make -s -f confmf 2> /dev/null` in #(
  1745. *the\ am__doit\ target*)
  1746. am__include=include
  1747. @@ -3791,8 +3759,8 @@
  1748. # We make a subdir and do the tests there. Otherwise we can end up
  1749. # making bogus files that we don't know about and never remove. For
  1750. # instance it was reported that on HP-UX the gcc test will end up
  1751. - # making a dummy file named 'D' -- because '-MD' means "put the output
  1752. - # in D".
  1753. + # making a dummy file named `D' -- because `-MD' means `put the output
  1754. + # in D'.
  1755. rm -rf conftest.dir
  1756. mkdir conftest.dir
  1757. # Copy depcomp to subdir because otherwise we won't find it if we're
  1758. @@ -3827,16 +3795,16 @@
  1759. : > sub/conftest.c
  1760. for i in 1 2 3 4 5 6; do
  1761. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  1762. - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  1763. - # Solaris 10 /bin/sh.
  1764. - echo '/* dummy */' > sub/conftst$i.h
  1765. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  1766. + # Solaris 8's {/usr,}/bin/sh.
  1767. + touch sub/conftst$i.h
  1768. done
  1769. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  1770. - # We check with '-c' and '-o' for the sake of the "dashmstdout"
  1771. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  1772. # mode. It turns out that the SunPro C++ compiler does not properly
  1773. - # handle '-M -o', and we need to detect this. Also, some Intel
  1774. - # versions had trouble with output in subdirs.
  1775. + # handle `-M -o', and we need to detect this. Also, some Intel
  1776. + # versions had trouble with output in subdirs
  1777. am__obj=sub/conftest.${OBJEXT-o}
  1778. am__minus_obj="-o $am__obj"
  1779. case $depmode in
  1780. @@ -3845,8 +3813,8 @@
  1781. test "$am__universal" = false || continue
  1782. ;;
  1783. nosideeffect)
  1784. - # After this tag, mechanisms are not by side-effect, so they'll
  1785. - # only be used when explicitly requested.
  1786. + # after this tag, mechanisms are not by side-effect, so they'll
  1787. + # only be used when explicitly requested
  1788. if test "x$enable_dependency_tracking" = xyes; then
  1789. continue
  1790. else
  1791. @@ -3854,7 +3822,7 @@
  1792. fi
  1793. ;;
  1794. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  1795. - # This compiler won't grok '-c -o', but also, the minuso test has
  1796. + # This compiler won't grok `-c -o', but also, the minuso test has
  1797. # not run yet. These depmodes are late enough in the game, and
  1798. # so weak that their functioning should not be impacted.
  1799. am__obj=conftest.${OBJEXT-o}
  1800. @@ -4827,346 +4795,76 @@
  1801. fi
  1802. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  1803. -$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  1804. -if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  1805. - $as_echo_n "(cached) " >&6
  1806. -else
  1807. - rm -f conftest.sym conftest.file
  1808. -echo >conftest.file
  1809. -if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  1810. - if test "$cross_compiling" = yes; then :
  1811. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1812. -else
  1813. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1814. -/* end confdefs.h. */
  1815. -$ac_includes_default
  1816. -int
  1817. -main ()
  1818. -{
  1819. -struct stat sbuf;
  1820. - /* Linux will dereference the symlink and fail, as required by POSIX.
  1821. - That is better in the sense that it means we will not
  1822. - have to compile and use the lstat wrapper. */
  1823. - return lstat ("conftest.sym/", &sbuf) == 0;
  1824. - ;
  1825. - return 0;
  1826. -}
  1827. -_ACEOF
  1828. -if ac_fn_c_try_run "$LINENO"; then :
  1829. - ac_cv_func_lstat_dereferences_slashed_symlink=yes
  1830. -else
  1831. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1832. -fi
  1833. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1834. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1835. -fi
  1836. -else
  1837. - # If the `ln -s' command failed, then we probably don't even
  1838. - # have an lstat function.
  1839. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  1840. -fi
  1841. -rm -f conftest.sym conftest.file
  1842. -
  1843. -fi
  1844. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
  1845. -$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
  1846. -
  1847. -test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  1848. -
  1849. -cat >>confdefs.h <<_ACEOF
  1850. -@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  1851. -_ACEOF
  1852. -
  1853. -
  1854. -if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  1855. - case " $LIB@&t@OBJS " in
  1856. - *" lstat.$ac_objext "* ) ;;
  1857. - *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
  1858. - ;;
  1859. -esac
  1860. -
  1861. -fi
  1862. -
  1863. -for ac_header in stdlib.h
  1864. +# check for required functions
  1865. +for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop malloc memset realloc realpath setenv strchr strcmp strdup strerror strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul tolower uname
  1866. do :
  1867. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  1868. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  1869. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  1870. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  1871. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  1872. cat >>confdefs.h <<_ACEOF
  1873. -@%:@define HAVE_STDLIB_H 1
  1874. +@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  1875. _ACEOF
  1876. -fi
  1877. -
  1878. -done
  1879. -
  1880. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  1881. -$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  1882. -if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  1883. - $as_echo_n "(cached) " >&6
  1884. -else
  1885. - if test "$cross_compiling" = yes; then :
  1886. - ac_cv_func_malloc_0_nonnull=no
  1887. else
  1888. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1889. -/* end confdefs.h. */
  1890. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  1891. -# include <stdlib.h>
  1892. -#else
  1893. -char *malloc ();
  1894. -#endif
  1895. -
  1896. -int
  1897. -main ()
  1898. -{
  1899. -return ! malloc (0);
  1900. - ;
  1901. - return 0;
  1902. -}
  1903. -_ACEOF
  1904. -if ac_fn_c_try_run "$LINENO"; then :
  1905. - ac_cv_func_malloc_0_nonnull=yes
  1906. -else
  1907. - ac_cv_func_malloc_0_nonnull=no
  1908. -fi
  1909. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1910. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1911. -fi
  1912. -
  1913. -fi
  1914. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  1915. -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  1916. -if test $ac_cv_func_malloc_0_nonnull = yes; then :
  1917. -
  1918. -$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
  1919. -
  1920. -else
  1921. - $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
  1922. -
  1923. - case " $LIB@&t@OBJS " in
  1924. - *" malloc.$ac_objext "* ) ;;
  1925. - *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
  1926. - ;;
  1927. -esac
  1928. -
  1929. -
  1930. -$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
  1931. -
  1932. + as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  1933. fi
  1934. +done
  1935. -for ac_header in stdlib.h
  1936. +for ac_func in getopt_long
  1937. do :
  1938. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  1939. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  1940. + ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
  1941. +if test "x$ac_cv_func_getopt_long" = xyes; then :
  1942. cat >>confdefs.h <<_ACEOF
  1943. -@%:@define HAVE_STDLIB_H 1
  1944. +@%:@define HAVE_GETOPT_LONG 1
  1945. _ACEOF
  1946. +else
  1947. + as_fn_error $? "getopt_long function not found" "$LINENO" 5
  1948. fi
  1949. -
  1950. done
  1951. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
  1952. -$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
  1953. -if ${ac_cv_func_realloc_0_nonnull+:} false; then :
  1954. - $as_echo_n "(cached) " >&6
  1955. -else
  1956. - if test "$cross_compiling" = yes; then :
  1957. - ac_cv_func_realloc_0_nonnull=no
  1958. -else
  1959. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1960. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getopt_long is GNU specific" >&5
  1961. +$as_echo_n "checking if getopt_long is GNU specific... " >&6; }
  1962. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1963. /* end confdefs.h. */
  1964. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  1965. -# include <stdlib.h>
  1966. -#else
  1967. -char *realloc ();
  1968. -#endif
  1969. +#include <features.h>
  1970. +#ifndef __GLIBC__
  1971. +#error No GNU extension
  1972. +#endif
  1973. +
  1974. int
  1975. main ()
  1976. {
  1977. -return ! realloc (0, 0);
  1978. +;
  1979. ;
  1980. return 0;
  1981. }
  1982. +
  1983. _ACEOF
  1984. -if ac_fn_c_try_run "$LINENO"; then :
  1985. - ac_cv_func_realloc_0_nonnull=yes
  1986. -else
  1987. - ac_cv_func_realloc_0_nonnull=no
  1988. -fi
  1989. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1990. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1991. -fi
  1992. -
  1993. -fi
  1994. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
  1995. -$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
  1996. -if test $ac_cv_func_realloc_0_nonnull = yes; then :
  1997. +if ac_fn_c_try_cpp "$LINENO"; then :
  1998. -$as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
  1999. -
  2000. -else
  2001. - $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
  2002. -
  2003. - case " $LIB@&t@OBJS " in
  2004. - *" realloc.$ac_objext "* ) ;;
  2005. - *) LIB@&t@OBJS="$LIB@&t@OBJS realloc.$ac_objext"
  2006. - ;;
  2007. -esac
  2008. -
  2009. -
  2010. -$as_echo "@%:@define realloc rpl_realloc" >>confdefs.h
  2011. -
  2012. -fi
  2013. -
  2014. -
  2015. -# Make sure we can run config.sub.
  2016. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2017. - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2018. -
  2019. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2020. -$as_echo_n "checking build system type... " >&6; }
  2021. -if ${ac_cv_build+:} false; then :
  2022. - $as_echo_n "(cached) " >&6
  2023. -else
  2024. - ac_build_alias=$build_alias
  2025. -test "x$ac_build_alias" = x &&
  2026. - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2027. -test "x$ac_build_alias" = x &&
  2028. - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2029. -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2030. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2031. -
  2032. -fi
  2033. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2034. -$as_echo "$ac_cv_build" >&6; }
  2035. -case $ac_cv_build in
  2036. -*-*-*) ;;
  2037. -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2038. -esac
  2039. -build=$ac_cv_build
  2040. -ac_save_IFS=$IFS; IFS='-'
  2041. -set x $ac_cv_build
  2042. -shift
  2043. -build_cpu=$1
  2044. -build_vendor=$2
  2045. -shift; shift
  2046. -# Remember, the first character of IFS is used to create $*,
  2047. -# except with old shells:
  2048. -build_os=$*
  2049. -IFS=$ac_save_IFS
  2050. -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2051. -
  2052. -
  2053. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2054. -$as_echo_n "checking host system type... " >&6; }
  2055. -if ${ac_cv_host+:} false; then :
  2056. - $as_echo_n "(cached) " >&6
  2057. -else
  2058. - if test "x$host_alias" = x; then
  2059. - ac_cv_host=$ac_cv_build
  2060. -else
  2061. - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2062. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2063. -fi
  2064. -
  2065. -fi
  2066. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2067. -$as_echo "$ac_cv_host" >&6; }
  2068. -case $ac_cv_host in
  2069. -*-*-*) ;;
  2070. -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2071. -esac
  2072. -host=$ac_cv_host
  2073. -ac_save_IFS=$IFS; IFS='-'
  2074. -set x $ac_cv_host
  2075. -shift
  2076. -host_cpu=$1
  2077. -host_vendor=$2
  2078. -shift; shift
  2079. -# Remember, the first character of IFS is used to create $*,
  2080. -# except with old shells:
  2081. -host_os=$*
  2082. -IFS=$ac_save_IFS
  2083. -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2084. -
  2085. -
  2086. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  2087. -$as_echo_n "checking for working strnlen... " >&6; }
  2088. -if ${ac_cv_func_strnlen_working+:} false; then :
  2089. - $as_echo_n "(cached) " >&6
  2090. -else
  2091. - if test "$cross_compiling" = yes; then :
  2092. - # Guess no on AIX systems, yes otherwise.
  2093. - case "$host_os" in
  2094. - aix*) ac_cv_func_strnlen_working=no;;
  2095. - *) ac_cv_func_strnlen_working=yes;;
  2096. - esac
  2097. -else
  2098. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2099. -/* end confdefs.h. */
  2100. -$ac_includes_default
  2101. -int
  2102. -main ()
  2103. -{
  2104. -
  2105. -#define S "foobar"
  2106. -#define S_LEN (sizeof S - 1)
  2107. -
  2108. - /* At least one implementation is buggy: that of AIX 4.3 would
  2109. - give strnlen (S, 1) == 3. */
  2110. -
  2111. - int i;
  2112. - for (i = 0; i < S_LEN + 1; ++i)
  2113. - {
  2114. - int expected = i <= S_LEN ? i : S_LEN;
  2115. - if (strnlen (S, i) != expected)
  2116. - return 1;
  2117. - }
  2118. - return 0;
  2119. +
  2120. +$as_echo "@%:@define HAVE_GNU_GETOPT_LONG 1" >>confdefs.h
  2121. - ;
  2122. - return 0;
  2123. -}
  2124. -_ACEOF
  2125. -if ac_fn_c_try_run "$LINENO"; then :
  2126. - ac_cv_func_strnlen_working=yes
  2127. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2128. +$as_echo "yes" >&6; }
  2129. +
  2130. else
  2131. - ac_cv_func_strnlen_working=no
  2132. -fi
  2133. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2134. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  2135. -fi
  2136. -
  2137. -fi
  2138. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  2139. -$as_echo "$ac_cv_func_strnlen_working" >&6; }
  2140. -test $ac_cv_func_strnlen_working = no && case " $LIB@&t@OBJS " in
  2141. - *" strnlen.$ac_objext "* ) ;;
  2142. - *) LIB@&t@OBJS="$LIB@&t@OBJS strnlen.$ac_objext"
  2143. +
  2144. + case " $LIB@&t@OBJS " in
  2145. + *" gnu_getopt.$ac_objext "* ) ;;
  2146. + *) LIB@&t@OBJS="$LIB@&t@OBJS gnu_getopt.$ac_objext"
  2147. ;;
  2148. esac
  2149. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2150. +$as_echo "no" >&6; }
  2151. -
  2152. -# check for required functions
  2153. -for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strcmp strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul tolower uname
  2154. -do :
  2155. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  2156. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  2157. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  2158. - cat >>confdefs.h <<_ACEOF
  2159. -@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  2160. -_ACEOF
  2161. -
  2162. -else
  2163. - as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  2164. fi
  2165. -done
  2166. -
  2167. +rm -f conftest.err conftest.i conftest.$ac_ext
  2168. for ac_func in clock_gettime
  2169. do :
  2170. @@ -5954,97 +5652,7 @@
  2171. fi
  2172. -
  2173. -
  2174. -@%:@ Check whether --with-libcap-ng was given.
  2175. -if test "${with_libcap_ng+set}" = set; then :
  2176. - withval=$with_libcap_ng;
  2177. -else
  2178. - with_libcap_ng=auto
  2179. -fi
  2180. -
  2181. -
  2182. - # Check for Libcap-ng API
  2183. - #
  2184. - # libcap-ng detection
  2185. -
  2186. - if test x$with_libcap_ng = xno ; then
  2187. - have_libcap_ng=no;
  2188. - else
  2189. - # Start by checking for header file
  2190. - ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
  2191. -if test "x$ac_cv_header_cap_ng_h" = xyes; then :
  2192. - capng_headers=yes
  2193. -else
  2194. - capng_headers=no
  2195. -fi
  2196. -
  2197. -
  2198. -
  2199. - # See if we have libcap-ng library
  2200. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
  2201. -$as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
  2202. -if ${ac_cv_lib_cap_ng_capng_clear+:} false; then :
  2203. - $as_echo_n "(cached) " >&6
  2204. -else
  2205. - ac_check_lib_save_LIBS=$LIBS
  2206. -LIBS="-lcap-ng $LIBS"
  2207. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2208. -/* end confdefs.h. */
  2209. -
  2210. -/* Override any GCC internal prototype to avoid an error.
  2211. - Use char because int might match the return type of a GCC
  2212. - builtin and then its argument prototype would still apply. */
  2213. -#ifdef __cplusplus
  2214. -extern "C"
  2215. -#endif
  2216. -char capng_clear ();
  2217. -int
  2218. -main ()
  2219. -{
  2220. -return capng_clear ();
  2221. - ;
  2222. - return 0;
  2223. -}
  2224. -_ACEOF
  2225. -if ac_fn_c_try_link "$LINENO"; then :
  2226. - ac_cv_lib_cap_ng_capng_clear=yes
  2227. -else
  2228. - ac_cv_lib_cap_ng_capng_clear=no
  2229. -fi
  2230. -rm -f core conftest.err conftest.$ac_objext \
  2231. - conftest$ac_exeext conftest.$ac_ext
  2232. -LIBS=$ac_check_lib_save_LIBS
  2233. -fi
  2234. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
  2235. -$as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
  2236. -if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes; then :
  2237. - CAPNG_LDADD=-lcap-ng
  2238. -fi
  2239. -
  2240. -
  2241. - # Check results are usable
  2242. - if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
  2243. - as_fn_error $? "libcap-ng support was requested and the library was not found" "$LINENO" 5
  2244. - fi
  2245. - if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
  2246. - as_fn_error $? "libcap-ng libraries found but headers are missing" "$LINENO" 5
  2247. - fi
  2248. - fi
  2249. -
  2250. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
  2251. -$as_echo_n "checking whether to use libcap-ng... " >&6; }
  2252. - if test x$CAPNG_LDADD != x ; then
  2253. -
  2254. -$as_echo "@%:@define HAVE_LIBCAP_NG 1" >>confdefs.h
  2255. -
  2256. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2257. -$as_echo "yes" >&6; }
  2258. - else
  2259. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2260. -$as_echo "no" >&6; }
  2261. - fi
  2262. -
  2263. +LIBCAP_NG_PATH
  2264. if test "x$CAPNG_LDADD" = "x"; then
  2265. @@ -6253,14 +5861,6 @@
  2266. LTLIBOBJS=$ac_ltlibobjs
  2267. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  2268. -$as_echo_n "checking that generated files are newer than configure... " >&6; }
  2269. - if test -n "$am_sleep_pid"; then
  2270. - # Hide warnings about reused PIDs.
  2271. - wait $am_sleep_pid 2>/dev/null
  2272. - fi
  2273. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  2274. -$as_echo "done" >&6; }
  2275. if test -n "$EXEEXT"; then
  2276. am__EXEEXT_TRUE=
  2277. am__EXEEXT_FALSE='#'
  2278. @@ -7504,7 +7104,7 @@
  2279. # Strip MF so we end up with the name of the file.
  2280. mf=`echo "$mf" | sed -e 's/:.*$//'`
  2281. # Check whether this is an Automake generated Makefile or not.
  2282. - # We used to match only the files named 'Makefile.in', but
  2283. + # We used to match only the files named `Makefile.in', but
  2284. # some people rename them; so instead we look at the file content.
  2285. # Grep'ing the first line is not enough: some people post-process
  2286. # each Makefile.in and add a new line on top of each file to say so.
  2287. @@ -7538,19 +7138,21 @@
  2288. continue
  2289. fi
  2290. # Extract the definition of DEPDIR, am__include, and am__quote
  2291. - # from the Makefile without running 'make'.
  2292. + # from the Makefile without running `make'.
  2293. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  2294. test -z "$DEPDIR" && continue
  2295. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  2296. test -z "am__include" && continue
  2297. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  2298. + # When using ansi2knr, U may be empty or an underscore; expand it
  2299. + U=`sed -n 's/^U = //p' < "$mf"`
  2300. # Find all dependency output files, they are included files with
  2301. # $(DEPDIR) in their names. We invoke sed twice because it is the
  2302. # simplest approach to changing $(DEPDIR) to its actual value in the
  2303. # expansion.
  2304. for file in `sed -n "
  2305. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  2306. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  2307. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  2308. # Make sure the directory exists.
  2309. test -f "$dirpart/$file" && continue
  2310. fdir=`$as_dirname -- "$file" ||
  2311. diff -Nur cifs-utils-6.1.orig/autom4te.cache/requests cifs-utils-6.1/autom4te.cache/requests
  2312. --- cifs-utils-6.1.orig/autom4te.cache/requests 2013-07-02 21:20:33.000000000 +0200
  2313. +++ cifs-utils-6.1/autom4te.cache/requests 2013-10-05 18:12:39.000000000 +0200
  2314. @@ -1,4 +1,4 @@
  2315. -# This file was generated.
  2316. +# This file was generated by Autom4te Sun Apr 29 21:48:16 UTC 2012.
  2317. # It contains the lists of macros which have been traced.
  2318. # It can be safely removed.
  2319. @@ -11,26 +11,26 @@
  2320. ],
  2321. [
  2322. '/usr/share/autoconf/autoconf/autoconf.m4f',
  2323. - '/usr/share/aclocal/cap-ng.m4',
  2324. '/usr/share/aclocal/pkg.m4',
  2325. - '/usr/share/aclocal-1.12/amversion.m4',
  2326. - '/usr/share/aclocal-1.12/auxdir.m4',
  2327. - '/usr/share/aclocal-1.12/cond.m4',
  2328. - '/usr/share/aclocal-1.12/depend.m4',
  2329. - '/usr/share/aclocal-1.12/depout.m4',
  2330. - '/usr/share/aclocal-1.12/init.m4',
  2331. - '/usr/share/aclocal-1.12/install-sh.m4',
  2332. - '/usr/share/aclocal-1.12/lead-dot.m4',
  2333. - '/usr/share/aclocal-1.12/make.m4',
  2334. - '/usr/share/aclocal-1.12/minuso.m4',
  2335. - '/usr/share/aclocal-1.12/missing.m4',
  2336. - '/usr/share/aclocal-1.12/options.m4',
  2337. - '/usr/share/aclocal-1.12/runlog.m4',
  2338. - '/usr/share/aclocal-1.12/sanity.m4',
  2339. - '/usr/share/aclocal-1.12/silent.m4',
  2340. - '/usr/share/aclocal-1.12/strip.m4',
  2341. - '/usr/share/aclocal-1.12/substnot.m4',
  2342. - '/usr/share/aclocal-1.12/tar.m4',
  2343. + '/usr/share/aclocal-1.11/amversion.m4',
  2344. + '/usr/share/aclocal-1.11/auxdir.m4',
  2345. + '/usr/share/aclocal-1.11/cond.m4',
  2346. + '/usr/share/aclocal-1.11/depend.m4',
  2347. + '/usr/share/aclocal-1.11/depout.m4',
  2348. + '/usr/share/aclocal-1.11/init.m4',
  2349. + '/usr/share/aclocal-1.11/install-sh.m4',
  2350. + '/usr/share/aclocal-1.11/lead-dot.m4',
  2351. + '/usr/share/aclocal-1.11/make.m4',
  2352. + '/usr/share/aclocal-1.11/minuso.m4',
  2353. + '/usr/share/aclocal-1.11/missing.m4',
  2354. + '/usr/share/aclocal-1.11/mkdirp.m4',
  2355. + '/usr/share/aclocal-1.11/options.m4',
  2356. + '/usr/share/aclocal-1.11/runlog.m4',
  2357. + '/usr/share/aclocal-1.11/sanity.m4',
  2358. + '/usr/share/aclocal-1.11/silent.m4',
  2359. + '/usr/share/aclocal-1.11/strip.m4',
  2360. + '/usr/share/aclocal-1.11/substnot.m4',
  2361. + '/usr/share/aclocal-1.11/tar.m4',
  2362. 'aclocal/idmap.m4',
  2363. 'aclocal/libcap.m4',
  2364. 'configure.ac'
  2365. @@ -39,9 +39,9 @@
  2366. 'AC_TEST_WBC_IDMAP_BOTH' => 1,
  2367. 'm4_pattern_forbid' => 1,
  2368. 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
  2369. - 'PKG_INSTALLDIR' => 1,
  2370. '_AM_SET_OPTION' => 1,
  2371. 'AC_DEFUN' => 1,
  2372. + 'AM_PROG_MKDIR_P' => 1,
  2373. 'AM_INIT_AUTOMAKE' => 1,
  2374. 'AM_AUTOMAKE_VERSION' => 1,
  2375. 'AM_MISSING_HAS_RUN' => 1,
  2376. @@ -56,7 +56,6 @@
  2377. 'PKG_CHECK_EXISTS' => 1,
  2378. 'AM_SILENT_RULES' => 1,
  2379. 'include' => 1,
  2380. - 'LIBCAP_NG_PATH' => 1,
  2381. '_AM_PROG_TAR' => 1,
  2382. 'AM_AUX_DIR_EXPAND' => 1,
  2383. 'AM_DEP_TRACK' => 1,
  2384. @@ -64,14 +63,13 @@
  2385. 'AM_RUN_LOG' => 1,
  2386. '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
  2387. '_AM_IF_OPTION' => 1,
  2388. - 'PKG_NOARCH_INSTALLDIR' => 1,
  2389. '_AM_SUBST_NOTMAKE' => 1,
  2390. - 'AM_PROG_CC_C_O' => 1,
  2391. 'm4_pattern_allow' => 1,
  2392. '_AM_AUTOCONF_VERSION' => 1,
  2393. + 'AM_PROG_CC_C_O' => 1,
  2394. '_AM_MANGLE_OPTION' => 1,
  2395. - 'AM_CONDITIONAL' => 1,
  2396. 'AM_SET_LEADING_DOT' => 1,
  2397. + 'AM_CONDITIONAL' => 1,
  2398. 'AM_SET_DEPDIR' => 1,
  2399. '_AM_DEPENDENCIES' => 1,
  2400. 'm4_include' => 1,
  2401. @@ -108,7 +106,6 @@
  2402. 'AC_CANONICAL_HOST' => 1,
  2403. 'AC_FC_SRCEXT' => 1,
  2404. 'AC_PROG_LIBTOOL' => 1,
  2405. - 'AM_PROG_MKDIR_P' => 1,
  2406. 'AM_INIT_AUTOMAKE' => 1,
  2407. 'AC_CONFIG_SUBDIRS' => 1,
  2408. 'AM_PATH_GUILE' => 1,
  2409. diff -Nur cifs-utils-6.1.orig/autom4te.cache/traces.0 cifs-utils-6.1/autom4te.cache/traces.0
  2410. --- cifs-utils-6.1.orig/autom4te.cache/traces.0 2013-07-02 21:20:30.000000000 +0200
  2411. +++ cifs-utils-6.1/autom4te.cache/traces.0 2013-10-05 18:12:37.000000000 +0200
  2412. @@ -1,39 +1,3 @@
  2413. -m4trace:/usr/share/aclocal/cap-ng.m4:4: -1- AC_DEFUN([LIBCAP_NG_PATH], [
  2414. - AC_ARG_WITH(libcap-ng,
  2415. - [ --with-libcap-ng=[auto/yes/no] Add Libcap-ng support [default=auto]],,
  2416. - with_libcap_ng=auto)
  2417. -
  2418. - # Check for Libcap-ng API
  2419. - #
  2420. - # libcap-ng detection
  2421. -
  2422. - if test x$with_libcap_ng = xno ; then
  2423. - have_libcap_ng=no;
  2424. - else
  2425. - # Start by checking for header file
  2426. - AC_CHECK_HEADER(cap-ng.h, capng_headers=yes, capng_headers=no)
  2427. -
  2428. - # See if we have libcap-ng library
  2429. - AC_CHECK_LIB(cap-ng, capng_clear,
  2430. - CAPNG_LDADD=-lcap-ng,)
  2431. -
  2432. - # Check results are usable
  2433. - if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
  2434. - AC_MSG_ERROR(libcap-ng support was requested and the library was not found)
  2435. - fi
  2436. - if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
  2437. - AC_MSG_ERROR(libcap-ng libraries found but headers are missing)
  2438. - fi
  2439. - fi
  2440. - AC_SUBST(CAPNG_LDADD)
  2441. - AC_MSG_CHECKING(whether to use libcap-ng)
  2442. - if test x$CAPNG_LDADD != x ; then
  2443. - AC_DEFINE(HAVE_LIBCAP_NG,1,[libcap-ng support])
  2444. - AC_MSG_RESULT(yes)
  2445. - else
  2446. - AC_MSG_RESULT(no)
  2447. - fi
  2448. -])
  2449. m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  2450. m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  2451. m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  2452. @@ -122,44 +86,24 @@
  2453. $3
  2454. fi[]dnl
  2455. ])
  2456. -m4trace:/usr/share/aclocal/pkg.m4:169: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
  2457. -m4_pushdef([pkg_description],
  2458. - [pkg-config installation directory @<:@]pkg_default[@:>@])
  2459. -AC_ARG_WITH([pkgconfigdir],
  2460. - [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
  2461. - [with_pkgconfigdir=]pkg_default)
  2462. -AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
  2463. -m4_popdef([pkg_default])
  2464. -m4_popdef([pkg_description])
  2465. -])
  2466. -m4trace:/usr/share/aclocal/pkg.m4:189: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
  2467. -m4_pushdef([pkg_description],
  2468. - [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
  2469. -AC_ARG_WITH([noarch-pkgconfigdir],
  2470. - [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
  2471. - [with_noarch_pkgconfigdir=]pkg_default)
  2472. -AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
  2473. -m4_popdef([pkg_default])
  2474. -m4_popdef([pkg_description])
  2475. -])
  2476. -m4trace:/usr/share/aclocal-1.12/amversion.m4:16: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.12'
  2477. +m4trace:/usr/share/aclocal-1.11/amversion.m4:17: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
  2478. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  2479. dnl require some minimum version. Point them to the right macro.
  2480. -m4_if([$1], [1.12.2], [],
  2481. +m4_if([$1], [1.11.6], [],
  2482. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  2483. ])
  2484. -m4trace:/usr/share/aclocal-1.12/amversion.m4:35: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.12.2])dnl
  2485. +m4trace:/usr/share/aclocal-1.11/amversion.m4:36: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl
  2486. m4_ifndef([AC_AUTOCONF_VERSION],
  2487. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  2488. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  2489. -m4trace:/usr/share/aclocal-1.12/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
  2490. +m4trace:/usr/share/aclocal-1.11/auxdir.m4:49: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
  2491. AC_PREREQ([2.50])dnl
  2492. # expand $ac_aux_dir to an absolute path
  2493. am_aux_dir=`cd $ac_aux_dir && pwd`
  2494. ])
  2495. -m4trace:/usr/share/aclocal-1.12/cond.m4:14: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  2496. - m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  2497. - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  2498. +m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
  2499. + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  2500. + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  2501. AC_SUBST([$1_TRUE])dnl
  2502. AC_SUBST([$1_FALSE])dnl
  2503. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  2504. @@ -177,18 +121,17 @@
  2505. AC_MSG_ERROR([[conditional "$1" was never defined.
  2506. Usually this means the macro was only invoked conditionally.]])
  2507. fi])])
  2508. -m4trace:/usr/share/aclocal-1.12/depend.m4:27: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  2509. +m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  2510. AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  2511. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  2512. AC_REQUIRE([AM_DEP_TRACK])dnl
  2513. -m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  2514. - [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  2515. - [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  2516. - [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  2517. - [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  2518. - [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  2519. - [depcc="$$1" am_compiler_list=])
  2520. +ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  2521. + [$1], CXX, [depcc="$CXX" am_compiler_list=],
  2522. + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  2523. + [$1], UPC, [depcc="$UPC" am_compiler_list=],
  2524. + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  2525. + [depcc="$$1" am_compiler_list=])
  2526. AC_CACHE_CHECK([dependency style of $depcc],
  2527. [am_cv_$1_dependencies_compiler_type],
  2528. @@ -196,8 +139,8 @@
  2529. # We make a subdir and do the tests there. Otherwise we can end up
  2530. # making bogus files that we don't know about and never remove. For
  2531. # instance it was reported that on HP-UX the gcc test will end up
  2532. - # making a dummy file named 'D' -- because '-MD' means "put the output
  2533. - # in D".
  2534. + # making a dummy file named `D' -- because `-MD' means `put the output
  2535. + # in D'.
  2536. rm -rf conftest.dir
  2537. mkdir conftest.dir
  2538. # Copy depcomp to subdir because otherwise we won't find it if we're
  2539. @@ -237,16 +180,16 @@
  2540. : > sub/conftest.c
  2541. for i in 1 2 3 4 5 6; do
  2542. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  2543. - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  2544. - # Solaris 10 /bin/sh.
  2545. - echo '/* dummy */' > sub/conftst$i.h
  2546. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  2547. + # Solaris 8's {/usr,}/bin/sh.
  2548. + touch sub/conftst$i.h
  2549. done
  2550. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  2551. - # We check with '-c' and '-o' for the sake of the "dashmstdout"
  2552. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  2553. # mode. It turns out that the SunPro C++ compiler does not properly
  2554. - # handle '-M -o', and we need to detect this. Also, some Intel
  2555. - # versions had trouble with output in subdirs.
  2556. + # handle `-M -o', and we need to detect this. Also, some Intel
  2557. + # versions had trouble with output in subdirs
  2558. am__obj=sub/conftest.${OBJEXT-o}
  2559. am__minus_obj="-o $am__obj"
  2560. case $depmode in
  2561. @@ -255,8 +198,8 @@
  2562. test "$am__universal" = false || continue
  2563. ;;
  2564. nosideeffect)
  2565. - # After this tag, mechanisms are not by side-effect, so they'll
  2566. - # only be used when explicitly requested.
  2567. + # after this tag, mechanisms are not by side-effect, so they'll
  2568. + # only be used when explicitly requested
  2569. if test "x$enable_dependency_tracking" = xyes; then
  2570. continue
  2571. else
  2572. @@ -264,7 +207,7 @@
  2573. fi
  2574. ;;
  2575. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  2576. - # This compiler won't grok '-c -o', but also, the minuso test has
  2577. + # This compiler won't grok `-c -o', but also, the minuso test has
  2578. # not run yet. These depmodes are late enough in the game, and
  2579. # so weak that their functioning should not be impacted.
  2580. am__obj=conftest.${OBJEXT-o}
  2581. @@ -307,16 +250,12 @@
  2582. test "x$enable_dependency_tracking" != xno \
  2583. && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  2584. ])
  2585. -m4trace:/usr/share/aclocal-1.12/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  2586. +m4trace:/usr/share/aclocal-1.11/depend.m4:164: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  2587. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  2588. ])
  2589. -m4trace:/usr/share/aclocal-1.12/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  2590. -AS_HELP_STRING(
  2591. - [--enable-dependency-tracking],
  2592. - [do not reject slow dependency extractors])
  2593. -AS_HELP_STRING(
  2594. - [--disable-dependency-tracking],
  2595. - [speeds up one-time build])])
  2596. +m4trace:/usr/share/aclocal-1.11/depend.m4:172: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
  2597. +[ --disable-dependency-tracking speeds up one-time build
  2598. + --enable-dependency-tracking do not reject slow dependency extractors])
  2599. if test "x$enable_dependency_tracking" != xno; then
  2600. am_depcomp="$ac_aux_dir/depcomp"
  2601. AMDEPBACKSLASH='\'
  2602. @@ -328,7 +267,7 @@
  2603. AC_SUBST([am__nodep])dnl
  2604. _AM_SUBST_NOTMAKE([am__nodep])dnl
  2605. ])
  2606. -m4trace:/usr/share/aclocal-1.12/depout.m4:13: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  2607. +m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  2608. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  2609. # are listed without --file. Let's play safe and only enable the eval
  2610. # if we detect the quoting.
  2611. @@ -342,7 +281,7 @@
  2612. # Strip MF so we end up with the name of the file.
  2613. mf=`echo "$mf" | sed -e 's/:.*$//'`
  2614. # Check whether this is an Automake generated Makefile or not.
  2615. - # We used to match only the files named 'Makefile.in', but
  2616. + # We used to match only the files named `Makefile.in', but
  2617. # some people rename them; so instead we look at the file content.
  2618. # Grep'ing the first line is not enough: some people post-process
  2619. # each Makefile.in and add a new line on top of each file to say so.
  2620. @@ -354,19 +293,21 @@
  2621. continue
  2622. fi
  2623. # Extract the definition of DEPDIR, am__include, and am__quote
  2624. - # from the Makefile without running 'make'.
  2625. + # from the Makefile without running `make'.
  2626. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  2627. test -z "$DEPDIR" && continue
  2628. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  2629. test -z "am__include" && continue
  2630. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  2631. + # When using ansi2knr, U may be empty or an underscore; expand it
  2632. + U=`sed -n 's/^U = //p' < "$mf"`
  2633. # Find all dependency output files, they are included files with
  2634. # $(DEPDIR) in their names. We invoke sed twice because it is the
  2635. # simplest approach to changing $(DEPDIR) to its actual value in the
  2636. # expansion.
  2637. for file in `sed -n "
  2638. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  2639. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  2640. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  2641. # Make sure the directory exists.
  2642. test -f "$dirpart/$file" && continue
  2643. fdir=`AS_DIRNAME(["$file"])`
  2644. @@ -377,11 +318,11 @@
  2645. done
  2646. }
  2647. ])
  2648. -m4trace:/usr/share/aclocal-1.12/depout.m4:72: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  2649. +m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  2650. [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  2651. [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  2652. ])
  2653. -m4trace:/usr/share/aclocal-1.12/init.m4:25: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
  2654. +m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
  2655. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  2656. dnl the ones we care about.
  2657. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  2658. @@ -410,41 +351,31 @@
  2659. # Define the identity of the package.
  2660. dnl Distinguish between old-style and new-style calls.
  2661. m4_ifval([$2],
  2662. -[AC_DIAGNOSE([obsolete],
  2663. -[$0: two- and three-arguments forms are deprecated. For more info, see:
  2664. -http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
  2665. -m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  2666. +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  2667. AC_SUBST([PACKAGE], [$1])dnl
  2668. AC_SUBST([VERSION], [$2])],
  2669. [_AM_SET_OPTIONS([$1])dnl
  2670. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  2671. -m4_if(
  2672. - m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  2673. - [ok:ok],,
  2674. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  2675. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  2676. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  2677. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  2678. _AM_IF_OPTION([no-define],,
  2679. -[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  2680. - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  2681. +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  2682. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  2683. # Some tools Automake needs.
  2684. AC_REQUIRE([AM_SANITY_CHECK])dnl
  2685. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  2686. -AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  2687. -AM_MISSING_PROG([AUTOCONF], [autoconf])
  2688. -AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  2689. -AM_MISSING_PROG([AUTOHEADER], [autoheader])
  2690. -AM_MISSING_PROG([MAKEINFO], [makeinfo])
  2691. +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  2692. +AM_MISSING_PROG(AUTOCONF, autoconf)
  2693. +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  2694. +AM_MISSING_PROG(AUTOHEADER, autoheader)
  2695. +AM_MISSING_PROG(MAKEINFO, makeinfo)
  2696. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  2697. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  2698. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  2699. -# For better backward compatibility. To be removed once Automake 1.9.x
  2700. -# dies out for good. For more background, see:
  2701. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2702. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2703. -AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  2704. +AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  2705. # We need awk for the "check" target. The system "awk" is bad on
  2706. # some platforms.
  2707. AC_REQUIRE([AC_PROG_AWK])dnl
  2708. @@ -455,34 +386,27 @@
  2709. [_AM_PROG_TAR([v7])])])
  2710. _AM_IF_OPTION([no-dependencies],,
  2711. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  2712. - [_AM_DEPENDENCIES([CC])],
  2713. - [m4_define([AC_PROG_CC],
  2714. - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  2715. + [_AM_DEPENDENCIES(CC)],
  2716. + [define([AC_PROG_CC],
  2717. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  2718. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  2719. - [_AM_DEPENDENCIES([CXX])],
  2720. - [m4_define([AC_PROG_CXX],
  2721. - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  2722. + [_AM_DEPENDENCIES(CXX)],
  2723. + [define([AC_PROG_CXX],
  2724. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  2725. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  2726. - [_AM_DEPENDENCIES([OBJC])],
  2727. - [m4_define([AC_PROG_OBJC],
  2728. - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  2729. -dnl Support for Objective C++ was only introduced in Autoconf 2.65,
  2730. -dnl but we still cater to Autoconf 2.62.
  2731. -m4_ifdef([AC_PROG_OBJCXX],
  2732. -[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  2733. - [_AM_DEPENDENCIES([OBJCXX])],
  2734. - [m4_define([AC_PROG_OBJCXX],
  2735. - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
  2736. + [_AM_DEPENDENCIES(OBJC)],
  2737. + [define([AC_PROG_OBJC],
  2738. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  2739. ])
  2740. _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  2741. -dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
  2742. -dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  2743. +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  2744. +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
  2745. dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  2746. AC_CONFIG_COMMANDS_PRE(dnl
  2747. [m4_provide_if([_AM_COMPILER_EXEEXT],
  2748. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  2749. ])
  2750. -m4trace:/usr/share/aclocal-1.12/init.m4:142: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  2751. +m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  2752. _am_arg=$1
  2753. _am_stamp_count=1
  2754. for _am_header in $config_headers :; do
  2755. @@ -494,7 +418,7 @@
  2756. esac
  2757. done
  2758. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  2759. -m4trace:/usr/share/aclocal-1.12/install-sh.m4:13: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  2760. +m4trace:/usr/share/aclocal-1.11/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  2761. if test x"${install_sh}" != xset; then
  2762. case $am_aux_dir in
  2763. *\ * | *\ *)
  2764. @@ -503,8 +427,8 @@
  2765. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2766. esac
  2767. fi
  2768. -AC_SUBST([install_sh])])
  2769. -m4trace:/usr/share/aclocal-1.12/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  2770. +AC_SUBST(install_sh)])
  2771. +m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  2772. mkdir .tst 2>/dev/null
  2773. if test -d .tst; then
  2774. am__leading_dot=.
  2775. @@ -513,7 +437,7 @@
  2776. fi
  2777. rmdir .tst 2>/dev/null
  2778. AC_SUBST([am__leading_dot])])
  2779. -m4trace:/usr/share/aclocal-1.12/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  2780. +m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  2781. cat > confinc << 'END'
  2782. am__doit:
  2783. @echo this is the am__doit target
  2784. @@ -526,7 +450,7 @@
  2785. _am_result=none
  2786. # First try GNU make style include.
  2787. echo "include confinc" > confmf
  2788. -# Ignore all kinds of additional output from 'make'.
  2789. +# Ignore all kinds of additional output from `make'.
  2790. case `$am_make -s -f confmf 2> /dev/null` in #(
  2791. *the\ am__doit\ target*)
  2792. am__include=include
  2793. @@ -550,7 +474,7 @@
  2794. AC_MSG_RESULT([$_am_result])
  2795. rm -f confinc confmf
  2796. ])
  2797. -m4trace:/usr/share/aclocal-1.12/minuso.m4:13: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
  2798. +m4trace:/usr/share/aclocal-1.11/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
  2799. AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  2800. AC_REQUIRE_AUX_FILE([compile])dnl
  2801. # FIXME: we rely on the cache variable name because
  2802. @@ -571,10 +495,10 @@
  2803. m4_define([AC_PROG_CC],
  2804. [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
  2805. ])
  2806. -m4trace:/usr/share/aclocal-1.12/missing.m4:13: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  2807. +m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  2808. $1=${$1-"${am_missing_run}$2"}
  2809. AC_SUBST($1)])
  2810. -m4trace:/usr/share/aclocal-1.12/missing.m4:23: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  2811. +m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  2812. AC_REQUIRE_AUX_FILE([missing])dnl
  2813. if test x"${MISSING+set}" != xset; then
  2814. case $am_aux_dir in
  2815. @@ -589,19 +513,37 @@
  2816. am_missing_run="$MISSING --run "
  2817. else
  2818. am_missing_run=
  2819. - AC_MSG_WARN(['missing' script is too old or missing])
  2820. + AC_MSG_WARN([`missing' script is too old or missing])
  2821. fi
  2822. ])
  2823. -m4trace:/usr/share/aclocal-1.12/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  2824. -m4trace:/usr/share/aclocal-1.12/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  2825. -m4trace:/usr/share/aclocal-1.12/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  2826. -m4trace:/usr/share/aclocal-1.12/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  2827. -m4trace:/usr/share/aclocal-1.12/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  2828. +m4trace:/usr/share/aclocal-1.11/mkdirp.m4:14: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
  2829. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  2830. +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
  2831. +dnl while keeping a definition of mkdir_p for backward compatibility.
  2832. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  2833. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  2834. +dnl Makefile.ins that do not define MKDIR_P, so we do our own
  2835. +dnl adjustment using top_builddir (which is defined more often than
  2836. +dnl MKDIR_P).
  2837. +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  2838. +case $mkdir_p in
  2839. + [[\\/$]]* | ?:[[\\/]]*) ;;
  2840. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2841. +esac
  2842. +])
  2843. +m4trace:/usr/share/aclocal-1.11/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  2844. +m4trace:/usr/share/aclocal-1.11/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  2845. +m4trace:/usr/share/aclocal-1.11/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  2846. +m4trace:/usr/share/aclocal-1.11/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  2847. +m4trace:/usr/share/aclocal-1.11/runlog.m4:14: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  2848. ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  2849. ac_status=$?
  2850. echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  2851. (exit $ac_status); }])
  2852. -m4trace:/usr/share/aclocal-1.12/sanity.m4:13: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  2853. +m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  2854. +# Just in case
  2855. +sleep 1
  2856. +echo timestamp > conftest.file
  2857. # Reject unsafe characters in $srcdir or the absolute working directory
  2858. # name. Accept space and tab only in the latter.
  2859. am_lf='
  2860. @@ -612,40 +554,32 @@
  2861. esac
  2862. case $srcdir in
  2863. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  2864. - AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  2865. + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  2866. esac
  2867. -# Do 'set' in a subshell so we don't clobber the current shell's
  2868. +# Do `set' in a subshell so we don't clobber the current shell's
  2869. # arguments. Must try -L first in case configure is actually a
  2870. # symlink; some systems play weird games with the mod time of symlinks
  2871. # (eg FreeBSD returns the mod time of the symlink's containing
  2872. # directory).
  2873. if (
  2874. - am_has_slept=no
  2875. - for am_try in 1 2; do
  2876. - echo "timestamp, slept: $am_has_slept" > conftest.file
  2877. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2878. - if test "$[*]" = "X"; then
  2879. - # -L didn't work.
  2880. - set X `ls -t "$srcdir/configure" conftest.file`
  2881. - fi
  2882. - if test "$[*]" != "X $srcdir/configure conftest.file" \
  2883. - && test "$[*]" != "X conftest.file $srcdir/configure"; then
  2884. -
  2885. - # If neither matched, then we have a broken ls. This can happen
  2886. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  2887. - # broken ls alias from the environment. This has actually
  2888. - # happened. Such a system could not be considered "sane".
  2889. - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  2890. - alias in your environment])
  2891. - fi
  2892. - if test "$[2]" = conftest.file || test $am_try -eq 2; then
  2893. - break
  2894. - fi
  2895. - # Just in case.
  2896. - sleep 1
  2897. - am_has_slept=yes
  2898. - done
  2899. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2900. + if test "$[*]" = "X"; then
  2901. + # -L didn't work.
  2902. + set X `ls -t "$srcdir/configure" conftest.file`
  2903. + fi
  2904. + rm -f conftest.file
  2905. + if test "$[*]" != "X $srcdir/configure conftest.file" \
  2906. + && test "$[*]" != "X conftest.file $srcdir/configure"; then
  2907. +
  2908. + # If neither matched, then we have a broken ls. This can happen
  2909. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  2910. + # broken ls alias from the environment. This has actually
  2911. + # happened. Such a system could not be considered "sane".
  2912. + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  2913. +alias in your environment])
  2914. + fi
  2915. +
  2916. test "$[2]" = conftest.file
  2917. )
  2918. then
  2919. @@ -655,38 +589,17 @@
  2920. AC_MSG_ERROR([newly created file is older than distributed files!
  2921. Check your system clock])
  2922. fi
  2923. -AC_MSG_RESULT([yes])
  2924. -# If we didn't sleep, we still need to ensure time stamps of config.status and
  2925. -# generated files are strictly newer.
  2926. -am_sleep_pid=
  2927. -if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2928. - ( sleep 1 ) &
  2929. - am_sleep_pid=$!
  2930. -fi
  2931. -AC_CONFIG_COMMANDS_PRE(
  2932. - [AC_MSG_CHECKING([that generated files are newer than configure])
  2933. - if test -n "$am_sleep_pid"; then
  2934. - # Hide warnings about reused PIDs.
  2935. - wait $am_sleep_pid 2>/dev/null
  2936. - fi
  2937. - AC_MSG_RESULT([done])])
  2938. -rm -f conftest.file
  2939. -])
  2940. -m4trace:/usr/share/aclocal-1.12/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  2941. -AS_HELP_STRING(
  2942. - [--enable-silent-rules],
  2943. - [less verbose build output (undo: "make V=1")])
  2944. -AS_HELP_STRING(
  2945. - [--disable-silent-rules],
  2946. - [verbose build output (undo: "make V=0")])dnl
  2947. -])
  2948. -case $enable_silent_rules in @%:@ (((
  2949. - yes) AM_DEFAULT_VERBOSITY=0;;
  2950. - no) AM_DEFAULT_VERBOSITY=1;;
  2951. - *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  2952. +AC_MSG_RESULT(yes)])
  2953. +m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
  2954. +[ --enable-silent-rules less verbose build output (undo: `make V=1')
  2955. + --disable-silent-rules verbose build output (undo: `make V=0')])
  2956. +case $enable_silent_rules in
  2957. +yes) AM_DEFAULT_VERBOSITY=0;;
  2958. +no) AM_DEFAULT_VERBOSITY=1;;
  2959. +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  2960. esac
  2961. dnl
  2962. -dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  2963. +dnl A few `make' implementations (e.g., NonStop OS and NextStep)
  2964. dnl do not support nested variable expansions.
  2965. dnl See automake bug#9928 and bug#10237.
  2966. am_make=${MAKE-make}
  2967. @@ -704,7 +617,7 @@
  2968. am_cv_make_support_nested_variables=no
  2969. fi])
  2970. if test $am_cv_make_support_nested_variables = yes; then
  2971. - dnl Using '$V' instead of '$(V)' breaks IRIX make.
  2972. + dnl Using `$V' instead of `$(V)' breaks IRIX make.
  2973. AM_V='$(V)'
  2974. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2975. else
  2976. @@ -720,20 +633,20 @@
  2977. AC_SUBST([AM_BACKSLASH])dnl
  2978. _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  2979. ])
  2980. -m4trace:/usr/share/aclocal-1.12/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  2981. -# Installed binaries are usually stripped using 'strip' when the user
  2982. -# run "make install-strip". However 'strip' might not be the right
  2983. +m4trace:/usr/share/aclocal-1.11/strip.m4:19: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  2984. +# Installed binaries are usually stripped using `strip' when the user
  2985. +# run `make install-strip'. However `strip' might not be the right
  2986. # tool to use in cross-compilation environments, therefore Automake
  2987. -# will honor the 'STRIP' environment variable to overrule this program.
  2988. -dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  2989. +# will honor the `STRIP' environment variable to overrule this program.
  2990. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  2991. if test "$cross_compiling" != no; then
  2992. AC_CHECK_TOOL([STRIP], [strip], :)
  2993. fi
  2994. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2995. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  2996. -m4trace:/usr/share/aclocal-1.12/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  2997. -m4trace:/usr/share/aclocal-1.12/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  2998. -m4trace:/usr/share/aclocal-1.12/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  2999. +m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  3000. +m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  3001. +m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  3002. # in the wild :-( We should find a proper way to deprecate it ...
  3003. AC_SUBST([AMTAR], ['$${TAR-tar}'])
  3004. m4_if([$1], [v7],
  3005. @@ -745,7 +658,7 @@
  3006. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  3007. _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  3008. # Do not fold the above two line into one, because Tru64 sh and
  3009. -# Solaris sh will not grok spaces in the rhs of '-'.
  3010. +# Solaris sh will not grok spaces in the rhs of `-'.
  3011. for _am_tool in $_am_tools
  3012. do
  3013. case $_am_tool in
  3014. @@ -954,7 +867,7 @@
  3015. m4trace:configure.ac:10: -1- AM_INIT_AUTOMAKE
  3016. m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  3017. m4trace:configure.ac:10: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  3018. -m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.12.2])
  3019. +m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.11.6])
  3020. m4trace:configure.ac:10: -1- _AM_AUTOCONF_VERSION([2.69])
  3021. m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  3022. m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  3023. @@ -965,8 +878,8 @@
  3024. m4trace:configure.ac:10: -1- _AM_SET_OPTIONS([])
  3025. m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
  3026. m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
  3027. -m4trace:configure.ac:10: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  3028. - AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  3029. +m4trace:configure.ac:10: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  3030. + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
  3031. m4trace:configure.ac:10: -2- _AM_MANGLE_OPTION([no-define])
  3032. m4trace:configure.ac:10: -1- m4_pattern_allow([^PACKAGE$])
  3033. m4trace:configure.ac:10: -1- m4_pattern_allow([^VERSION$])
  3034. @@ -988,6 +901,7 @@
  3035. m4trace:configure.ac:10: -1- AM_PROG_INSTALL_STRIP
  3036. m4trace:configure.ac:10: -1- m4_pattern_allow([^STRIP$])
  3037. m4trace:configure.ac:10: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  3038. +m4trace:configure.ac:10: -1- AM_PROG_MKDIR_P
  3039. m4trace:configure.ac:10: -1- m4_pattern_allow([^MKDIR_P$])
  3040. m4trace:configure.ac:10: -1- m4_pattern_allow([^mkdir_p$])
  3041. m4trace:configure.ac:10: -1- m4_pattern_allow([^AWK$])
  3042. @@ -1004,24 +918,17 @@
  3043. m4trace:configure.ac:10: -1- m4_pattern_allow([^am__tar$])
  3044. m4trace:configure.ac:10: -1- m4_pattern_allow([^am__untar$])
  3045. m4trace:configure.ac:10: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  3046. - [_AM_DEPENDENCIES([CC])],
  3047. - [m4_define([AC_PROG_CC],
  3048. - m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  3049. + [_AM_DEPENDENCIES(CC)],
  3050. + [define([AC_PROG_CC],
  3051. + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  3052. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  3053. - [_AM_DEPENDENCIES([CXX])],
  3054. - [m4_define([AC_PROG_CXX],
  3055. - m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  3056. + [_AM_DEPENDENCIES(CXX)],
  3057. + [define([AC_PROG_CXX],
  3058. + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  3059. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  3060. - [_AM_DEPENDENCIES([OBJC])],
  3061. - [m4_define([AC_PROG_OBJC],
  3062. - m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  3063. -dnl Support for Objective C++ was only introduced in Autoconf 2.65,
  3064. -dnl but we still cater to Autoconf 2.62.
  3065. -m4_ifdef([AC_PROG_OBJCXX],
  3066. -[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  3067. - [_AM_DEPENDENCIES([OBJCXX])],
  3068. - [m4_define([AC_PROG_OBJCXX],
  3069. - m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
  3070. + [_AM_DEPENDENCIES(OBJC)],
  3071. + [define([AC_PROG_OBJC],
  3072. + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  3073. ])
  3074. m4trace:configure.ac:10: -2- _AM_MANGLE_OPTION([no-dependencies])
  3075. m4trace:configure.ac:10: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
  3076. @@ -1130,46 +1037,28 @@
  3077. m4trace:configure.ac:89: -1- m4_pattern_allow([^HAVE_UINT32_T$])
  3078. m4trace:configure.ac:89: -1- m4_pattern_allow([^HAVE_UINT8_T$])
  3079. m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_GETMNTENT$])
  3080. -m4trace:configure.ac:93: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
  3081. -m4trace:configure.ac:93: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3082. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  3083. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_MALLOC$])
  3084. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_MALLOC$])
  3085. -m4trace:configure.ac:94: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3086. -m4trace:configure.ac:94: -1- m4_pattern_allow([^malloc$])
  3087. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  3088. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_REALLOC$])
  3089. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_REALLOC$])
  3090. -m4trace:configure.ac:95: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3091. -m4trace:configure.ac:95: -1- m4_pattern_allow([^realloc$])
  3092. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build$])
  3093. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_cpu$])
  3094. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_vendor$])
  3095. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_os$])
  3096. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host$])
  3097. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_cpu$])
  3098. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_vendor$])
  3099. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_os$])
  3100. -m4trace:configure.ac:96: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3101. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3102. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3103. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3104. -m4trace:configure.ac:109: -1- m4_pattern_allow([^RT_LDADD$])
  3105. -m4trace:configure.ac:115: -1- m4_pattern_allow([^HAVE_SYS_FSUID_H$])
  3106. -m4trace:configure.ac:124: -1- m4_pattern_allow([^PIE_CFLAGS$])
  3107. -m4trace:configure.ac:131: -1- m4_pattern_allow([^RELRO_CFLAGS$])
  3108. -m4trace:configure.ac:154: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  3109. +m4trace:configure.ac:97: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$])
  3110. +m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_GNU_GETOPT_LONG$])
  3111. +m4trace:configure.ac:99: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3112. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3113. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3114. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3115. +m4trace:configure.ac:121: -1- m4_pattern_allow([^RT_LDADD$])
  3116. +m4trace:configure.ac:127: -1- m4_pattern_allow([^HAVE_SYS_FSUID_H$])
  3117. +m4trace:configure.ac:136: -1- m4_pattern_allow([^PIE_CFLAGS$])
  3118. +m4trace:configure.ac:143: -1- m4_pattern_allow([^RELRO_CFLAGS$])
  3119. +m4trace:configure.ac:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  3120. You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
  3121. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  3122. ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  3123. ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  3124. -configure.ac:154: the top level])
  3125. -m4trace:configure.ac:161: -1- m4_pattern_allow([^HAVE_KRB5_KEYBLOCK_KEYVALUE$])
  3126. -m4trace:configure.ac:166: -1- m4_pattern_allow([^HAVE_TALLOC_H$])
  3127. -m4trace:configure.ac:176: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3128. -m4trace:configure.ac:195: -1- m4_pattern_allow([^KRB5_LDADD$])
  3129. -m4trace:configure.ac:199: -1- AC_TEST_WBCHL
  3130. -m4trace:configure.ac:199: -1- PKG_CHECK_MODULES([WBCLIENT], [wbclient], [], [
  3131. +configure.ac:166: the top level])
  3132. +m4trace:configure.ac:173: -1- m4_pattern_allow([^HAVE_KRB5_KEYBLOCK_KEYVALUE$])
  3133. +m4trace:configure.ac:178: -1- m4_pattern_allow([^HAVE_TALLOC_H$])
  3134. +m4trace:configure.ac:188: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3135. +m4trace:configure.ac:207: -1- m4_pattern_allow([^KRB5_LDADD$])
  3136. +m4trace:configure.ac:211: -1- AC_TEST_WBCHL
  3137. +m4trace:configure.ac:211: -1- PKG_CHECK_MODULES([WBCLIENT], [wbclient], [], [
  3138. if test "$enable_cifsidmap" = "yes"; then
  3139. AC_MSG_ERROR([wbclient.h not found, consider installing libwbclient-devel.])
  3140. else
  3141. @@ -1183,67 +1072,64 @@
  3142. enable_cifsacl="no"
  3143. fi
  3144. ])
  3145. -m4trace:configure.ac:199: -1- PKG_PROG_PKG_CONFIG
  3146. -m4trace:configure.ac:199: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  3147. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  3148. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  3149. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG$])
  3150. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  3151. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  3152. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG$])
  3153. -m4trace:configure.ac:199: -1- m4_pattern_allow([^WBCLIENT_CFLAGS$])
  3154. -m4trace:configure.ac:199: -1- m4_pattern_allow([^WBCLIENT_LIBS$])
  3155. -m4trace:configure.ac:199: -1- PKG_CHECK_EXISTS([wbclient], [pkg_cv_[]WBCLIENT_CFLAGS=`$PKG_CONFIG --[]cflags "wbclient" 2>/dev/null`
  3156. +m4trace:configure.ac:211: -1- PKG_PROG_PKG_CONFIG
  3157. +m4trace:configure.ac:211: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  3158. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  3159. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  3160. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG$])
  3161. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  3162. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  3163. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG$])
  3164. +m4trace:configure.ac:211: -1- m4_pattern_allow([^WBCLIENT_CFLAGS$])
  3165. +m4trace:configure.ac:211: -1- m4_pattern_allow([^WBCLIENT_LIBS$])
  3166. +m4trace:configure.ac:211: -1- PKG_CHECK_EXISTS([wbclient], [pkg_cv_[]WBCLIENT_CFLAGS=`$PKG_CONFIG --[]cflags "wbclient" 2>/dev/null`
  3167. test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  3168. -m4trace:configure.ac:199: -1- PKG_CHECK_EXISTS([wbclient], [pkg_cv_[]WBCLIENT_LIBS=`$PKG_CONFIG --[]libs "wbclient" 2>/dev/null`
  3169. +m4trace:configure.ac:211: -1- PKG_CHECK_EXISTS([wbclient], [pkg_cv_[]WBCLIENT_LIBS=`$PKG_CONFIG --[]libs "wbclient" 2>/dev/null`
  3170. test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes])
  3171. -m4trace:configure.ac:199: -1- _PKG_SHORT_ERRORS_SUPPORTED
  3172. -m4trace:configure.ac:199: -1- m4_pattern_allow([^HAVE_LIBWBCLIENT$])
  3173. -m4trace:configure.ac:199: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$])
  3174. -m4trace:configure.ac:202: -1- AC_TEST_WBC_IDMAP_BOTH
  3175. -m4trace:configure.ac:202: -2- m4_pattern_allow([^HAVE_WBC_ID_TYPE_BOTH$])
  3176. -m4trace:configure.ac:205: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3177. -m4trace:configure.ac:223: -1- m4_pattern_allow([^HAVE_KRB5_AUTH_CON_GETSENDSUBKEY$])
  3178. -m4trace:configure.ac:233: -1- m4_pattern_allow([^ENABLE_SYSTEMD$])
  3179. -m4trace:configure.ac:237: -1- m4_pattern_allow([^HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE$])
  3180. -m4trace:configure.ac:241: -1- AM_CONDITIONAL([CONFIG_CIFSUPCALL], [test "$enable_cifsupcall" != "no"])
  3181. -m4trace:configure.ac:241: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_TRUE$])
  3182. -m4trace:configure.ac:241: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_FALSE$])
  3183. -m4trace:configure.ac:241: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_TRUE])
  3184. -m4trace:configure.ac:241: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_FALSE])
  3185. -m4trace:configure.ac:242: -1- AM_CONDITIONAL([CONFIG_CIFSCREDS], [test "$enable_cifscreds" != "no"])
  3186. -m4trace:configure.ac:242: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_TRUE$])
  3187. -m4trace:configure.ac:242: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_FALSE$])
  3188. -m4trace:configure.ac:242: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_TRUE])
  3189. -m4trace:configure.ac:242: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_FALSE])
  3190. -m4trace:configure.ac:243: -1- AM_CONDITIONAL([CONFIG_CIFSIDMAP], [test "$enable_cifsidmap" != "no"])
  3191. -m4trace:configure.ac:243: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_TRUE$])
  3192. -m4trace:configure.ac:243: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_FALSE$])
  3193. -m4trace:configure.ac:243: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_TRUE])
  3194. -m4trace:configure.ac:243: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_FALSE])
  3195. -m4trace:configure.ac:244: -1- AM_CONDITIONAL([CONFIG_CIFSACL], [test "$enable_cifsacl" != "no"])
  3196. -m4trace:configure.ac:244: -1- m4_pattern_allow([^CONFIG_CIFSACL_TRUE$])
  3197. -m4trace:configure.ac:244: -1- m4_pattern_allow([^CONFIG_CIFSACL_FALSE$])
  3198. -m4trace:configure.ac:244: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_TRUE])
  3199. -m4trace:configure.ac:244: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_FALSE])
  3200. -m4trace:configure.ac:245: -1- AM_CONDITIONAL([CONFIG_PLUGIN], [test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"])
  3201. -m4trace:configure.ac:245: -1- m4_pattern_allow([^CONFIG_PLUGIN_TRUE$])
  3202. -m4trace:configure.ac:245: -1- m4_pattern_allow([^CONFIG_PLUGIN_FALSE$])
  3203. -m4trace:configure.ac:245: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_TRUE])
  3204. -m4trace:configure.ac:245: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_FALSE])
  3205. -m4trace:configure.ac:247: -1- LIBCAP_NG_PATH
  3206. -m4trace:configure.ac:247: -1- m4_pattern_allow([^CAPNG_LDADD$])
  3207. -m4trace:configure.ac:247: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$])
  3208. -m4trace:configure.ac:250: -1- AC_LIBCAP
  3209. -m4trace:configure.ac:250: -1- m4_pattern_allow([^HAVE_SYS_CAPABILITY_H$])
  3210. -m4trace:configure.ac:250: -1- m4_pattern_allow([^HAVE_LIBCAP$])
  3211. -m4trace:configure.ac:250: -1- m4_pattern_allow([^LIBCAP$])
  3212. -m4trace:configure.ac:252: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3213. -m4trace:configure.ac:252: -1- m4_pattern_allow([^LTLIBOBJS$])
  3214. -m4trace:configure.ac:252: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  3215. -m4trace:configure.ac:252: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  3216. -m4trace:configure.ac:252: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  3217. -m4trace:configure.ac:252: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  3218. -m4trace:configure.ac:252: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  3219. -m4trace:configure.ac:252: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  3220. -m4trace:configure.ac:252: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  3221. +m4trace:configure.ac:211: -1- _PKG_SHORT_ERRORS_SUPPORTED
  3222. +m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_LIBWBCLIENT$])
  3223. +m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$])
  3224. +m4trace:configure.ac:214: -1- AC_TEST_WBC_IDMAP_BOTH
  3225. +m4trace:configure.ac:214: -2- m4_pattern_allow([^HAVE_WBC_ID_TYPE_BOTH$])
  3226. +m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3227. +m4trace:configure.ac:235: -1- m4_pattern_allow([^HAVE_KRB5_AUTH_CON_GETSENDSUBKEY$])
  3228. +m4trace:configure.ac:245: -1- m4_pattern_allow([^ENABLE_SYSTEMD$])
  3229. +m4trace:configure.ac:249: -1- m4_pattern_allow([^HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE$])
  3230. +m4trace:configure.ac:253: -1- AM_CONDITIONAL([CONFIG_CIFSUPCALL], [test "$enable_cifsupcall" != "no"])
  3231. +m4trace:configure.ac:253: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_TRUE$])
  3232. +m4trace:configure.ac:253: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_FALSE$])
  3233. +m4trace:configure.ac:253: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_TRUE])
  3234. +m4trace:configure.ac:253: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_FALSE])
  3235. +m4trace:configure.ac:254: -1- AM_CONDITIONAL([CONFIG_CIFSCREDS], [test "$enable_cifscreds" != "no"])
  3236. +m4trace:configure.ac:254: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_TRUE$])
  3237. +m4trace:configure.ac:254: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_FALSE$])
  3238. +m4trace:configure.ac:254: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_TRUE])
  3239. +m4trace:configure.ac:254: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_FALSE])
  3240. +m4trace:configure.ac:255: -1- AM_CONDITIONAL([CONFIG_CIFSIDMAP], [test "$enable_cifsidmap" != "no"])
  3241. +m4trace:configure.ac:255: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_TRUE$])
  3242. +m4trace:configure.ac:255: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_FALSE$])
  3243. +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_TRUE])
  3244. +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_FALSE])
  3245. +m4trace:configure.ac:256: -1- AM_CONDITIONAL([CONFIG_CIFSACL], [test "$enable_cifsacl" != "no"])
  3246. +m4trace:configure.ac:256: -1- m4_pattern_allow([^CONFIG_CIFSACL_TRUE$])
  3247. +m4trace:configure.ac:256: -1- m4_pattern_allow([^CONFIG_CIFSACL_FALSE$])
  3248. +m4trace:configure.ac:256: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_TRUE])
  3249. +m4trace:configure.ac:256: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_FALSE])
  3250. +m4trace:configure.ac:257: -1- AM_CONDITIONAL([CONFIG_PLUGIN], [test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"])
  3251. +m4trace:configure.ac:257: -1- m4_pattern_allow([^CONFIG_PLUGIN_TRUE$])
  3252. +m4trace:configure.ac:257: -1- m4_pattern_allow([^CONFIG_PLUGIN_FALSE$])
  3253. +m4trace:configure.ac:257: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_TRUE])
  3254. +m4trace:configure.ac:257: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_FALSE])
  3255. +m4trace:configure.ac:262: -1- AC_LIBCAP
  3256. +m4trace:configure.ac:262: -1- m4_pattern_allow([^HAVE_SYS_CAPABILITY_H$])
  3257. +m4trace:configure.ac:262: -1- m4_pattern_allow([^HAVE_LIBCAP$])
  3258. +m4trace:configure.ac:262: -1- m4_pattern_allow([^LIBCAP$])
  3259. +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3260. +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBOBJS$])
  3261. +m4trace:configure.ac:264: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  3262. +m4trace:configure.ac:264: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  3263. +m4trace:configure.ac:264: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  3264. +m4trace:configure.ac:264: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  3265. +m4trace:configure.ac:264: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  3266. +m4trace:configure.ac:264: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
  3267. +m4trace:configure.ac:264: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
  3268. diff -Nur cifs-utils-6.1.orig/autom4te.cache/traces.1 cifs-utils-6.1/autom4te.cache/traces.1
  3269. --- cifs-utils-6.1.orig/autom4te.cache/traces.1 2013-07-02 21:20:33.000000000 +0200
  3270. +++ cifs-utils-6.1/autom4te.cache/traces.1 2013-10-05 18:12:38.000000000 +0200
  3271. @@ -1,5 +1,5 @@
  3272. -m4trace:aclocal.m4:1249: -1- m4_include([aclocal/idmap.m4])
  3273. -m4trace:aclocal.m4:1250: -1- m4_include([aclocal/libcap.m4])
  3274. +m4trace:aclocal.m4:1167: -1- m4_include([aclocal/idmap.m4])
  3275. +m4trace:aclocal.m4:1168: -1- m4_include([aclocal/libcap.m4])
  3276. m4trace:configure.ac:4: -1- AC_INIT([cifs-utils], [6.1], [linux-cifs@vger.kernel.org], [cifs-utils], [https://wiki.samba.org/index.php/LinuxCIFS_utils])
  3277. m4trace:configure.ac:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
  3278. m4trace:configure.ac:4: -1- m4_pattern_forbid([_AC_])
  3279. @@ -152,7 +152,7 @@
  3280. m4trace:configure.ac:7: -1- AC_CONFIG_FILES([Makefile contrib/Makefile contrib/request-key.d/Makefile])
  3281. m4trace:configure.ac:10: -1- AM_INIT_AUTOMAKE
  3282. m4trace:configure.ac:10: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  3283. -m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.12.2])
  3284. +m4trace:configure.ac:10: -1- AM_AUTOMAKE_VERSION([1.11.6])
  3285. m4trace:configure.ac:10: -1- AC_REQUIRE_AUX_FILE([install-sh])
  3286. m4trace:configure.ac:10: -1- AC_SUBST([INSTALL_PROGRAM])
  3287. m4trace:configure.ac:10: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
  3288. @@ -213,7 +213,7 @@
  3289. m4trace:configure.ac:10: -1- AC_SUBST([MKDIR_P])
  3290. m4trace:configure.ac:10: -1- AC_SUBST_TRACE([MKDIR_P])
  3291. m4trace:configure.ac:10: -1- m4_pattern_allow([^MKDIR_P$])
  3292. -m4trace:configure.ac:10: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  3293. +m4trace:configure.ac:10: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
  3294. m4trace:configure.ac:10: -1- AC_SUBST_TRACE([mkdir_p])
  3295. m4trace:configure.ac:10: -1- m4_pattern_allow([^mkdir_p$])
  3296. m4trace:configure.ac:10: -1- AC_SUBST([AWK])
  3297. @@ -494,365 +494,297 @@
  3298. m4trace:configure.ac:92: -1- m4_pattern_allow([^HAVE_GETMNTENT$])
  3299. m4trace:configure.ac:92: -1- AH_OUTPUT([HAVE_GETMNTENT], [/* Define to 1 if you have the `getmntent\' function. */
  3300. @%:@undef HAVE_GETMNTENT])
  3301. -m4trace:configure.ac:93: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
  3302. -m4trace:configure.ac:93: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
  3303. -m4trace:configure.ac:93: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
  3304. - slash. */
  3305. -@%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
  3306. -m4trace:configure.ac:93: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS lstat.$ac_objext"])
  3307. -m4trace:configure.ac:93: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3308. -m4trace:configure.ac:93: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3309. -m4trace:configure.ac:93: -1- AC_LIBSOURCE([lstat.c])
  3310. -m4trace:configure.ac:94: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  3311. -@%:@undef HAVE_STDLIB_H])
  3312. -m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
  3313. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  3314. -m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
  3315. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_MALLOC$])
  3316. -m4trace:configure.ac:94: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
  3317. - to 0 otherwise. */
  3318. -@%:@undef HAVE_MALLOC])
  3319. -m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
  3320. -m4trace:configure.ac:94: -1- m4_pattern_allow([^HAVE_MALLOC$])
  3321. -m4trace:configure.ac:94: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
  3322. -m4trace:configure.ac:94: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3323. -m4trace:configure.ac:94: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3324. -m4trace:configure.ac:94: -1- AC_LIBSOURCE([malloc.c])
  3325. -m4trace:configure.ac:94: -1- AC_DEFINE_TRACE_LITERAL([malloc])
  3326. -m4trace:configure.ac:94: -1- m4_pattern_allow([^malloc$])
  3327. -m4trace:configure.ac:94: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
  3328. -@%:@undef malloc])
  3329. -m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  3330. -@%:@undef HAVE_STDLIB_H])
  3331. -m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
  3332. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
  3333. -m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
  3334. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_REALLOC$])
  3335. -m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
  3336. - and to 0 otherwise. */
  3337. -@%:@undef HAVE_REALLOC])
  3338. -m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
  3339. -m4trace:configure.ac:95: -1- m4_pattern_allow([^HAVE_REALLOC$])
  3340. -m4trace:configure.ac:95: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
  3341. -m4trace:configure.ac:95: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3342. -m4trace:configure.ac:95: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3343. -m4trace:configure.ac:95: -1- AC_LIBSOURCE([realloc.c])
  3344. -m4trace:configure.ac:95: -1- AC_DEFINE_TRACE_LITERAL([realloc])
  3345. -m4trace:configure.ac:95: -1- m4_pattern_allow([^realloc$])
  3346. -m4trace:configure.ac:95: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
  3347. -@%:@undef realloc])
  3348. -m4trace:configure.ac:96: -1- AC_CANONICAL_HOST
  3349. -m4trace:configure.ac:96: -1- AC_CANONICAL_BUILD
  3350. -m4trace:configure.ac:96: -1- AC_REQUIRE_AUX_FILE([config.sub])
  3351. -m4trace:configure.ac:96: -1- AC_REQUIRE_AUX_FILE([config.guess])
  3352. -m4trace:configure.ac:96: -1- AC_SUBST([build], [$ac_cv_build])
  3353. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([build])
  3354. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build$])
  3355. -m4trace:configure.ac:96: -1- AC_SUBST([build_cpu], [$[1]])
  3356. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([build_cpu])
  3357. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_cpu$])
  3358. -m4trace:configure.ac:96: -1- AC_SUBST([build_vendor], [$[2]])
  3359. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([build_vendor])
  3360. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_vendor$])
  3361. -m4trace:configure.ac:96: -1- AC_SUBST([build_os])
  3362. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([build_os])
  3363. -m4trace:configure.ac:96: -1- m4_pattern_allow([^build_os$])
  3364. -m4trace:configure.ac:96: -1- AC_SUBST([host], [$ac_cv_host])
  3365. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([host])
  3366. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host$])
  3367. -m4trace:configure.ac:96: -1- AC_SUBST([host_cpu], [$[1]])
  3368. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([host_cpu])
  3369. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_cpu$])
  3370. -m4trace:configure.ac:96: -1- AC_SUBST([host_vendor], [$[2]])
  3371. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([host_vendor])
  3372. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_vendor$])
  3373. -m4trace:configure.ac:96: -1- AC_SUBST([host_os])
  3374. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([host_os])
  3375. -m4trace:configure.ac:96: -1- m4_pattern_allow([^host_os$])
  3376. -m4trace:configure.ac:96: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS strnlen.$ac_objext"])
  3377. -m4trace:configure.ac:96: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3378. -m4trace:configure.ac:96: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3379. -m4trace:configure.ac:96: -1- AC_LIBSOURCE([strnlen.c])
  3380. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the `alarm\' function. */
  3381. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the `alarm\' function. */
  3382. @%:@undef HAVE_ALARM])
  3383. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
  3384. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
  3385. @%:@undef HAVE_ATEXIT])
  3386. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_ENDPWENT], [/* Define to 1 if you have the `endpwent\' function. */
  3387. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_ENDPWENT], [/* Define to 1 if you have the `endpwent\' function. */
  3388. @%:@undef HAVE_ENDPWENT])
  3389. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_GETMNTENT], [/* Define to 1 if you have the `getmntent\' function. */
  3390. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_GETMNTENT], [/* Define to 1 if you have the `getmntent\' function. */
  3391. @%:@undef HAVE_GETMNTENT])
  3392. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_GETPASS], [/* Define to 1 if you have the `getpass\' function. */
  3393. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_GETPASS], [/* Define to 1 if you have the `getpass\' function. */
  3394. @%:@undef HAVE_GETPASS])
  3395. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
  3396. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_GETTIMEOFDAY], [/* Define to 1 if you have the `gettimeofday\' function. */
  3397. @%:@undef HAVE_GETTIMEOFDAY])
  3398. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */
  3399. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_INET_NTOP], [/* Define to 1 if you have the `inet_ntop\' function. */
  3400. @%:@undef HAVE_INET_NTOP])
  3401. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
  3402. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if you have the `malloc\' function. */
  3403. +@%:@undef HAVE_MALLOC])
  3404. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
  3405. @%:@undef HAVE_MEMSET])
  3406. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
  3407. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if you have the `realloc\' function. */
  3408. +@%:@undef HAVE_REALLOC])
  3409. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
  3410. @%:@undef HAVE_REALPATH])
  3411. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
  3412. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
  3413. @%:@undef HAVE_SETENV])
  3414. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
  3415. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
  3416. @%:@undef HAVE_STRCHR])
  3417. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRCMP], [/* Define to 1 if you have the `strcmp\' function. */
  3418. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRCMP], [/* Define to 1 if you have the `strcmp\' function. */
  3419. @%:@undef HAVE_STRCMP])
  3420. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
  3421. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
  3422. @%:@undef HAVE_STRDUP])
  3423. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
  3424. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
  3425. @%:@undef HAVE_STRERROR])
  3426. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
  3427. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
  3428. @%:@undef HAVE_STRNCASECMP])
  3429. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
  3430. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRNDUP], [/* Define to 1 if you have the `strndup\' function. */
  3431. @%:@undef HAVE_STRNDUP])
  3432. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRPBRK], [/* Define to 1 if you have the `strpbrk\' function. */
  3433. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRNLEN], [/* Define to 1 if you have the `strnlen\' function. */
  3434. +@%:@undef HAVE_STRNLEN])
  3435. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRPBRK], [/* Define to 1 if you have the `strpbrk\' function. */
  3436. @%:@undef HAVE_STRPBRK])
  3437. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
  3438. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
  3439. @%:@undef HAVE_STRRCHR])
  3440. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
  3441. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
  3442. @%:@undef HAVE_STRSTR])
  3443. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
  3444. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRTOL], [/* Define to 1 if you have the `strtol\' function. */
  3445. @%:@undef HAVE_STRTOL])
  3446. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_STRTOUL], [/* Define to 1 if you have the `strtoul\' function. */
  3447. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_STRTOUL], [/* Define to 1 if you have the `strtoul\' function. */
  3448. @%:@undef HAVE_STRTOUL])
  3449. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_TOLOWER], [/* Define to 1 if you have the `tolower\' function. */
  3450. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_TOLOWER], [/* Define to 1 if you have the `tolower\' function. */
  3451. @%:@undef HAVE_TOLOWER])
  3452. -m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
  3453. +m4trace:configure.ac:95: -1- AH_OUTPUT([HAVE_UNAME], [/* Define to 1 if you have the `uname\' function. */
  3454. @%:@undef HAVE_UNAME])
  3455. -m4trace:configure.ac:101: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Define to 1 if you have the `clock_gettime\' function. */
  3456. +m4trace:configure.ac:97: -1- AH_OUTPUT([HAVE_GETOPT_LONG], [/* Define to 1 if you have the `getopt_long\' function. */
  3457. +@%:@undef HAVE_GETOPT_LONG])
  3458. +m4trace:configure.ac:97: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GETOPT_LONG])
  3459. +m4trace:configure.ac:97: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$])
  3460. +m4trace:configure.ac:99: -1- AC_DEFINE_TRACE_LITERAL([HAVE_GNU_GETOPT_LONG])
  3461. +m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_GNU_GETOPT_LONG$])
  3462. +m4trace:configure.ac:99: -1- AH_OUTPUT([HAVE_GNU_GETOPT_LONG], [/* Whether getopt_long has GNU extensions */
  3463. +@%:@undef HAVE_GNU_GETOPT_LONG])
  3464. +m4trace:configure.ac:99: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS gnu_getopt.$ac_objext"])
  3465. +m4trace:configure.ac:99: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3466. +m4trace:configure.ac:99: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3467. +m4trace:configure.ac:99: -1- AC_LIBSOURCE([gnu_getopt.c])
  3468. +m4trace:configure.ac:113: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Define to 1 if you have the `clock_gettime\' function. */
  3469. @%:@undef HAVE_CLOCK_GETTIME])
  3470. -m4trace:configure.ac:101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3471. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3472. -m4trace:configure.ac:101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3473. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3474. -m4trace:configure.ac:101: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3475. -m4trace:configure.ac:101: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3476. -m4trace:configure.ac:101: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Whether the clock_gettime func is there */
  3477. +m4trace:configure.ac:113: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3478. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3479. +m4trace:configure.ac:113: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3480. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3481. +m4trace:configure.ac:113: -1- AC_DEFINE_TRACE_LITERAL([HAVE_CLOCK_GETTIME])
  3482. +m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$])
  3483. +m4trace:configure.ac:113: -1- AH_OUTPUT([HAVE_CLOCK_GETTIME], [/* Whether the clock_gettime func is there */
  3484. @%:@undef HAVE_CLOCK_GETTIME])
  3485. -m4trace:configure.ac:109: -1- AC_SUBST([RT_LDADD])
  3486. -m4trace:configure.ac:109: -1- AC_SUBST_TRACE([RT_LDADD])
  3487. -m4trace:configure.ac:109: -1- m4_pattern_allow([^RT_LDADD$])
  3488. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
  3489. +m4trace:configure.ac:121: -1- AC_SUBST([RT_LDADD])
  3490. +m4trace:configure.ac:121: -1- AC_SUBST_TRACE([RT_LDADD])
  3491. +m4trace:configure.ac:121: -1- m4_pattern_allow([^RT_LDADD$])
  3492. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
  3493. @%:@undef HAVE_ARPA_INET_H])
  3494. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_CTYPE_H], [/* Define to 1 if you have the <ctype.h> header file. */
  3495. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_CTYPE_H], [/* Define to 1 if you have the <ctype.h> header file. */
  3496. @%:@undef HAVE_CTYPE_H])
  3497. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
  3498. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
  3499. @%:@undef HAVE_FCNTL_H])
  3500. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  3501. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
  3502. @%:@undef HAVE_INTTYPES_H])
  3503. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
  3504. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
  3505. @%:@undef HAVE_LIMITS_H])
  3506. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_MNTENT_H], [/* Define to 1 if you have the <mntent.h> header file. */
  3507. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_MNTENT_H], [/* Define to 1 if you have the <mntent.h> header file. */
  3508. @%:@undef HAVE_MNTENT_H])
  3509. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
  3510. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_NETDB_H], [/* Define to 1 if you have the <netdb.h> header file. */
  3511. @%:@undef HAVE_NETDB_H])
  3512. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
  3513. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
  3514. @%:@undef HAVE_STDDEF_H])
  3515. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  3516. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
  3517. @%:@undef HAVE_STDINT_H])
  3518. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the <stdbool.h> header file. */
  3519. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if you have the <stdbool.h> header file. */
  3520. @%:@undef HAVE_STDBOOL_H])
  3521. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  3522. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
  3523. @%:@undef HAVE_STDLIB_H])
  3524. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */
  3525. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STDIO_H], [/* Define to 1 if you have the <stdio.h> header file. */
  3526. @%:@undef HAVE_STDIO_H])
  3527. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
  3528. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_ERRNO_H], [/* Define to 1 if you have the <errno.h> header file. */
  3529. @%:@undef HAVE_ERRNO_H])
  3530. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  3531. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
  3532. @%:@undef HAVE_STRING_H])
  3533. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  3534. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
  3535. @%:@undef HAVE_STRINGS_H])
  3536. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the <sys/mount.h> header file. */
  3537. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_SYS_MOUNT_H], [/* Define to 1 if you have the <sys/mount.h> header file. */
  3538. @%:@undef HAVE_SYS_MOUNT_H])
  3539. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  3540. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_SYS_PARAM_H], [/* Define to 1 if you have the <sys/param.h> header file. */
  3541. @%:@undef HAVE_SYS_PARAM_H])
  3542. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
  3543. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
  3544. @%:@undef HAVE_SYS_SOCKET_H])
  3545. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  3546. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
  3547. @%:@undef HAVE_SYS_TIME_H])
  3548. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
  3549. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
  3550. @%:@undef HAVE_SYSLOG_H])
  3551. -m4trace:configure.ac:112: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  3552. +m4trace:configure.ac:124: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
  3553. @%:@undef HAVE_UNISTD_H])
  3554. -m4trace:configure.ac:115: -1- AH_OUTPUT([HAVE_SYS_FSUID_H], [/* Define to 1 if you have the <sys/fsuid.h> header file. */
  3555. +m4trace:configure.ac:127: -1- AH_OUTPUT([HAVE_SYS_FSUID_H], [/* Define to 1 if you have the <sys/fsuid.h> header file. */
  3556. @%:@undef HAVE_SYS_FSUID_H])
  3557. -m4trace:configure.ac:115: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FSUID_H])
  3558. -m4trace:configure.ac:115: -1- m4_pattern_allow([^HAVE_SYS_FSUID_H$])
  3559. -m4trace:configure.ac:124: -1- AC_SUBST([PIE_CFLAGS])
  3560. -m4trace:configure.ac:124: -1- AC_SUBST_TRACE([PIE_CFLAGS])
  3561. -m4trace:configure.ac:124: -1- m4_pattern_allow([^PIE_CFLAGS$])
  3562. -m4trace:configure.ac:131: -1- AC_SUBST([RELRO_CFLAGS])
  3563. -m4trace:configure.ac:131: -1- AC_SUBST_TRACE([RELRO_CFLAGS])
  3564. -m4trace:configure.ac:131: -1- m4_pattern_allow([^RELRO_CFLAGS$])
  3565. -m4trace:configure.ac:134: -1- AH_OUTPUT([HAVE_KRB5_H], [/* Define to 1 if you have the <krb5.h> header file. */
  3566. +m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_FSUID_H])
  3567. +m4trace:configure.ac:127: -1- m4_pattern_allow([^HAVE_SYS_FSUID_H$])
  3568. +m4trace:configure.ac:136: -1- AC_SUBST([PIE_CFLAGS])
  3569. +m4trace:configure.ac:136: -1- AC_SUBST_TRACE([PIE_CFLAGS])
  3570. +m4trace:configure.ac:136: -1- m4_pattern_allow([^PIE_CFLAGS$])
  3571. +m4trace:configure.ac:143: -1- AC_SUBST([RELRO_CFLAGS])
  3572. +m4trace:configure.ac:143: -1- AC_SUBST_TRACE([RELRO_CFLAGS])
  3573. +m4trace:configure.ac:143: -1- m4_pattern_allow([^RELRO_CFLAGS$])
  3574. +m4trace:configure.ac:146: -1- AH_OUTPUT([HAVE_KRB5_H], [/* Define to 1 if you have the <krb5.h> header file. */
  3575. @%:@undef HAVE_KRB5_H])
  3576. -m4trace:configure.ac:134: -1- AH_OUTPUT([HAVE_KRB5_KRB5_H], [/* Define to 1 if you have the <krb5/krb5.h> header file. */
  3577. +m4trace:configure.ac:146: -1- AH_OUTPUT([HAVE_KRB5_KRB5_H], [/* Define to 1 if you have the <krb5/krb5.h> header file. */
  3578. @%:@undef HAVE_KRB5_KRB5_H])
  3579. -m4trace:configure.ac:154: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  3580. +m4trace:configure.ac:166: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  3581. You should run autoupdate.], [../../lib/autoconf/general.m4:2614: AC_TRY_COMPILE is expanded from...
  3582. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  3583. ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
  3584. ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
  3585. -configure.ac:154: the top level])
  3586. -m4trace:configure.ac:161: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KRB5_KEYBLOCK_KEYVALUE])
  3587. -m4trace:configure.ac:161: -1- m4_pattern_allow([^HAVE_KRB5_KEYBLOCK_KEYVALUE$])
  3588. -m4trace:configure.ac:161: -1- AH_OUTPUT([HAVE_KRB5_KEYBLOCK_KEYVALUE], [/* Whether the krb5_keyblock struct has a keyvalue property */
  3589. +configure.ac:166: the top level])
  3590. +m4trace:configure.ac:173: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KRB5_KEYBLOCK_KEYVALUE])
  3591. +m4trace:configure.ac:173: -1- m4_pattern_allow([^HAVE_KRB5_KEYBLOCK_KEYVALUE$])
  3592. +m4trace:configure.ac:173: -1- AH_OUTPUT([HAVE_KRB5_KEYBLOCK_KEYVALUE], [/* Whether the krb5_keyblock struct has a keyvalue property */
  3593. @%:@undef HAVE_KRB5_KEYBLOCK_KEYVALUE])
  3594. -m4trace:configure.ac:166: -1- AH_OUTPUT([HAVE_TALLOC_H], [/* Define to 1 if you have the <talloc.h> header file. */
  3595. +m4trace:configure.ac:178: -1- AH_OUTPUT([HAVE_TALLOC_H], [/* Define to 1 if you have the <talloc.h> header file. */
  3596. @%:@undef HAVE_TALLOC_H])
  3597. -m4trace:configure.ac:166: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TALLOC_H])
  3598. -m4trace:configure.ac:166: -1- m4_pattern_allow([^HAVE_TALLOC_H$])
  3599. -m4trace:configure.ac:176: -1- AH_OUTPUT([HAVE_KEYUTILS_H], [/* Define to 1 if you have the <keyutils.h> header file. */
  3600. +m4trace:configure.ac:178: -1- AC_DEFINE_TRACE_LITERAL([HAVE_TALLOC_H])
  3601. +m4trace:configure.ac:178: -1- m4_pattern_allow([^HAVE_TALLOC_H$])
  3602. +m4trace:configure.ac:188: -1- AH_OUTPUT([HAVE_KEYUTILS_H], [/* Define to 1 if you have the <keyutils.h> header file. */
  3603. @%:@undef HAVE_KEYUTILS_H])
  3604. -m4trace:configure.ac:176: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KEYUTILS_H])
  3605. -m4trace:configure.ac:176: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3606. -m4trace:configure.ac:195: -1- AC_SUBST([KRB5_LDADD])
  3607. -m4trace:configure.ac:195: -1- AC_SUBST_TRACE([KRB5_LDADD])
  3608. -m4trace:configure.ac:195: -1- m4_pattern_allow([^KRB5_LDADD$])
  3609. -m4trace:configure.ac:199: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  3610. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  3611. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  3612. -m4trace:configure.ac:199: -1- AC_SUBST([PKG_CONFIG])
  3613. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([PKG_CONFIG])
  3614. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG$])
  3615. -m4trace:configure.ac:199: -1- AC_SUBST([PKG_CONFIG_PATH])
  3616. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH])
  3617. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  3618. -m4trace:configure.ac:199: -1- AC_SUBST([PKG_CONFIG_LIBDIR])
  3619. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR])
  3620. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  3621. -m4trace:configure.ac:199: -1- AC_SUBST([PKG_CONFIG])
  3622. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([PKG_CONFIG])
  3623. -m4trace:configure.ac:199: -1- m4_pattern_allow([^PKG_CONFIG$])
  3624. -m4trace:configure.ac:199: -1- AC_SUBST([WBCLIENT_CFLAGS])
  3625. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([WBCLIENT_CFLAGS])
  3626. -m4trace:configure.ac:199: -1- m4_pattern_allow([^WBCLIENT_CFLAGS$])
  3627. -m4trace:configure.ac:199: -1- AC_SUBST([WBCLIENT_LIBS])
  3628. -m4trace:configure.ac:199: -1- AC_SUBST_TRACE([WBCLIENT_LIBS])
  3629. -m4trace:configure.ac:199: -1- m4_pattern_allow([^WBCLIENT_LIBS$])
  3630. -m4trace:configure.ac:199: -1- AH_OUTPUT([HAVE_LIBWBCLIENT], [/* Define to 1 if you have the `wbclient\' library (-lwbclient). */
  3631. +m4trace:configure.ac:188: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KEYUTILS_H])
  3632. +m4trace:configure.ac:188: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3633. +m4trace:configure.ac:207: -1- AC_SUBST([KRB5_LDADD])
  3634. +m4trace:configure.ac:207: -1- AC_SUBST_TRACE([KRB5_LDADD])
  3635. +m4trace:configure.ac:207: -1- m4_pattern_allow([^KRB5_LDADD$])
  3636. +m4trace:configure.ac:211: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  3637. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  3638. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  3639. +m4trace:configure.ac:211: -1- AC_SUBST([PKG_CONFIG])
  3640. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([PKG_CONFIG])
  3641. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG$])
  3642. +m4trace:configure.ac:211: -1- AC_SUBST([PKG_CONFIG_PATH])
  3643. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([PKG_CONFIG_PATH])
  3644. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
  3645. +m4trace:configure.ac:211: -1- AC_SUBST([PKG_CONFIG_LIBDIR])
  3646. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([PKG_CONFIG_LIBDIR])
  3647. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
  3648. +m4trace:configure.ac:211: -1- AC_SUBST([PKG_CONFIG])
  3649. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([PKG_CONFIG])
  3650. +m4trace:configure.ac:211: -1- m4_pattern_allow([^PKG_CONFIG$])
  3651. +m4trace:configure.ac:211: -1- AC_SUBST([WBCLIENT_CFLAGS])
  3652. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([WBCLIENT_CFLAGS])
  3653. +m4trace:configure.ac:211: -1- m4_pattern_allow([^WBCLIENT_CFLAGS$])
  3654. +m4trace:configure.ac:211: -1- AC_SUBST([WBCLIENT_LIBS])
  3655. +m4trace:configure.ac:211: -1- AC_SUBST_TRACE([WBCLIENT_LIBS])
  3656. +m4trace:configure.ac:211: -1- m4_pattern_allow([^WBCLIENT_LIBS$])
  3657. +m4trace:configure.ac:211: -1- AH_OUTPUT([HAVE_LIBWBCLIENT], [/* Define to 1 if you have the `wbclient\' library (-lwbclient). */
  3658. @%:@undef HAVE_LIBWBCLIENT])
  3659. -m4trace:configure.ac:199: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWBCLIENT])
  3660. -m4trace:configure.ac:199: -1- m4_pattern_allow([^HAVE_LIBWBCLIENT$])
  3661. -m4trace:configure.ac:199: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the <sys/xattr.h> header file. */
  3662. +m4trace:configure.ac:211: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBWBCLIENT])
  3663. +m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_LIBWBCLIENT$])
  3664. +m4trace:configure.ac:211: -1- AH_OUTPUT([HAVE_SYS_XATTR_H], [/* Define to 1 if you have the <sys/xattr.h> header file. */
  3665. @%:@undef HAVE_SYS_XATTR_H])
  3666. -m4trace:configure.ac:199: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H])
  3667. -m4trace:configure.ac:199: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$])
  3668. -m4trace:configure.ac:202: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WBC_ID_TYPE_BOTH])
  3669. -m4trace:configure.ac:202: -2- m4_pattern_allow([^HAVE_WBC_ID_TYPE_BOTH$])
  3670. -m4trace:configure.ac:202: -2- AH_OUTPUT([HAVE_WBC_ID_TYPE_BOTH], [/* Does wbclient.h have a WBC_ID_TYPE_BOTH enum? */
  3671. +m4trace:configure.ac:211: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_XATTR_H])
  3672. +m4trace:configure.ac:211: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$])
  3673. +m4trace:configure.ac:214: -2- AC_DEFINE_TRACE_LITERAL([HAVE_WBC_ID_TYPE_BOTH])
  3674. +m4trace:configure.ac:214: -2- m4_pattern_allow([^HAVE_WBC_ID_TYPE_BOTH$])
  3675. +m4trace:configure.ac:214: -2- AH_OUTPUT([HAVE_WBC_ID_TYPE_BOTH], [/* Does wbclient.h have a WBC_ID_TYPE_BOTH enum? */
  3676. @%:@undef HAVE_WBC_ID_TYPE_BOTH])
  3677. -m4trace:configure.ac:205: -1- AH_OUTPUT([HAVE_KEYUTILS_H], [/* Define to 1 if you have the <keyutils.h> header file. */
  3678. +m4trace:configure.ac:217: -1- AH_OUTPUT([HAVE_KEYUTILS_H], [/* Define to 1 if you have the <keyutils.h> header file. */
  3679. @%:@undef HAVE_KEYUTILS_H])
  3680. -m4trace:configure.ac:205: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KEYUTILS_H])
  3681. -m4trace:configure.ac:205: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3682. -m4trace:configure.ac:223: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_GETSENDSUBKEY], [/* Define to 1 if you have the `krb5_auth_con_getsendsubkey\' function. */
  3683. +m4trace:configure.ac:217: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KEYUTILS_H])
  3684. +m4trace:configure.ac:217: -1- m4_pattern_allow([^HAVE_KEYUTILS_H$])
  3685. +m4trace:configure.ac:235: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_GETSENDSUBKEY], [/* Define to 1 if you have the `krb5_auth_con_getsendsubkey\' function. */
  3686. @%:@undef HAVE_KRB5_AUTH_CON_GETSENDSUBKEY])
  3687. -m4trace:configure.ac:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KRB5_AUTH_CON_GETSENDSUBKEY])
  3688. -m4trace:configure.ac:223: -1- m4_pattern_allow([^HAVE_KRB5_AUTH_CON_GETSENDSUBKEY$])
  3689. -m4trace:configure.ac:228: -1- AH_OUTPUT([HAVE_KRB5_PRINCIPAL_GET_REALM], [/* Define to 1 if you have the `krb5_principal_get_realm\' function. */
  3690. +m4trace:configure.ac:235: -1- AC_DEFINE_TRACE_LITERAL([HAVE_KRB5_AUTH_CON_GETSENDSUBKEY])
  3691. +m4trace:configure.ac:235: -1- m4_pattern_allow([^HAVE_KRB5_AUTH_CON_GETSENDSUBKEY$])
  3692. +m4trace:configure.ac:240: -1- AH_OUTPUT([HAVE_KRB5_PRINCIPAL_GET_REALM], [/* Define to 1 if you have the `krb5_principal_get_realm\' function. */
  3693. @%:@undef HAVE_KRB5_PRINCIPAL_GET_REALM])
  3694. -m4trace:configure.ac:228: -1- AH_OUTPUT([HAVE_KRB5_FREE_UNPARSED_NAME], [/* Define to 1 if you have the `krb5_free_unparsed_name\' function. */
  3695. +m4trace:configure.ac:240: -1- AH_OUTPUT([HAVE_KRB5_FREE_UNPARSED_NAME], [/* Define to 1 if you have the `krb5_free_unparsed_name\' function. */
  3696. @%:@undef HAVE_KRB5_FREE_UNPARSED_NAME])
  3697. -m4trace:configure.ac:229: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_SETADDRS], [/* Define to 1 if you have the `krb5_auth_con_setaddrs\' function. */
  3698. +m4trace:configure.ac:241: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_SETADDRS], [/* Define to 1 if you have the `krb5_auth_con_setaddrs\' function. */
  3699. @%:@undef HAVE_KRB5_AUTH_CON_SETADDRS])
  3700. -m4trace:configure.ac:229: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE], [/* Define to 1 if you have the `krb5_auth_con_set_req_cksumtype\' function. */
  3701. +m4trace:configure.ac:241: -1- AH_OUTPUT([HAVE_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE], [/* Define to 1 if you have the `krb5_auth_con_set_req_cksumtype\' function. */
  3702. @%:@undef HAVE_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE])
  3703. -m4trace:configure.ac:233: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_SYSTEMD])
  3704. -m4trace:configure.ac:233: -1- m4_pattern_allow([^ENABLE_SYSTEMD$])
  3705. -m4trace:configure.ac:233: -1- AH_OUTPUT([ENABLE_SYSTEMD], [/* Enable systemd specific behavior for mount.cifs */
  3706. +m4trace:configure.ac:245: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_SYSTEMD])
  3707. +m4trace:configure.ac:245: -1- m4_pattern_allow([^ENABLE_SYSTEMD$])
  3708. +m4trace:configure.ac:245: -1- AH_OUTPUT([ENABLE_SYSTEMD], [/* Enable systemd specific behavior for mount.cifs */
  3709. @%:@undef ENABLE_SYSTEMD])
  3710. -m4trace:configure.ac:237: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE])
  3711. -m4trace:configure.ac:237: -1- m4_pattern_allow([^HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE$])
  3712. -m4trace:configure.ac:237: -1- AH_OUTPUT([HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE], [/* Define to 1 if you have the declaration of
  3713. +m4trace:configure.ac:249: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE])
  3714. +m4trace:configure.ac:249: -1- m4_pattern_allow([^HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE$])
  3715. +m4trace:configure.ac:249: -1- AH_OUTPUT([HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE], [/* Define to 1 if you have the declaration of
  3716. `krb5_auth_con_set_req_cksumtype\', and to 0 if you don\'t. */
  3717. @%:@undef HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE])
  3718. -m4trace:configure.ac:241: -1- AM_CONDITIONAL([CONFIG_CIFSUPCALL], [test "$enable_cifsupcall" != "no"])
  3719. -m4trace:configure.ac:241: -1- AC_SUBST([CONFIG_CIFSUPCALL_TRUE])
  3720. -m4trace:configure.ac:241: -1- AC_SUBST_TRACE([CONFIG_CIFSUPCALL_TRUE])
  3721. -m4trace:configure.ac:241: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_TRUE$])
  3722. -m4trace:configure.ac:241: -1- AC_SUBST([CONFIG_CIFSUPCALL_FALSE])
  3723. -m4trace:configure.ac:241: -1- AC_SUBST_TRACE([CONFIG_CIFSUPCALL_FALSE])
  3724. -m4trace:configure.ac:241: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_FALSE$])
  3725. -m4trace:configure.ac:241: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_TRUE])
  3726. -m4trace:configure.ac:241: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_FALSE])
  3727. -m4trace:configure.ac:242: -1- AM_CONDITIONAL([CONFIG_CIFSCREDS], [test "$enable_cifscreds" != "no"])
  3728. -m4trace:configure.ac:242: -1- AC_SUBST([CONFIG_CIFSCREDS_TRUE])
  3729. -m4trace:configure.ac:242: -1- AC_SUBST_TRACE([CONFIG_CIFSCREDS_TRUE])
  3730. -m4trace:configure.ac:242: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_TRUE$])
  3731. -m4trace:configure.ac:242: -1- AC_SUBST([CONFIG_CIFSCREDS_FALSE])
  3732. -m4trace:configure.ac:242: -1- AC_SUBST_TRACE([CONFIG_CIFSCREDS_FALSE])
  3733. -m4trace:configure.ac:242: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_FALSE$])
  3734. -m4trace:configure.ac:242: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_TRUE])
  3735. -m4trace:configure.ac:242: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_FALSE])
  3736. -m4trace:configure.ac:243: -1- AM_CONDITIONAL([CONFIG_CIFSIDMAP], [test "$enable_cifsidmap" != "no"])
  3737. -m4trace:configure.ac:243: -1- AC_SUBST([CONFIG_CIFSIDMAP_TRUE])
  3738. -m4trace:configure.ac:243: -1- AC_SUBST_TRACE([CONFIG_CIFSIDMAP_TRUE])
  3739. -m4trace:configure.ac:243: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_TRUE$])
  3740. -m4trace:configure.ac:243: -1- AC_SUBST([CONFIG_CIFSIDMAP_FALSE])
  3741. -m4trace:configure.ac:243: -1- AC_SUBST_TRACE([CONFIG_CIFSIDMAP_FALSE])
  3742. -m4trace:configure.ac:243: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_FALSE$])
  3743. -m4trace:configure.ac:243: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_TRUE])
  3744. -m4trace:configure.ac:243: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_FALSE])
  3745. -m4trace:configure.ac:244: -1- AM_CONDITIONAL([CONFIG_CIFSACL], [test "$enable_cifsacl" != "no"])
  3746. -m4trace:configure.ac:244: -1- AC_SUBST([CONFIG_CIFSACL_TRUE])
  3747. -m4trace:configure.ac:244: -1- AC_SUBST_TRACE([CONFIG_CIFSACL_TRUE])
  3748. -m4trace:configure.ac:244: -1- m4_pattern_allow([^CONFIG_CIFSACL_TRUE$])
  3749. -m4trace:configure.ac:244: -1- AC_SUBST([CONFIG_CIFSACL_FALSE])
  3750. -m4trace:configure.ac:244: -1- AC_SUBST_TRACE([CONFIG_CIFSACL_FALSE])
  3751. -m4trace:configure.ac:244: -1- m4_pattern_allow([^CONFIG_CIFSACL_FALSE$])
  3752. -m4trace:configure.ac:244: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_TRUE])
  3753. -m4trace:configure.ac:244: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_FALSE])
  3754. -m4trace:configure.ac:245: -1- AM_CONDITIONAL([CONFIG_PLUGIN], [test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"])
  3755. -m4trace:configure.ac:245: -1- AC_SUBST([CONFIG_PLUGIN_TRUE])
  3756. -m4trace:configure.ac:245: -1- AC_SUBST_TRACE([CONFIG_PLUGIN_TRUE])
  3757. -m4trace:configure.ac:245: -1- m4_pattern_allow([^CONFIG_PLUGIN_TRUE$])
  3758. -m4trace:configure.ac:245: -1- AC_SUBST([CONFIG_PLUGIN_FALSE])
  3759. -m4trace:configure.ac:245: -1- AC_SUBST_TRACE([CONFIG_PLUGIN_FALSE])
  3760. -m4trace:configure.ac:245: -1- m4_pattern_allow([^CONFIG_PLUGIN_FALSE$])
  3761. -m4trace:configure.ac:245: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_TRUE])
  3762. -m4trace:configure.ac:245: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_FALSE])
  3763. -m4trace:configure.ac:247: -1- AC_SUBST([CAPNG_LDADD])
  3764. -m4trace:configure.ac:247: -1- AC_SUBST_TRACE([CAPNG_LDADD])
  3765. -m4trace:configure.ac:247: -1- m4_pattern_allow([^CAPNG_LDADD$])
  3766. -m4trace:configure.ac:247: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAP_NG])
  3767. -m4trace:configure.ac:247: -1- m4_pattern_allow([^HAVE_LIBCAP_NG$])
  3768. -m4trace:configure.ac:247: -1- AH_OUTPUT([HAVE_LIBCAP_NG], [/* libcap-ng support */
  3769. -@%:@undef HAVE_LIBCAP_NG])
  3770. -m4trace:configure.ac:250: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
  3771. +m4trace:configure.ac:253: -1- AM_CONDITIONAL([CONFIG_CIFSUPCALL], [test "$enable_cifsupcall" != "no"])
  3772. +m4trace:configure.ac:253: -1- AC_SUBST([CONFIG_CIFSUPCALL_TRUE])
  3773. +m4trace:configure.ac:253: -1- AC_SUBST_TRACE([CONFIG_CIFSUPCALL_TRUE])
  3774. +m4trace:configure.ac:253: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_TRUE$])
  3775. +m4trace:configure.ac:253: -1- AC_SUBST([CONFIG_CIFSUPCALL_FALSE])
  3776. +m4trace:configure.ac:253: -1- AC_SUBST_TRACE([CONFIG_CIFSUPCALL_FALSE])
  3777. +m4trace:configure.ac:253: -1- m4_pattern_allow([^CONFIG_CIFSUPCALL_FALSE$])
  3778. +m4trace:configure.ac:253: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_TRUE])
  3779. +m4trace:configure.ac:253: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSUPCALL_FALSE])
  3780. +m4trace:configure.ac:254: -1- AM_CONDITIONAL([CONFIG_CIFSCREDS], [test "$enable_cifscreds" != "no"])
  3781. +m4trace:configure.ac:254: -1- AC_SUBST([CONFIG_CIFSCREDS_TRUE])
  3782. +m4trace:configure.ac:254: -1- AC_SUBST_TRACE([CONFIG_CIFSCREDS_TRUE])
  3783. +m4trace:configure.ac:254: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_TRUE$])
  3784. +m4trace:configure.ac:254: -1- AC_SUBST([CONFIG_CIFSCREDS_FALSE])
  3785. +m4trace:configure.ac:254: -1- AC_SUBST_TRACE([CONFIG_CIFSCREDS_FALSE])
  3786. +m4trace:configure.ac:254: -1- m4_pattern_allow([^CONFIG_CIFSCREDS_FALSE$])
  3787. +m4trace:configure.ac:254: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_TRUE])
  3788. +m4trace:configure.ac:254: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSCREDS_FALSE])
  3789. +m4trace:configure.ac:255: -1- AM_CONDITIONAL([CONFIG_CIFSIDMAP], [test "$enable_cifsidmap" != "no"])
  3790. +m4trace:configure.ac:255: -1- AC_SUBST([CONFIG_CIFSIDMAP_TRUE])
  3791. +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CONFIG_CIFSIDMAP_TRUE])
  3792. +m4trace:configure.ac:255: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_TRUE$])
  3793. +m4trace:configure.ac:255: -1- AC_SUBST([CONFIG_CIFSIDMAP_FALSE])
  3794. +m4trace:configure.ac:255: -1- AC_SUBST_TRACE([CONFIG_CIFSIDMAP_FALSE])
  3795. +m4trace:configure.ac:255: -1- m4_pattern_allow([^CONFIG_CIFSIDMAP_FALSE$])
  3796. +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_TRUE])
  3797. +m4trace:configure.ac:255: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSIDMAP_FALSE])
  3798. +m4trace:configure.ac:256: -1- AM_CONDITIONAL([CONFIG_CIFSACL], [test "$enable_cifsacl" != "no"])
  3799. +m4trace:configure.ac:256: -1- AC_SUBST([CONFIG_CIFSACL_TRUE])
  3800. +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([CONFIG_CIFSACL_TRUE])
  3801. +m4trace:configure.ac:256: -1- m4_pattern_allow([^CONFIG_CIFSACL_TRUE$])
  3802. +m4trace:configure.ac:256: -1- AC_SUBST([CONFIG_CIFSACL_FALSE])
  3803. +m4trace:configure.ac:256: -1- AC_SUBST_TRACE([CONFIG_CIFSACL_FALSE])
  3804. +m4trace:configure.ac:256: -1- m4_pattern_allow([^CONFIG_CIFSACL_FALSE$])
  3805. +m4trace:configure.ac:256: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_TRUE])
  3806. +m4trace:configure.ac:256: -1- _AM_SUBST_NOTMAKE([CONFIG_CIFSACL_FALSE])
  3807. +m4trace:configure.ac:257: -1- AM_CONDITIONAL([CONFIG_PLUGIN], [test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"])
  3808. +m4trace:configure.ac:257: -1- AC_SUBST([CONFIG_PLUGIN_TRUE])
  3809. +m4trace:configure.ac:257: -1- AC_SUBST_TRACE([CONFIG_PLUGIN_TRUE])
  3810. +m4trace:configure.ac:257: -1- m4_pattern_allow([^CONFIG_PLUGIN_TRUE$])
  3811. +m4trace:configure.ac:257: -1- AC_SUBST([CONFIG_PLUGIN_FALSE])
  3812. +m4trace:configure.ac:257: -1- AC_SUBST_TRACE([CONFIG_PLUGIN_FALSE])
  3813. +m4trace:configure.ac:257: -1- m4_pattern_allow([^CONFIG_PLUGIN_FALSE$])
  3814. +m4trace:configure.ac:257: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_TRUE])
  3815. +m4trace:configure.ac:257: -1- _AM_SUBST_NOTMAKE([CONFIG_PLUGIN_FALSE])
  3816. +m4trace:configure.ac:262: -1- AH_OUTPUT([HAVE_SYS_CAPABILITY_H], [/* Define to 1 if you have the <sys/capability.h> header file. */
  3817. @%:@undef HAVE_SYS_CAPABILITY_H])
  3818. -m4trace:configure.ac:250: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_CAPABILITY_H])
  3819. -m4trace:configure.ac:250: -1- m4_pattern_allow([^HAVE_SYS_CAPABILITY_H$])
  3820. -m4trace:configure.ac:250: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAP])
  3821. -m4trace:configure.ac:250: -1- m4_pattern_allow([^HAVE_LIBCAP$])
  3822. -m4trace:configure.ac:250: -1- AH_OUTPUT([HAVE_LIBCAP], [/* Define if libcap exists */
  3823. +m4trace:configure.ac:262: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_CAPABILITY_H])
  3824. +m4trace:configure.ac:262: -1- m4_pattern_allow([^HAVE_SYS_CAPABILITY_H$])
  3825. +m4trace:configure.ac:262: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAP])
  3826. +m4trace:configure.ac:262: -1- m4_pattern_allow([^HAVE_LIBCAP$])
  3827. +m4trace:configure.ac:262: -1- AH_OUTPUT([HAVE_LIBCAP], [/* Define if libcap exists */
  3828. @%:@undef HAVE_LIBCAP])
  3829. -m4trace:configure.ac:250: -1- AC_SUBST([LIBCAP])
  3830. -m4trace:configure.ac:250: -1- AC_SUBST_TRACE([LIBCAP])
  3831. -m4trace:configure.ac:250: -1- m4_pattern_allow([^LIBCAP$])
  3832. -m4trace:configure.ac:252: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  3833. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3834. -m4trace:configure.ac:252: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3835. -m4trace:configure.ac:252: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  3836. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([LTLIBOBJS])
  3837. -m4trace:configure.ac:252: -1- m4_pattern_allow([^LTLIBOBJS$])
  3838. -m4trace:configure.ac:252: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  3839. -m4trace:configure.ac:252: -1- AC_SUBST([am__EXEEXT_TRUE])
  3840. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  3841. -m4trace:configure.ac:252: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  3842. -m4trace:configure.ac:252: -1- AC_SUBST([am__EXEEXT_FALSE])
  3843. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  3844. -m4trace:configure.ac:252: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  3845. -m4trace:configure.ac:252: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  3846. -m4trace:configure.ac:252: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  3847. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([top_builddir])
  3848. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([top_build_prefix])
  3849. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([srcdir])
  3850. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([abs_srcdir])
  3851. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([top_srcdir])
  3852. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([abs_top_srcdir])
  3853. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([builddir])
  3854. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([abs_builddir])
  3855. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([abs_top_builddir])
  3856. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([INSTALL])
  3857. -m4trace:configure.ac:252: -1- AC_SUBST_TRACE([MKDIR_P])
  3858. +m4trace:configure.ac:262: -1- AC_SUBST([LIBCAP])
  3859. +m4trace:configure.ac:262: -1- AC_SUBST_TRACE([LIBCAP])
  3860. +m4trace:configure.ac:262: -1- m4_pattern_allow([^LIBCAP$])
  3861. +m4trace:configure.ac:264: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
  3862. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
  3863. +m4trace:configure.ac:264: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  3864. +m4trace:configure.ac:264: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
  3865. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([LTLIBOBJS])
  3866. +m4trace:configure.ac:264: -1- m4_pattern_allow([^LTLIBOBJS$])
  3867. +m4trace:configure.ac:264: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
  3868. +m4trace:configure.ac:264: -1- AC_SUBST([am__EXEEXT_TRUE])
  3869. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
  3870. +m4trace:configure.ac:264: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
  3871. +m4trace:configure.ac:264: -1- AC_SUBST([am__EXEEXT_FALSE])
  3872. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
  3873. +m4trace:configure.ac:264: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
  3874. +m4trace:configure.ac:264: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
  3875. +m4trace:configure.ac:264: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
  3876. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([top_builddir])
  3877. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([top_build_prefix])
  3878. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([srcdir])
  3879. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([abs_srcdir])
  3880. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([top_srcdir])
  3881. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([abs_top_srcdir])
  3882. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([builddir])
  3883. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([abs_builddir])
  3884. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([abs_top_builddir])
  3885. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([INSTALL])
  3886. +m4trace:configure.ac:264: -1- AC_SUBST_TRACE([MKDIR_P])
  3887. diff -Nur cifs-utils-6.1.orig/cifscreds.c cifs-utils-6.1/cifscreds.c
  3888. --- cifs-utils-6.1.orig/cifscreds.c 2013-07-02 21:13:33.000000000 +0200
  3889. +++ cifs-utils-6.1/cifscreds.c 2013-10-05 18:12:29.000000000 +0200
  3890. @@ -27,7 +27,13 @@
  3891. #include <string.h>
  3892. #include <ctype.h>
  3893. #include <keyutils.h>
  3894. +#ifdef HAVE_GNU_GETOPT_LONG
  3895. #include <getopt.h>
  3896. +#else
  3897. +#include "gnu_getopt.h"
  3898. +#define getopt_long gnu_getopt_long
  3899. +#define option gnu_option
  3900. +#endif
  3901. #include <errno.h>
  3902. #include "mount.h"
  3903. #include "resolve_host.h"
  3904. diff -Nur cifs-utils-6.1.orig/cifs.idmap.c cifs-utils-6.1/cifs.idmap.c
  3905. --- cifs-utils-6.1.orig/cifs.idmap.c 2013-07-02 21:13:33.000000000 +0200
  3906. +++ cifs-utils-6.1/cifs.idmap.c 2013-10-05 18:12:29.000000000 +0200
  3907. @@ -27,7 +27,13 @@
  3908. #endif /* HAVE_CONFIG_H */
  3909. #include <string.h>
  3910. +#ifdef HAVE_GNU_GETOPT_LONG
  3911. #include <getopt.h>
  3912. +#else
  3913. +#include "gnu_getopt.h"
  3914. +#define getopt_long gnu_getopt_long
  3915. +#define option gnu_option
  3916. +#endif
  3917. #include <syslog.h>
  3918. #include <dirent.h>
  3919. #include <sys/types.h>
  3920. diff -Nur cifs-utils-6.1.orig/cifs.upcall.c cifs-utils-6.1/cifs.upcall.c
  3921. --- cifs-utils-6.1.orig/cifs.upcall.c 2013-07-02 21:13:33.000000000 +0200
  3922. +++ cifs-utils-6.1/cifs.upcall.c 2013-10-05 18:12:29.000000000 +0200
  3923. @@ -30,7 +30,13 @@
  3924. #endif /* HAVE_CONFIG_H */
  3925. #include <string.h>
  3926. +#ifdef HAVE_GNU_GETOPT_LONG
  3927. #include <getopt.h>
  3928. +#else
  3929. +#include "gnu_getopt.h"
  3930. +#define getopt_long gnu_getopt_long
  3931. +#define option gnu_option
  3932. +#endif
  3933. #ifdef HAVE_KRB5_KRB5_H
  3934. #include <krb5/krb5.h>
  3935. #elif defined(HAVE_KRB5_H)
  3936. diff -Nur cifs-utils-6.1.orig/compile cifs-utils-6.1/compile
  3937. --- cifs-utils-6.1.orig/compile 2013-07-02 21:20:33.000000000 +0200
  3938. +++ cifs-utils-6.1/compile 2013-10-05 18:12:39.000000000 +0200
  3939. @@ -3,7 +3,8 @@
  3940. scriptversion=2012-03-05.13; # UTC
  3941. -# Copyright (C) 1999-2012 Free Software Foundation, Inc.
  3942. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
  3943. +# Software Foundation, Inc.
  3944. # Written by Tom Tromey <tromey@cygnus.com>.
  3945. #
  3946. # This program is free software; you can redistribute it and/or modify
  3947. diff -Nur cifs-utils-6.1.orig/config.h.in cifs-utils-6.1/config.h.in
  3948. --- cifs-utils-6.1.orig/config.h.in 2013-07-02 21:20:32.000000000 +0200
  3949. +++ cifs-utils-6.1/config.h.in 2013-10-05 18:12:38.000000000 +0200
  3950. @@ -34,12 +34,18 @@
  3951. /* Define to 1 if you have the `getmntent' function. */
  3952. #undef HAVE_GETMNTENT
  3953. +/* Define to 1 if you have the `getopt_long' function. */
  3954. +#undef HAVE_GETOPT_LONG
  3955. +
  3956. /* Define to 1 if you have the `getpass' function. */
  3957. #undef HAVE_GETPASS
  3958. /* Define to 1 if you have the `gettimeofday' function. */
  3959. #undef HAVE_GETTIMEOFDAY
  3960. +/* Whether getopt_long has GNU extensions */
  3961. +#undef HAVE_GNU_GETOPT_LONG
  3962. +
  3963. /* Define to 1 if you have the `inet_ntop' function. */
  3964. #undef HAVE_INET_NTOP
  3965. @@ -76,17 +82,13 @@
  3966. /* Define if libcap exists */
  3967. #undef HAVE_LIBCAP
  3968. -/* libcap-ng support */
  3969. -#undef HAVE_LIBCAP_NG
  3970. -
  3971. /* Define to 1 if you have the `wbclient' library (-lwbclient). */
  3972. #undef HAVE_LIBWBCLIENT
  3973. /* Define to 1 if you have the <limits.h> header file. */
  3974. #undef HAVE_LIMITS_H
  3975. -/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
  3976. - to 0 otherwise. */
  3977. +/* Define to 1 if you have the `malloc' function. */
  3978. #undef HAVE_MALLOC
  3979. /* Define to 1 if you have the <memory.h> header file. */
  3980. @@ -104,8 +106,7 @@
  3981. /* Define to 1 if the system has the type `ptrdiff_t'. */
  3982. #undef HAVE_PTRDIFF_T
  3983. -/* Define to 1 if your system has a GNU libc compatible `realloc' function,
  3984. - and to 0 otherwise. */
  3985. +/* Define to 1 if you have the `realloc' function. */
  3986. #undef HAVE_REALLOC
  3987. /* Define to 1 if you have the `realpath' function. */
  3988. @@ -156,6 +157,9 @@
  3989. /* Define to 1 if you have the `strndup' function. */
  3990. #undef HAVE_STRNDUP
  3991. +/* Define to 1 if you have the `strnlen' function. */
  3992. +#undef HAVE_STRNLEN
  3993. +
  3994. /* Define to 1 if you have the `strpbrk' function. */
  3995. #undef HAVE_STRPBRK
  3996. @@ -229,10 +233,6 @@
  3997. symlink to real plugin) */
  3998. #undef IDMAP_PLUGIN_PATH
  3999. -/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
  4000. - slash. */
  4001. -#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
  4002. -
  4003. /* Define to 1 if your C compiler doesn't accept -c and -o together. */
  4004. #undef NO_MINUS_C_MINUS_O
  4005. @@ -298,18 +298,12 @@
  4006. /* Define to `int' if <sys/types.h> doesn't define. */
  4007. #undef gid_t
  4008. -/* Define to rpl_malloc if the replacement function should be used. */
  4009. -#undef malloc
  4010. -
  4011. /* Define to `long int' if <sys/types.h> does not define. */
  4012. #undef off_t
  4013. /* Define to `int' if <sys/types.h> does not define. */
  4014. #undef pid_t
  4015. -/* Define to rpl_realloc if the replacement function should be used. */
  4016. -#undef realloc
  4017. -
  4018. /* Define to `unsigned int' if <sys/types.h> does not define. */
  4019. #undef size_t
  4020. diff -Nur cifs-utils-6.1.orig/config.h.in~ cifs-utils-6.1/config.h.in~
  4021. --- cifs-utils-6.1.orig/config.h.in~ 1970-01-01 01:00:00.000000000 +0100
  4022. +++ cifs-utils-6.1/config.h.in~ 2013-07-02 21:20:32.000000000 +0200
  4023. @@ -0,0 +1,317 @@
  4024. +/* config.h.in. Generated from configure.ac by autoheader. */
  4025. +
  4026. +/* Enable systemd specific behavior for mount.cifs */
  4027. +#undef ENABLE_SYSTEMD
  4028. +
  4029. +/* Define to 1 if you have the `alarm' function. */
  4030. +#undef HAVE_ALARM
  4031. +
  4032. +/* Define to 1 if you have the <arpa/inet.h> header file. */
  4033. +#undef HAVE_ARPA_INET_H
  4034. +
  4035. +/* Define to 1 if you have the `atexit' function. */
  4036. +#undef HAVE_ATEXIT
  4037. +
  4038. +/* Whether the clock_gettime func is there */
  4039. +#undef HAVE_CLOCK_GETTIME
  4040. +
  4041. +/* Define to 1 if you have the <ctype.h> header file. */
  4042. +#undef HAVE_CTYPE_H
  4043. +
  4044. +/* Define to 1 if you have the declaration of
  4045. + `krb5_auth_con_set_req_cksumtype', and to 0 if you don't. */
  4046. +#undef HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE
  4047. +
  4048. +/* Define to 1 if you have the `endpwent' function. */
  4049. +#undef HAVE_ENDPWENT
  4050. +
  4051. +/* Define to 1 if you have the <errno.h> header file. */
  4052. +#undef HAVE_ERRNO_H
  4053. +
  4054. +/* Define to 1 if you have the <fcntl.h> header file. */
  4055. +#undef HAVE_FCNTL_H
  4056. +
  4057. +/* Define to 1 if you have the `getmntent' function. */
  4058. +#undef HAVE_GETMNTENT
  4059. +
  4060. +/* Define to 1 if you have the `getpass' function. */
  4061. +#undef HAVE_GETPASS
  4062. +
  4063. +/* Define to 1 if you have the `gettimeofday' function. */
  4064. +#undef HAVE_GETTIMEOFDAY
  4065. +
  4066. +/* Define to 1 if you have the `inet_ntop' function. */
  4067. +#undef HAVE_INET_NTOP
  4068. +
  4069. +/* Define to 1 if you have the <inttypes.h> header file. */
  4070. +#undef HAVE_INTTYPES_H
  4071. +
  4072. +/* Define to 1 if you have the <keyutils.h> header file. */
  4073. +#undef HAVE_KEYUTILS_H
  4074. +
  4075. +/* Define to 1 if you have the `krb5_auth_con_getsendsubkey' function. */
  4076. +#undef HAVE_KRB5_AUTH_CON_GETSENDSUBKEY
  4077. +
  4078. +/* Define to 1 if you have the `krb5_auth_con_setaddrs' function. */
  4079. +#undef HAVE_KRB5_AUTH_CON_SETADDRS
  4080. +
  4081. +/* Define to 1 if you have the `krb5_auth_con_set_req_cksumtype' function. */
  4082. +#undef HAVE_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE
  4083. +
  4084. +/* Define to 1 if you have the `krb5_free_unparsed_name' function. */
  4085. +#undef HAVE_KRB5_FREE_UNPARSED_NAME
  4086. +
  4087. +/* Define to 1 if you have the <krb5.h> header file. */
  4088. +#undef HAVE_KRB5_H
  4089. +
  4090. +/* Whether the krb5_keyblock struct has a keyvalue property */
  4091. +#undef HAVE_KRB5_KEYBLOCK_KEYVALUE
  4092. +
  4093. +/* Define to 1 if you have the <krb5/krb5.h> header file. */
  4094. +#undef HAVE_KRB5_KRB5_H
  4095. +
  4096. +/* Define to 1 if you have the `krb5_principal_get_realm' function. */
  4097. +#undef HAVE_KRB5_PRINCIPAL_GET_REALM
  4098. +
  4099. +/* Define if libcap exists */
  4100. +#undef HAVE_LIBCAP
  4101. +
  4102. +/* libcap-ng support */
  4103. +#undef HAVE_LIBCAP_NG
  4104. +
  4105. +/* Define to 1 if you have the `wbclient' library (-lwbclient). */
  4106. +#undef HAVE_LIBWBCLIENT
  4107. +
  4108. +/* Define to 1 if you have the <limits.h> header file. */
  4109. +#undef HAVE_LIMITS_H
  4110. +
  4111. +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
  4112. + to 0 otherwise. */
  4113. +#undef HAVE_MALLOC
  4114. +
  4115. +/* Define to 1 if you have the <memory.h> header file. */
  4116. +#undef HAVE_MEMORY_H
  4117. +
  4118. +/* Define to 1 if you have the `memset' function. */
  4119. +#undef HAVE_MEMSET
  4120. +
  4121. +/* Define to 1 if you have the <mntent.h> header file. */
  4122. +#undef HAVE_MNTENT_H
  4123. +
  4124. +/* Define to 1 if you have the <netdb.h> header file. */
  4125. +#undef HAVE_NETDB_H
  4126. +
  4127. +/* Define to 1 if the system has the type `ptrdiff_t'. */
  4128. +#undef HAVE_PTRDIFF_T
  4129. +
  4130. +/* Define to 1 if your system has a GNU libc compatible `realloc' function,
  4131. + and to 0 otherwise. */
  4132. +#undef HAVE_REALLOC
  4133. +
  4134. +/* Define to 1 if you have the `realpath' function. */
  4135. +#undef HAVE_REALPATH
  4136. +
  4137. +/* Define to 1 if you have the `setenv' function. */
  4138. +#undef HAVE_SETENV
  4139. +
  4140. +/* Define to 1 if the system has the type `ssize_t'. */
  4141. +#undef HAVE_SSIZE_T
  4142. +
  4143. +/* Define to 1 if you have the <stdbool.h> header file. */
  4144. +#undef HAVE_STDBOOL_H
  4145. +
  4146. +/* Define to 1 if you have the <stddef.h> header file. */
  4147. +#undef HAVE_STDDEF_H
  4148. +
  4149. +/* Define to 1 if you have the <stdint.h> header file. */
  4150. +#undef HAVE_STDINT_H
  4151. +
  4152. +/* Define to 1 if you have the <stdio.h> header file. */
  4153. +#undef HAVE_STDIO_H
  4154. +
  4155. +/* Define to 1 if you have the <stdlib.h> header file. */
  4156. +#undef HAVE_STDLIB_H
  4157. +
  4158. +/* Define to 1 if you have the `strchr' function. */
  4159. +#undef HAVE_STRCHR
  4160. +
  4161. +/* Define to 1 if you have the `strcmp' function. */
  4162. +#undef HAVE_STRCMP
  4163. +
  4164. +/* Define to 1 if you have the `strdup' function. */
  4165. +#undef HAVE_STRDUP
  4166. +
  4167. +/* Define to 1 if you have the `strerror' function. */
  4168. +#undef HAVE_STRERROR
  4169. +
  4170. +/* Define to 1 if you have the <strings.h> header file. */
  4171. +#undef HAVE_STRINGS_H
  4172. +
  4173. +/* Define to 1 if you have the <string.h> header file. */
  4174. +#undef HAVE_STRING_H
  4175. +
  4176. +/* Define to 1 if you have the `strncasecmp' function. */
  4177. +#undef HAVE_STRNCASECMP
  4178. +
  4179. +/* Define to 1 if you have the `strndup' function. */
  4180. +#undef HAVE_STRNDUP
  4181. +
  4182. +/* Define to 1 if you have the `strpbrk' function. */
  4183. +#undef HAVE_STRPBRK
  4184. +
  4185. +/* Define to 1 if you have the `strrchr' function. */
  4186. +#undef HAVE_STRRCHR
  4187. +
  4188. +/* Define to 1 if you have the `strstr' function. */
  4189. +#undef HAVE_STRSTR
  4190. +
  4191. +/* Define to 1 if you have the `strtol' function. */
  4192. +#undef HAVE_STRTOL
  4193. +
  4194. +/* Define to 1 if you have the `strtoul' function. */
  4195. +#undef HAVE_STRTOUL
  4196. +
  4197. +/* Define to 1 if you have the <syslog.h> header file. */
  4198. +#undef HAVE_SYSLOG_H
  4199. +
  4200. +/* Define to 1 if you have the <sys/capability.h> header file. */
  4201. +#undef HAVE_SYS_CAPABILITY_H
  4202. +
  4203. +/* Define to 1 if you have the <sys/fsuid.h> header file. */
  4204. +#undef HAVE_SYS_FSUID_H
  4205. +
  4206. +/* Define to 1 if you have the <sys/mount.h> header file. */
  4207. +#undef HAVE_SYS_MOUNT_H
  4208. +
  4209. +/* Define to 1 if you have the <sys/param.h> header file. */
  4210. +#undef HAVE_SYS_PARAM_H
  4211. +
  4212. +/* Define to 1 if you have the <sys/socket.h> header file. */
  4213. +#undef HAVE_SYS_SOCKET_H
  4214. +
  4215. +/* Define to 1 if you have the <sys/stat.h> header file. */
  4216. +#undef HAVE_SYS_STAT_H
  4217. +
  4218. +/* Define to 1 if you have the <sys/time.h> header file. */
  4219. +#undef HAVE_SYS_TIME_H
  4220. +
  4221. +/* Define to 1 if you have the <sys/types.h> header file. */
  4222. +#undef HAVE_SYS_TYPES_H
  4223. +
  4224. +/* Define to 1 if you have the <sys/xattr.h> header file. */
  4225. +#undef HAVE_SYS_XATTR_H
  4226. +
  4227. +/* Define to 1 if you have the <talloc.h> header file. */
  4228. +#undef HAVE_TALLOC_H
  4229. +
  4230. +/* Define to 1 if you have the `tolower' function. */
  4231. +#undef HAVE_TOLOWER
  4232. +
  4233. +/* Define to 1 if the system has the type `uint32_t'. */
  4234. +#undef HAVE_UINT32_T
  4235. +
  4236. +/* Define to 1 if the system has the type `uint8_t'. */
  4237. +#undef HAVE_UINT8_T
  4238. +
  4239. +/* Define to 1 if you have the `uname' function. */
  4240. +#undef HAVE_UNAME
  4241. +
  4242. +/* Define to 1 if you have the <unistd.h> header file. */
  4243. +#undef HAVE_UNISTD_H
  4244. +
  4245. +/* Does wbclient.h have a WBC_ID_TYPE_BOTH enum? */
  4246. +#undef HAVE_WBC_ID_TYPE_BOTH
  4247. +
  4248. +/* Define to 1 if the system has the type `_Bool'. */
  4249. +#undef HAVE__BOOL
  4250. +
  4251. +/* Location of plugin that ID mapping infrastructure should use. (usually a
  4252. + symlink to real plugin) */
  4253. +#undef IDMAP_PLUGIN_PATH
  4254. +
  4255. +/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
  4256. + slash. */
  4257. +#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
  4258. +
  4259. +/* Define to 1 if your C compiler doesn't accept -c and -o together. */
  4260. +#undef NO_MINUS_C_MINUS_O
  4261. +
  4262. +/* Name of package */
  4263. +#undef PACKAGE
  4264. +
  4265. +/* Define to the address where bug reports for this package should be sent. */
  4266. +#undef PACKAGE_BUGREPORT
  4267. +
  4268. +/* Define to the full name of this package. */
  4269. +#undef PACKAGE_NAME
  4270. +
  4271. +/* Define to the full name and version of this package. */
  4272. +#undef PACKAGE_STRING
  4273. +
  4274. +/* Define to the one symbol short name of this package. */
  4275. +#undef PACKAGE_TARNAME
  4276. +
  4277. +/* Define to the home page for this package. */
  4278. +#undef PACKAGE_URL
  4279. +
  4280. +/* Define to the version of this package. */
  4281. +#undef PACKAGE_VERSION
  4282. +
  4283. +/* Define to 1 if you have the ANSI C header files. */
  4284. +#undef STDC_HEADERS
  4285. +
  4286. +/* Enable extensions on AIX 3, Interix. */
  4287. +#ifndef _ALL_SOURCE
  4288. +# undef _ALL_SOURCE
  4289. +#endif
  4290. +/* Enable GNU extensions on systems that have them. */
  4291. +#ifndef _GNU_SOURCE
  4292. +# undef _GNU_SOURCE
  4293. +#endif
  4294. +/* Enable threading extensions on Solaris. */
  4295. +#ifndef _POSIX_PTHREAD_SEMANTICS
  4296. +# undef _POSIX_PTHREAD_SEMANTICS
  4297. +#endif
  4298. +/* Enable extensions on HP NonStop. */
  4299. +#ifndef _TANDEM_SOURCE
  4300. +# undef _TANDEM_SOURCE
  4301. +#endif
  4302. +/* Enable general extensions on Solaris. */
  4303. +#ifndef __EXTENSIONS__
  4304. +# undef __EXTENSIONS__
  4305. +#endif
  4306. +
  4307. +
  4308. +/* Version number of package */
  4309. +#undef VERSION
  4310. +
  4311. +/* Define to 1 if on MINIX. */
  4312. +#undef _MINIX
  4313. +
  4314. +/* Define to 2 if the system does not provide POSIX.1 features except with
  4315. + this defined. */
  4316. +#undef _POSIX_1_SOURCE
  4317. +
  4318. +/* Define to 1 if you need to in order for `stat' and other things to work. */
  4319. +#undef _POSIX_SOURCE
  4320. +
  4321. +/* Define to `int' if <sys/types.h> doesn't define. */
  4322. +#undef gid_t
  4323. +
  4324. +/* Define to rpl_malloc if the replacement function should be used. */
  4325. +#undef malloc
  4326. +
  4327. +/* Define to `long int' if <sys/types.h> does not define. */
  4328. +#undef off_t
  4329. +
  4330. +/* Define to `int' if <sys/types.h> does not define. */
  4331. +#undef pid_t
  4332. +
  4333. +/* Define to rpl_realloc if the replacement function should be used. */
  4334. +#undef realloc
  4335. +
  4336. +/* Define to `unsigned int' if <sys/types.h> does not define. */
  4337. +#undef size_t
  4338. +
  4339. +/* Define to `int' if <sys/types.h> doesn't define. */
  4340. +#undef uid_t
  4341. diff -Nur cifs-utils-6.1.orig/configure cifs-utils-6.1/configure
  4342. --- cifs-utils-6.1.orig/configure 2013-07-02 21:20:31.000000000 +0200
  4343. +++ cifs-utils-6.1/configure 2013-10-05 18:12:38.000000000 +0200
  4344. @@ -626,7 +626,6 @@
  4345. am__EXEEXT_TRUE
  4346. LTLIBOBJS
  4347. LIBCAP
  4348. -CAPNG_LDADD
  4349. CONFIG_PLUGIN_FALSE
  4350. CONFIG_PLUGIN_TRUE
  4351. CONFIG_CIFSACL_FALSE
  4352. @@ -646,14 +645,6 @@
  4353. RELRO_CFLAGS
  4354. PIE_CFLAGS
  4355. RT_LDADD
  4356. -host_os
  4357. -host_vendor
  4358. -host_cpu
  4359. -host
  4360. -build_os
  4361. -build_vendor
  4362. -build_cpu
  4363. -build
  4364. LIBOBJS
  4365. SED
  4366. EGREP
  4367. @@ -751,7 +742,6 @@
  4368. enable_systemd
  4369. with_idmap_plugin
  4370. enable_dependency_tracking
  4371. -with_libcap_ng
  4372. with_libcap
  4373. '
  4374. ac_precious_vars='build_alias
  4375. @@ -1370,10 +1360,6 @@
  4376. --program-prefix=PREFIX prepend PREFIX to installed program names
  4377. --program-suffix=SUFFIX append SUFFIX to installed program names
  4378. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  4379. -
  4380. -System types:
  4381. - --build=BUILD configure for building on BUILD [guessed]
  4382. - --host=HOST cross-compile to build programs to run on HOST [BUILD]
  4383. _ACEOF
  4384. fi
  4385. @@ -1396,10 +1382,8 @@
  4386. --enable-cifsacl Create get/set cifsacl binary [default=yes]
  4387. --enable-systemd Enable systemd specific behavior for mount.cifs
  4388. [default=yes]
  4389. - --enable-dependency-tracking
  4390. - do not reject slow dependency extractors
  4391. - --disable-dependency-tracking
  4392. - speeds up one-time build
  4393. + --disable-dependency-tracking speeds up one-time build
  4394. + --enable-dependency-tracking do not reject slow dependency extractors
  4395. Optional Packages:
  4396. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  4397. @@ -1408,7 +1392,6 @@
  4398. Define the path to the plugin that the idmapping
  4399. infrastructure should use
  4400. [default=/etc/cifs-utils/idmap-plugin]
  4401. - --with-libcap-ng=auto/yes/no Add Libcap-ng support default=auto
  4402. --with-libcap Add libcap support default=yes, if libcap-ng not available
  4403. Some influential environment variables:
  4404. @@ -2323,7 +2306,7 @@
  4405. -am__api_version='1.12'
  4406. +am__api_version='1.11'
  4407. ac_aux_dir=
  4408. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  4409. @@ -2449,6 +2432,9 @@
  4410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  4411. $as_echo_n "checking whether build environment is sane... " >&6; }
  4412. +# Just in case
  4413. +sleep 1
  4414. +echo timestamp > conftest.file
  4415. # Reject unsafe characters in $srcdir or the absolute working directory
  4416. # name. Accept space and tab only in the latter.
  4417. am_lf='
  4418. @@ -2459,40 +2445,32 @@
  4419. esac
  4420. case $srcdir in
  4421. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  4422. - as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  4423. + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
  4424. esac
  4425. -# Do 'set' in a subshell so we don't clobber the current shell's
  4426. +# Do `set' in a subshell so we don't clobber the current shell's
  4427. # arguments. Must try -L first in case configure is actually a
  4428. # symlink; some systems play weird games with the mod time of symlinks
  4429. # (eg FreeBSD returns the mod time of the symlink's containing
  4430. # directory).
  4431. if (
  4432. - am_has_slept=no
  4433. - for am_try in 1 2; do
  4434. - echo "timestamp, slept: $am_has_slept" > conftest.file
  4435. - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  4436. - if test "$*" = "X"; then
  4437. - # -L didn't work.
  4438. - set X `ls -t "$srcdir/configure" conftest.file`
  4439. - fi
  4440. - if test "$*" != "X $srcdir/configure conftest.file" \
  4441. - && test "$*" != "X conftest.file $srcdir/configure"; then
  4442. + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  4443. + if test "$*" = "X"; then
  4444. + # -L didn't work.
  4445. + set X `ls -t "$srcdir/configure" conftest.file`
  4446. + fi
  4447. + rm -f conftest.file
  4448. + if test "$*" != "X $srcdir/configure conftest.file" \
  4449. + && test "$*" != "X conftest.file $srcdir/configure"; then
  4450. +
  4451. + # If neither matched, then we have a broken ls. This can happen
  4452. + # if, for instance, CONFIG_SHELL is bash and it inherits a
  4453. + # broken ls alias from the environment. This has actually
  4454. + # happened. Such a system could not be considered "sane".
  4455. + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  4456. +alias in your environment" "$LINENO" 5
  4457. + fi
  4458. - # If neither matched, then we have a broken ls. This can happen
  4459. - # if, for instance, CONFIG_SHELL is bash and it inherits a
  4460. - # broken ls alias from the environment. This has actually
  4461. - # happened. Such a system could not be considered "sane".
  4462. - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  4463. - alias in your environment" "$LINENO" 5
  4464. - fi
  4465. - if test "$2" = conftest.file || test $am_try -eq 2; then
  4466. - break
  4467. - fi
  4468. - # Just in case.
  4469. - sleep 1
  4470. - am_has_slept=yes
  4471. - done
  4472. test "$2" = conftest.file
  4473. )
  4474. then
  4475. @@ -2504,16 +2482,6 @@
  4476. fi
  4477. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4478. $as_echo "yes" >&6; }
  4479. -# If we didn't sleep, we still need to ensure time stamps of config.status and
  4480. -# generated files are strictly newer.
  4481. -am_sleep_pid=
  4482. -if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  4483. - ( sleep 1 ) &
  4484. - am_sleep_pid=$!
  4485. -fi
  4486. -
  4487. -rm -f conftest.file
  4488. -
  4489. test "$program_prefix" != NONE &&
  4490. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  4491. # Use a double $ so make ignores it.
  4492. @@ -2540,8 +2508,8 @@
  4493. am_missing_run="$MISSING --run "
  4494. else
  4495. am_missing_run=
  4496. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  4497. -$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  4498. + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
  4499. +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  4500. fi
  4501. if test x"${install_sh}" != xset; then
  4502. @@ -2553,10 +2521,10 @@
  4503. esac
  4504. fi
  4505. -# Installed binaries are usually stripped using 'strip' when the user
  4506. -# run "make install-strip". However 'strip' might not be the right
  4507. +# Installed binaries are usually stripped using `strip' when the user
  4508. +# run `make install-strip'. However `strip' might not be the right
  4509. # tool to use in cross-compilation environments, therefore Automake
  4510. -# will honor the 'STRIP' environment variable to overrule this program.
  4511. +# will honor the `STRIP' environment variable to overrule this program.
  4512. if test "$cross_compiling" != no; then
  4513. if test -n "$ac_tool_prefix"; then
  4514. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  4515. @@ -2695,6 +2663,12 @@
  4516. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  4517. $as_echo "$MKDIR_P" >&6; }
  4518. +mkdir_p="$MKDIR_P"
  4519. +case $mkdir_p in
  4520. + [\\/$]* | ?:[\\/]*) ;;
  4521. + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  4522. +esac
  4523. +
  4524. for ac_prog in gawk mawk nawk awk
  4525. do
  4526. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4527. @@ -2827,12 +2801,6 @@
  4528. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  4529. -# For better backward compatibility. To be removed once Automake 1.9.x
  4530. -# dies out for good. For more background, see:
  4531. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  4532. -# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  4533. -mkdir_p='$(MKDIR_P)'
  4534. -
  4535. # We need awk for the "check" target. The system "awk" is bad on
  4536. # some platforms.
  4537. # Always define AMTAR for backward compatibility. Yes, it's still used
  4538. @@ -3735,7 +3703,7 @@
  4539. _am_result=none
  4540. # First try GNU make style include.
  4541. echo "include confinc" > confmf
  4542. -# Ignore all kinds of additional output from 'make'.
  4543. +# Ignore all kinds of additional output from `make'.
  4544. case `$am_make -s -f confmf 2> /dev/null` in #(
  4545. *the\ am__doit\ target*)
  4546. am__include=include
  4547. @@ -3791,8 +3759,8 @@
  4548. # We make a subdir and do the tests there. Otherwise we can end up
  4549. # making bogus files that we don't know about and never remove. For
  4550. # instance it was reported that on HP-UX the gcc test will end up
  4551. - # making a dummy file named 'D' -- because '-MD' means "put the output
  4552. - # in D".
  4553. + # making a dummy file named `D' -- because `-MD' means `put the output
  4554. + # in D'.
  4555. rm -rf conftest.dir
  4556. mkdir conftest.dir
  4557. # Copy depcomp to subdir because otherwise we won't find it if we're
  4558. @@ -3827,16 +3795,16 @@
  4559. : > sub/conftest.c
  4560. for i in 1 2 3 4 5 6; do
  4561. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4562. - # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4563. - # Solaris 10 /bin/sh.
  4564. - echo '/* dummy */' > sub/conftst$i.h
  4565. + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4566. + # Solaris 8's {/usr,}/bin/sh.
  4567. + touch sub/conftst$i.h
  4568. done
  4569. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4570. - # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4571. + # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4572. # mode. It turns out that the SunPro C++ compiler does not properly
  4573. - # handle '-M -o', and we need to detect this. Also, some Intel
  4574. - # versions had trouble with output in subdirs.
  4575. + # handle `-M -o', and we need to detect this. Also, some Intel
  4576. + # versions had trouble with output in subdirs
  4577. am__obj=sub/conftest.${OBJEXT-o}
  4578. am__minus_obj="-o $am__obj"
  4579. case $depmode in
  4580. @@ -3845,8 +3813,8 @@
  4581. test "$am__universal" = false || continue
  4582. ;;
  4583. nosideeffect)
  4584. - # After this tag, mechanisms are not by side-effect, so they'll
  4585. - # only be used when explicitly requested.
  4586. + # after this tag, mechanisms are not by side-effect, so they'll
  4587. + # only be used when explicitly requested
  4588. if test "x$enable_dependency_tracking" = xyes; then
  4589. continue
  4590. else
  4591. @@ -3854,7 +3822,7 @@
  4592. fi
  4593. ;;
  4594. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4595. - # This compiler won't grok '-c -o', but also, the minuso test has
  4596. + # This compiler won't grok `-c -o', but also, the minuso test has
  4597. # not run yet. These depmodes are late enough in the game, and
  4598. # so weak that their functioning should not be impacted.
  4599. am__obj=conftest.${OBJEXT-o}
  4600. @@ -4827,346 +4795,76 @@
  4601. fi
  4602. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
  4603. -$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
  4604. -if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
  4605. - $as_echo_n "(cached) " >&6
  4606. -else
  4607. - rm -f conftest.sym conftest.file
  4608. -echo >conftest.file
  4609. -if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
  4610. - if test "$cross_compiling" = yes; then :
  4611. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  4612. -else
  4613. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4614. -/* end confdefs.h. */
  4615. -$ac_includes_default
  4616. -int
  4617. -main ()
  4618. -{
  4619. -struct stat sbuf;
  4620. - /* Linux will dereference the symlink and fail, as required by POSIX.
  4621. - That is better in the sense that it means we will not
  4622. - have to compile and use the lstat wrapper. */
  4623. - return lstat ("conftest.sym/", &sbuf) == 0;
  4624. - ;
  4625. - return 0;
  4626. -}
  4627. -_ACEOF
  4628. -if ac_fn_c_try_run "$LINENO"; then :
  4629. - ac_cv_func_lstat_dereferences_slashed_symlink=yes
  4630. -else
  4631. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  4632. -fi
  4633. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4634. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  4635. -fi
  4636. -
  4637. -else
  4638. - # If the `ln -s' command failed, then we probably don't even
  4639. - # have an lstat function.
  4640. - ac_cv_func_lstat_dereferences_slashed_symlink=no
  4641. -fi
  4642. -rm -f conftest.sym conftest.file
  4643. -fi
  4644. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
  4645. -$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
  4646. -
  4647. -test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  4648. -
  4649. -cat >>confdefs.h <<_ACEOF
  4650. -#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
  4651. -_ACEOF
  4652. -
  4653. -
  4654. -if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
  4655. - case " $LIBOBJS " in
  4656. - *" lstat.$ac_objext "* ) ;;
  4657. - *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
  4658. - ;;
  4659. -esac
  4660. -
  4661. -fi
  4662. -
  4663. -for ac_header in stdlib.h
  4664. +# check for required functions
  4665. +for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop malloc memset realloc realpath setenv strchr strcmp strdup strerror strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul tolower uname
  4666. do :
  4667. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  4668. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  4669. + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4670. +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  4671. +if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  4672. cat >>confdefs.h <<_ACEOF
  4673. -#define HAVE_STDLIB_H 1
  4674. -_ACEOF
  4675. -
  4676. -fi
  4677. -
  4678. -done
  4679. -
  4680. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
  4681. -$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
  4682. -if ${ac_cv_func_malloc_0_nonnull+:} false; then :
  4683. - $as_echo_n "(cached) " >&6
  4684. -else
  4685. - if test "$cross_compiling" = yes; then :
  4686. - ac_cv_func_malloc_0_nonnull=no
  4687. -else
  4688. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4689. -/* end confdefs.h. */
  4690. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4691. -# include <stdlib.h>
  4692. -#else
  4693. -char *malloc ();
  4694. -#endif
  4695. -
  4696. -int
  4697. -main ()
  4698. -{
  4699. -return ! malloc (0);
  4700. - ;
  4701. - return 0;
  4702. -}
  4703. +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4704. _ACEOF
  4705. -if ac_fn_c_try_run "$LINENO"; then :
  4706. - ac_cv_func_malloc_0_nonnull=yes
  4707. -else
  4708. - ac_cv_func_malloc_0_nonnull=no
  4709. -fi
  4710. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4711. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  4712. -fi
  4713. -
  4714. -fi
  4715. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
  4716. -$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
  4717. -if test $ac_cv_func_malloc_0_nonnull = yes; then :
  4718. -
  4719. -$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
  4720. else
  4721. - $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
  4722. -
  4723. - case " $LIBOBJS " in
  4724. - *" malloc.$ac_objext "* ) ;;
  4725. - *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
  4726. - ;;
  4727. -esac
  4728. -
  4729. -
  4730. -$as_echo "#define malloc rpl_malloc" >>confdefs.h
  4731. -
  4732. + as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  4733. fi
  4734. +done
  4735. -for ac_header in stdlib.h
  4736. +for ac_func in getopt_long
  4737. do :
  4738. - ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
  4739. -if test "x$ac_cv_header_stdlib_h" = xyes; then :
  4740. + ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
  4741. +if test "x$ac_cv_func_getopt_long" = xyes; then :
  4742. cat >>confdefs.h <<_ACEOF
  4743. -#define HAVE_STDLIB_H 1
  4744. +#define HAVE_GETOPT_LONG 1
  4745. _ACEOF
  4746. +else
  4747. + as_fn_error $? "getopt_long function not found" "$LINENO" 5
  4748. fi
  4749. -
  4750. done
  4751. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
  4752. -$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
  4753. -if ${ac_cv_func_realloc_0_nonnull+:} false; then :
  4754. - $as_echo_n "(cached) " >&6
  4755. -else
  4756. - if test "$cross_compiling" = yes; then :
  4757. - ac_cv_func_realloc_0_nonnull=no
  4758. -else
  4759. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4760. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if getopt_long is GNU specific" >&5
  4761. +$as_echo_n "checking if getopt_long is GNU specific... " >&6; }
  4762. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4763. /* end confdefs.h. */
  4764. -#if defined STDC_HEADERS || defined HAVE_STDLIB_H
  4765. -# include <stdlib.h>
  4766. -#else
  4767. -char *realloc ();
  4768. +
  4769. +#include <features.h>
  4770. +#ifndef __GLIBC__
  4771. +#error No GNU extension
  4772. #endif
  4773. int
  4774. main ()
  4775. {
  4776. -return ! realloc (0, 0);
  4777. +;
  4778. ;
  4779. return 0;
  4780. }
  4781. -_ACEOF
  4782. -if ac_fn_c_try_run "$LINENO"; then :
  4783. - ac_cv_func_realloc_0_nonnull=yes
  4784. -else
  4785. - ac_cv_func_realloc_0_nonnull=no
  4786. -fi
  4787. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4788. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  4789. -fi
  4790. -
  4791. -fi
  4792. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
  4793. -$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
  4794. -if test $ac_cv_func_realloc_0_nonnull = yes; then :
  4795. -
  4796. -$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
  4797. -
  4798. -else
  4799. - $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
  4800. -
  4801. - case " $LIBOBJS " in
  4802. - *" realloc.$ac_objext "* ) ;;
  4803. - *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
  4804. - ;;
  4805. -esac
  4806. -
  4807. -
  4808. -$as_echo "#define realloc rpl_realloc" >>confdefs.h
  4809. -
  4810. -fi
  4811. +_ACEOF
  4812. +if ac_fn_c_try_cpp "$LINENO"; then :
  4813. -# Make sure we can run config.sub.
  4814. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4815. - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  4816. -
  4817. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  4818. -$as_echo_n "checking build system type... " >&6; }
  4819. -if ${ac_cv_build+:} false; then :
  4820. - $as_echo_n "(cached) " >&6
  4821. -else
  4822. - ac_build_alias=$build_alias
  4823. -test "x$ac_build_alias" = x &&
  4824. - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4825. -test "x$ac_build_alias" = x &&
  4826. - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  4827. -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4828. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  4829. -
  4830. -fi
  4831. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  4832. -$as_echo "$ac_cv_build" >&6; }
  4833. -case $ac_cv_build in
  4834. -*-*-*) ;;
  4835. -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  4836. -esac
  4837. -build=$ac_cv_build
  4838. -ac_save_IFS=$IFS; IFS='-'
  4839. -set x $ac_cv_build
  4840. -shift
  4841. -build_cpu=$1
  4842. -build_vendor=$2
  4843. -shift; shift
  4844. -# Remember, the first character of IFS is used to create $*,
  4845. -# except with old shells:
  4846. -build_os=$*
  4847. -IFS=$ac_save_IFS
  4848. -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4849. -
  4850. -
  4851. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  4852. -$as_echo_n "checking host system type... " >&6; }
  4853. -if ${ac_cv_host+:} false; then :
  4854. - $as_echo_n "(cached) " >&6
  4855. -else
  4856. - if test "x$host_alias" = x; then
  4857. - ac_cv_host=$ac_cv_build
  4858. -else
  4859. - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4860. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  4861. -fi
  4862. -
  4863. -fi
  4864. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  4865. -$as_echo "$ac_cv_host" >&6; }
  4866. -case $ac_cv_host in
  4867. -*-*-*) ;;
  4868. -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  4869. -esac
  4870. -host=$ac_cv_host
  4871. -ac_save_IFS=$IFS; IFS='-'
  4872. -set x $ac_cv_host
  4873. -shift
  4874. -host_cpu=$1
  4875. -host_vendor=$2
  4876. -shift; shift
  4877. -# Remember, the first character of IFS is used to create $*,
  4878. -# except with old shells:
  4879. -host_os=$*
  4880. -IFS=$ac_save_IFS
  4881. -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4882. -
  4883. -
  4884. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
  4885. -$as_echo_n "checking for working strnlen... " >&6; }
  4886. -if ${ac_cv_func_strnlen_working+:} false; then :
  4887. - $as_echo_n "(cached) " >&6
  4888. -else
  4889. - if test "$cross_compiling" = yes; then :
  4890. - # Guess no on AIX systems, yes otherwise.
  4891. - case "$host_os" in
  4892. - aix*) ac_cv_func_strnlen_working=no;;
  4893. - *) ac_cv_func_strnlen_working=yes;;
  4894. - esac
  4895. -else
  4896. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4897. -/* end confdefs.h. */
  4898. -$ac_includes_default
  4899. -int
  4900. -main ()
  4901. -{
  4902. -
  4903. -#define S "foobar"
  4904. -#define S_LEN (sizeof S - 1)
  4905. - /* At least one implementation is buggy: that of AIX 4.3 would
  4906. - give strnlen (S, 1) == 3. */
  4907. +$as_echo "#define HAVE_GNU_GETOPT_LONG 1" >>confdefs.h
  4908. - int i;
  4909. - for (i = 0; i < S_LEN + 1; ++i)
  4910. - {
  4911. - int expected = i <= S_LEN ? i : S_LEN;
  4912. - if (strnlen (S, i) != expected)
  4913. - return 1;
  4914. - }
  4915. - return 0;
  4916. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4917. +$as_echo "yes" >&6; }
  4918. - ;
  4919. - return 0;
  4920. -}
  4921. -_ACEOF
  4922. -if ac_fn_c_try_run "$LINENO"; then :
  4923. - ac_cv_func_strnlen_working=yes
  4924. else
  4925. - ac_cv_func_strnlen_working=no
  4926. -fi
  4927. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4928. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  4929. -fi
  4930. -fi
  4931. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
  4932. -$as_echo "$ac_cv_func_strnlen_working" >&6; }
  4933. -test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
  4934. - *" strnlen.$ac_objext "* ) ;;
  4935. - *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
  4936. + case " $LIBOBJS " in
  4937. + *" gnu_getopt.$ac_objext "* ) ;;
  4938. + *) LIBOBJS="$LIBOBJS gnu_getopt.$ac_objext"
  4939. ;;
  4940. esac
  4941. + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4942. +$as_echo "no" >&6; }
  4943. -
  4944. -# check for required functions
  4945. -for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strcmp strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul tolower uname
  4946. -do :
  4947. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4948. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  4949. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  4950. - cat >>confdefs.h <<_ACEOF
  4951. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4952. -_ACEOF
  4953. -
  4954. -else
  4955. - as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
  4956. fi
  4957. -done
  4958. -
  4959. +rm -f conftest.err conftest.i conftest.$ac_ext
  4960. for ac_func in clock_gettime
  4961. do :
  4962. @@ -5954,97 +5652,7 @@
  4963. fi
  4964. -
  4965. -
  4966. -# Check whether --with-libcap-ng was given.
  4967. -if test "${with_libcap_ng+set}" = set; then :
  4968. - withval=$with_libcap_ng;
  4969. -else
  4970. - with_libcap_ng=auto
  4971. -fi
  4972. -
  4973. -
  4974. - # Check for Libcap-ng API
  4975. - #
  4976. - # libcap-ng detection
  4977. -
  4978. - if test x$with_libcap_ng = xno ; then
  4979. - have_libcap_ng=no;
  4980. - else
  4981. - # Start by checking for header file
  4982. - ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
  4983. -if test "x$ac_cv_header_cap_ng_h" = xyes; then :
  4984. - capng_headers=yes
  4985. -else
  4986. - capng_headers=no
  4987. -fi
  4988. -
  4989. -
  4990. -
  4991. - # See if we have libcap-ng library
  4992. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
  4993. -$as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
  4994. -if ${ac_cv_lib_cap_ng_capng_clear+:} false; then :
  4995. - $as_echo_n "(cached) " >&6
  4996. -else
  4997. - ac_check_lib_save_LIBS=$LIBS
  4998. -LIBS="-lcap-ng $LIBS"
  4999. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5000. -/* end confdefs.h. */
  5001. -
  5002. -/* Override any GCC internal prototype to avoid an error.
  5003. - Use char because int might match the return type of a GCC
  5004. - builtin and then its argument prototype would still apply. */
  5005. -#ifdef __cplusplus
  5006. -extern "C"
  5007. -#endif
  5008. -char capng_clear ();
  5009. -int
  5010. -main ()
  5011. -{
  5012. -return capng_clear ();
  5013. - ;
  5014. - return 0;
  5015. -}
  5016. -_ACEOF
  5017. -if ac_fn_c_try_link "$LINENO"; then :
  5018. - ac_cv_lib_cap_ng_capng_clear=yes
  5019. -else
  5020. - ac_cv_lib_cap_ng_capng_clear=no
  5021. -fi
  5022. -rm -f core conftest.err conftest.$ac_objext \
  5023. - conftest$ac_exeext conftest.$ac_ext
  5024. -LIBS=$ac_check_lib_save_LIBS
  5025. -fi
  5026. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
  5027. -$as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
  5028. -if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes; then :
  5029. - CAPNG_LDADD=-lcap-ng
  5030. -fi
  5031. -
  5032. -
  5033. - # Check results are usable
  5034. - if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
  5035. - as_fn_error $? "libcap-ng support was requested and the library was not found" "$LINENO" 5
  5036. - fi
  5037. - if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
  5038. - as_fn_error $? "libcap-ng libraries found but headers are missing" "$LINENO" 5
  5039. - fi
  5040. - fi
  5041. -
  5042. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
  5043. -$as_echo_n "checking whether to use libcap-ng... " >&6; }
  5044. - if test x$CAPNG_LDADD != x ; then
  5045. -
  5046. -$as_echo "#define HAVE_LIBCAP_NG 1" >>confdefs.h
  5047. -
  5048. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5049. -$as_echo "yes" >&6; }
  5050. - else
  5051. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5052. -$as_echo "no" >&6; }
  5053. - fi
  5054. -
  5055. +LIBCAP_NG_PATH
  5056. if test "x$CAPNG_LDADD" = "x"; then
  5057. @@ -6253,14 +5861,6 @@
  5058. LTLIBOBJS=$ac_ltlibobjs
  5059. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  5060. -$as_echo_n "checking that generated files are newer than configure... " >&6; }
  5061. - if test -n "$am_sleep_pid"; then
  5062. - # Hide warnings about reused PIDs.
  5063. - wait $am_sleep_pid 2>/dev/null
  5064. - fi
  5065. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  5066. -$as_echo "done" >&6; }
  5067. if test -n "$EXEEXT"; then
  5068. am__EXEEXT_TRUE=
  5069. am__EXEEXT_FALSE='#'
  5070. @@ -7504,7 +7104,7 @@
  5071. # Strip MF so we end up with the name of the file.
  5072. mf=`echo "$mf" | sed -e 's/:.*$//'`
  5073. # Check whether this is an Automake generated Makefile or not.
  5074. - # We used to match only the files named 'Makefile.in', but
  5075. + # We used to match only the files named `Makefile.in', but
  5076. # some people rename them; so instead we look at the file content.
  5077. # Grep'ing the first line is not enough: some people post-process
  5078. # each Makefile.in and add a new line on top of each file to say so.
  5079. @@ -7538,19 +7138,21 @@
  5080. continue
  5081. fi
  5082. # Extract the definition of DEPDIR, am__include, and am__quote
  5083. - # from the Makefile without running 'make'.
  5084. + # from the Makefile without running `make'.
  5085. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  5086. test -z "$DEPDIR" && continue
  5087. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  5088. test -z "am__include" && continue
  5089. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  5090. + # When using ansi2knr, U may be empty or an underscore; expand it
  5091. + U=`sed -n 's/^U = //p' < "$mf"`
  5092. # Find all dependency output files, they are included files with
  5093. # $(DEPDIR) in their names. We invoke sed twice because it is the
  5094. # simplest approach to changing $(DEPDIR) to its actual value in the
  5095. # expansion.
  5096. for file in `sed -n "
  5097. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  5098. - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  5099. + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  5100. # Make sure the directory exists.
  5101. test -f "$dirpart/$file" && continue
  5102. fdir=`$as_dirname -- "$file" ||
  5103. diff -Nur cifs-utils-6.1.orig/configure.ac cifs-utils-6.1/configure.ac
  5104. --- cifs-utils-6.1.orig/configure.ac 2013-07-02 21:13:33.000000000 +0200
  5105. +++ cifs-utils-6.1/configure.ac 2013-10-05 18:12:29.000000000 +0200
  5106. @@ -90,13 +90,25 @@
  5107. # Checks for library functions.
  5108. AC_FUNC_GETMNTENT
  5109. -AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
  5110. -AC_FUNC_MALLOC
  5111. -AC_FUNC_REALLOC
  5112. -AC_FUNC_STRNLEN
  5113. # check for required functions
  5114. -AC_CHECK_FUNCS([alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strcmp strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul tolower uname], , [AC_MSG_ERROR([necessary functions(s) not found])])
  5115. +AC_CHECK_FUNCS([alarm atexit endpwent getmntent getpass gettimeofday inet_ntop malloc memset realloc realpath setenv strchr strcmp strdup strerror strncasecmp strndup strnlen strpbrk strrchr strstr strtol strtoul tolower uname], , [AC_MSG_ERROR([necessary functions(s) not found])])
  5116. +
  5117. +AC_CHECK_FUNCS([getopt_long], , [AC_MSG_ERROR([getopt_long function not found])])
  5118. +AC_MSG_CHECKING([if getopt_long is GNU specific])
  5119. +AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
  5120. +#include <features.h>
  5121. +#ifndef __GLIBC__
  5122. +#error No GNU extension
  5123. +#endif
  5124. + ]],[[;]])
  5125. + ],[
  5126. + AC_DEFINE(HAVE_GNU_GETOPT_LONG, 1, [Whether getopt_long has GNU extensions])
  5127. + AC_MSG_RESULT([yes])
  5128. + ],[
  5129. + AC_LIBOBJ([gnu_getopt])
  5130. + AC_MSG_RESULT([no])
  5131. +])
  5132. AC_CHECK_FUNCS(clock_gettime, [], [
  5133. AC_CHECK_LIB(rt, clock_gettime, [
  5134. diff -Nur cifs-utils-6.1.orig/contrib/Makefile.in cifs-utils-6.1/contrib/Makefile.in
  5135. --- cifs-utils-6.1.orig/contrib/Makefile.in 2013-07-02 21:20:33.000000000 +0200
  5136. +++ cifs-utils-6.1/contrib/Makefile.in 2013-10-05 18:12:39.000000000 +0200
  5137. @@ -1,8 +1,9 @@
  5138. -# Makefile.in generated by automake 1.12.2 from Makefile.am.
  5139. +# Makefile.in generated by automake 1.11.6 from Makefile.am.
  5140. # @configure_input@
  5141. -# Copyright (C) 1994-2012 Free Software Foundation, Inc.
  5142. -
  5143. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  5144. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  5145. +# Foundation, Inc.
  5146. # This Makefile.in is free software; the Free Software Foundation
  5147. # gives unlimited permission to copy and/or distribute it,
  5148. # with or without modifications, as long as this notice is preserved.
  5149. @@ -47,8 +48,6 @@
  5150. NORMAL_UNINSTALL = :
  5151. PRE_UNINSTALL = :
  5152. POST_UNINSTALL = :
  5153. -build_triplet = @build@
  5154. -host_triplet = @host@
  5155. subdir = contrib
  5156. DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  5157. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  5158. @@ -114,7 +113,6 @@
  5159. AUTOHEADER = @AUTOHEADER@
  5160. AUTOMAKE = @AUTOMAKE@
  5161. AWK = @AWK@
  5162. -CAPNG_LDADD = @CAPNG_LDADD@
  5163. CC = @CC@
  5164. CCDEPMODE = @CCDEPMODE@
  5165. CFLAGS = @CFLAGS@
  5166. @@ -176,22 +174,14 @@
  5167. am__tar = @am__tar@
  5168. am__untar = @am__untar@
  5169. bindir = @bindir@
  5170. -build = @build@
  5171. build_alias = @build_alias@
  5172. -build_cpu = @build_cpu@
  5173. -build_os = @build_os@
  5174. -build_vendor = @build_vendor@
  5175. builddir = @builddir@
  5176. datadir = @datadir@
  5177. datarootdir = @datarootdir@
  5178. docdir = @docdir@
  5179. dvidir = @dvidir@
  5180. exec_prefix = @exec_prefix@
  5181. -host = @host@
  5182. host_alias = @host_alias@
  5183. -host_cpu = @host_cpu@
  5184. -host_os = @host_os@
  5185. -host_vendor = @host_vendor@
  5186. htmldir = @htmldir@
  5187. includedir = @includedir@
  5188. infodir = @infodir@
  5189. @@ -252,12 +242,12 @@
  5190. $(am__aclocal_m4_deps):
  5191. # This directory's subdirectories are mostly independent; you can cd
  5192. -# into them and run 'make' without going through this Makefile.
  5193. -# To change the values of 'make' variables: instead of editing Makefiles,
  5194. -# (1) if the variable is set in 'config.status', edit 'config.status'
  5195. -# (which will cause the Makefiles to be regenerated when you run 'make');
  5196. -# (2) otherwise, pass the desired values on the 'make' command line.
  5197. -$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
  5198. +# into them and run `make' without going through this Makefile.
  5199. +# To change the values of `make' variables: instead of editing Makefiles,
  5200. +# (1) if the variable is set in `config.status', edit `config.status'
  5201. +# (which will cause the Makefiles to be regenerated when you run `make');
  5202. +# (2) otherwise, pass the desired values on the `make' command line.
  5203. +$(RECURSIVE_TARGETS):
  5204. @fail= failcom='exit 1'; \
  5205. for f in x $$MAKEFLAGS; do \
  5206. case $$f in \
  5207. @@ -267,11 +257,7 @@
  5208. done; \
  5209. dot_seen=no; \
  5210. target=`echo $@ | sed s/-recursive//`; \
  5211. - case "$@" in \
  5212. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  5213. - *) list='$(SUBDIRS)' ;; \
  5214. - esac; \
  5215. - for subdir in $$list; do \
  5216. + list='$(SUBDIRS)'; for subdir in $$list; do \
  5217. echo "Making $$target in $$subdir"; \
  5218. if test "$$subdir" = "."; then \
  5219. dot_seen=yes; \
  5220. @@ -285,6 +271,37 @@
  5221. if test "$$dot_seen" = "no"; then \
  5222. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  5223. fi; test -z "$$fail"
  5224. +
  5225. +$(RECURSIVE_CLEAN_TARGETS):
  5226. + @fail= failcom='exit 1'; \
  5227. + for f in x $$MAKEFLAGS; do \
  5228. + case $$f in \
  5229. + *=* | --[!k]*);; \
  5230. + *k*) failcom='fail=yes';; \
  5231. + esac; \
  5232. + done; \
  5233. + dot_seen=no; \
  5234. + case "$@" in \
  5235. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  5236. + *) list='$(SUBDIRS)' ;; \
  5237. + esac; \
  5238. + rev=''; for subdir in $$list; do \
  5239. + if test "$$subdir" = "."; then :; else \
  5240. + rev="$$subdir $$rev"; \
  5241. + fi; \
  5242. + done; \
  5243. + rev="$$rev ."; \
  5244. + target=`echo $@ | sed s/-recursive//`; \
  5245. + for subdir in $$rev; do \
  5246. + echo "Making $$target in $$subdir"; \
  5247. + if test "$$subdir" = "."; then \
  5248. + local_target="$$target-am"; \
  5249. + else \
  5250. + local_target="$$target"; \
  5251. + fi; \
  5252. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  5253. + || eval $$failcom; \
  5254. + done && test -z "$$fail"
  5255. tags-recursive:
  5256. list='$(SUBDIRS)'; for subdir in $$list; do \
  5257. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  5258. @@ -293,10 +310,6 @@
  5259. list='$(SUBDIRS)'; for subdir in $$list; do \
  5260. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  5261. done
  5262. -cscopelist-recursive:
  5263. - list='$(SUBDIRS)'; for subdir in $$list; do \
  5264. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
  5265. - done
  5266. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  5267. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  5268. @@ -360,20 +373,6 @@
  5269. && $(am__cd) $(top_srcdir) \
  5270. && gtags -i $(GTAGS_ARGS) "$$here"
  5271. -cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
  5272. - list='$(SOURCES) $(HEADERS) $(LISP)'; \
  5273. - case "$(srcdir)" in \
  5274. - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  5275. - *) sdir=$(subdir)/$(srcdir) ;; \
  5276. - esac; \
  5277. - for i in $$list; do \
  5278. - if test -f "$$i"; then \
  5279. - echo "$(subdir)/$$i"; \
  5280. - else \
  5281. - echo "$$sdir/$$i"; \
  5282. - fi; \
  5283. - done >> $(top_builddir)/cscope.files
  5284. -
  5285. distclean-tags:
  5286. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  5287. @@ -533,22 +532,21 @@
  5288. uninstall-am:
  5289. -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
  5290. - cscopelist-recursive ctags-recursive install-am install-strip \
  5291. - tags-recursive
  5292. +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
  5293. + install-am install-strip tags-recursive
  5294. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  5295. - all all-am check check-am clean clean-generic cscopelist \
  5296. - cscopelist-recursive ctags ctags-recursive distclean \
  5297. - distclean-generic distclean-tags distdir dvi dvi-am html \
  5298. - html-am info info-am install install-am install-data \
  5299. - install-data-am install-dvi install-dvi-am install-exec \
  5300. - install-exec-am install-html install-html-am install-info \
  5301. - install-info-am install-man install-pdf install-pdf-am \
  5302. - install-ps install-ps-am install-strip installcheck \
  5303. - installcheck-am installdirs installdirs-am maintainer-clean \
  5304. - maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  5305. - pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
  5306. + all all-am check check-am clean clean-generic ctags \
  5307. + ctags-recursive distclean distclean-generic distclean-tags \
  5308. + distdir dvi dvi-am html html-am info info-am install \
  5309. + install-am install-data install-data-am install-dvi \
  5310. + install-dvi-am install-exec install-exec-am install-html \
  5311. + install-html-am install-info install-info-am install-man \
  5312. + install-pdf install-pdf-am install-ps install-ps-am \
  5313. + install-strip installcheck installcheck-am installdirs \
  5314. + installdirs-am maintainer-clean maintainer-clean-generic \
  5315. + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
  5316. + tags-recursive uninstall uninstall-am
  5317. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  5318. diff -Nur cifs-utils-6.1.orig/contrib/request-key.d/Makefile.in cifs-utils-6.1/contrib/request-key.d/Makefile.in
  5319. --- cifs-utils-6.1.orig/contrib/request-key.d/Makefile.in 2013-07-02 21:20:33.000000000 +0200
  5320. +++ cifs-utils-6.1/contrib/request-key.d/Makefile.in 2013-10-05 18:12:39.000000000 +0200
  5321. @@ -1,8 +1,9 @@
  5322. -# Makefile.in generated by automake 1.12.2 from Makefile.am.
  5323. +# Makefile.in generated by automake 1.11.6 from Makefile.am.
  5324. # @configure_input@
  5325. -# Copyright (C) 1994-2012 Free Software Foundation, Inc.
  5326. -
  5327. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  5328. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  5329. +# Foundation, Inc.
  5330. # This Makefile.in is free software; the Free Software Foundation
  5331. # gives unlimited permission to copy and/or distribute it,
  5332. # with or without modifications, as long as this notice is preserved.
  5333. @@ -48,8 +49,6 @@
  5334. NORMAL_UNINSTALL = :
  5335. PRE_UNINSTALL = :
  5336. POST_UNINSTALL = :
  5337. -build_triplet = @build@
  5338. -host_triplet = @host@
  5339. subdir = contrib/request-key.d
  5340. DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
  5341. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  5342. @@ -76,7 +75,6 @@
  5343. AUTOHEADER = @AUTOHEADER@
  5344. AUTOMAKE = @AUTOMAKE@
  5345. AWK = @AWK@
  5346. -CAPNG_LDADD = @CAPNG_LDADD@
  5347. CC = @CC@
  5348. CCDEPMODE = @CCDEPMODE@
  5349. CFLAGS = @CFLAGS@
  5350. @@ -138,22 +136,14 @@
  5351. am__tar = @am__tar@
  5352. am__untar = @am__untar@
  5353. bindir = @bindir@
  5354. -build = @build@
  5355. build_alias = @build_alias@
  5356. -build_cpu = @build_cpu@
  5357. -build_os = @build_os@
  5358. -build_vendor = @build_vendor@
  5359. builddir = @builddir@
  5360. datadir = @datadir@
  5361. datarootdir = @datarootdir@
  5362. docdir = @docdir@
  5363. dvidir = @dvidir@
  5364. exec_prefix = @exec_prefix@
  5365. -host = @host@
  5366. host_alias = @host_alias@
  5367. -host_cpu = @host_cpu@
  5368. -host_os = @host_os@
  5369. -host_vendor = @host_vendor@
  5370. htmldir = @htmldir@
  5371. includedir = @includedir@
  5372. infodir = @infodir@
  5373. @@ -218,8 +208,6 @@
  5374. ctags: CTAGS
  5375. CTAGS:
  5376. -cscope cscopelist:
  5377. -
  5378. distdir: $(DISTFILES)
  5379. @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  5380. diff -Nur cifs-utils-6.1.orig/depcomp cifs-utils-6.1/depcomp
  5381. --- cifs-utils-6.1.orig/depcomp 2013-07-02 21:20:33.000000000 +0200
  5382. +++ cifs-utils-6.1/depcomp 2013-10-05 18:12:39.000000000 +0200
  5383. @@ -3,7 +3,8 @@
  5384. scriptversion=2012-03-27.16; # UTC
  5385. -# Copyright (C) 1999-2012 Free Software Foundation, Inc.
  5386. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
  5387. +# 2011, 2012 Free Software Foundation, Inc.
  5388. # This program is free software; you can redistribute it and/or modify
  5389. # it under the terms of the GNU General Public License as published by
  5390. diff -Nur cifs-utils-6.1.orig/getcifsacl.c cifs-utils-6.1/getcifsacl.c
  5391. --- cifs-utils-6.1.orig/getcifsacl.c 2013-07-02 21:13:33.000000000 +0200
  5392. +++ cifs-utils-6.1/getcifsacl.c 2013-10-05 18:12:29.000000000 +0200
  5393. @@ -24,7 +24,13 @@
  5394. #endif /* HAVE_CONFIG_H */
  5395. #include <string.h>
  5396. +#ifdef HAVE_GNU_GETOPT_LONG
  5397. #include <getopt.h>
  5398. +#else
  5399. +#include "gnu_getopt.h"
  5400. +#define getopt_long gnu_getopt_long
  5401. +#define option gnu_option
  5402. +#endif
  5403. #include <stdint.h>
  5404. #include <stdbool.h>
  5405. #include <unistd.h>
  5406. diff -Nur cifs-utils-6.1.orig/gnu_getopt.c cifs-utils-6.1/gnu_getopt.c
  5407. --- cifs-utils-6.1.orig/gnu_getopt.c 1970-01-01 01:00:00.000000000 +0100
  5408. +++ cifs-utils-6.1/gnu_getopt.c 2013-10-05 18:12:29.000000000 +0200
  5409. @@ -0,0 +1,656 @@
  5410. +/* $OpenBSD: getopt_long.c,v 1.21 2006/09/22 17:22:05 millert Exp $ */
  5411. +/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $ */
  5412. +
  5413. +/*
  5414. + * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com>
  5415. + * Copyright (c) 2012 William Pitcock
  5416. + * Copyright (c) 2012 rofl0r
  5417. + *
  5418. + * Permission to use, copy, modify, and distribute this software for any
  5419. + * purpose with or without fee is hereby granted, provided that the above
  5420. + * copyright notice and this permission notice appear in all copies.
  5421. + *
  5422. + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  5423. + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  5424. + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  5425. + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  5426. + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  5427. + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  5428. + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  5429. + *
  5430. + * Sponsored in part by the Defense Advanced Research Projects
  5431. + * Agency (DARPA) and Air Force Research Laboratory, Air Force
  5432. + * Materiel Command, USAF, under agreement number F39502-99-1-0512.
  5433. + */
  5434. +/*-
  5435. + * Copyright (c) 2000 The NetBSD Foundation, Inc.
  5436. + * All rights reserved.
  5437. + *
  5438. + * This code is derived from software contributed to The NetBSD Foundation
  5439. + * by Dieter Baron and Thomas Klausner.
  5440. + *
  5441. + * Redistribution and use in source and binary forms, with or without
  5442. + * modification, are permitted provided that the following conditions
  5443. + * are met:
  5444. + * 1. Redistributions of source code must retain the above copyright
  5445. + * notice, this list of conditions and the following disclaimer.
  5446. + * 2. Redistributions in binary form must reproduce the above copyright
  5447. + * notice, this list of conditions and the following disclaimer in the
  5448. + * documentation and/or other materials provided with the distribution.
  5449. + * 3. All advertising materials mentioning features or use of this software
  5450. + * must display the following acknowledgement:
  5451. + * This product includes software developed by the NetBSD
  5452. + * Foundation, Inc. and its contributors.
  5453. + * 4. Neither the name of The NetBSD Foundation nor the names of its
  5454. + * contributors may be used to endorse or promote products derived
  5455. + * from this software without specific prior written permission.
  5456. + *
  5457. + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  5458. + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  5459. + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  5460. + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
  5461. + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  5462. + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  5463. + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  5464. + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  5465. + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  5466. + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  5467. + * POSSIBILITY OF SUCH DAMAGE.
  5468. + */
  5469. +
  5470. +#include "gnu_getopt.h"
  5471. +
  5472. +#include <errno.h>
  5473. +#include <stdio.h>
  5474. +#include <stdlib.h>
  5475. +#include <string.h>
  5476. +
  5477. +//#if HAVE_STRICT_MODE > 0
  5478. +#if 1
  5479. +# define GNU_COMPATIBLE /* Be more compatible, configure's use us! */
  5480. +#endif
  5481. +
  5482. +#if 0
  5483. +int gnu_opterr = 1; /* if error message should be printed */
  5484. +int gnu_optind = 1; /* index into parent argv vector */
  5485. +int gnu_optopt = '?'; /* character checked for validity */
  5486. +int gnu_optreset; /* reset getopt */
  5487. +char *gnu_optarg; /* argument associated with option */
  5488. +#else
  5489. +// TODO: check whether it has an effect that musl's optopt is not initialized to '?'
  5490. +#include <getopt.h>
  5491. +#define gnu_opterr opterr
  5492. +#define gnu_optind optind
  5493. +#define gnu_optopt optopt
  5494. +#define gnu_optreset optreset
  5495. +#define gnu_optarg optarg
  5496. +int optreset;
  5497. +#endif
  5498. +char* argv0 = NULL;
  5499. +
  5500. +#define PRINT_ERROR ((gnu_opterr) && (*options != ':'))
  5501. +
  5502. +#define FLAG_PERMUTE 0x01 /* permute non-options to the end of argv */
  5503. +#define FLAG_ALLARGS 0x02 /* treat non-options as args to option "-1" */
  5504. +#define FLAG_LONGONLY 0x04 /* operate as getopt_long_only */
  5505. +
  5506. +/* return values */
  5507. +#define BADCH (int)'?'
  5508. +#define BADARG ((*options == ':') ? (int)':' : (int)'?')
  5509. +#define INORDER (int)1
  5510. +
  5511. +#define EMSG ""
  5512. +
  5513. +#ifdef GNU_COMPATIBLE
  5514. +#define NO_PREFIX (-1)
  5515. +#define D_PREFIX 0
  5516. +#define DD_PREFIX 1
  5517. +#define W_PREFIX 2
  5518. +#endif
  5519. +
  5520. +static int getopt_internal(int, char * const *, const char *,
  5521. + const struct gnu_option *, int *, int);
  5522. +static int parse_long_options(char * const *, const char *,
  5523. + const struct gnu_option *, int *, int, int);
  5524. +static int gcd(int, int);
  5525. +static void permute_args(int, int, int, char * const *);
  5526. +
  5527. +static char *place = EMSG; /* option letter processing */
  5528. +
  5529. +/* XXX: set gnu_optreset to 1 rather than these two */
  5530. +static int nonopt_start = -1; /* first non option argument (for permute) */
  5531. +static int nonopt_end = -1; /* first option after non options (for permute) */
  5532. +
  5533. +/* Error messages */
  5534. +static const char recargchar[] = "option requires an argument -- %c";
  5535. +static const char illoptchar[] = "illegal option -- %c"; /* From P1003.2 */
  5536. +#ifdef GNU_COMPATIBLE
  5537. +static int dash_prefix = NO_PREFIX;
  5538. +static const char gnuoptchar[] = "invalid option -- %c";
  5539. +
  5540. +static const char recargstring[] = "option `%s%s' requires an argument";
  5541. +static const char ambig[] = "option `%s%.*s' is ambiguous";
  5542. +static const char noarg[] = "option `%s%.*s' doesn't allow an argument";
  5543. +static const char illoptstring[] = "unrecognized option `%s%s'";
  5544. +#else
  5545. +static const char recargstring[] = "option requires an argument -- %s";
  5546. +static const char ambig[] = "ambiguous option -- %.*s";
  5547. +static const char noarg[] = "option doesn't take an argument -- %.*s";
  5548. +static const char illoptstring[] = "unknown option -- %s";
  5549. +#endif
  5550. +
  5551. +/*
  5552. + * Compute the greatest common divisor of a and b.
  5553. + */
  5554. +static int
  5555. +gcd(int a, int b)
  5556. +{
  5557. + int c;
  5558. +
  5559. + c = a % b;
  5560. + while (c != 0) {
  5561. + a = b;
  5562. + b = c;
  5563. + c = a % b;
  5564. + }
  5565. +
  5566. + return (b);
  5567. +}
  5568. +
  5569. +/*
  5570. + * Exchange the block from nonopt_start to nonopt_end with the block
  5571. + * from nonopt_end to opt_end (keeping the same order of arguments
  5572. + * in each block).
  5573. + */
  5574. +static void
  5575. +permute_args(int panonopt_start, int panonopt_end, int opt_end,
  5576. + char * const *nargv)
  5577. +{
  5578. + int cstart, cyclelen, i, j, ncycle, nnonopts, nopts, pos;
  5579. + char *swap;
  5580. +
  5581. + /*
  5582. + * compute lengths of blocks and number and size of cycles
  5583. + */
  5584. + nnonopts = panonopt_end - panonopt_start;
  5585. + nopts = opt_end - panonopt_end;
  5586. + ncycle = gcd(nnonopts, nopts);
  5587. + cyclelen = (opt_end - panonopt_start) / ncycle;
  5588. +
  5589. + for (i = 0; i < ncycle; i++) {
  5590. + cstart = panonopt_end+i;
  5591. + pos = cstart;
  5592. + for (j = 0; j < cyclelen; j++) {
  5593. + if (pos >= panonopt_end)
  5594. + pos -= nnonopts;
  5595. + else
  5596. + pos += nopts;
  5597. + swap = nargv[pos];
  5598. + /* LINTED const cast */
  5599. + ((char **) nargv)[pos] = nargv[cstart];
  5600. + /* LINTED const cast */
  5601. + ((char **)nargv)[cstart] = swap;
  5602. + }
  5603. + }
  5604. +}
  5605. +
  5606. +/*
  5607. + * parse_long_options --
  5608. + * Parse long options in argc/argv argument vector.
  5609. + * Returns -1 if short_too is set and the option does not match long_options.
  5610. + */
  5611. +static int
  5612. +parse_long_options(char * const *nargv, const char *options,
  5613. + const struct gnu_option *long_options, int *idx, int short_too, int flags)
  5614. +{
  5615. + char *current_argv, *has_equal;
  5616. +#ifdef GNU_COMPATIBLE
  5617. + char *current_dash;
  5618. +#endif
  5619. + size_t current_argv_len;
  5620. + int i, match, exact_match, second_partial_match;
  5621. +
  5622. + current_argv = place;
  5623. +#ifdef GNU_COMPATIBLE
  5624. + switch (dash_prefix) {
  5625. + case D_PREFIX:
  5626. + current_dash = "-";
  5627. + break;
  5628. + case DD_PREFIX:
  5629. + current_dash = "--";
  5630. + break;
  5631. + case W_PREFIX:
  5632. + current_dash = "-W ";
  5633. + break;
  5634. + default:
  5635. + current_dash = "";
  5636. + break;
  5637. + }
  5638. +#endif
  5639. + match = -1;
  5640. + exact_match = 0;
  5641. + second_partial_match = 0;
  5642. +
  5643. + gnu_optind++;
  5644. +
  5645. + if ((has_equal = strchr(current_argv, '=')) != NULL) {
  5646. + /* argument found (--option=arg) */
  5647. + current_argv_len = has_equal - current_argv;
  5648. + has_equal++;
  5649. + } else
  5650. + current_argv_len = strlen(current_argv);
  5651. +
  5652. + for (i = 0; long_options[i].name; i++) {
  5653. + /* find matching long option */
  5654. + if (strncmp(current_argv, long_options[i].name,
  5655. + current_argv_len))
  5656. + continue;
  5657. +
  5658. + if (strlen(long_options[i].name) == current_argv_len) {
  5659. + /* exact match */
  5660. + match = i;
  5661. + exact_match = 1;
  5662. + break;
  5663. + }
  5664. + /*
  5665. + * If this is a known short option, don't allow
  5666. + * a partial match of a single character.
  5667. + */
  5668. + if (short_too && current_argv_len == 1)
  5669. + continue;
  5670. +
  5671. + if (match == -1) /* first partial match */
  5672. + match = i;
  5673. + else if ((flags & FLAG_LONGONLY) ||
  5674. + long_options[i].has_arg !=
  5675. + long_options[match].has_arg ||
  5676. + long_options[i].flag != long_options[match].flag ||
  5677. + long_options[i].val != long_options[match].val)
  5678. + second_partial_match = 1;
  5679. + }
  5680. + if (!exact_match && second_partial_match) {
  5681. + /* ambiguous abbreviation */
  5682. + if (PRINT_ERROR) {
  5683. + fprintf(stderr, "pkgconf: ");
  5684. + fprintf(stderr, ambig,
  5685. +#ifdef GNU_COMPATIBLE
  5686. + current_dash,
  5687. +#endif
  5688. + (int)current_argv_len,
  5689. + current_argv);
  5690. + fprintf(stderr, "\n");
  5691. + }
  5692. + gnu_optopt = 0;
  5693. + return (BADCH);
  5694. + }
  5695. + if (match != -1) { /* option found */
  5696. + if (long_options[match].has_arg == no_argument
  5697. + && has_equal) {
  5698. + if (PRINT_ERROR) {
  5699. + fprintf(stderr, "pkgconf: ");
  5700. + fprintf(stderr, noarg,
  5701. +#ifdef GNU_COMPATIBLE
  5702. + current_dash,
  5703. +#endif
  5704. + (int)current_argv_len,
  5705. + current_argv);
  5706. + fprintf(stderr, "\n");
  5707. + }
  5708. + /*
  5709. + * XXX: GNU sets gnu_optopt to val regardless of flag
  5710. + */
  5711. + if (long_options[match].flag == NULL)
  5712. + gnu_optopt = long_options[match].val;
  5713. + else
  5714. + gnu_optopt = 0;
  5715. +#ifdef GNU_COMPATIBLE
  5716. + return (BADCH);
  5717. +#else
  5718. + return (BADARG);
  5719. +#endif
  5720. + }
  5721. + if (long_options[match].has_arg == required_argument ||
  5722. + long_options[match].has_arg == optional_argument) {
  5723. + if (has_equal)
  5724. + gnu_optarg = has_equal;
  5725. + else if (long_options[match].has_arg ==
  5726. + required_argument) {
  5727. + /*
  5728. + * optional argument doesn't use next nargv
  5729. + */
  5730. + gnu_optarg = nargv[gnu_optind++];
  5731. + }
  5732. + }
  5733. + if ((long_options[match].has_arg == required_argument)
  5734. + && (gnu_optarg == NULL)) {
  5735. + /*
  5736. + * Missing argument; leading ':' indicates no error
  5737. + * should be generated.
  5738. + */
  5739. + if (PRINT_ERROR) {
  5740. + fprintf(stderr, "pkgconf: ");
  5741. + fprintf(stderr, recargstring,
  5742. +#ifdef GNU_COMPATIBLE
  5743. + current_dash,
  5744. +#endif
  5745. + current_argv);
  5746. + fprintf(stderr, "\n");
  5747. + }
  5748. + /*
  5749. + * XXX: GNU sets gnu_optopt to val regardless of flag
  5750. + */
  5751. + if (long_options[match].flag == NULL)
  5752. + gnu_optopt = long_options[match].val;
  5753. + else
  5754. + gnu_optopt = 0;
  5755. + --gnu_optind;
  5756. + return (BADARG);
  5757. + }
  5758. + } else { /* unknown option */
  5759. + if (short_too) {
  5760. + --gnu_optind;
  5761. + return (-1);
  5762. + }
  5763. + if (PRINT_ERROR) {
  5764. + fprintf(stderr, "pkgconf: ");
  5765. + fprintf(stderr, illoptstring,
  5766. +#ifdef GNU_COMPATIBLE
  5767. + current_dash,
  5768. +#endif
  5769. + current_argv);
  5770. + fprintf(stderr, "\n");
  5771. + }
  5772. + gnu_optopt = 0;
  5773. + return (BADCH);
  5774. + }
  5775. + if (idx)
  5776. + *idx = match;
  5777. + if (long_options[match].flag) {
  5778. + *long_options[match].flag |= long_options[match].val;
  5779. + return (0);
  5780. + } else
  5781. + return (long_options[match].val);
  5782. +}
  5783. +
  5784. +/*
  5785. + * getopt_internal --
  5786. + * Parse argc/argv argument vector. Called by user level routines.
  5787. + */
  5788. +static int
  5789. +getopt_internal(int nargc, char * const *nargv, const char *options,
  5790. + const struct gnu_option *long_options, int *idx, int flags)
  5791. +{
  5792. + char *oli; /* option letter list index */
  5793. + int optchar, short_too;
  5794. + int posixly_correct; /* no static, can be changed on the fly */
  5795. +
  5796. + if(!argv0) argv0 = nargv[0];
  5797. +
  5798. + if (options == NULL)
  5799. + return (-1);
  5800. +
  5801. + /*
  5802. + * Disable GNU extensions if POSIXLY_CORRECT is set or options
  5803. + * string begins with a '+'.
  5804. + */
  5805. + posixly_correct = (getenv("POSIXLY_CORRECT") != NULL);
  5806. +#ifdef GNU_COMPATIBLE
  5807. + if (*options == '-')
  5808. + flags |= FLAG_ALLARGS;
  5809. + else if (posixly_correct || *options == '+')
  5810. + flags &= ~FLAG_PERMUTE;
  5811. +#else
  5812. + if (posixly_correct || *options == '+')
  5813. + flags &= ~FLAG_PERMUTE;
  5814. + else if (*options == '-')
  5815. + flags |= FLAG_ALLARGS;
  5816. +#endif
  5817. +#if HAVE_STRICT_MODE >= 1
  5818. + flags &= ~FLAG_PERMUTE;
  5819. +#endif
  5820. + if (*options == '+' || *options == '-')
  5821. + options++;
  5822. +
  5823. + /*
  5824. + * XXX Some GNU programs (like cvs) set gnu_optind to 0 instead of
  5825. + * XXX using gnu_optreset. Work around this braindamage.
  5826. + */
  5827. + if (gnu_optind == 0)
  5828. + gnu_optind = gnu_optreset = 1;
  5829. +
  5830. + gnu_optarg = NULL;
  5831. + if (gnu_optreset)
  5832. + nonopt_start = nonopt_end = -1;
  5833. +start:
  5834. + if (gnu_optreset || !*place) { /* update scanning pointer */
  5835. + gnu_optreset = 0;
  5836. + if (gnu_optind >= nargc) { /* end of argument vector */
  5837. + place = EMSG;
  5838. + if (nonopt_end != -1) {
  5839. + /* do permutation, if we have to */
  5840. + permute_args(nonopt_start, nonopt_end,
  5841. + gnu_optind, nargv);
  5842. + gnu_optind -= nonopt_end - nonopt_start;
  5843. + }
  5844. + else if (nonopt_start != -1) {
  5845. + /*
  5846. + * If we skipped non-options, set gnu_optind
  5847. + * to the first of them.
  5848. + */
  5849. + gnu_optind = nonopt_start;
  5850. + }
  5851. + nonopt_start = nonopt_end = -1;
  5852. + return (-1);
  5853. + }
  5854. + if (*(place = nargv[gnu_optind]) != '-' ||
  5855. +#ifdef GNU_COMPATIBLE
  5856. + place[1] == '\0') {
  5857. +#else
  5858. + (place[1] == '\0' && strchr(options, '-') == NULL)) {
  5859. +#endif
  5860. + place = EMSG; /* found non-option */
  5861. + if (flags & FLAG_ALLARGS) {
  5862. + /*
  5863. + * GNU extension:
  5864. + * return non-option as argument to option 1
  5865. + */
  5866. + gnu_optarg = nargv[gnu_optind++];
  5867. + return (INORDER);
  5868. + }
  5869. + if (!(flags & FLAG_PERMUTE)) {
  5870. + /*
  5871. + * If no permutation wanted, stop parsing
  5872. + * at first non-option.
  5873. + */
  5874. + return (-1);
  5875. + }
  5876. + /* do permutation */
  5877. + if (nonopt_start == -1)
  5878. + nonopt_start = gnu_optind;
  5879. + else if (nonopt_end != -1) {
  5880. + permute_args(nonopt_start, nonopt_end,
  5881. + gnu_optind, nargv);
  5882. + nonopt_start = gnu_optind -
  5883. + (nonopt_end - nonopt_start);
  5884. + nonopt_end = -1;
  5885. + }
  5886. + gnu_optind++;
  5887. + /* process next argument */
  5888. + goto start;
  5889. + }
  5890. + if (nonopt_start != -1 && nonopt_end == -1)
  5891. + nonopt_end = gnu_optind;
  5892. +
  5893. + /*
  5894. + * If we have "-" do nothing, if "--" we are done.
  5895. + */
  5896. + if (place[1] != '\0' && *++place == '-' && place[1] == '\0') {
  5897. + gnu_optind++;
  5898. + place = EMSG;
  5899. + /*
  5900. + * We found an option (--), so if we skipped
  5901. + * non-options, we have to permute.
  5902. + */
  5903. + if (nonopt_end != -1) {
  5904. + permute_args(nonopt_start, nonopt_end,
  5905. + gnu_optind, nargv);
  5906. + gnu_optind -= nonopt_end - nonopt_start;
  5907. + }
  5908. + nonopt_start = nonopt_end = -1;
  5909. + return (-1);
  5910. + }
  5911. + }
  5912. +
  5913. + /*
  5914. + * Check long options if:
  5915. + * 1) we were passed some
  5916. + * 2) the arg is not just "-"
  5917. + * 3) either the arg starts with -- we are getopt_long_only()
  5918. + */
  5919. + if (long_options != NULL && place != nargv[gnu_optind] &&
  5920. + (*place == '-' || (flags & FLAG_LONGONLY))) {
  5921. + short_too = 0;
  5922. +#ifdef GNU_COMPATIBLE
  5923. + dash_prefix = D_PREFIX;
  5924. +#endif
  5925. + if (*place == '-') {
  5926. + place++; /* --foo long option */
  5927. +#ifdef GNU_COMPATIBLE
  5928. + dash_prefix = DD_PREFIX;
  5929. +#endif
  5930. + } else if (*place != ':' && strchr(options, *place) != NULL)
  5931. + short_too = 1; /* could be short option too */
  5932. +
  5933. + optchar = parse_long_options(nargv, options, long_options,
  5934. + idx, short_too, flags);
  5935. + if (optchar != -1) {
  5936. + place = EMSG;
  5937. + return (optchar);
  5938. + }
  5939. + }
  5940. +
  5941. + if ((optchar = (int)*place++) == (int)':' ||
  5942. + (optchar == (int)'-' && *place != '\0') ||
  5943. + (oli = strchr(options, optchar)) == NULL) {
  5944. + /*
  5945. + * If the user specified "-" and '-' isn't listed in
  5946. + * options, return -1 (non-option) as per POSIX.
  5947. + * Otherwise, it is an unknown option character (or ':').
  5948. + */
  5949. + if (optchar == (int)'-' && *place == '\0')
  5950. + return (-1);
  5951. + if (!*place)
  5952. + ++gnu_optind;
  5953. +#ifdef GNU_COMPATIBLE
  5954. + if (PRINT_ERROR) {
  5955. + fprintf(stderr, "%s: ", argv0);
  5956. + fprintf(stderr, posixly_correct ? illoptchar : gnuoptchar,
  5957. + optchar);
  5958. + fprintf(stderr, "\n");
  5959. + }
  5960. +#else
  5961. + if (PRINT_ERROR) {
  5962. + fprintf(stderr, "%s: ", argv0);
  5963. + fprintf(stderr, illoptchar, optchar);
  5964. + fprintf(stderr, "\n");
  5965. + }
  5966. +#endif
  5967. + gnu_optopt = optchar;
  5968. + return (BADCH);
  5969. + }
  5970. + if (long_options != NULL && optchar == 'W' && oli[1] == ';') {
  5971. + /* -W long-option */
  5972. + if (*place) /* no space */
  5973. + /* NOTHING */;
  5974. + else if (++gnu_optind >= nargc) { /* no arg */
  5975. + place = EMSG;
  5976. + if (PRINT_ERROR) {
  5977. + fprintf(stderr, "%s: ", argv0);
  5978. + fprintf(stderr, recargchar, optchar);
  5979. + fprintf(stderr, "\n");
  5980. + }
  5981. + gnu_optopt = optchar;
  5982. + return (BADARG);
  5983. + } else /* white space */
  5984. + place = nargv[gnu_optind];
  5985. +#ifdef GNU_COMPATIBLE
  5986. + dash_prefix = W_PREFIX;
  5987. +#endif
  5988. + optchar = parse_long_options(nargv, options, long_options,
  5989. + idx, 0, flags);
  5990. + place = EMSG;
  5991. + return (optchar);
  5992. + }
  5993. + if (*++oli != ':') { /* doesn't take argument */
  5994. + if (!*place)
  5995. + ++gnu_optind;
  5996. + } else { /* takes (optional) argument */
  5997. + gnu_optarg = NULL;
  5998. + if (*place) /* no white space */
  5999. + gnu_optarg = place;
  6000. + else if (oli[1] != ':') { /* arg not optional */
  6001. + if (++gnu_optind >= nargc) { /* no arg */
  6002. + place = EMSG;
  6003. + if (PRINT_ERROR) {
  6004. + fprintf(stderr, "%s: ", argv0);
  6005. + fprintf(stderr, recargchar, optchar);
  6006. + fprintf(stderr, "\n");
  6007. + }
  6008. + gnu_optopt = optchar;
  6009. + return (BADARG);
  6010. + } else
  6011. + gnu_optarg = nargv[gnu_optind];
  6012. + }
  6013. + place = EMSG;
  6014. + ++gnu_optind;
  6015. + }
  6016. + /* dump back option letter */
  6017. + return (optchar);
  6018. +}
  6019. +
  6020. +/*
  6021. + * getopt --
  6022. + * Parse argc/argv argument vector.
  6023. + *
  6024. + * [eventually this will replace the BSD getopt]
  6025. + */
  6026. +int
  6027. +gnu_getopt(int nargc, char * const *nargv, const char *options)
  6028. +{
  6029. +
  6030. + /*
  6031. + * We don't pass FLAG_PERMUTE to getopt_internal() since
  6032. + * the BSD getopt(3) (unlike GNU) has never done this.
  6033. + *
  6034. + * Furthermore, since many privileged programs call getopt()
  6035. + * before dropping privileges it makes sense to keep things
  6036. + * as simple (and bug-free) as possible.
  6037. + */
  6038. + return (getopt_internal(nargc, nargv, options, NULL, NULL, FLAG_PERMUTE));
  6039. +}
  6040. +
  6041. +/*
  6042. + * getopt_long --
  6043. + * Parse argc/argv argument vector.
  6044. + */
  6045. +int
  6046. +gnu_getopt_long(int nargc, char * const *nargv, const char *options,
  6047. + const struct gnu_option *long_options, int *idx)
  6048. +{
  6049. +
  6050. + return (getopt_internal(nargc, nargv, options, long_options, idx,
  6051. + FLAG_PERMUTE));
  6052. +}
  6053. +
  6054. +/*
  6055. + * getopt_long_only --
  6056. + * Parse argc/argv argument vector.
  6057. + */
  6058. +int
  6059. +gnu_getopt_long_only(int nargc, char * const *nargv, const char *options,
  6060. + const struct gnu_option *long_options, int *idx)
  6061. +{
  6062. +
  6063. + return (getopt_internal(nargc, nargv, options, long_options, idx,
  6064. + FLAG_PERMUTE|FLAG_LONGONLY));
  6065. +}
  6066. diff -Nur cifs-utils-6.1.orig/gnu_getopt.h cifs-utils-6.1/gnu_getopt.h
  6067. --- cifs-utils-6.1.orig/gnu_getopt.h 1970-01-01 01:00:00.000000000 +0100
  6068. +++ cifs-utils-6.1/gnu_getopt.h 2013-10-05 18:12:29.000000000 +0200
  6069. @@ -0,0 +1,70 @@
  6070. +/* $NetBSD: getopt.h,v 1.4 2000/07/07 10:43:54 ad Exp $ */
  6071. +/* $FreeBSD$ */
  6072. +
  6073. +/*-
  6074. + * Copyright (c) 2000 The NetBSD Foundation, Inc.
  6075. + * All rights reserved.
  6076. + *
  6077. + * This code is derived from software contributed to The NetBSD Foundation
  6078. + * by Dieter Baron and Thomas Klausner.
  6079. + *
  6080. + * Redistribution and use in source and binary forms, with or without
  6081. + * modification, are permitted provided that the following conditions
  6082. + * are met:
  6083. + * 1. Redistributions of source code must retain the above copyright
  6084. + * notice, this list of conditions and the following disclaimer.
  6085. + * 2. Redistributions in binary form must reproduce the above copyright
  6086. + * notice, this list of conditions and the following disclaimer in the
  6087. + * documentation and/or other materials provided with the distribution.
  6088. + *
  6089. + * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  6090. + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  6091. + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  6092. + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
  6093. + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  6094. + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  6095. + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  6096. + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  6097. + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  6098. + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  6099. + * POSSIBILITY OF SUCH DAMAGE.
  6100. + */
  6101. +
  6102. +
  6103. +#ifndef _GNU_GETOPT_LONG_H_
  6104. +#define _GNU_GETOPT_LONG_H_
  6105. +
  6106. +/*
  6107. + * GNU-like getopt_long()/getopt_long_only() with 4.4BSD optreset extension.
  6108. + * getopt() is declared here too for GNU programs.
  6109. + */
  6110. +#define no_argument 0
  6111. +#define required_argument 1
  6112. +#define optional_argument 2
  6113. +
  6114. +struct gnu_option {
  6115. + /* name of long option */
  6116. + const char *name;
  6117. + /*
  6118. + * one of no_argument, required_argument, and optional_argument:
  6119. + * whether option takes an argument
  6120. + */
  6121. + int has_arg;
  6122. + /* if not NULL, set *flag to val when option found */
  6123. + int *flag;
  6124. + /* if flag not NULL, value to set *flag to; else return value */
  6125. + int val;
  6126. +};
  6127. +
  6128. +int gnu_getopt_long(int, char * const *, const char *,
  6129. + const struct gnu_option *, int *);
  6130. +int gnu_getopt_long_only(int, char * const *, const char *,
  6131. + const struct gnu_option *, int *);
  6132. +int gnu_getopt(int, char * const [], const char *);
  6133. +
  6134. +#if 0
  6135. +extern char *gnu_optarg; /* getopt(3) external variables */
  6136. +extern int gnu_optind, gnu_opterr, gnu_optopt;
  6137. +extern int gnu_optreset; /* getopt(3) external variable */
  6138. +#endif
  6139. +#endif
  6140. diff -Nur cifs-utils-6.1.orig/INSTALL cifs-utils-6.1/INSTALL
  6141. --- cifs-utils-6.1.orig/INSTALL 2013-07-02 21:20:33.000000000 +0200
  6142. +++ cifs-utils-6.1/INSTALL 2013-10-05 18:12:39.000000000 +0200
  6143. @@ -1,7 +1,7 @@
  6144. Installation Instructions
  6145. *************************
  6146. -Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
  6147. +Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
  6148. Inc.
  6149. Copying and distribution of this file, with or without modification,
  6150. @@ -309,10 +309,9 @@
  6151. overridden in the site shell script).
  6152. Unfortunately, this technique does not work for `CONFIG_SHELL' due to
  6153. -an Autoconf limitation. Until the limitation is lifted, you can use
  6154. -this workaround:
  6155. +an Autoconf bug. Until the bug is fixed you can use this workaround:
  6156. - CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
  6157. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
  6158. `configure' Invocation
  6159. ======================
  6160. @@ -368,3 +367,4 @@
  6161. `configure' also accepts some other, not widely useful, options. Run
  6162. `configure --help' for more details.
  6163. +
  6164. diff -Nur cifs-utils-6.1.orig/install-sh cifs-utils-6.1/install-sh
  6165. --- cifs-utils-6.1.orig/install-sh 2013-07-02 21:20:33.000000000 +0200
  6166. +++ cifs-utils-6.1/install-sh 2013-10-05 18:12:39.000000000 +0200
  6167. @@ -1,7 +1,7 @@
  6168. #!/bin/sh
  6169. # install - install a program, script, or datafile
  6170. -scriptversion=2011-11-20.07; # UTC
  6171. +scriptversion=2011-01-19.21; # UTC
  6172. # This originates from X11R5 (mit/util/scripts/install.sh), which was
  6173. # later released in X11R6 (xc/config/util/install.sh) with the
  6174. @@ -35,7 +35,7 @@
  6175. # FSF changes to this file are in the public domain.
  6176. #
  6177. # Calling this script install-sh is preferred over install.sh, to prevent
  6178. -# 'make' implicit rules from creating a file called install from it
  6179. +# `make' implicit rules from creating a file called install from it
  6180. # when there is no Makefile.
  6181. #
  6182. # This script is compatible with the BSD install script, but was written
  6183. @@ -156,7 +156,7 @@
  6184. -s) stripcmd=$stripprog;;
  6185. -t) dst_arg=$2
  6186. - # Protect names problematic for 'test' and other utilities.
  6187. + # Protect names problematic for `test' and other utilities.
  6188. case $dst_arg in
  6189. -* | [=\(\)!]) dst_arg=./$dst_arg;;
  6190. esac
  6191. @@ -190,7 +190,7 @@
  6192. fi
  6193. shift # arg
  6194. dst_arg=$arg
  6195. - # Protect names problematic for 'test' and other utilities.
  6196. + # Protect names problematic for `test' and other utilities.
  6197. case $dst_arg in
  6198. -* | [=\(\)!]) dst_arg=./$dst_arg;;
  6199. esac
  6200. @@ -202,7 +202,7 @@
  6201. echo "$0: no input file specified." >&2
  6202. exit 1
  6203. fi
  6204. - # It's OK to call 'install-sh -d' without argument.
  6205. + # It's OK to call `install-sh -d' without argument.
  6206. # This can happen when creating conditional directories.
  6207. exit 0
  6208. fi
  6209. @@ -240,7 +240,7 @@
  6210. for src
  6211. do
  6212. - # Protect names problematic for 'test' and other utilities.
  6213. + # Protect names problematic for `test' and other utilities.
  6214. case $src in
  6215. -* | [=\(\)!]) src=./$src;;
  6216. esac
  6217. @@ -354,7 +354,7 @@
  6218. if test -z "$dir_arg" || {
  6219. # Check for POSIX incompatibilities with -m.
  6220. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
  6221. - # other-writable bit of parent directory when it shouldn't.
  6222. + # other-writeable bit of parent directory when it shouldn't.
  6223. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
  6224. ls_ld_tmpdir=`ls -ld "$tmpdir"`
  6225. case $ls_ld_tmpdir in
  6226. diff -Nur cifs-utils-6.1.orig/Makefile.am cifs-utils-6.1/Makefile.am
  6227. --- cifs-utils-6.1.orig/Makefile.am 2013-07-02 21:13:33.000000000 +0200
  6228. +++ cifs-utils-6.1/Makefile.am 2013-10-05 18:12:29.000000000 +0200
  6229. @@ -4,7 +4,7 @@
  6230. root_sbindir = $(ROOTSBINDIR)
  6231. root_sbin_PROGRAMS = mount.cifs
  6232. mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
  6233. -mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
  6234. +mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD) $(LIBOBJS)
  6235. man_MANS = mount.cifs.8
  6236. include_HEADERS = cifsidmap.h
  6237. @@ -16,7 +16,7 @@
  6238. if CONFIG_CIFSUPCALL
  6239. sbin_PROGRAMS += cifs.upcall
  6240. cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c
  6241. -cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD)
  6242. +cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD) $(LIBOBJS)
  6243. man_MANS += cifs.upcall.8
  6244. #
  6245. @@ -35,14 +35,14 @@
  6246. if CONFIG_CIFSCREDS
  6247. bin_PROGRAMS += cifscreds
  6248. cifscreds_SOURCES = cifscreds.c resolve_host.c util.c
  6249. -cifscreds_LDADD = -lkeyutils
  6250. +cifscreds_LDADD = -lkeyutils $(LIBOBJS)
  6251. man_MANS += cifscreds.1
  6252. endif
  6253. if CONFIG_CIFSIDMAP
  6254. sbin_PROGRAMS += cifs.idmap
  6255. cifs_idmap_SOURCES = cifs.idmap.c idmap_plugin.c
  6256. -cifs_idmap_LDADD = -lkeyutils -ldl
  6257. +cifs_idmap_LDADD = -lkeyutils -ldl $(LIBOBJS)
  6258. man_MANS += cifs.idmap.8
  6259. cifs.idmap.8: cifs.idmap.8.in
  6260. @@ -57,7 +57,7 @@
  6261. if CONFIG_CIFSACL
  6262. bin_PROGRAMS += getcifsacl
  6263. getcifsacl_SOURCES = getcifsacl.c idmap_plugin.c
  6264. -getcifsacl_LDADD = -ldl
  6265. +getcifsacl_LDADD = -ldl $(LIBOBJS)
  6266. man_MANS += getcifsacl.1
  6267. getcifsacl.1: getcifsacl.1.in
  6268. diff -Nur cifs-utils-6.1.orig/Makefile.in cifs-utils-6.1/Makefile.in
  6269. --- cifs-utils-6.1.orig/Makefile.in 2013-07-02 21:20:33.000000000 +0200
  6270. +++ cifs-utils-6.1/Makefile.in 2013-10-05 18:12:39.000000000 +0200
  6271. @@ -1,8 +1,9 @@
  6272. -# Makefile.in generated by automake 1.12.2 from Makefile.am.
  6273. +# Makefile.in generated by automake 1.11.6 from Makefile.am.
  6274. # @configure_input@
  6275. -# Copyright (C) 1994-2012 Free Software Foundation, Inc.
  6276. -
  6277. +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  6278. +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  6279. +# Foundation, Inc.
  6280. # This Makefile.in is free software; the Free Software Foundation
  6281. # gives unlimited permission to copy and/or distribute it,
  6282. # with or without modifications, as long as this notice is preserved.
  6283. @@ -49,8 +50,6 @@
  6284. NORMAL_UNINSTALL = :
  6285. PRE_UNINSTALL = :
  6286. POST_UNINSTALL = :
  6287. -build_triplet = @build@
  6288. -host_triplet = @host@
  6289. root_sbin_PROGRAMS = mount.cifs$(EXEEXT)
  6290. bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2)
  6291. sbin_PROGRAMS = $(am__EXEEXT_3) $(am__EXEEXT_4)
  6292. @@ -69,7 +68,7 @@
  6293. $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
  6294. $(srcdir)/config.h.in $(top_srcdir)/configure AUTHORS COPYING \
  6295. ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \
  6296. - install-sh missing
  6297. + gnu_getopt.c install-sh missing
  6298. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  6299. am__aclocal_m4_deps = $(top_srcdir)/aclocal/idmap.m4 \
  6300. $(top_srcdir)/aclocal/libcap.m4 $(top_srcdir)/configure.ac
  6301. @@ -96,7 +95,7 @@
  6302. @CONFIG_CIFSIDMAP_TRUE@am_cifs_idmap_OBJECTS = cifs.idmap.$(OBJEXT) \
  6303. @CONFIG_CIFSIDMAP_TRUE@ idmap_plugin.$(OBJEXT)
  6304. cifs_idmap_OBJECTS = $(am_cifs_idmap_OBJECTS)
  6305. -cifs_idmap_DEPENDENCIES =
  6306. +@CONFIG_CIFSIDMAP_TRUE@cifs_idmap_DEPENDENCIES = $(LIBOBJS)
  6307. am__cifs_upcall_SOURCES_DIST = cifs.upcall.c data_blob.c asn1.c \
  6308. spnego.c
  6309. @CONFIG_CIFSUPCALL_TRUE@am_cifs_upcall_OBJECTS = \
  6310. @@ -106,17 +105,17 @@
  6311. cifs_upcall_OBJECTS = $(am_cifs_upcall_OBJECTS)
  6312. am__DEPENDENCIES_1 =
  6313. @CONFIG_CIFSUPCALL_TRUE@cifs_upcall_DEPENDENCIES = \
  6314. -@CONFIG_CIFSUPCALL_TRUE@ $(am__DEPENDENCIES_1)
  6315. +@CONFIG_CIFSUPCALL_TRUE@ $(am__DEPENDENCIES_1) $(LIBOBJS)
  6316. am__cifscreds_SOURCES_DIST = cifscreds.c resolve_host.c util.c
  6317. @CONFIG_CIFSCREDS_TRUE@am_cifscreds_OBJECTS = cifscreds.$(OBJEXT) \
  6318. @CONFIG_CIFSCREDS_TRUE@ resolve_host.$(OBJEXT) util.$(OBJEXT)
  6319. cifscreds_OBJECTS = $(am_cifscreds_OBJECTS)
  6320. -cifscreds_DEPENDENCIES =
  6321. +@CONFIG_CIFSCREDS_TRUE@cifscreds_DEPENDENCIES = $(LIBOBJS)
  6322. am__getcifsacl_SOURCES_DIST = getcifsacl.c idmap_plugin.c
  6323. @CONFIG_CIFSACL_TRUE@am_getcifsacl_OBJECTS = getcifsacl.$(OBJEXT) \
  6324. @CONFIG_CIFSACL_TRUE@ idmap_plugin.$(OBJEXT)
  6325. getcifsacl_OBJECTS = $(am_getcifsacl_OBJECTS)
  6326. -getcifsacl_DEPENDENCIES =
  6327. +@CONFIG_CIFSACL_TRUE@getcifsacl_DEPENDENCIES = $(LIBOBJS)
  6328. idmapwb_so_SOURCES = idmapwb.c
  6329. idmapwb_so_OBJECTS = idmapwb.$(OBJEXT)
  6330. idmapwb_so_LDADD = $(LDADD)
  6331. @@ -124,7 +123,7 @@
  6332. resolve_host.$(OBJEXT) util.$(OBJEXT)
  6333. mount_cifs_OBJECTS = $(am_mount_cifs_OBJECTS)
  6334. mount_cifs_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
  6335. - $(am__DEPENDENCIES_1)
  6336. + $(LIBOBJS)
  6337. am__setcifsacl_SOURCES_DIST = setcifsacl.c idmap_plugin.c
  6338. @CONFIG_CIFSACL_TRUE@am_setcifsacl_OBJECTS = setcifsacl.$(OBJEXT) \
  6339. @CONFIG_CIFSACL_TRUE@ idmap_plugin.$(OBJEXT)
  6340. @@ -193,10 +192,9 @@
  6341. distclean-recursive maintainer-clean-recursive
  6342. AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
  6343. $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
  6344. - cscope distdir dist dist-all distcheck
  6345. + distdir dist dist-all distcheck
  6346. ETAGS = etags
  6347. CTAGS = ctags
  6348. -CSCOPE = cscope
  6349. DIST_SUBDIRS = $(SUBDIRS)
  6350. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  6351. distdir = $(PACKAGE)-$(VERSION)
  6352. @@ -207,7 +205,6 @@
  6353. && rm -rf "$(distdir)" \
  6354. || { sleep 5 && rm -rf "$(distdir)"; }; \
  6355. else :; fi
  6356. -am__post_remove_distdir = $(am__remove_distdir)
  6357. am__relativize = \
  6358. dir0=`pwd`; \
  6359. sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  6360. @@ -235,7 +232,6 @@
  6361. reldir="$$dir2"
  6362. DIST_ARCHIVES = $(distdir).tar.gz
  6363. GZIP_ENV = --best
  6364. -DIST_TARGETS = dist-gzip
  6365. distuninstallcheck_listfiles = find . -type f -print
  6366. am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  6367. | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  6368. @@ -246,7 +242,6 @@
  6369. AUTOHEADER = @AUTOHEADER@
  6370. AUTOMAKE = @AUTOMAKE@
  6371. AWK = @AWK@
  6372. -CAPNG_LDADD = @CAPNG_LDADD@
  6373. CC = @CC@
  6374. CCDEPMODE = @CCDEPMODE@
  6375. CFLAGS = @CFLAGS@
  6376. @@ -308,22 +303,14 @@
  6377. am__tar = @am__tar@
  6378. am__untar = @am__untar@
  6379. bindir = @bindir@
  6380. -build = @build@
  6381. build_alias = @build_alias@
  6382. -build_cpu = @build_cpu@
  6383. -build_os = @build_os@
  6384. -build_vendor = @build_vendor@
  6385. builddir = @builddir@
  6386. datadir = @datadir@
  6387. datarootdir = @datarootdir@
  6388. docdir = @docdir@
  6389. dvidir = @dvidir@
  6390. exec_prefix = @exec_prefix@
  6391. -host = @host@
  6392. host_alias = @host_alias@
  6393. -host_cpu = @host_cpu@
  6394. -host_os = @host_os@
  6395. -host_vendor = @host_vendor@
  6396. htmldir = @htmldir@
  6397. includedir = @includedir@
  6398. infodir = @infodir@
  6399. @@ -352,18 +339,18 @@
  6400. ACLOCAL_AMFLAGS = -I aclocal
  6401. root_sbindir = $(ROOTSBINDIR)
  6402. mount_cifs_SOURCES = mount.cifs.c mtab.c resolve_host.c util.c
  6403. -mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD)
  6404. +mount_cifs_LDADD = $(LIBCAP) $(CAPNG_LDADD) $(RT_LDADD) $(LIBOBJS)
  6405. man_MANS = mount.cifs.8 $(am__append_2) $(am__append_4) \
  6406. $(am__append_6) $(am__append_8) $(am__append_9)
  6407. include_HEADERS = cifsidmap.h
  6408. @CONFIG_CIFSUPCALL_TRUE@cifs_upcall_SOURCES = cifs.upcall.c data_blob.c asn1.c spnego.c
  6409. -@CONFIG_CIFSUPCALL_TRUE@cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD)
  6410. +@CONFIG_CIFSUPCALL_TRUE@cifs_upcall_LDADD = -ltalloc -lkeyutils $(KRB5_LDADD) $(LIBOBJS)
  6411. @CONFIG_CIFSCREDS_TRUE@cifscreds_SOURCES = cifscreds.c resolve_host.c util.c
  6412. -@CONFIG_CIFSCREDS_TRUE@cifscreds_LDADD = -lkeyutils
  6413. +@CONFIG_CIFSCREDS_TRUE@cifscreds_LDADD = -lkeyutils $(LIBOBJS)
  6414. @CONFIG_CIFSIDMAP_TRUE@cifs_idmap_SOURCES = cifs.idmap.c idmap_plugin.c
  6415. -@CONFIG_CIFSIDMAP_TRUE@cifs_idmap_LDADD = -lkeyutils -ldl
  6416. +@CONFIG_CIFSIDMAP_TRUE@cifs_idmap_LDADD = -lkeyutils -ldl $(LIBOBJS)
  6417. @CONFIG_CIFSACL_TRUE@getcifsacl_SOURCES = getcifsacl.c idmap_plugin.c
  6418. -@CONFIG_CIFSACL_TRUE@getcifsacl_LDADD = -ldl
  6419. +@CONFIG_CIFSACL_TRUE@getcifsacl_LDADD = -ldl $(LIBOBJS)
  6420. @CONFIG_CIFSACL_TRUE@setcifsacl_SOURCES = setcifsacl.c idmap_plugin.c
  6421. @CONFIG_CIFSACL_TRUE@setcifsacl_LDADD = -ldl
  6422. @CONFIG_PLUGIN_TRUE@plugindir = $(pkglibdir)
  6423. @@ -610,6 +597,7 @@
  6424. distclean-compile:
  6425. -rm -f *.tab.c
  6426. +@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/gnu_getopt.Po@am__quote@
  6427. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/asn1.Po@am__quote@
  6428. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cifs.idmap.Po@am__quote@
  6429. @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cifs.upcall.Po@am__quote@
  6430. @@ -747,12 +735,12 @@
  6431. dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
  6432. # This directory's subdirectories are mostly independent; you can cd
  6433. -# into them and run 'make' without going through this Makefile.
  6434. -# To change the values of 'make' variables: instead of editing Makefiles,
  6435. -# (1) if the variable is set in 'config.status', edit 'config.status'
  6436. -# (which will cause the Makefiles to be regenerated when you run 'make');
  6437. -# (2) otherwise, pass the desired values on the 'make' command line.
  6438. -$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
  6439. +# into them and run `make' without going through this Makefile.
  6440. +# To change the values of `make' variables: instead of editing Makefiles,
  6441. +# (1) if the variable is set in `config.status', edit `config.status'
  6442. +# (which will cause the Makefiles to be regenerated when you run `make');
  6443. +# (2) otherwise, pass the desired values on the `make' command line.
  6444. +$(RECURSIVE_TARGETS):
  6445. @fail= failcom='exit 1'; \
  6446. for f in x $$MAKEFLAGS; do \
  6447. case $$f in \
  6448. @@ -762,11 +750,7 @@
  6449. done; \
  6450. dot_seen=no; \
  6451. target=`echo $@ | sed s/-recursive//`; \
  6452. - case "$@" in \
  6453. - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  6454. - *) list='$(SUBDIRS)' ;; \
  6455. - esac; \
  6456. - for subdir in $$list; do \
  6457. + list='$(SUBDIRS)'; for subdir in $$list; do \
  6458. echo "Making $$target in $$subdir"; \
  6459. if test "$$subdir" = "."; then \
  6460. dot_seen=yes; \
  6461. @@ -780,6 +764,37 @@
  6462. if test "$$dot_seen" = "no"; then \
  6463. $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  6464. fi; test -z "$$fail"
  6465. +
  6466. +$(RECURSIVE_CLEAN_TARGETS):
  6467. + @fail= failcom='exit 1'; \
  6468. + for f in x $$MAKEFLAGS; do \
  6469. + case $$f in \
  6470. + *=* | --[!k]*);; \
  6471. + *k*) failcom='fail=yes';; \
  6472. + esac; \
  6473. + done; \
  6474. + dot_seen=no; \
  6475. + case "$@" in \
  6476. + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  6477. + *) list='$(SUBDIRS)' ;; \
  6478. + esac; \
  6479. + rev=''; for subdir in $$list; do \
  6480. + if test "$$subdir" = "."; then :; else \
  6481. + rev="$$subdir $$rev"; \
  6482. + fi; \
  6483. + done; \
  6484. + rev="$$rev ."; \
  6485. + target=`echo $@ | sed s/-recursive//`; \
  6486. + for subdir in $$rev; do \
  6487. + echo "Making $$target in $$subdir"; \
  6488. + if test "$$subdir" = "."; then \
  6489. + local_target="$$target-am"; \
  6490. + else \
  6491. + local_target="$$target"; \
  6492. + fi; \
  6493. + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  6494. + || eval $$failcom; \
  6495. + done && test -z "$$fail"
  6496. tags-recursive:
  6497. list='$(SUBDIRS)'; for subdir in $$list; do \
  6498. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
  6499. @@ -788,10 +803,6 @@
  6500. list='$(SUBDIRS)'; for subdir in $$list; do \
  6501. test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
  6502. done
  6503. -cscopelist-recursive:
  6504. - list='$(SUBDIRS)'; for subdir in $$list; do \
  6505. - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
  6506. - done
  6507. ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
  6508. list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
  6509. @@ -855,32 +866,8 @@
  6510. && $(am__cd) $(top_srcdir) \
  6511. && gtags -i $(GTAGS_ARGS) "$$here"
  6512. -cscope: cscope.files
  6513. - test ! -s cscope.files \
  6514. - || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
  6515. -
  6516. -clean-cscope:
  6517. - -rm -f cscope.files
  6518. -
  6519. -cscope.files: clean-cscope cscopelist-recursive cscopelist
  6520. -
  6521. -cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
  6522. - list='$(SOURCES) $(HEADERS) $(LISP)'; \
  6523. - case "$(srcdir)" in \
  6524. - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  6525. - *) sdir=$(subdir)/$(srcdir) ;; \
  6526. - esac; \
  6527. - for i in $$list; do \
  6528. - if test -f "$$i"; then \
  6529. - echo "$(subdir)/$$i"; \
  6530. - else \
  6531. - echo "$$sdir/$$i"; \
  6532. - fi; \
  6533. - done >> $(top_builddir)/cscope.files
  6534. -
  6535. distclean-tags:
  6536. -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  6537. - -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
  6538. distdir: $(DISTFILES)
  6539. @list='$(MANS)'; if test -n "$$list"; then \
  6540. @@ -889,10 +876,10 @@
  6541. if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
  6542. if test -n "$$list" && \
  6543. grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
  6544. - echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
  6545. + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
  6546. grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
  6547. echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
  6548. - echo " typically 'make maintainer-clean' will remove them" >&2; \
  6549. + echo " typically \`make maintainer-clean' will remove them" >&2; \
  6550. exit 1; \
  6551. else :; fi; \
  6552. else :; fi
  6553. @@ -961,36 +948,40 @@
  6554. || chmod -R a+r "$(distdir)"
  6555. dist-gzip: distdir
  6556. tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  6557. - $(am__post_remove_distdir)
  6558. + $(am__remove_distdir)
  6559. dist-bzip2: distdir
  6560. tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  6561. - $(am__post_remove_distdir)
  6562. + $(am__remove_distdir)
  6563. dist-lzip: distdir
  6564. tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  6565. - $(am__post_remove_distdir)
  6566. + $(am__remove_distdir)
  6567. +
  6568. +dist-lzma: distdir
  6569. + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
  6570. + $(am__remove_distdir)
  6571. dist-xz: distdir
  6572. tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  6573. - $(am__post_remove_distdir)
  6574. + $(am__remove_distdir)
  6575. dist-tarZ: distdir
  6576. tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  6577. - $(am__post_remove_distdir)
  6578. + $(am__remove_distdir)
  6579. dist-shar: distdir
  6580. shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  6581. - $(am__post_remove_distdir)
  6582. + $(am__remove_distdir)
  6583. dist-zip: distdir
  6584. -rm -f $(distdir).zip
  6585. zip -rq $(distdir).zip $(distdir)
  6586. - $(am__post_remove_distdir)
  6587. + $(am__remove_distdir)
  6588. -dist dist-all:
  6589. - $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  6590. - $(am__post_remove_distdir)
  6591. +dist dist-all: distdir
  6592. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  6593. + $(am__remove_distdir)
  6594. # This target untars the dist file and tries a VPATH configuration. Then
  6595. # it guarantees that the distribution is self-contained by making another
  6596. @@ -1001,6 +992,8 @@
  6597. GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  6598. *.tar.bz2*) \
  6599. bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  6600. + *.tar.lzma*) \
  6601. + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
  6602. *.tar.lz*) \
  6603. lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  6604. *.tar.xz*) \
  6605. @@ -1046,7 +1039,7 @@
  6606. && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  6607. && cd "$$am__cwd" \
  6608. || exit 1
  6609. - $(am__post_remove_distdir)
  6610. + $(am__remove_distdir)
  6611. @(echo "$(distdir) archives ready for distribution: "; \
  6612. list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  6613. sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  6614. @@ -1122,7 +1115,7 @@
  6615. distclean: distclean-recursive
  6616. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  6617. - -rm -rf ./$(DEPDIR)
  6618. + -rm -rf $(DEPDIR) ./$(DEPDIR)
  6619. -rm -f Makefile
  6620. distclean-am: clean-am distclean-compile distclean-generic \
  6621. distclean-hdr distclean-tags
  6622. @@ -1171,7 +1164,7 @@
  6623. maintainer-clean: maintainer-clean-recursive
  6624. -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  6625. -rm -rf $(top_srcdir)/autom4te.cache
  6626. - -rm -rf ./$(DEPDIR)
  6627. + -rm -rf $(DEPDIR) ./$(DEPDIR)
  6628. -rm -f Makefile
  6629. maintainer-clean-am: distclean-am maintainer-clean-generic
  6630. @@ -1194,29 +1187,27 @@
  6631. uninstall-man: uninstall-man1 uninstall-man8
  6632. .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
  6633. - cscopelist-recursive ctags-recursive install-am install-strip \
  6634. - tags-recursive
  6635. + ctags-recursive install-am install-strip tags-recursive
  6636. .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
  6637. all all-am am--refresh check check-am clean clean-binPROGRAMS \
  6638. - clean-cscope clean-generic clean-local clean-pluginPROGRAMS \
  6639. - clean-root_sbinPROGRAMS clean-sbinPROGRAMS cscope cscopelist \
  6640. - cscopelist-recursive ctags ctags-recursive dist dist-all \
  6641. - dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ dist-xz \
  6642. - dist-zip distcheck distclean distclean-compile \
  6643. - distclean-generic distclean-hdr distclean-tags distcleancheck \
  6644. - distdir distuninstallcheck dvi dvi-am html html-am info \
  6645. - info-am install install-am install-binPROGRAMS install-data \
  6646. - install-data-am install-dvi install-dvi-am install-exec \
  6647. - install-exec-am install-html install-html-am \
  6648. - install-includeHEADERS install-info install-info-am \
  6649. - install-man install-man1 install-man8 install-pdf \
  6650. - install-pdf-am install-pluginPROGRAMS install-ps install-ps-am \
  6651. - install-root_sbinPROGRAMS install-sbinPROGRAMS install-strip \
  6652. - installcheck installcheck-am installdirs installdirs-am \
  6653. - maintainer-clean maintainer-clean-generic mostlyclean \
  6654. - mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
  6655. - tags tags-recursive uninstall uninstall-am \
  6656. + clean-generic clean-local clean-pluginPROGRAMS \
  6657. + clean-root_sbinPROGRAMS clean-sbinPROGRAMS ctags \
  6658. + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzip \
  6659. + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
  6660. + distclean distclean-compile distclean-generic distclean-hdr \
  6661. + distclean-tags distcleancheck distdir distuninstallcheck dvi \
  6662. + dvi-am html html-am info info-am install install-am \
  6663. + install-binPROGRAMS install-data install-data-am install-dvi \
  6664. + install-dvi-am install-exec install-exec-am install-html \
  6665. + install-html-am install-includeHEADERS install-info \
  6666. + install-info-am install-man install-man1 install-man8 \
  6667. + install-pdf install-pdf-am install-pluginPROGRAMS install-ps \
  6668. + install-ps-am install-root_sbinPROGRAMS install-sbinPROGRAMS \
  6669. + install-strip installcheck installcheck-am installdirs \
  6670. + installdirs-am maintainer-clean maintainer-clean-generic \
  6671. + mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
  6672. + ps ps-am tags tags-recursive uninstall uninstall-am \
  6673. uninstall-binPROGRAMS uninstall-includeHEADERS uninstall-man \
  6674. uninstall-man1 uninstall-man8 uninstall-pluginPROGRAMS \
  6675. uninstall-root_sbinPROGRAMS uninstall-sbinPROGRAMS
  6676. diff -Nur cifs-utils-6.1.orig/missing cifs-utils-6.1/missing
  6677. --- cifs-utils-6.1.orig/missing 2013-07-02 21:20:33.000000000 +0200
  6678. +++ cifs-utils-6.1/missing 2013-10-05 18:12:39.000000000 +0200
  6679. @@ -1,9 +1,10 @@
  6680. #! /bin/sh
  6681. # Common stub for a few missing GNU programs while installing.
  6682. -scriptversion=2012-01-06.18; # UTC
  6683. +scriptversion=2012-01-06.13; # UTC
  6684. -# Copyright (C) 1996-2012 Free Software Foundation, Inc.
  6685. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
  6686. +# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
  6687. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
  6688. # This program is free software; you can redistribute it and/or modify
  6689. @@ -25,7 +26,7 @@
  6690. # the same distribution terms that you use for the rest of that program.
  6691. if test $# -eq 0; then
  6692. - echo 1>&2 "Try '$0 --help' for more information"
  6693. + echo 1>&2 "Try \`$0 --help' for more information"
  6694. exit 1
  6695. fi
  6696. @@ -33,7 +34,7 @@
  6697. sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
  6698. sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
  6699. -# In the cases where this matters, 'missing' is being run in the
  6700. +# In the cases where this matters, `missing' is being run in the
  6701. # srcdir already.
  6702. if test -f configure.ac; then
  6703. configure_ac=configure.ac
  6704. @@ -64,7 +65,7 @@
  6705. echo "\
  6706. $0 [OPTION]... PROGRAM [ARGUMENT]...
  6707. -Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  6708. +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
  6709. error status if there is no known handling for PROGRAM.
  6710. Options:
  6711. @@ -73,20 +74,20 @@
  6712. --run try to run the given command, and emulate it if it fails
  6713. Supported PROGRAM values:
  6714. - aclocal touch file 'aclocal.m4'
  6715. - autoconf touch file 'configure'
  6716. - autoheader touch file 'config.h.in'
  6717. + aclocal touch file \`aclocal.m4'
  6718. + autoconf touch file \`configure'
  6719. + autoheader touch file \`config.h.in'
  6720. autom4te touch the output file, or create a stub one
  6721. - automake touch all 'Makefile.in' files
  6722. - bison create 'y.tab.[ch]', if possible, from existing .[ch]
  6723. - flex create 'lex.yy.c', if possible, from existing .c
  6724. + automake touch all \`Makefile.in' files
  6725. + bison create \`y.tab.[ch]', if possible, from existing .[ch]
  6726. + flex create \`lex.yy.c', if possible, from existing .c
  6727. help2man touch the output file
  6728. - lex create 'lex.yy.c', if possible, from existing .c
  6729. + lex create \`lex.yy.c', if possible, from existing .c
  6730. makeinfo touch the output file
  6731. - yacc create 'y.tab.[ch]', if possible, from existing .[ch]
  6732. + yacc create \`y.tab.[ch]', if possible, from existing .[ch]
  6733. -Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
  6734. -'g' are ignored when checking the name.
  6735. +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
  6736. +\`g' are ignored when checking the name.
  6737. Send bug reports to <bug-automake@gnu.org>."
  6738. exit $?
  6739. @@ -98,8 +99,8 @@
  6740. ;;
  6741. -*)
  6742. - echo 1>&2 "$0: Unknown '$1' option"
  6743. - echo 1>&2 "Try '$0 --help' for more information"
  6744. + echo 1>&2 "$0: Unknown \`$1' option"
  6745. + echo 1>&2 "Try \`$0 --help' for more information"
  6746. exit 1
  6747. ;;
  6748. @@ -126,7 +127,7 @@
  6749. exit 1
  6750. elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
  6751. # Could not run --version or --help. This is probably someone
  6752. - # running '$TOOL --version' or '$TOOL --help' to check whether
  6753. + # running `$TOOL --version' or `$TOOL --help' to check whether
  6754. # $TOOL exists and not knowing $TOOL uses missing.
  6755. exit 1
  6756. fi
  6757. @@ -138,27 +139,27 @@
  6758. case $program in
  6759. aclocal*)
  6760. echo 1>&2 "\
  6761. -WARNING: '$1' is $msg. You should only need it if
  6762. - you modified 'acinclude.m4' or '${configure_ac}'. You might want
  6763. - to install the Automake and Perl packages. Grab them from
  6764. +WARNING: \`$1' is $msg. You should only need it if
  6765. + you modified \`acinclude.m4' or \`${configure_ac}'. You might want
  6766. + to install the \`Automake' and \`Perl' packages. Grab them from
  6767. any GNU archive site."
  6768. touch aclocal.m4
  6769. ;;
  6770. autoconf*)
  6771. echo 1>&2 "\
  6772. -WARNING: '$1' is $msg. You should only need it if
  6773. - you modified '${configure_ac}'. You might want to install the
  6774. - Autoconf and GNU m4 packages. Grab them from any GNU
  6775. +WARNING: \`$1' is $msg. You should only need it if
  6776. + you modified \`${configure_ac}'. You might want to install the
  6777. + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
  6778. archive site."
  6779. touch configure
  6780. ;;
  6781. autoheader*)
  6782. echo 1>&2 "\
  6783. -WARNING: '$1' is $msg. You should only need it if
  6784. - you modified 'acconfig.h' or '${configure_ac}'. You might want
  6785. - to install the Autoconf and GNU m4 packages. Grab them
  6786. +WARNING: \`$1' is $msg. You should only need it if
  6787. + you modified \`acconfig.h' or \`${configure_ac}'. You might want
  6788. + to install the \`Autoconf' and \`GNU m4' packages. Grab them
  6789. from any GNU archive site."
  6790. files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  6791. test -z "$files" && files="config.h"
  6792. @@ -175,9 +176,9 @@
  6793. automake*)
  6794. echo 1>&2 "\
  6795. -WARNING: '$1' is $msg. You should only need it if
  6796. - you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
  6797. - You might want to install the Automake and Perl packages.
  6798. +WARNING: \`$1' is $msg. You should only need it if
  6799. + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
  6800. + You might want to install the \`Automake' and \`Perl' packages.
  6801. Grab them from any GNU archive site."
  6802. find . -type f -name Makefile.am -print |
  6803. sed 's/\.am$/.in/' |
  6804. @@ -186,10 +187,10 @@
  6805. autom4te*)
  6806. echo 1>&2 "\
  6807. -WARNING: '$1' is needed, but is $msg.
  6808. +WARNING: \`$1' is needed, but is $msg.
  6809. You might have modified some files without having the
  6810. proper tools for further handling them.
  6811. - You can get '$1' as part of Autoconf from any GNU
  6812. + You can get \`$1' as part of \`Autoconf' from any GNU
  6813. archive site."
  6814. file=`echo "$*" | sed -n "$sed_output"`
  6815. @@ -209,10 +210,10 @@
  6816. bison*|yacc*)
  6817. echo 1>&2 "\
  6818. -WARNING: '$1' $msg. You should only need it if
  6819. - you modified a '.y' file. You may need the Bison package
  6820. +WARNING: \`$1' $msg. You should only need it if
  6821. + you modified a \`.y' file. You may need the \`Bison' package
  6822. in order for those modifications to take effect. You can get
  6823. - Bison from any GNU archive site."
  6824. + \`Bison' from any GNU archive site."
  6825. rm -f y.tab.c y.tab.h
  6826. if test $# -ne 1; then
  6827. eval LASTARG=\${$#}
  6828. @@ -239,10 +240,10 @@
  6829. lex*|flex*)
  6830. echo 1>&2 "\
  6831. -WARNING: '$1' is $msg. You should only need it if
  6832. - you modified a '.l' file. You may need the Flex package
  6833. +WARNING: \`$1' is $msg. You should only need it if
  6834. + you modified a \`.l' file. You may need the \`Flex' package
  6835. in order for those modifications to take effect. You can get
  6836. - Flex from any GNU archive site."
  6837. + \`Flex' from any GNU archive site."
  6838. rm -f lex.yy.c
  6839. if test $# -ne 1; then
  6840. eval LASTARG=\${$#}
  6841. @@ -262,10 +263,10 @@
  6842. help2man*)
  6843. echo 1>&2 "\
  6844. -WARNING: '$1' is $msg. You should only need it if
  6845. +WARNING: \`$1' is $msg. You should only need it if
  6846. you modified a dependency of a manual page. You may need the
  6847. - Help2man package in order for those modifications to take
  6848. - effect. You can get Help2man from any GNU archive site."
  6849. + \`Help2man' package in order for those modifications to take
  6850. + effect. You can get \`Help2man' from any GNU archive site."
  6851. file=`echo "$*" | sed -n "$sed_output"`
  6852. test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  6853. @@ -280,12 +281,12 @@
  6854. makeinfo*)
  6855. echo 1>&2 "\
  6856. -WARNING: '$1' is $msg. You should only need it if
  6857. - you modified a '.texi' or '.texinfo' file, or any other file
  6858. +WARNING: \`$1' is $msg. You should only need it if
  6859. + you modified a \`.texi' or \`.texinfo' file, or any other file
  6860. indirectly affecting the aspect of the manual. The spurious
  6861. - call might also be the consequence of using a buggy 'make' (AIX,
  6862. - DU, IRIX). You might want to install the Texinfo package or
  6863. - the GNU make package. Grab either from any GNU archive site."
  6864. + call might also be the consequence of using a buggy \`make' (AIX,
  6865. + DU, IRIX). You might want to install the \`Texinfo' package or
  6866. + the \`GNU make' package. Grab either from any GNU archive site."
  6867. # The file to touch is that specified with -o ...
  6868. file=`echo "$*" | sed -n "$sed_output"`
  6869. test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
  6870. @@ -309,12 +310,12 @@
  6871. *)
  6872. echo 1>&2 "\
  6873. -WARNING: '$1' is needed, and is $msg.
  6874. +WARNING: \`$1' is needed, and is $msg.
  6875. You might have modified some files without having the
  6876. - proper tools for further handling them. Check the 'README' file,
  6877. + proper tools for further handling them. Check the \`README' file,
  6878. it often tells you about the needed prerequisites for installing
  6879. this package. You may also peek at any GNU archive site, in case
  6880. - some other package would contain this missing '$1' program."
  6881. + some other package would contain this missing \`$1' program."
  6882. exit 1
  6883. ;;
  6884. esac
  6885. diff -Nur cifs-utils-6.1.orig/mount.cifs.c cifs-utils-6.1/mount.cifs.c
  6886. --- cifs-utils-6.1.orig/mount.cifs.c 2013-07-02 21:13:33.000000000 +0200
  6887. +++ cifs-utils-6.1/mount.cifs.c 2013-10-05 18:12:29.000000000 +0200
  6888. @@ -34,7 +34,13 @@
  6889. #include <sys/utsname.h>
  6890. #include <sys/socket.h>
  6891. #include <arpa/inet.h>
  6892. +#ifdef HAVE_GNU_GETOPT_LONG
  6893. #include <getopt.h>
  6894. +#else
  6895. +#include "gnu_getopt.h"
  6896. +#define getopt_long gnu_getopt_long
  6897. +#define option gnu_option
  6898. +#endif
  6899. #include <errno.h>
  6900. #include <netdb.h>
  6901. #include <string.h>
  6902. diff -Nur cifs-utils-6.1.orig/mtab.c cifs-utils-6.1/mtab.c
  6903. --- cifs-utils-6.1.orig/mtab.c 2013-07-02 21:13:33.000000000 +0200
  6904. +++ cifs-utils-6.1/mtab.c 2013-10-05 18:12:29.000000000 +0200
  6905. @@ -36,6 +36,7 @@
  6906. #include <time.h>
  6907. #include <fcntl.h>
  6908. #include <mntent.h>
  6909. +#include <paths.h>
  6910. #include <stdlib.h>
  6911. #include <signal.h>
  6912. #include "mount.h"