| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478 |
- Only in aide-0.9x: Makefile
- Only in aide-0.9x: aide.spec
- Only in aide-0.9x: autom4te.cache
- Only in aide-0.9x: config.h
- diff -r -u aide-0.9/config.h.in aide-0.9x/config.h.in
- --- aide-0.9/config.h.in Tue Jun 4 10:31:20 2002
- +++ aide-0.9x/config.h.in Mon Oct 21 15:31:02 2002
- @@ -129,6 +129,9 @@
- /* Define if you have the stricmp function. */
- #undef HAVE_STRICMP
-
- +/* Define if you have the strnstr function. */
- +#undef HAVE_STRNSTR
- +
- /* Define if you have the ustat function. */
- #undef HAVE_USTAT
-
- Only in aide-0.9x: config.log
- Only in aide-0.9x: config.status
- diff -r -u aide-0.9/configure aide-0.9x/configure
- --- aide-0.9/configure Tue Jun 4 10:31:27 2002
- +++ aide-0.9x/configure Fri Nov 15 09:11:34 2002
- @@ -1,83 +1,310 @@
- #! /bin/sh
- -
- # Guess values for system-dependent variables and create Makefiles.
- -# Generated automatically using autoconf version 2.13
- -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
- +# Generated by GNU Autoconf 2.53.
- #
- +# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
- +# Free Software Foundation, Inc.
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
-
- -# Defaults:
- -ac_help=
- +if expr a : '\(a\)' >/dev/null 2>&1; then
- + as_expr=expr
- +else
- + as_expr=false
- +fi
- +
- +
- +## --------------------- ##
- +## M4sh Initialization. ##
- +## --------------------- ##
- +
- +# Be Bourne compatible
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- + emulate sh
- + NULLCMD=:
- +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- + set -o posix
- +fi
- +
- +# NLS nuisances.
- +# Support unset when possible.
- +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
- + as_unset=unset
- +else
- + as_unset=false
- +fi
- +
- +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
- + { $as_unset LANG || test "${LANG+set}" != set; } ||
- + { LANG=C; export LANG; }
- +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
- + { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
- + { LC_ALL=C; export LC_ALL; }
- +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
- + { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
- + { LC_TIME=C; export LC_TIME; }
- +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
- + { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
- + { LC_CTYPE=C; export LC_CTYPE; }
- +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
- + { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
- + { LANGUAGE=C; export LANGUAGE; }
- +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
- + { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
- + { LC_COLLATE=C; export LC_COLLATE; }
- +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
- + { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
- + { LC_NUMERIC=C; export LC_NUMERIC; }
- +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
- + { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
- + { LC_MESSAGES=C; export LC_MESSAGES; }
- +
- +
- +# Name of the executable.
- +as_me=`(basename "$0") 2>/dev/null ||
- +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)$' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X/"$0" |
- + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
- + /^X\/\(\/\/\)$/{ s//\1/; q; }
- + /^X\/\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- +
- +# PATH needs CR, and LINENO needs CR and PATH.
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
- +
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + echo "#! /bin/sh" >conftest.sh
- + echo "exit 0" >>conftest.sh
- + chmod +x conftest.sh
- + if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
- + PATH_SEPARATOR=';'
- + else
- + PATH_SEPARATOR=:
- + fi
- + rm -f conftest.sh
- +fi
- +
- +
- + as_lineno_1=$LINENO
- + as_lineno_2=$LINENO
- + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- + test "x$as_lineno_1" != "x$as_lineno_2" &&
- + test "x$as_lineno_3" = "x$as_lineno_2" || {
- + # Find who we are. Look in the path if we contain no path at all
- + # relative or not.
- + case $0 in
- + *[\\/]* ) as_myself=$0 ;;
- + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- +done
- +
- + ;;
- + esac
- + # We did not find ourselves, most probably we were run as `sh COMMAND'
- + # in which case we are not to be found in the path.
- + if test "x$as_myself" = x; then
- + as_myself=$0
- + fi
- + if test ! -f "$as_myself"; then
- + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
- + { (exit 1); exit 1; }; }
- + fi
- + case $CONFIG_SHELL in
- + '')
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for as_base in sh bash ksh sh5; do
- + case $as_dir in
- + /*)
- + if ("$as_dir/$as_base" -c '
- + as_lineno_1=$LINENO
- + as_lineno_2=$LINENO
- + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- + test "x$as_lineno_1" != "x$as_lineno_2" &&
- + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
- + CONFIG_SHELL=$as_dir/$as_base
- + export CONFIG_SHELL
- + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
- + fi;;
- + esac
- + done
- +done
- +;;
- + esac
- +
- + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- + # uniformly replaced by the line number. The first 'sed' inserts a
- + # line-number line before each line; the second 'sed' does the real
- + # work. The second script uses 'N' to pair each line-number line
- + # with the numbered line, and appends trailing '-' during
- + # substitution so that $LINENO is not a special case at line end.
- + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
- + sed '=' <$as_myself |
- + sed '
- + N
- + s,$,-,
- + : loop
- + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
- + t loop
- + s,-$,,
- + s,^['$as_cr_digits']*\n,,
- + ' >$as_me.lineno &&
- + chmod +x $as_me.lineno ||
- + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
- + { (exit 1); exit 1; }; }
- +
- + # Don't try to exec as it changes $[0], causing all sort of problems
- + # (the dirname of $[0] is not the place where we might find the
- + # original and so on. Autoconf is especially sensible to this).
- + . ./$as_me.lineno
- + # Exit status is that of the last command.
- + exit
- +}
- +
- +
- +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
- + *c*,-n*) ECHO_N= ECHO_C='
- +' ECHO_T=' ' ;;
- + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
- + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
- +esac
- +
- +if expr a : '\(a\)' >/dev/null 2>&1; then
- + as_expr=expr
- +else
- + as_expr=false
- +fi
- +
- +rm -f conf$$ conf$$.exe conf$$.file
- +echo >conf$$.file
- +if ln -s conf$$.file conf$$ 2>/dev/null; then
- + # We could just check for DJGPP; but this test a) works b) is more generic
- + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
- + if test -f conf$$.exe; then
- + # Don't use ln at all; we don't have any links
- + as_ln_s='cp -p'
- + else
- + as_ln_s='ln -s'
- + fi
- +elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- +else
- + as_ln_s='cp -p'
- +fi
- +rm -f conf$$ conf$$.exe conf$$.file
- +
- +as_executable_p="test -f"
- +
- +# Sed expression to map a string onto a valid CPP name.
- +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
- +
- +# Sed expression to map a string onto a valid variable name.
- +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
- +
- +
- +# IFS
- +# We need space, tab and new line, in precisely that order.
- +as_nl='
- +'
- +IFS=" $as_nl"
- +
- +# CDPATH.
- +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
- +
- +
- +# Name of the host.
- +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
- +# so uname gets run too.
- +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
- +
- +exec 6>&1
- +
- +#
- +# Initializations.
- +#
- ac_default_prefix=/usr/local
- -# Any additions from configure.in:
- -ac_help="$ac_help
- - --enable-maintainer-mode enable make rules and dependencies not useful
- - (and sometimes confusing) to the casual installer"
- -ac_help="$ac_help
- - --with-extra-includes Specify additional paths to find headerfiles"
- -ac_help="$ac_help
- - --with-extra-libs Specify aditional paths to find libraries"
- -ac_help="$ac_help
- - --with-extra-link-libs Specify aditional libraries to link"
- -ac_help="$ac_help
- ---without-mmap Don't use mmap. Useful on some platforms with slow mmap"
- -ac_help="$ac_help
- ---with-locale use locale stuff"
- -ac_help="$ac_help
- ---with-syslog_ident Specify syslog ident"
- -ac_help="$ac_help
- ---with-syslog_facility Specify syslog facility, see man syslog for options"
- -ac_help="$ac_help
- ---with-syslog_logopt Specify syslog logopt, see man syslog for options"
- -ac_help="$ac_help
- ---with-syslog_priority Specify syslog priority, see man syslog for options"
- -ac_help="$ac_help
- ---with-zlib use zlib compression"
- -ac_help="$ac_help
- ---with-sun-acl use ACL on solaris (no checking)"
- -ac_help="$ac_help
- ---with-config_file=config_file use config_file as the default
- - config file"
- -ac_help="$ac_help
- ---with-gnu-regexp use the bundled GNU regexp(use only if necessary)"
- -ac_help="$ac_help
- ---with-gcrypt use gcrypt library"
- -ac_help="$ac_help
- ---with-confighmactype=TYPE Hash type to use for checking config.
- - Valid values are md5 and sha1."
- -ac_help="$ac_help
- ---with-confighmackey=KEY HMAC hash key to use for checking config.
- - Must be a base64 encoded byte stream.
- - Maximum string length is 31 chars."
- -ac_help="$ac_help
- ---with-dbhmactype=TYPE Hash type to use for checking db.
- - Valid values are md5 and sha1."
- -ac_help="$ac_help
- ---with-dbhmackey=KEY HMAC hash key to use for checking db.
- - Must be a base64 encoded byte stream.
- - Maximum string lentgth is 31 chars."
- -ac_help="$ac_help
- ---enable-forced_configmd Forces the config to have checksum.
- - Also disables --config-check"
- -ac_help="$ac_help
- ---enable-forced_dbmd Forces the file/pipe database's to have checksum.
- - This will be the default in the next release."
- -ac_help="$ac_help
- ---with-initial_errors_to=URL Where errors should go while checking config.
- - Default is stderr."
- -ac_help="$ac_help
- ---with-psql use postgres sql library for storing databases"
- +cross_compiling=no
- +subdirs=
- +MFLAGS=
- +MAKEFLAGS=
- +SHELL=${CONFIG_SHELL-/bin/sh}
- +
- +# Maximum number of lines to put in a shell here document.
- +# This variable seems obsolete. It should probably be removed, and
- +# only ac_max_sed_lines should be used.
- +: ${ac_max_here_lines=38}
- +
- +# Identity of this package.
- +PACKAGE_NAME=
- +PACKAGE_TARNAME=
- +PACKAGE_VERSION=
- +PACKAGE_STRING=
- +PACKAGE_BUGREPORT=
- +
- +ac_unique_file="src/aide.c"
- +# Factoring default headers for most tests.
- +ac_includes_default="\
- +#include <stdio.h>
- +#if HAVE_SYS_TYPES_H
- +# include <sys/types.h>
- +#endif
- +#if HAVE_SYS_STAT_H
- +# include <sys/stat.h>
- +#endif
- +#if STDC_HEADERS
- +# include <stdlib.h>
- +# include <stddef.h>
- +#else
- +# if HAVE_STDLIB_H
- +# include <stdlib.h>
- +# endif
- +#endif
- +#if HAVE_STRING_H
- +# if !STDC_HEADERS && HAVE_MEMORY_H
- +# include <memory.h>
- +# endif
- +# include <string.h>
- +#endif
- +#if HAVE_STRINGS_H
- +# include <strings.h>
- +#endif
- +#if HAVE_INTTYPES_H
- +# include <inttypes.h>
- +#else
- +# if HAVE_STDINT_H
- +# include <stdint.h>
- +# endif
- +#endif
- +#if HAVE_UNISTD_H
- +# include <unistd.h>
- +#endif"
- +
-
- # Initialize some variables set by options.
- +ac_init_help=
- +ac_init_version=false
- # The variables have the same names as the options, with
- # dashes changed to underlines.
- -build=NONE
- -cache_file=./config.cache
- +cache_file=/dev/null
- exec_prefix=NONE
- -host=NONE
- no_create=
- -nonopt=NONE
- no_recursion=
- prefix=NONE
- program_prefix=NONE
- @@ -86,10 +313,15 @@
- silent=
- site=
- srcdir=
- -target=NONE
- verbose=
- x_includes=NONE
- x_libraries=NONE
- +
- +# Installation directory options.
- +# These are left unexpanded so users can "make install exec_prefix=/foo"
- +# and all the variables that are supposed to be based on exec_prefix
- +# by default will actually change.
- +# Use braces instead of parens because sh, perl, etc. also accept them.
- bindir='${exec_prefix}/bin'
- sbindir='${exec_prefix}/sbin'
- libexecdir='${exec_prefix}/libexec'
- @@ -103,17 +335,9 @@
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-
- -# Initialize some other variables.
- -subdirs=
- -MFLAGS= MAKEFLAGS=
- -SHELL=${CONFIG_SHELL-/bin/sh}
- -# Maximum number of lines to put in a shell here document.
- -ac_max_here_lines=12
- -
- ac_prev=
- for ac_option
- do
- -
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval "$ac_prev=\$ac_option"
- @@ -121,59 +345,59 @@
- continue
- fi
-
- - case "$ac_option" in
- - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- - *) ac_optarg= ;;
- - esac
- + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- - case "$ac_option" in
- + case $ac_option in
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- - bindir="$ac_optarg" ;;
- + bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- - ac_prev=build ;;
- + ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- - build="$ac_optarg" ;;
- + build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- - cache_file="$ac_optarg" ;;
- + cache_file=$ac_optarg ;;
- +
- + --config-cache | -C)
- + cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
- | --da=*)
- - datadir="$ac_optarg" ;;
- + datadir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
- + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- - fi
- - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- - eval "enable_${ac_feature}=no" ;;
- + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- + { (exit 1); exit 1; }; }
- + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- + eval "enable_$ac_feature=no" ;;
-
- -enable-* | --enable-*)
- - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
- + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- - fi
- - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- - case "$ac_option" in
- - *=*) ;;
- + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
- + { (exit 1); exit 1; }; }
- + ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- + case $ac_option in
- + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
- - eval "enable_${ac_feature}='$ac_optarg'" ;;
- + eval "enable_$ac_feature='$ac_optarg'" ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- @@ -182,95 +406,47 @@
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- - exec_prefix="$ac_optarg" ;;
- + exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- - -help | --help | --hel | --he)
- - # Omit some internal or obsolete options to make the list less imposing.
- - # This message is too long to be a string in the A/UX 3.1 sh.
- - cat << EOF
- -Usage: configure [options] [host]
- -Options: [defaults in brackets after descriptions]
- -Configuration:
- - --cache-file=FILE cache test results in FILE
- - --help print this message
- - --no-create do not create output files
- - --quiet, --silent do not print \`checking...' messages
- - --version print the version of autoconf that created configure
- -Directory and file names:
- - --prefix=PREFIX install architecture-independent files in PREFIX
- - [$ac_default_prefix]
- - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- - [same as prefix]
- - --bindir=DIR user executables in DIR [EPREFIX/bin]
- - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
- - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
- - --datadir=DIR read-only architecture-independent data in DIR
- - [PREFIX/share]
- - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
- - --sharedstatedir=DIR modifiable architecture-independent data in DIR
- - [PREFIX/com]
- - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
- - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
- - --includedir=DIR C header files in DIR [PREFIX/include]
- - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
- - --infodir=DIR info documentation in DIR [PREFIX/info]
- - --mandir=DIR man documentation in DIR [PREFIX/man]
- - --srcdir=DIR find the sources in DIR [configure dir or ..]
- - --program-prefix=PREFIX prepend PREFIX to installed program names
- - --program-suffix=SUFFIX append SUFFIX to installed program names
- - --program-transform-name=PROGRAM
- - run sed PROGRAM on installed program names
- -EOF
- - cat << EOF
- -Host type:
- - --build=BUILD configure for building on BUILD [BUILD=HOST]
- - --host=HOST configure for HOST [guessed]
- - --target=TARGET configure for TARGET [TARGET=HOST]
- -Features and packages:
- - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- - --x-includes=DIR X include files are in DIR
- - --x-libraries=DIR X library files are in DIR
- -EOF
- - if test -n "$ac_help"; then
- - echo "--enable and --with options recognized:$ac_help"
- - fi
- - exit 0 ;;
- + -help | --help | --hel | --he | -h)
- + ac_init_help=long ;;
- + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- + ac_init_help=recursive ;;
- + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- + ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- - ac_prev=host ;;
- + ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- - host="$ac_optarg" ;;
- + host_alias=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- - includedir="$ac_optarg" ;;
- + includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- - infodir="$ac_optarg" ;;
- + infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- - libdir="$ac_optarg" ;;
- + libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- - libexecdir="$ac_optarg" ;;
- + libexecdir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst \
- @@ -279,19 +455,19 @@
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- - localstatedir="$ac_optarg" ;;
- + localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- - mandir="$ac_optarg" ;;
- + mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- - | --no-cr | --no-c)
- + | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- @@ -305,26 +481,26 @@
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- - oldincludedir="$ac_optarg" ;;
- + oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- - prefix="$ac_optarg" ;;
- + prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- - program_prefix="$ac_optarg" ;;
- + program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- - program_suffix="$ac_optarg" ;;
- + program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- @@ -341,7 +517,7 @@
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- - program_transform_name="$ac_optarg" ;;
- + program_transform_name=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- @@ -351,7 +527,7 @@
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- - sbindir="$ac_optarg" ;;
- + sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- @@ -362,58 +538,57 @@
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- - sharedstatedir="$ac_optarg" ;;
- + sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- - site="$ac_optarg" ;;
- + site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- - srcdir="$ac_optarg" ;;
- + srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- - sysconfdir="$ac_optarg" ;;
- + sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- - ac_prev=target ;;
- + ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- - target="$ac_optarg" ;;
- + target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- - -version | --version | --versio | --versi | --vers)
- - echo "configure generated by autoconf version 2.13"
- - exit 0 ;;
- + -version | --version | --versio | --versi | --vers | -V)
- + ac_init_version=: ;;
-
- -with-* | --with-*)
- - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
- + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- - fi
- + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- + { echo "$as_me: error: invalid package name: $ac_package" >&2
- + { (exit 1); exit 1; }; }
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- - case "$ac_option" in
- - *=*) ;;
- + case $ac_option in
- + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
- - eval "with_${ac_package}='$ac_optarg'" ;;
- + eval "with_$ac_package='$ac_optarg'" ;;
-
- -without-* | --without-*)
- - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
- + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- - fi
- - ac_package=`echo $ac_package| sed 's/-/_/g'`
- - eval "with_${ac_package}=no" ;;
- + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
- + { echo "$as_me: error: invalid package name: $ac_package" >&2
- + { (exit 1); exit 1; }; }
- + ac_package=`echo $ac_package | sed 's/-/_/g'`
- + eval "with_$ac_package=no" ;;
-
- --x)
- # Obsolete; use --with-x.
- @@ -424,99 +599,110 @@
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- - x_includes="$ac_optarg" ;;
- + x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- - x_libraries="$ac_optarg" ;;
- + x_libraries=$ac_optarg ;;
-
- - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
- + -*) { echo "$as_me: error: unrecognized option: $ac_option
- +Try \`$0 --help' for more information." >&2
- + { (exit 1); exit 1; }; }
- ;;
-
- + *=*)
- + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- + # Reject names that are not valid shell variable names.
- + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
- + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
- + { (exit 1); exit 1; }; }
- + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
- + eval "$ac_envvar='$ac_optarg'"
- + export $ac_envvar ;;
- +
- *)
- - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- - echo "configure: warning: $ac_option: invalid host type" 1>&2
- - fi
- - if test "x$nonopt" != xNONE; then
- - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- - fi
- - nonopt="$ac_option"
- + # FIXME: should be removed in autoconf 3.0.
- + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
- done
-
- if test -n "$ac_prev"; then
- - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
- -fi
- -
- -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
- -
- -# File descriptor usage:
- -# 0 standard input
- -# 1 file creation
- -# 2 errors and warnings
- -# 3 some systems may open it to /dev/tty
- -# 4 used on the Kubota Titan
- -# 6 checking for... messages and results
- -# 5 compiler messages saved in config.log
- -if test "$silent" = yes; then
- - exec 6>/dev/null
- -else
- - exec 6>&1
- + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- + { echo "$as_me: error: missing argument to $ac_option" >&2
- + { (exit 1); exit 1; }; }
- fi
- -exec 5>./config.log
-
- -echo "\
- -This file contains any messages produced by compilers while
- -running configure, to aid debugging if configure makes a mistake.
- -" 1>&5
- +# Be sure to have absolute paths.
- +for ac_var in exec_prefix prefix
- +do
- + eval ac_val=$`echo $ac_var`
- + case $ac_val in
- + [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
- + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- + { (exit 1); exit 1; }; };;
- + esac
- +done
-
- -# Strip out --no-create and --no-recursion so they do not pile up.
- -# Also quote any args containing shell metacharacters.
- -ac_configure_args=
- -for ac_arg
- +# Be sure to have absolute paths.
- +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
- + localstatedir libdir includedir oldincludedir infodir mandir
- do
- - case "$ac_arg" in
- - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- - | --no-cr | --no-c) ;;
- - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
- + eval ac_val=$`echo $ac_var`
- + case $ac_val in
- + [\\/$]* | ?:[\\/]* ) ;;
- + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
- + { (exit 1); exit 1; }; };;
- esac
- done
-
- -# NLS nuisances.
- -# Only set these to C if already set. These must not be set unconditionally
- -# because not all systems understand e.g. LANG=C (notably SCO).
- -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
- -# Non-C LC_CTYPE values break the ctype check.
- -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
- -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
- -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
- -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
- +# There might be people who depend on the old broken behavior: `$host'
- +# used to hold the argument of --host etc.
- +# FIXME: To remove some day.
- +build=$build_alias
- +host=$host_alias
- +target=$target_alias
- +
- +# FIXME: To remove some day.
- +if test "x$host_alias" != x; then
- + if test "x$build_alias" = x; then
- + cross_compiling=maybe
- + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- + If a cross compiler is detected then cross compile mode will be used." >&2
- + elif test "x$build_alias" != "x$host_alias"; then
- + cross_compiling=yes
- + fi
- +fi
-
- -# confdefs.h avoids OS command line length limits that DEFS can exceed.
- -rm -rf conftest* confdefs.h
- -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
- -echo > confdefs.h
- +ac_tool_prefix=
- +test -n "$host_alias" && ac_tool_prefix=$host_alias-
- +
- +test "$silent" = yes && exec 6>/dev/null
-
- -# A filename unique to this package, relative to the directory that
- -# configure is in, which we can look for to find out if srcdir is correct.
- -ac_unique_file=src/aide.c
-
- # Find the source files, if location was not specified.
- if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then its parent.
- - ac_prog=$0
- - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
- + ac_confdir=`(dirname "$0") 2>/dev/null ||
- +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$0" : 'X\(//\)[^/]' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X"$0" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- + /^X\(\/\/\)$/{ s//\1/; q; }
- + /^X\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r $srcdir/$ac_unique_file; then
- srcdir=..
- @@ -526,13 +712,409 @@
- fi
- if test ! -r $srcdir/$ac_unique_file; then
- if test "$ac_srcdir_defaulted" = yes; then
- - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
- + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
- + { (exit 1); exit 1; }; }
- else
- - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
- + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
- + { (exit 1); exit 1; }; }
- fi
- fi
- -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
- +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
- +ac_env_build_alias_set=${build_alias+set}
- +ac_env_build_alias_value=$build_alias
- +ac_cv_env_build_alias_set=${build_alias+set}
- +ac_cv_env_build_alias_value=$build_alias
- +ac_env_host_alias_set=${host_alias+set}
- +ac_env_host_alias_value=$host_alias
- +ac_cv_env_host_alias_set=${host_alias+set}
- +ac_cv_env_host_alias_value=$host_alias
- +ac_env_target_alias_set=${target_alias+set}
- +ac_env_target_alias_value=$target_alias
- +ac_cv_env_target_alias_set=${target_alias+set}
- +ac_cv_env_target_alias_value=$target_alias
- +ac_env_CC_set=${CC+set}
- +ac_env_CC_value=$CC
- +ac_cv_env_CC_set=${CC+set}
- +ac_cv_env_CC_value=$CC
- +ac_env_CFLAGS_set=${CFLAGS+set}
- +ac_env_CFLAGS_value=$CFLAGS
- +ac_cv_env_CFLAGS_set=${CFLAGS+set}
- +ac_cv_env_CFLAGS_value=$CFLAGS
- +ac_env_LDFLAGS_set=${LDFLAGS+set}
- +ac_env_LDFLAGS_value=$LDFLAGS
- +ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
- +ac_cv_env_LDFLAGS_value=$LDFLAGS
- +ac_env_CPPFLAGS_set=${CPPFLAGS+set}
- +ac_env_CPPFLAGS_value=$CPPFLAGS
- +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
- +ac_cv_env_CPPFLAGS_value=$CPPFLAGS
- +ac_env_CPP_set=${CPP+set}
- +ac_env_CPP_value=$CPP
- +ac_cv_env_CPP_set=${CPP+set}
- +ac_cv_env_CPP_value=$CPP
- +
- +#
- +# Report the --help message.
- +#
- +if test "$ac_init_help" = "long"; then
- + # Omit some internal or obsolete options to make the list less imposing.
- + # This message is too long to be a string in the A/UX 3.1 sh.
- + cat <<_ACEOF
- +\`configure' configures this package to adapt to many kinds of systems.
- +
- +Usage: $0 [OPTION]... [VAR=VALUE]...
- +
- +To assign environment variables (e.g., CC, CFLAGS...), specify them as
- +VAR=VALUE. See below for descriptions of some of the useful variables.
- +
- +Defaults for the options are specified in brackets.
- +
- +Configuration:
- + -h, --help display this help and exit
- + --help=short display options specific to this package
- + --help=recursive display the short help of all the included packages
- + -V, --version display version information and exit
- + -q, --quiet, --silent do not print \`checking...' messages
- + --cache-file=FILE cache test results in FILE [disabled]
- + -C, --config-cache alias for \`--cache-file=config.cache'
- + -n, --no-create do not create output files
- + --srcdir=DIR find the sources in DIR [configure dir or \`..']
- +
- +_ACEOF
- +
- + cat <<_ACEOF
- +Installation directories:
- + --prefix=PREFIX install architecture-independent files in PREFIX
- + [$ac_default_prefix]
- + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- + [PREFIX]
- +
- +By default, \`make install' will install all the files in
- +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
- +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
- +for instance \`--prefix=\$HOME'.
- +
- +For better control, use the options below.
- +
- +Fine tuning of the installation directories:
- + --bindir=DIR user executables [EPREFIX/bin]
- + --sbindir=DIR system admin executables [EPREFIX/sbin]
- + --libexecdir=DIR program executables [EPREFIX/libexec]
- + --datadir=DIR read-only architecture-independent data [PREFIX/share]
- + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- + --libdir=DIR object code libraries [EPREFIX/lib]
- + --includedir=DIR C header files [PREFIX/include]
- + --oldincludedir=DIR C header files for non-gcc [/usr/include]
- + --infodir=DIR info documentation [PREFIX/info]
- + --mandir=DIR man documentation [PREFIX/man]
- +_ACEOF
- +
- + cat <<\_ACEOF
- +
- +Program names:
- + --program-prefix=PREFIX prepend PREFIX to installed program names
- + --program-suffix=SUFFIX append SUFFIX to installed program names
- + --program-transform-name=PROGRAM run sed PROGRAM on installed program names
- +_ACEOF
- +fi
- +
- +if test -n "$ac_init_help"; then
- +
- + cat <<\_ACEOF
- +
- +Optional Features:
- + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- + --enable-maintainer-mode enable make rules and dependencies not useful
- + (and sometimes confusing) to the casual installer
- +--enable-forced_configmd Forces the config to have checksum.
- + Also disables --config-check
- +--enable-forced_dbmd Forces the file/pipe database's to have checksum.
- + This will be the default in the next release.
- +
- +Optional Packages:
- + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- + --with-extra-includes Specify additional paths to find headerfiles
- + --with-extra-libs Specify aditional paths to find libraries
- + --with-extra-link-libs Specify aditional libraries to link
- +--without-mmap Don't use mmap. Useful on some platforms with slow mmap
- +--with-locale use locale stuff
- +--with-syslog_ident Specify syslog ident
- +--with-syslog_facility Specify syslog facility, see man syslog for options
- +--with-syslog_logopt Specify syslog logopt, see man syslog for options
- +--with-syslog_priority Specify syslog priority, see man syslog for options
- +--with-zlib use zlib compression
- +--with-sun-acl use ACL on solaris (no checking)
- +--with-config_file=config_file use config_file as the default
- + config file
- +--with-gnu-regexp use the bundled GNU regexp (use only if necessary)
- +--with-gcrypt use gcrypt library
- +--with-confighmactype=TYPE Hash type to use for checking config.
- + Valid values are md5 and sha1.
- +--with-confighmackey=KEY HMAC hash key to use for checking config.
- + Must be a base64 encoded byte stream.
- + Maximum string length is 31 chars.
- +--with-dbhmactype=TYPE Hash type to use for checking db.
- + Valid values are md5 and sha1.
- +--with-dbhmackey=KEY HMAC hash key to use for checking db.
- + Must be a base64 encoded byte stream.
- + Maximum string lentgth is 31 chars.
- +--with-initial_errors_to=URL Where errors should go while checking config.
- + Default is stderr.
- +--with-psql use postgres sql library for storing databases
- +
- +Some influential environment variables:
- + CC C compiler command
- + CFLAGS C compiler flags
- + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- + nonstandard directory <lib dir>
- + CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
- + headers in a nonstandard directory <include dir>
- + CPP C preprocessor
- +
- +Use these variables to override the choices made by `configure' or to help
- +it to find libraries and programs with nonstandard names/locations.
- +
- +_ACEOF
- +fi
- +
- +if test "$ac_init_help" = "recursive"; then
- + # If there are subdirs, report their specific --help.
- + ac_popdir=`pwd`
- + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- + test -d $ac_dir || continue
- + ac_builddir=.
- +
- +if test "$ac_dir" != .; then
- + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
- +else
- + ac_dir_suffix= ac_top_builddir=
- +fi
- +
- +case $srcdir in
- + .) # No --srcdir option. We are building in place.
- + ac_srcdir=.
- + if test -z "$ac_top_builddir"; then
- + ac_top_srcdir=.
- + else
- + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- + fi ;;
- + [\\/]* | ?:[\\/]* ) # Absolute path.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir ;;
- + *) # Relative path.
- + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_builddir$srcdir ;;
- +esac
- +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
- +# absolute.
- +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
- +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
- +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
- +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
- +
- + cd $ac_dir
- + # Check for guested configure; otherwise get Cygnus style configure.
- + if test -f $ac_srcdir/configure.gnu; then
- + echo
- + $SHELL $ac_srcdir/configure.gnu --help=recursive
- + elif test -f $ac_srcdir/configure; then
- + echo
- + $SHELL $ac_srcdir/configure --help=recursive
- + elif test -f $ac_srcdir/configure.ac ||
- + test -f $ac_srcdir/configure.in; then
- + echo
- + $ac_configure --help
- + else
- + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- + fi
- + cd $ac_popdir
- + done
- +fi
- +
- +test -n "$ac_init_help" && exit 0
- +if $ac_init_version; then
- + cat <<\_ACEOF
- +
- +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
- +Free Software Foundation, Inc.
- +This configure script is free software; the Free Software Foundation
- +gives unlimited permission to copy, distribute and modify it.
- +_ACEOF
- + exit 0
- +fi
- +exec 5>config.log
- +cat >&5 <<_ACEOF
- +This file contains any messages produced by compilers while
- +running configure, to aid debugging if configure makes a mistake.
- +
- +It was created by $as_me, which was
- +generated by GNU Autoconf 2.53. Invocation command line was
- +
- + $ $0 $@
- +
- +_ACEOF
- +{
- +cat <<_ASUNAME
- +## --------- ##
- +## Platform. ##
- +## --------- ##
- +
- +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
- +uname -m = `(uname -m) 2>/dev/null || echo unknown`
- +uname -r = `(uname -r) 2>/dev/null || echo unknown`
- +uname -s = `(uname -s) 2>/dev/null || echo unknown`
- +uname -v = `(uname -v) 2>/dev/null || echo unknown`
- +
- +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
- +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
- +
- +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
- +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
- +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
- +hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
- +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
- +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
- +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
- +
- +_ASUNAME
- +
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + echo "PATH: $as_dir"
- +done
- +
- +} >&5
- +
- +cat >&5 <<_ACEOF
- +
- +
- +## ----------- ##
- +## Core tests. ##
- +## ----------- ##
- +
- +_ACEOF
- +
- +
- +# Keep a trace of the command line.
- +# Strip out --no-create and --no-recursion so they do not pile up.
- +# Also quote any args containing shell meta-characters.
- +ac_configure_args=
- +ac_sep=
- +for ac_arg
- +do
- + case $ac_arg in
- + -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- + | --no-cr | --no-c | -n ) continue ;;
- + -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- + continue ;;
- + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
- + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- + esac
- + case " $ac_configure_args " in
- + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- + *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
- + ac_sep=" " ;;
- + esac
- + # Get rid of the leading space.
- +done
- +
- +# When interrupted or exit'd, cleanup temporary files, and complete
- +# config.log. We remove comments because anyway the quotes in there
- +# would cause problems or look ugly.
- +# WARNING: Be sure not to use single quotes in there, as some shells,
- +# such as our DU 5.0 friend, will then `close' the trap.
- +trap 'exit_status=$?
- + # Save into config.log some information that might help in debugging.
- + {
- + echo
- + cat <<\_ASBOX
- +## ---------------- ##
- +## Cache variables. ##
- +## ---------------- ##
- +_ASBOX
- + echo
- + # The following way of writing the cache mishandles newlines in values,
- +{
- + (set) 2>&1 |
- + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
- + *ac_space=\ *)
- + sed -n \
- + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
- + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
- + ;;
- + *)
- + sed -n \
- + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
- + ;;
- + esac;
- +}
- + echo
- + if test -s confdefs.h; then
- + cat <<\_ASBOX
- +## ----------- ##
- +## confdefs.h. ##
- +## ----------- ##
- +_ASBOX
- + echo
- + sed "/^$/d" confdefs.h
- + echo
- + fi
- + test "$ac_signal" != 0 &&
- + echo "$as_me: caught signal $ac_signal"
- + echo "$as_me: exit $exit_status"
- + } >&5
- + rm -f core core.* *.core &&
- + rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
- + exit $exit_status
- + ' 0
- +for ac_signal in 1 2 13 15; do
- + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
- +done
- +ac_signal=0
- +
- +# confdefs.h avoids OS command line length limits that DEFS can exceed.
- +rm -rf conftest* confdefs.h
- +# AIX cpp loses on an empty file, so make sure it contains at least a newline.
- +echo >confdefs.h
- +
- +# Predefined preprocessor variables.
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_NAME "$PACKAGE_NAME"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
- +_ACEOF
- +
-
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_VERSION "$PACKAGE_VERSION"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_STRING "$PACKAGE_STRING"
- +_ACEOF
- +
- +
- +cat >>confdefs.h <<_ACEOF
- +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
- +_ACEOF
- +
- +
- +# Let the site file select an alternate cache file if it wants to.
- # Prefer explicitly selected file to automatically selected ones.
- if test -z "$CONFIG_SITE"; then
- if test "x$prefix" != xNONE; then
- @@ -543,39 +1125,102 @@
- fi
- for ac_site_file in $CONFIG_SITE; do
- if test -r "$ac_site_file"; then
- - echo "loading site script $ac_site_file"
- + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
- +echo "$as_me: loading site script $ac_site_file" >&6;}
- + sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file"
- fi
- done
-
- if test -r "$cache_file"; then
- - echo "loading cache $cache_file"
- - . $cache_file
- + # Some versions of bash will fail to source /dev/null (special
- + # files actually), so we avoid doing that.
- + if test -f "$cache_file"; then
- + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
- +echo "$as_me: loading cache $cache_file" >&6;}
- + case $cache_file in
- + [\\/]* | ?:[\\/]* ) . $cache_file;;
- + *) . ./$cache_file;;
- + esac
- + fi
- else
- - echo "creating cache $cache_file"
- - > $cache_file
- + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
- +echo "$as_me: creating cache $cache_file" >&6;}
- + >$cache_file
- +fi
- +
- +# Check that the precious variables saved in the cache have kept the same
- +# value.
- +ac_cache_corrupted=false
- +for ac_var in `(set) 2>&1 |
- + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
- + eval ac_old_set=\$ac_cv_env_${ac_var}_set
- + eval ac_new_set=\$ac_env_${ac_var}_set
- + eval ac_old_val="\$ac_cv_env_${ac_var}_value"
- + eval ac_new_val="\$ac_env_${ac_var}_value"
- + case $ac_old_set,$ac_new_set in
- + set,)
- + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
- +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- + ac_cache_corrupted=: ;;
- + ,set)
- + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
- +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- + ac_cache_corrupted=: ;;
- + ,);;
- + *)
- + if test "x$ac_old_val" != "x$ac_new_val"; then
- + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
- +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
- +echo "$as_me: former value: $ac_old_val" >&2;}
- + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
- +echo "$as_me: current value: $ac_new_val" >&2;}
- + ac_cache_corrupted=:
- + fi;;
- + esac
- + # Pass precious variables to config.status.
- + if test "$ac_new_set" = set; then
- + case $ac_new_val in
- + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
- + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- + *) ac_arg=$ac_var=$ac_new_val ;;
- + esac
- + case " $ac_configure_args " in
- + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- + esac
- + fi
- +done
- +if $ac_cache_corrupted; then
- + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
- +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
- +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
- + { (exit 1); exit 1; }; }
- fi
-
- ac_ext=c
- -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- ac_cpp='$CPP $CPPFLAGS'
- -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
- -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- -cross_compiling=$ac_cv_prog_cc_cross
- -
- -ac_exeext=
- -ac_objext=o
- -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- - ac_n= ac_c='
- -' ac_t=' '
- - else
- - ac_n=-n ac_c= ac_t=
- - fi
- -else
- - ac_n= ac_c='\c' ac_t=
- -fi
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-
-
-
- @@ -589,14 +1234,20 @@
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- + elif test -f $ac_dir/shtool; then
- + ac_aux_dir=$ac_dir
- + ac_install_sh="$ac_aux_dir/shtool install -c"
- + break
- fi
- done
- if test -z "$ac_aux_dir"; then
- - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
- -fi
- -ac_config_guess=$ac_aux_dir/config.guess
- -ac_config_sub=$ac_aux_dir/config.sub
- -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
- + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
- +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +ac_config_guess="$SHELL $ac_aux_dir/config.guess"
- +ac_config_sub="$SHELL $ac_aux_dir/config.sub"
- +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
- # Find a good install program. We prefer a C program (faster),
- # so one script is as good as another. But avoid the broken or
- @@ -605,65 +1256,78 @@
- # SunOS /usr/etc/install
- # IRIX /sbin/install
- # AIX /bin/install
- +# AmigaOS /C/install, which installs bootblocks on floppy discs
- # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
- # AFS /usr/afsws/bin/install, which mishandles nonexistent args
- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- # ./install, which can be erroneously created by make from ./install.sh.
- -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
- -echo "configure:614: checking for a BSD compatible install" >&5
- +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
- +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
- if test -z "$INSTALL"; then
- -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +if test "${ac_cv_path_install+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
- - for ac_dir in $PATH; do
- - # Account for people who put trailing slashes in PATH elements.
- - case "$ac_dir/" in
- - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
- - *)
- - # OSF1 and SCO ODT 3.0 have their own names for install.
- - # Don't use installbsd from OSF since it installs stuff as root
- - # by default.
- - for ac_prog in ginstall scoinst install; do
- - if test -f $ac_dir/$ac_prog; then
- - if test $ac_prog = install &&
- - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
- - # AIX install. It has an incompatible calling convention.
- - :
- - else
- - ac_cv_path_install="$ac_dir/$ac_prog -c"
- - break 2
- - fi
- - fi
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + # Account for people who put trailing slashes in PATH elements.
- +case $as_dir/ in
- + ./ | .// | /cC/* | \
- + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- + /usr/ucb/* ) ;;
- + *)
- + # OSF1 and SCO ODT 3.0 have their own names for install.
- + # Don't use installbsd from OSF since it installs stuff as root
- + # by default.
- + for ac_prog in ginstall scoinst install; do
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- + if test $ac_prog = install &&
- + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- + # AIX install. It has an incompatible calling convention.
- + :
- + elif test $ac_prog = install &&
- + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- + # program-specific install script used by HP pwplus--don't use.
- + :
- + else
- + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- + break 3
- + fi
- + fi
- done
- - ;;
- - esac
- - done
- - IFS="$ac_save_IFS"
- + done
- + ;;
- +esac
- +done
- +
-
- fi
- if test "${ac_cv_path_install+set}" = set; then
- - INSTALL="$ac_cv_path_install"
- + INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. We don't cache a
- # path for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the path is relative.
- - INSTALL="$ac_install_sh"
- + INSTALL=$ac_install_sh
- fi
- fi
- -echo "$ac_t""$INSTALL" 1>&6
- +echo "$as_me:$LINENO: result: $INSTALL" >&5
- +echo "${ECHO_T}$INSTALL" >&6
-
- # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- # It thinks the first close brace ends the variable substitution.
- test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
- -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
- +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
- -echo "configure:667: checking whether build environment is sane" >&5
- +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
- +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
- # Just in case
- sleep 1
- echo timestamp > conftestfile
- @@ -685,8 +1349,11 @@
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
- -alias in your environment" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" >&5
- +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" >&2;}
- + { (exit 1); exit 1; }; }
- fi
-
- test "$2" = conftestfile
- @@ -695,54 +1362,54 @@
- # Ok.
- :
- else
- - { echo "configure: error: newly created file is older than distributed files!
- -Check your system clock" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
- +Check your system clock" >&5
- +echo "$as_me: error: newly created file is older than distributed files!
- +Check your system clock" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- rm -f conftest*
- -echo "$ac_t""yes" 1>&6
- -if test "$program_transform_name" = s,x,x,; then
- - program_transform_name=
- -else
- - # Double any \ or $. echo might interpret backslashes.
- - cat <<\EOF_SED > conftestsed
- -s,\\,\\\\,g; s,\$,$$,g
- -EOF_SED
- - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
- - rm -f conftestsed
- -fi
- +echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- test "$program_prefix" != NONE &&
- - program_transform_name="s,^,${program_prefix},; $program_transform_name"
- + program_transform_name="s,^,$program_prefix,;$program_transform_name"
- # Use a double $ so make ignores it.
- test "$program_suffix" != NONE &&
- - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
- -
- -# sed with no file args requires a program.
- -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
- -
- -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
- -echo "configure:724: checking whether ${MAKE-make} sets \${MAKE}" >&5
- -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- + program_transform_name="s,\$,$program_suffix,;$program_transform_name"
- +# Double any \ or $. echo might interpret backslashes.
- +# By default was `s,x,x', remove it if useless.
- +cat <<\_ACEOF >conftest.sed
- +s/[\\$]/&&/g;s/;s,x,x,$//
- +_ACEOF
- +program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
- +rm conftest.sed
- +
- +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
- +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
- +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
- +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftestmake <<\EOF
- + cat >conftest.make <<\_ACEOF
- all:
- @echo 'ac_maketemp="${MAKE}"'
- -EOF
- +_ACEOF
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
- +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
- if test -n "$ac_maketemp"; then
- eval ac_cv_prog_make_${ac_make}_set=yes
- else
- eval ac_cv_prog_make_${ac_make}_set=no
- fi
- -rm -f conftestmake
- +rm -f conftest.make
- fi
- if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- + echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- SET_MAKE=
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- SET_MAKE="MAKE=${MAKE-make}"
- fi
-
- @@ -752,87 +1419,103 @@
- VERSION=0.9
-
- if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
- - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
- +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- -cat >> confdefs.h <<EOF
- +
- +cat >>confdefs.h <<_ACEOF
- #define PACKAGE "$PACKAGE"
- -EOF
- +_ACEOF
- +
-
- -cat >> confdefs.h <<EOF
- +cat >>confdefs.h <<_ACEOF
- #define VERSION "$VERSION"
- -EOF
- +_ACEOF
-
-
-
- missing_dir=`cd $ac_aux_dir && pwd`
- -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
- -echo "configure:770: checking for working aclocal" >&5
- +echo "$as_me:$LINENO: checking for working aclocal" >&5
- +echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- ACLOCAL=aclocal
- - echo "$ac_t""found" 1>&6
- + echo "$as_me:$LINENO: result: found" >&5
- +echo "${ECHO_T}found" >&6
- else
- ACLOCAL="$missing_dir/missing aclocal"
- - echo "$ac_t""missing" 1>&6
- + echo "$as_me:$LINENO: result: missing" >&5
- +echo "${ECHO_T}missing" >&6
- fi
-
- -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
- -echo "configure:783: checking for working autoconf" >&5
- +echo "$as_me:$LINENO: checking for working autoconf" >&5
- +echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- if (autoconf --version) < /dev/null > /dev/null 2>&1; then
- AUTOCONF=autoconf
- - echo "$ac_t""found" 1>&6
- + echo "$as_me:$LINENO: result: found" >&5
- +echo "${ECHO_T}found" >&6
- else
- AUTOCONF="$missing_dir/missing autoconf"
- - echo "$ac_t""missing" 1>&6
- + echo "$as_me:$LINENO: result: missing" >&5
- +echo "${ECHO_T}missing" >&6
- fi
-
- -echo $ac_n "checking for working automake""... $ac_c" 1>&6
- -echo "configure:796: checking for working automake" >&5
- +echo "$as_me:$LINENO: checking for working automake" >&5
- +echo $ECHO_N "checking for working automake... $ECHO_C" >&6
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- if (automake --version) < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake
- - echo "$ac_t""found" 1>&6
- + echo "$as_me:$LINENO: result: found" >&5
- +echo "${ECHO_T}found" >&6
- else
- AUTOMAKE="$missing_dir/missing automake"
- - echo "$ac_t""missing" 1>&6
- + echo "$as_me:$LINENO: result: missing" >&5
- +echo "${ECHO_T}missing" >&6
- fi
-
- -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
- -echo "configure:809: checking for working autoheader" >&5
- +echo "$as_me:$LINENO: checking for working autoheader" >&5
- +echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- if (autoheader --version) < /dev/null > /dev/null 2>&1; then
- AUTOHEADER=autoheader
- - echo "$ac_t""found" 1>&6
- + echo "$as_me:$LINENO: result: found" >&5
- +echo "${ECHO_T}found" >&6
- else
- AUTOHEADER="$missing_dir/missing autoheader"
- - echo "$ac_t""missing" 1>&6
- + echo "$as_me:$LINENO: result: missing" >&5
- +echo "${ECHO_T}missing" >&6
- fi
-
- -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
- -echo "configure:822: checking for working makeinfo" >&5
- +echo "$as_me:$LINENO: checking for working makeinfo" >&5
- +echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
- # Run test in a subshell; some versions of sh will print an error if
- # an executable is not found, even if stderr is redirected.
- # Redirect stdin to placate older versions of autoconf. Sigh.
- if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
- MAKEINFO=makeinfo
- - echo "$ac_t""found" 1>&6
- + echo "$as_me:$LINENO: result: found" >&5
- +echo "${ECHO_T}found" >&6
- else
- MAKEINFO="$missing_dir/missing makeinfo"
- - echo "$ac_t""missing" 1>&6
- + echo "$as_me:$LINENO: result: missing" >&5
- +echo "${ECHO_T}missing" >&6
- fi
-
-
-
- +ac_config_headers="$ac_config_headers config.h"
-
- +ac_config_commands="$ac_config_commands default-1"
-
- # We want an absolute path to the source-dir.
- case "$srcdir" in
- @@ -849,214 +1532,628 @@
-
-
-
- -# Extract the first word of "gcc", so it can be a program name with args.
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}gcc; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test -n "$CC"; then
- + ac_cv_prog_CC="$CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_CC="${ac_tool_prefix}gcc"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- +fi
- +fi
- +CC=$ac_cv_prog_CC
- +if test -n "$CC"; then
- + echo "$as_me:$LINENO: result: $CC" >&5
- +echo "${ECHO_T}$CC" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- +fi
- +if test -z "$ac_cv_prog_CC"; then
- + ac_ct_CC=$CC
- + # Extract the first word of "gcc", so it can be a program name with args.
- set dummy gcc; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:856: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_ac_ct_CC="gcc"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- +echo "${ECHO_T}$ac_ct_CC" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- + CC=$ac_ct_CC
- +else
- + CC="$ac_cv_prog_CC"
- +fi
- +
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}cc; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_CC="gcc"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_CC="${ac_tool_prefix}cc"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -CC="$ac_cv_prog_CC"
- +CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - echo "$ac_t""$CC" 1>&6
- + echo "$as_me:$LINENO: result: $CC" >&5
- +echo "${ECHO_T}$CC" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- +fi
- +if test -z "$ac_cv_prog_CC"; then
- + ac_ct_CC=$CC
- + # Extract the first word of "cc", so it can be a program name with args.
- +set dummy cc; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_ac_ct_CC="cc"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- +fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- +echo "${ECHO_T}$ac_ct_CC" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- + CC=$ac_ct_CC
- else
- - echo "$ac_t""no" 1>&6
- + CC="$ac_cv_prog_CC"
- fi
-
- +fi
- if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
- set dummy cc; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:886: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_prog_rejected=no
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
- - ac_prog_rejected=yes
- - continue
- - fi
- - ac_cv_prog_CC="cc"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- + ac_prog_rejected=yes
- + continue
- + fi
- + ac_cv_prog_CC="cc"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- - if test $# -gt 0; then
- + if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- - set dummy "$ac_dir/$ac_word" "$@"
- + set dummy "$as_dir/$ac_word" ${1+"$@"}
- shift
- ac_cv_prog_CC="$@"
- fi
- fi
- fi
- fi
- -CC="$ac_cv_prog_CC"
- +CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - echo "$ac_t""$CC" 1>&6
- + echo "$as_me:$LINENO: result: $CC" >&5
- +echo "${ECHO_T}$CC" >&6
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- fi
-
- - if test -z "$CC"; then
- - case "`uname -s`" in
- - *win32* | *WIN32*)
- - # Extract the first word of "cl", so it can be a program name with args.
- -set dummy cl; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:937: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +fi
- +if test -z "$CC"; then
- + if test -n "$ac_tool_prefix"; then
- + for ac_prog in cl
- + do
- + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_CC="cl"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -CC="$ac_cv_prog_CC"
- +CC=$ac_cv_prog_CC
- if test -n "$CC"; then
- - echo "$ac_t""$CC" 1>&6
- + echo "$as_me:$LINENO: result: $CC" >&5
- +echo "${ECHO_T}$CC" >&6
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- fi
- - ;;
- - esac
- +
- + test -n "$CC" && break
- + done
- +fi
- +if test -z "$CC"; then
- + ac_ct_CC=$CC
- + for ac_prog in cl
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test -n "$ac_ct_CC"; then
- + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_ac_ct_CC="$ac_prog"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- fi
- - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
- +done
- +done
- +
- fi
- +fi
- +ac_ct_CC=$ac_cv_prog_ac_ct_CC
- +if test -n "$ac_ct_CC"; then
- + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
- +echo "${ECHO_T}$ac_ct_CC" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- + test -n "$ac_ct_CC" && break
- +done
-
- -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
- -echo "configure:969: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
- + CC=$ac_ct_CC
- +fi
-
- -ac_ext=c
- -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- -ac_cpp='$CPP $CPPFLAGS'
- -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
- -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- -cross_compiling=$ac_cv_prog_cc_cross
- +fi
-
- -cat > conftest.$ac_ext << EOF
-
- -#line 980 "configure"
- -#include "confdefs.h"
- +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
- +echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
- + { (exit 1); exit 1; }; }
- +
- +# Provide some information about the compiler.
- +echo "$as_me:$LINENO:" \
- + "checking for C compiler version" >&5
- +ac_compiler=`set X $ac_compile; echo $2`
- +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
- + (eval $ac_compiler --version </dev/null >&5) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }
- +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
- + (eval $ac_compiler -v </dev/null >&5) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }
- +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
- + (eval $ac_compiler -V </dev/null >&5) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }
- +
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- -main(){return(0);}
- -EOF
- -if { (eval echo configure:985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - ac_cv_prog_cc_works=yes
- - # If we can't run a trivial program, we are probably using a cross compiler.
- - if (./conftest; exit) 2>/dev/null; then
- - ac_cv_prog_cc_cross=no
- + ;
- + return 0;
- +}
- +_ACEOF
- +ac_clean_files_save=$ac_clean_files
- +ac_clean_files="$ac_clean_files a.out a.exe"
- +# Try to create an executable without -o first, disregard a.out.
- +# It will help us diagnose broken compilers, and finding out an intuition
- +# of exeext.
- +echo "$as_me:$LINENO: checking for C compiler default output" >&5
- +echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
- +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
- +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
- + (eval $ac_link_default) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; then
- + # Find the output, starting from the most likely. This scheme is
- +# not robust to junk in `.', hence go to wildcards (a.*) only as a last
- +# resort.
- +
- +# Be careful to initialize this variable, since it used to be cached.
- +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
- +ac_cv_exeext=
- +for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
- + ls a.out conftest 2>/dev/null;
- + ls a.* conftest.* 2>/dev/null`; do
- + case $ac_file in
- + *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
- + a.out ) # We found the default executable, but exeext='' is most
- + # certainly right.
- + break;;
- + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- + # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
- + export ac_cv_exeext
- + break;;
- + * ) break;;
- + esac
- +done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
- +echo "$as_me: error: C compiler cannot create executables" >&2;}
- + { (exit 77); exit 77; }; }
- +fi
- +
- +ac_exeext=$ac_cv_exeext
- +echo "$as_me:$LINENO: result: $ac_file" >&5
- +echo "${ECHO_T}$ac_file" >&6
- +
- +# Check the compiler produces executables we can run. If not, either
- +# the compiler is broken, or we cross compile.
- +echo "$as_me:$LINENO: checking whether the C compiler works" >&5
- +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
- +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
- +# If not cross compiling, check that we can run a simple program.
- +if test "$cross_compiling" != yes; then
- + if { ac_try='./$ac_file'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + cross_compiling=no
- else
- - ac_cv_prog_cc_cross=yes
- + if test "$cross_compiling" = maybe; then
- + cross_compiling=yes
- + else
- + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
- +If you meant to cross compile, use \`--host'." >&5
- +echo "$as_me: error: cannot run C compiled programs.
- +If you meant to cross compile, use \`--host'." >&2;}
- + { (exit 1); exit 1; }; }
- + fi
- fi
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - ac_cv_prog_cc_works=no
- -fi
- -rm -fr conftest*
- -ac_ext=c
- -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
- -ac_cpp='$CPP $CPPFLAGS'
- -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
- -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- -cross_compiling=$ac_cv_prog_cc_cross
- -
- -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
- -if test $ac_cv_prog_cc_works = no; then
- - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
- fi
- -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
- -echo "configure:1011: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
- -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
- -cross_compiling=$ac_cv_prog_cc_cross
- +echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
-
- -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
- -echo "configure:1016: checking whether we are using GNU C" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +rm -f a.out a.exe conftest$ac_cv_exeext
- +ac_clean_files=$ac_clean_files_save
- +# Check the compiler produces executables we can run. If not, either
- +# the compiler is broken, or we cross compile.
- +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
- +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
- +echo "$as_me:$LINENO: result: $cross_compiling" >&5
- +echo "${ECHO_T}$cross_compiling" >&6
- +
- +echo "$as_me:$LINENO: checking for suffix of executables" >&5
- +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; then
- + # If both `conftest.exe' and `conftest' are `present' (well, observable)
- +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
- +# work properly (i.e., refer to `conftest.exe'), while it won't with
- +# `rm'.
- +for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
- + case $ac_file in
- + *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
- + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- + export ac_cv_exeext
- + break;;
- + * ) break;;
- + esac
- +done
- else
- - cat > conftest.c <<EOF
- -#ifdef __GNUC__
- - yes;
- + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
- +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +
- +rm -f conftest$ac_cv_exeext
- +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
- +echo "${ECHO_T}$ac_cv_exeext" >&6
- +
- +rm -f conftest.$ac_ext
- +EXEEXT=$ac_cv_exeext
- +ac_exeext=$EXEEXT
- +echo "$as_me:$LINENO: checking for suffix of object files" >&5
- +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
- +if test "${ac_cv_objext+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- #endif
- -EOF
- -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- - ac_cv_prog_gcc=yes
- -else
- - ac_cv_prog_gcc=no
- -fi
- -fi
- -
- -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
- +int
- +main ()
- +{
-
- -if test $ac_cv_prog_gcc = yes; then
- - GCC=yes
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.o conftest.obj
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; then
- + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
- + case $ac_file in
- + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
- + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- + break;;
- + esac
- +done
- else
- - GCC=
- -fi
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
- +echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +
- +rm -f conftest.$ac_cv_objext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
- +echo "${ECHO_T}$ac_cv_objext" >&6
- +OBJEXT=$ac_cv_objext
- +ac_objext=$OBJEXT
- +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
- +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
- +if test "${ac_cv_c_compiler_gnu+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +#ifndef __GNUC__
- + choke me
- +#endif
-
- -ac_test_CFLAGS="${CFLAGS+set}"
- -ac_save_CFLAGS="$CFLAGS"
- -CFLAGS=
- -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
- -echo "configure:1044: checking whether ${CC-cc} accepts -g" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - echo 'void f(){}' > conftest.c
- -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_compiler_gnu=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_compiler_gnu=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +ac_cv_c_compiler_gnu=$ac_compiler_gnu
- +
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
- +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
- +GCC=`test $ac_compiler_gnu = yes && echo yes`
- +ac_test_CFLAGS=${CFLAGS+set}
- +ac_save_CFLAGS=$CFLAGS
- +CFLAGS="-g"
- +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
- +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
- +if test "${ac_cv_prog_cc_g+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- ac_cv_prog_cc_g=yes
- else
- - ac_cv_prog_cc_g=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_prog_cc_g=no
- fi
- -rm -f conftest*
- -
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- -
- -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
- +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
- +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
- if test "$ac_test_CFLAGS" = set; then
- - CFLAGS="$ac_save_CFLAGS"
- + CFLAGS=$ac_save_CFLAGS
- elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- @@ -1070,96 +2167,276 @@
- CFLAGS=
- fi
- fi
- +# Some people use a C++ compiler to compile C. Since we use `exit',
- +# in C++ we need to declare it. In case someone uses the same compiler
- +# for both compiling C and C++ we need to have the C++ compiler decide
- +# the declaration of exit, since it's the most demanding environment.
- +cat >conftest.$ac_ext <<_ACEOF
- +#ifndef __cplusplus
- + choke me
- +#endif
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + for ac_declaration in \
- + ''\
- + '#include <stdlib.h>' \
- + 'extern "C" void std::exit (int) throw (); using std::exit;' \
- + 'extern "C" void std::exit (int); using std::exit;' \
- + 'extern "C" void exit (int) throw ();' \
- + 'extern "C" void exit (int);' \
- + 'void exit (int);'
- +do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <stdlib.h>
- +$ac_declaration
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +exit (42);
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + :
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +continue
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_declaration
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +exit (42);
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +done
- +rm -f conftest*
- +if test -n "$ac_declaration"; then
- + echo '#ifdef __cplusplus' >>confdefs.h
- + echo $ac_declaration >>confdefs.h
- + echo '#endif' >>confdefs.h
- +fi
-
- -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
- -echo "configure:1076: checking whether ${MAKE-make} sets \${MAKE}" >&5
- -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- else
- - cat > conftestmake <<\EOF
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +
- +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
- +echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
- +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
- +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.make <<\_ACEOF
- all:
- @echo 'ac_maketemp="${MAKE}"'
- -EOF
- +_ACEOF
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
- +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
- if test -n "$ac_maketemp"; then
- eval ac_cv_prog_make_${ac_make}_set=yes
- else
- eval ac_cv_prog_make_${ac_make}_set=no
- fi
- -rm -f conftestmake
- +rm -f conftest.make
- fi
- if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- + echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- SET_MAKE=
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- SET_MAKE="MAKE=${MAKE-make}"
- fi
-
- -# Extract the first word of "ranlib", so it can be a program name with args.
- -set dummy ranlib; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:1105: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +if test -n "$ac_tool_prefix"; then
- + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
- +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_RANLIB+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_RANLIB="ranlib"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -RANLIB="$ac_cv_prog_RANLIB"
- +RANLIB=$ac_cv_prog_RANLIB
- if test -n "$RANLIB"; then
- - echo "$ac_t""$RANLIB" 1>&6
- + echo "$as_me:$LINENO: result: $RANLIB" >&5
- +echo "${ECHO_T}$RANLIB" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- +fi
- +if test -z "$ac_cv_prog_RANLIB"; then
- + ac_ct_RANLIB=$RANLIB
- + # Extract the first word of "ranlib", so it can be a program name with args.
- +set dummy ranlib; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test -n "$ac_ct_RANLIB"; then
- + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
- +else
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_ac_ct_RANLIB="ranlib"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
- +fi
- +fi
- +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
- +if test -n "$ac_ct_RANLIB"; then
- + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
- +echo "${ECHO_T}$ac_ct_RANLIB" >&6
- +else
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +fi
- +
- + RANLIB=$ac_ct_RANLIB
- else
- - echo "$ac_t""no" 1>&6
- + RANLIB="$ac_cv_prog_RANLIB"
- fi
-
- for ac_prog in 'bison -y' byacc
- do
- -# Extract the first word of "$ac_prog", so it can be a program name with args.
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:1137: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_YACC+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$YACC"; then
- ac_cv_prog_YACC="$YACC" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_YACC="$ac_prog"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_YACC="$ac_prog"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -YACC="$ac_cv_prog_YACC"
- +YACC=$ac_cv_prog_YACC
- if test -n "$YACC"; then
- - echo "$ac_t""$YACC" 1>&6
- + echo "$as_me:$LINENO: result: $YACC" >&5
- +echo "${ECHO_T}$YACC" >&6
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- fi
-
- -test -n "$YACC" && break
- + test -n "$YACC" && break
- done
- test -n "$YACC" || YACC="yacc"
-
- @@ -1168,259 +2445,291 @@
- exit 5
- fi
-
- -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
- -echo "configure:1173: checking how to run the C preprocessor" >&5
- -# On Suns, sometimes $CPP names a directory.
- -if test -n "$CPP" && test -d "$CPP"; then
- - CPP=
- -fi
- -if test -z "$CPP"; then
- -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - # This must be in double quotes, not single quotes, because CPP may get
- - # substituted into the Makefile and "${CC-cc}" will confuse make.
- - CPP="${CC-cc} -E"
- - # On the NeXT, cc -E runs the code through the compiler's parser,
- - # not just through cpp.
- - cat > conftest.$ac_ext <<EOF
- -#line 1188 "configure"
- -#include "confdefs.h"
- -#include <assert.h>
- -Syntax Error
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - :
- -else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - CPP="${CC-cc} -E -traditional-cpp"
- - cat > conftest.$ac_ext <<EOF
- -#line 1205 "configure"
- -#include "confdefs.h"
- -#include <assert.h>
- -Syntax Error
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - :
- -else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - CPP="${CC-cc} -nologo -E"
- - cat > conftest.$ac_ext <<EOF
- -#line 1222 "configure"
- -#include "confdefs.h"
- -#include <assert.h>
- -Syntax Error
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - :
- -else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - CPP=/lib/cpp
- -fi
- -rm -f conftest*
- -fi
- -rm -f conftest*
- -fi
- -rm -f conftest*
- - ac_cv_prog_CPP="$CPP"
- -fi
- - CPP="$ac_cv_prog_CPP"
- -else
- - ac_cv_prog_CPP="$CPP"
- -fi
- -echo "$ac_t""$CPP" 1>&6
-
- missing_dir=`cd $ac_aux_dir && pwd`
- for ac_prog in flex lex
- do
- -# Extract the first word of "$ac_prog", so it can be a program name with args.
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:1258: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_LEX+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_LEX="$ac_prog"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_LEX="$ac_prog"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -LEX="$ac_cv_prog_LEX"
- +LEX=$ac_cv_prog_LEX
- if test -n "$LEX"; then
- - echo "$ac_t""$LEX" 1>&6
- + echo "$as_me:$LINENO: result: $LEX" >&5
- +echo "${ECHO_T}$LEX" >&6
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- fi
-
- -test -n "$LEX" && break
- + test -n "$LEX" && break
- done
- test -n "$LEX" || LEX=""$missing_dir/missing flex""
-
- -# Extract the first word of "flex", so it can be a program name with args.
- -set dummy flex; ac_word=$2
- -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
- -echo "configure:1291: checking for $ac_word" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +for ac_prog in flex lex
- +do
- + # Extract the first word of "$ac_prog", so it can be a program name with args.
- +set dummy $ac_prog; ac_word=$2
- +echo "$as_me:$LINENO: checking for $ac_word" >&5
- +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- +if test "${ac_cv_prog_LEX+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$LEX"; then
- ac_cv_prog_LEX="$LEX" # Let the user override the test.
- else
- - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- - ac_dummy="$PATH"
- - for ac_dir in $ac_dummy; do
- - test -z "$ac_dir" && ac_dir=.
- - if test -f $ac_dir/$ac_word; then
- - ac_cv_prog_LEX="flex"
- - break
- - fi
- - done
- - IFS="$ac_save_ifs"
- - test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
- +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for ac_exec_ext in '' $ac_executable_extensions; do
- + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- + ac_cv_prog_LEX="$ac_prog"
- + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- + break 2
- + fi
- +done
- +done
- +
- fi
- fi
- -LEX="$ac_cv_prog_LEX"
- +LEX=$ac_cv_prog_LEX
- if test -n "$LEX"; then
- - echo "$ac_t""$LEX" 1>&6
- + echo "$as_me:$LINENO: result: $LEX" >&5
- +echo "${ECHO_T}$LEX" >&6
- else
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- fi
-
- + test -n "$LEX" && break
- +done
- +test -n "$LEX" || LEX=":"
- +
- if test -z "$LEXLIB"
- then
- - case "$LEX" in
- - flex*) ac_lib=fl ;;
- - *) ac_lib=l ;;
- - esac
- - echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
- -echo "configure:1325: checking for yywrap in -l$ac_lib" >&5
- -ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - ac_save_LIBS="$LIBS"
- -LIBS="-l$ac_lib $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 1333 "configure"
- + echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
- +echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
- +if test "${ac_cv_lib_fl_yywrap+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + ac_check_lib_save_LIBS=$LIBS
- +LIBS="-lfl $LIBS"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char yywrap();
- -
- -int main() {
- -yywrap()
- -; return 0; }
- -EOF
- -if { (eval echo configure:1344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- + builtin and then its argument prototype would still apply. */
- +char yywrap ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +yywrap ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_fl_yywrap=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_fl_yywrap=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
- +echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
- +if test $ac_cv_lib_fl_yywrap = yes; then
- + LEXLIB="-lfl"
- +else
- + echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
- +echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
- +if test "${ac_cv_lib_l_yywrap+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + ac_check_lib_save_LIBS=$LIBS
- +LIBS="-ll $LIBS"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
-
- +/* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char yywrap ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +yywrap ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_l_yywrap=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_l_yywrap=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
- +echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
- +if test $ac_cv_lib_l_yywrap = yes; then
- + LEXLIB="-ll"
- fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - LEXLIB="-l$ac_lib"
- -else
- - echo "$ac_t""no" 1>&6
- +
- fi
-
- fi
-
- -echo $ac_n "checking lex output file root""... $ac_c" 1>&6
- -echo "configure:1367: checking lex output file root" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +if test "x$LEX" != "x:"; then
- + echo "$as_me:$LINENO: checking lex output file root" >&5
- +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
- +if test "${ac_cv_prog_lex_root+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- # The minimal lex program is just a single line: %%. But some broken lexes
- # (Solaris, I think it was) want two %% lines, so accommodate them.
- -echo '%%
- -%%' | $LEX
- +cat >conftest.l <<_ACEOF
- +%%
- +%%
- +_ACEOF
- +{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
- + (eval $LEX conftest.l) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }
- if test -f lex.yy.c; then
- ac_cv_prog_lex_root=lex.yy
- elif test -f lexyy.c; then
- ac_cv_prog_lex_root=lexyy
- else
- - { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
- +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- fi
- -
- -echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
- +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
- +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
- +rm -f conftest.l
- LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
-
- -echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
- -echo "configure:1388: checking whether yytext is a pointer" >&5
- -if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
- +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
- +if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- # POSIX says lex can declare yytext either as a pointer or an array; the
- # default is implementation-dependent. Figure out which it is, since
- # not all implementations provide the %pointer and %array declarations.
- ac_cv_prog_lex_yytext_pointer=no
- echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
- -ac_save_LIBS="$LIBS"
- +ac_save_LIBS=$LIBS
- LIBS="$LIBS $LEXLIB"
- -cat > conftest.$ac_ext <<EOF
- -#line 1400 "configure"
- -#include "confdefs.h"
- +cat >conftest.$ac_ext <<_ACEOF
- `cat $LEX_OUTPUT_ROOT.c`
- -int main() {
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:1407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- ac_cv_prog_lex_yytext_pointer=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_save_LIBS
- rm -f "${LEX_OUTPUT_ROOT}.c"
-
- fi
- -
- -echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
- +echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
- +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
- if test $ac_cv_prog_lex_yytext_pointer = yes; then
- - cat >> confdefs.h <<\EOF
- +
- +cat >>confdefs.h <<\_ACEOF
- #define YYTEXT_POINTER 1
- -EOF
- +_ACEOF
- +
- +fi
-
- fi
-
- @@ -1432,10 +2741,10 @@
-
-
-
- -echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
- -echo "configure:1437: checking for ${CC-cc} option to accept ANSI C" >&5
- -if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
- +echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
- +if test "${am_cv_prog_cc_stdc+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- am_cv_prog_cc_stdc=no
- ac_save_CC="$CC"
- @@ -1448,8 +2757,8 @@
- for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
- do
- CC="$ac_save_CC $ac_arg"
- - cat > conftest.$ac_ext <<EOF
- -#line 1453 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdarg.h>
- #include <stdio.h>
- @@ -1480,29 +2789,51 @@
- int argc;
- char **argv;
-
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:1490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- am_cv_prog_cc_stdc="$ac_arg"; break
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- done
- CC="$ac_save_CC"
-
- fi
-
- if test -z "$am_cv_prog_cc_stdc"; then
- - echo "$ac_t""none needed" 1>&6
- + echo "$as_me:$LINENO: result: none needed" >&5
- +echo "${ECHO_T}none needed" >&6
- else
- - echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
- + echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
- +echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
- fi
- case "x$am_cv_prog_cc_stdc" in
- x|xno) ;;
- @@ -1510,8 +2841,8 @@
- esac
-
-
- -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
- -echo "configure:1515: checking whether build environment is sane" >&5
- +echo "$as_me:$LINENO: checking whether build environment is sane" >&5
- +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
- # Just in case
- sleep 1
- echo timestamp > conftestfile
- @@ -1533,8 +2864,11 @@
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
- -alias in your environment" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" >&5
- +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
- +alias in your environment" >&2;}
- + { (exit 1); exit 1; }; }
- fi
-
- test "$2" = conftestfile
- @@ -1543,23 +2877,27 @@
- # Ok.
- :
- else
- - { echo "configure: error: newly created file is older than distributed files!
- -Check your system clock" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
- +Check your system clock" >&5
- +echo "$as_me: error: newly created file is older than distributed files!
- +Check your system clock" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- rm -f conftest*
- -echo "$ac_t""yes" 1>&6
- -echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
- -echo "configure:1553: checking whether to enable maintainer-specific portions of Makefiles" >&5
- +echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
- +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
- # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
- if test "${enable_maintainer_mode+set}" = set; then
- enableval="$enable_maintainer_mode"
- USE_MAINTAINER_MODE=$enableval
- else
- USE_MAINTAINER_MODE=no
- -fi
- +fi;
- + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
- +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
-
- - echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
- -
-
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- @@ -1569,52 +2907,34 @@
- MAINTAINER_MODE_FALSE=
- fi
- MAINT=$MAINTAINER_MODE_TRUE
- -
-
-
- -if test "$program_transform_name" = s,x,x,; then
- - program_transform_name=
- -else
- - # Double any \ or $. echo might interpret backslashes.
- - cat <<\EOF_SED > conftestsed
- -s,\\,\\\\,g; s,\$,$$,g
- -EOF_SED
- - program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
- - rm -f conftestsed
- -fi
- -test "$program_prefix" != NONE &&
- - program_transform_name="s,^,${program_prefix},; $program_transform_name"
- -# Use a double $ so make ignores it.
- -test "$program_suffix" != NONE &&
- - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
-
- -# sed with no file args requires a program.
- -test "$program_transform_name" = "" && program_transform_name="s,x,x,"
- +
-
-
- # Check whether --with-extra-includes or --without-extra-includes was given.
- if test "${with_extra_includes+set}" = set; then
- withval="$with_extra_includes"
- - CPPFLAGS="$CFLAGS $withval"
- -fi
- + CPPFLAGS="$CFLAGS $withval"
- +fi;
-
- # Check whether --with-extra-libs or --without-extra-libs was given.
- if test "${with_extra_libs+set}" = set; then
- withval="$with_extra_libs"
- - LDFLAGS="$LDFLAGS $withval"
- -fi
- + LDFLAGS="$LDFLAGS $withval"
- +fi;
-
- # Check whether --with-extra-link-libs or --without-extra-link-libs was given.
- if test "${with_extra_link_libs+set}" = set; then
- withval="$with_extra_link_libs"
- - LIBS="$LIBS $withval"
- -fi
- + LIBS="$LIBS $withval"
- +fi;
-
-
-
-
- -
- -if test $ac_cv_prog_gcc = yes; then
- +if test $ac_cv_c_compiler_gnu = yes; then
- LD_STATIC_FLAG='-static'
-
- case "$host_os" in
- @@ -1655,54 +2975,54 @@
- # All AIX code is PIC.
- LD_STATIC_FLAG='-bnso -bI:/lib/syscalls.exp'
- ;;
- -
- +
- hpux9* | hpux10* | hpux11*)
- # Is there a better LD_STATIC_FLAG that works with the bundled CC?
- ## wl='-Wl,'
- LD_STATIC_FLAG="${wl}-a ${wl}archive"
- ## pic_flag='+Z'
- ;;
- -
- +
- irix5* | irix6*)
- ## wl='-Wl,'
- LD_STATIC_FLAG='-non_shared'
- # PIC (with -KPIC) is the default.
- ;;
- -
- +
- cygwin* | mingw* | os2*)
- # We can build DLLs from non-PIC.
- ;;
- -
- +
- osf3* | osf4* | osf5*)
- # All OSF/1 code is PIC.
- ## wl='-Wl,'
- LD_STATIC_FLAG='-non_shared'
- ;;
- -
- +
- sco3.2v5*)
- ## pic_flag='-Kpic'
- LD_STATIC_FLAG='-dn'
- ## special_shlib_compile_flags='-belf'
- ;;
- -
- +
- solaris*)
- ## pic_flag='-KPIC'
- LD_STATIC_FLAG='-Bstatic'
- ## wl='-Wl,'
- ;;
- -
- +
- sunos4*)
- ## pic_flag='-PIC'
- LD_STATIC_FLAG='-Bstatic'
- ## wl='-Qoption ld '
- ;;
- -
- +
- sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- ## pic_flag='-KPIC'
- LD_STATIC_FLAG='-Bstatic'
- ## wl='-Wl,'
- ;;
- -
- +
- uts4*)
- ## pic_flag='-pic'
- LD_STATIC_FLAG='-Bstatic'
- @@ -1724,131 +3044,217 @@
-
-
-
- -
- -echo $ac_n "checking for library containing syslog""... $ac_c" 1>&6
- -echo "configure:1730: checking for library containing syslog" >&5
- -if eval "test \"`echo '$''{'ac_cv_search_syslog'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - ac_func_search_save_LIBS="$LIBS"
- -ac_cv_search_syslog="no"
- -cat > conftest.$ac_ext <<EOF
- -#line 1737 "configure"
- +echo "$as_me:$LINENO: checking for library containing syslog" >&5
- +echo $ECHO_N "checking for library containing syslog... $ECHO_C" >&6
- +if test "${ac_cv_search_syslog+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + ac_func_search_save_LIBS=$LIBS
- +ac_cv_search_syslog=no
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char syslog();
- -
- -int main() {
- -syslog()
- -; return 0; }
- -EOF
- -if { (eval echo configure:1748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- + builtin and then its argument prototype would still apply. */
- +char syslog ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +syslog ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- ac_cv_search_syslog="none required"
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- fi
- -rm -f conftest*
- -test "$ac_cv_search_syslog" = "no" && for i in bsd socket inet; do
- -LIBS="-l$i $ac_func_search_save_LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 1759 "configure"
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +if test "$ac_cv_search_syslog" = no; then
- + for ac_lib in bsd socket inet; do
- + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char syslog();
- -
- -int main() {
- -syslog()
- -; return 0; }
- -EOF
- -if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - ac_cv_search_syslog="-l$i"
- + builtin and then its argument prototype would still apply. */
- +char syslog ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +syslog ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_search_syslog="-l$ac_lib"
- break
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- fi
- -rm -f conftest*
- -done
- -LIBS="$ac_func_search_save_LIBS"
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- + done
- fi
- -
- -echo "$ac_t""$ac_cv_search_syslog" 1>&6
- -if test "$ac_cv_search_syslog" != "no"; then
- +LIBS=$ac_func_search_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_search_syslog" >&5
- +echo "${ECHO_T}$ac_cv_search_syslog" >&6
- +if test "$ac_cv_search_syslog" != no; then
- test "$ac_cv_search_syslog" = "none required" || LIBS="$ac_cv_search_syslog $LIBS"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_SYSLOG 1
- -EOF
- +_ACEOF
-
- -else :
- -
- fi
-
- +
- if test "$cross_compiling" = yes; then
- - echo "configure: warning: cross compiling; assuming little endianess" 1>&2
- + { echo "$as_me:$LINENO: WARNING: cross compiling; assuming little endianess" >&5
- +echo "$as_me: WARNING: cross compiling; assuming little endianess" >&2;}
- fi
- - echo $ac_n "checking endianess""... $ac_c" 1>&6
- -echo "configure:1798: checking endianess" >&5
- - if eval "test \"`echo '$''{'aide_cv_c_endian'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- + echo "$as_me:$LINENO: checking endianess" >&5
- +echo $ECHO_N "checking endianess... $ECHO_C" >&6
- + if test "${aide_cv_c_endian+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- aide_cv_c_endian=unknown
- # See if sys/param.h defines the BYTE_ORDER macro.
- - cat > conftest.$ac_ext <<EOF
- -#line 1805 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/param.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
- bogus endian macros
- #endif
- -; return 0; }
- -EOF
- -if { (eval echo configure:1816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- # It does; now see whether it defined to BIG_ENDIAN or not.
- - cat > conftest.$ac_ext <<EOF
- -#line 1820 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/param.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #if BYTE_ORDER != BIG_ENDIAN
- not big endian
- #endif
- -; return 0; }
- -EOF
- -if { (eval echo configure:1831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_c_endian=big
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_c_endian=little
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_c_endian=little
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- if test "$aide_cv_c_endian" = unknown; then
- if test "$cross_compiling" = yes; then
- aide_cv_c_endian=little
- -
- +
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 1852 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- main () {
- /* Are we little or big endian? From Harbison&Steele. */
- @@ -1860,381 +3266,585 @@
- u.l = 1;
- exit (u.c[sizeof (long) - 1] == 1);
- }
- -EOF
- -if { (eval echo configure:1865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- -then
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_c_endian=little
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -fr conftest*
- - aide_cv_c_endian=big
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +aide_cv_c_endian=big
- fi
- -rm -fr conftest*
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- -
- fi
- -
- +
- fi
-
- - echo "$ac_t""$aide_cv_c_endian" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_c_endian" >&5
- +echo "${ECHO_T}$aide_cv_c_endian" >&6
- if test "$aide_cv_c_endian" = little; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define LITTLE_ENDIAN_HOST 1
- -EOF
- +_ACEOF
-
- else
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define BIG_ENDIAN_HOST 1
- -EOF
- +_ACEOF
-
- fi
- -
-
- - echo $ac_n "checking for byte typedef""... $ac_c" 1>&6
- -echo "configure:1896: checking for byte typedef" >&5
- - if eval "test \"`echo '$''{'aide_cv_typedef_byte'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- + echo "$as_me:$LINENO: checking for byte typedef" >&5
- +echo $ECHO_N "checking for byte typedef... $ECHO_C" >&6
- + if test "${aide_cv_typedef_byte+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 1901 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <sys/types.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #undef byte
- int a = sizeof(byte);
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:1912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_typedef_byte=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_typedef_byte=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_typedef_byte=no
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
-
- - echo "$ac_t""$aide_cv_typedef_byte" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_typedef_byte" >&5
- +echo "${ECHO_T}$aide_cv_typedef_byte" >&6
- if test "$aide_cv_typedef_byte" = yes; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_BYTE_TYPEDEF 1
- -EOF
- +_ACEOF
-
- fi
- -
- - echo $ac_n "checking for ushort typedef""... $ac_c" 1>&6
- -echo "configure:1933: checking for ushort typedef" >&5
- - if eval "test \"`echo '$''{'aide_cv_typedef_ushort'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- + echo "$as_me:$LINENO: checking for ushort typedef" >&5
- +echo $ECHO_N "checking for ushort typedef... $ECHO_C" >&6
- + if test "${aide_cv_typedef_ushort+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 1938 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <sys/types.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #undef ushort
- int a = sizeof(ushort);
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:1949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_typedef_ushort=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_typedef_ushort=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_typedef_ushort=no
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
-
- - echo "$ac_t""$aide_cv_typedef_ushort" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_typedef_ushort" >&5
- +echo "${ECHO_T}$aide_cv_typedef_ushort" >&6
- if test "$aide_cv_typedef_ushort" = yes; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_USHORT_TYPEDEF 1
- -EOF
- +_ACEOF
-
- fi
- -
- - echo $ac_n "checking for ulong typedef""... $ac_c" 1>&6
- -echo "configure:1970: checking for ulong typedef" >&5
- - if eval "test \"`echo '$''{'aide_cv_typedef_ulong'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- + echo "$as_me:$LINENO: checking for ulong typedef" >&5
- +echo $ECHO_N "checking for ulong typedef... $ECHO_C" >&6
- + if test "${aide_cv_typedef_ulong+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 1975 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <sys/types.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #undef ulong
- int a = sizeof(ulong);
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:1986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_typedef_ulong=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_typedef_ulong=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_typedef_ulong=no
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
-
- - echo "$ac_t""$aide_cv_typedef_ulong" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_typedef_ulong" >&5
- +echo "${ECHO_T}$aide_cv_typedef_ulong" >&6
- if test "$aide_cv_typedef_ulong" = yes; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_ULONG_TYPEDEF 1
- -EOF
- +_ACEOF
-
- fi
- -
- - echo $ac_n "checking for u16 typedef""... $ac_c" 1>&6
- -echo "configure:2007: checking for u16 typedef" >&5
- - if eval "test \"`echo '$''{'aide_cv_typedef_u16'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- + echo "$as_me:$LINENO: checking for u16 typedef" >&5
- +echo $ECHO_N "checking for u16 typedef... $ECHO_C" >&6
- + if test "${aide_cv_typedef_u16+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2012 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <sys/types.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #undef u16
- int a = sizeof(u16);
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:2023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_typedef_u16=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_typedef_u16=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_typedef_u16=no
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
-
- - echo "$ac_t""$aide_cv_typedef_u16" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_typedef_u16" >&5
- +echo "${ECHO_T}$aide_cv_typedef_u16" >&6
- if test "$aide_cv_typedef_u16" = yes; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_U16_TYPEDEF 1
- -EOF
- +_ACEOF
-
- fi
- -
- - echo $ac_n "checking for u32 typedef""... $ac_c" 1>&6
- -echo "configure:2044: checking for u32 typedef" >&5
- - if eval "test \"`echo '$''{'aide_cv_typedef_u32'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- + echo "$as_me:$LINENO: checking for u32 typedef" >&5
- +echo $ECHO_N "checking for u32 typedef... $ECHO_C" >&6
- + if test "${aide_cv_typedef_u32+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2049 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <sys/types.h>
- -int main() {
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
-
- #undef u32
- int a = sizeof(u32);
- -
- -; return 0; }
- -EOF
- -if { (eval echo configure:2060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- - rm -rf conftest*
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- aide_cv_typedef_u32=yes
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - aide_cv_typedef_u32=no
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +aide_cv_typedef_u32=no
- fi
- -rm -f conftest*
- +rm -f conftest.$ac_objext conftest.$ac_ext
- fi
-
- - echo "$ac_t""$aide_cv_typedef_u32" 1>&6
- + echo "$as_me:$LINENO: result: $aide_cv_typedef_u32" >&5
- +echo "${ECHO_T}$aide_cv_typedef_u32" >&6
- if test "$aide_cv_typedef_u32" = yes; then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define HAVE_U32_TYPEDEF 1
- -EOF
- +_ACEOF
-
- fi
- -
-
- -echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6
- -echo "configure:2082: checking size of unsigned short" >&5
- -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - if test "$cross_compiling" = yes; then
- - ac_cv_sizeof_unsigned_short=2
- +
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
- +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
- +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
- +# On Suns, sometimes $CPP names a directory.
- +if test -n "$CPP" && test -d "$CPP"; then
- + CPP=
- +fi
- +if test -z "$CPP"; then
- + if test "${ac_cv_prog_CPP+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2090 "configure"
- + # Double quotes because CPP needs to be expanded
- + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- + do
- + ac_preproc_ok=false
- +for ac_c_preproc_warn_flag in '' yes
- +do
- + # Use a header file that comes with gcc, so configuring glibc
- + # with a fresh cross-compiler works.
- + # On the NeXT, cc -E runs the code through the compiler's parser,
- + # not just through cpp. "Syntax error" is here to catch this case.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- -#include <stdio.h>
- -main()
- -{
- - FILE *f=fopen("conftestval", "w");
- - if (!f) exit(1);
- - fprintf(f, "%d\n", sizeof(unsigned short));
- - exit(0);
- -}
- -EOF
- -if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- -then
- - ac_cv_sizeof_unsigned_short=`cat conftestval`
- +#include <assert.h>
- + Syntax error
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -fr conftest*
- - ac_cv_sizeof_unsigned_short=0
- -fi
- -rm -fr conftest*
- + ac_cpp_err=yes
- fi
- -
- +if test -z "$ac_cpp_err"; then
- + :
- +else
- + echo "$as_me: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + # Broken: fails on valid input.
- +continue
- fi
- -echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6
- -cat >> confdefs.h <<EOF
- -#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
- -EOF
- -
- +rm -f conftest.err conftest.$ac_ext
-
- -echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6
- -echo "configure:2121: checking size of unsigned int" >&5
- -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - if test "$cross_compiling" = yes; then
- - ac_cv_sizeof_unsigned_int=4
- + # OK, works on sane cases. Now check whether non-existent headers
- + # can be detected and how.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <ac_nonexistent.h>
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2129 "configure"
- -#include "confdefs.h"
- -#include <stdio.h>
- -main()
- -{
- - FILE *f=fopen("conftestval", "w");
- - if (!f) exit(1);
- - fprintf(f, "%d\n", sizeof(unsigned int));
- - exit(0);
- -}
- -EOF
- -if { (eval echo configure:2140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- -then
- - ac_cv_sizeof_unsigned_int=`cat conftestval`
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + # Broken: success on invalid input.
- +continue
- else
- - echo "configure: failed program was:" >&5
- + echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- - rm -fr conftest*
- - ac_cv_sizeof_unsigned_int=0
- -fi
- -rm -fr conftest*
- + # Passes both tests.
- +ac_preproc_ok=:
- +break
- fi
- +rm -f conftest.err conftest.$ac_ext
-
- +done
- +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
- +rm -f conftest.err conftest.$ac_ext
- +if $ac_preproc_ok; then
- + break
- fi
- -echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6
- -cat >> confdefs.h <<EOF
- -#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
- -EOF
-
- + done
- + ac_cv_prog_CPP=$CPP
-
- -echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
- -echo "configure:2160: checking size of unsigned long" >&5
- -if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - if test "$cross_compiling" = yes; then
- - ac_cv_sizeof_unsigned_long=4
- +fi
- + CPP=$ac_cv_prog_CPP
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2168 "configure"
- + ac_cv_prog_CPP=$CPP
- +fi
- +echo "$as_me:$LINENO: result: $CPP" >&5
- +echo "${ECHO_T}$CPP" >&6
- +ac_preproc_ok=false
- +for ac_c_preproc_warn_flag in '' yes
- +do
- + # Use a header file that comes with gcc, so configuring glibc
- + # with a fresh cross-compiler works.
- + # On the NeXT, cc -E runs the code through the compiler's parser,
- + # not just through cpp. "Syntax error" is here to catch this case.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- -#include <stdio.h>
- -main()
- -{
- - FILE *f=fopen("conftestval", "w");
- - if (!f) exit(1);
- - fprintf(f, "%d\n", sizeof(unsigned long));
- - exit(0);
- -}
- -EOF
- -if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- -then
- - ac_cv_sizeof_unsigned_long=`cat conftestval`
- +#include <assert.h>
- + Syntax error
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - echo "configure: failed program was:" >&5
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + :
- +else
- + echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- - rm -fr conftest*
- - ac_cv_sizeof_unsigned_long=0
- + # Broken: fails on valid input.
- +continue
- fi
- -rm -fr conftest*
- +rm -f conftest.err conftest.$ac_ext
- +
- + # OK, works on sane cases. Now check whether non-existent headers
- + # can be detected and how.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <ac_nonexistent.h>
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- +else
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + # Broken: success on invalid input.
- +continue
- +else
- + echo "$as_me: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + # Passes both tests.
- +ac_preproc_ok=:
- +break
- fi
- +rm -f conftest.err conftest.$ac_ext
-
- +done
- +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
- +rm -f conftest.err conftest.$ac_ext
- +if $ac_preproc_ok; then
- + :
- +else
- + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
- +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- -echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6
- -cat >> confdefs.h <<EOF
- -#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
- -EOF
-
- +ac_ext=c
- +ac_cpp='$CPP $CPPFLAGS'
- +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- +ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
- -echo "configure:2200: checking for ANSI C header files" >&5
- -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
- +if test "${ac_cv_header_stdc+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2205 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - rm -rf conftest*
- +
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- +else
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- ac_cv_header_stdc=yes
- else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- + echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- - rm -rf conftest*
- ac_cv_header_stdc=no
- fi
- -rm -f conftest*
- +rm -f conftest.err conftest.$ac_ext
-
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- -cat > conftest.$ac_ext <<EOF
- -#line 2230 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <string.h>
- -EOF
- +
- +_ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "memchr" >/dev/null 2>&1; then
- :
- else
- - rm -rf conftest*
- ac_cv_header_stdc=no
- fi
- rm -f conftest*
- @@ -2243,16 +3853,16 @@
-
- if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- -cat > conftest.$ac_ext <<EOF
- -#line 2248 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <stdlib.h>
- -EOF
- +
- +_ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "free" >/dev/null 2>&1; then
- :
- else
- - rm -rf conftest*
- ac_cv_header_stdc=no
- fi
- rm -f conftest*
- @@ -2261,367 +3871,1836 @@
-
- if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- -if test "$cross_compiling" = yes; then
- + if test "$cross_compiling" = yes; then
- :
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2269 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <ctype.h>
- -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- -int main () { int i; for (i = 0; i < 256; i++)
- -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
- -exit (0); }
- +#if ((' ' & 0x0FF) == 0x020)
- +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- +#else
- +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
- + || ('j' <= (c) && (c) <= 'r') \
- + || ('s' <= (c) && (c) <= 'z'))
- +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- +#endif
-
- -EOF
- -if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- -then
- +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- +int
- +main ()
- +{
- + int i;
- + for (i = 0; i < 256; i++)
- + if (XOR (islower (i), ISLOWER (i))
- + || toupper (i) != TOUPPER (i))
- + exit(2);
- + exit (0);
- +}
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- :
- else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -fr conftest*
- - ac_cv_header_stdc=no
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +ac_cv_header_stdc=no
- fi
- -rm -fr conftest*
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- fi
- -
- fi
- fi
- -
- -echo "$ac_t""$ac_cv_header_stdc" 1>&6
- +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
- +echo "${ECHO_T}$ac_cv_header_stdc" >&6
- if test $ac_cv_header_stdc = yes; then
- - cat >> confdefs.h <<\EOF
- +
- +cat >>confdefs.h <<\_ACEOF
- #define STDC_HEADERS 1
- -EOF
- +_ACEOF
-
- fi
-
- -for ac_func in readdir readdir_r stricmp ustat
- -do
- -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2306: checking for $ac_func" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 2311 "configure"
- -#include "confdefs.h"
- -/* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char $ac_func(); below. */
- -#include <assert.h>
- -/* Override any gcc2 internal prototype to avoid an error. */
- -/* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char $ac_func();
- +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-
- -int main() {
-
- -/* The GNU C library defines this for functions which it implements
- - to always fail with ENOSYS. Some functions are actually named
- - something starting with __ and the normal name is an alias. */
- -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- -choke me
- -#else
- -$ac_func();
- -#endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=no"
- -fi
- -rm -f conftest*
- -fi
-
- -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_func 1
- -EOF
- -
- -else
- - echo "$ac_t""no" 1>&6
- -fi
- -done
-
- -# Check whether --with-mmap or --without-mmap was given.
- -if test "${with_mmap+set}" = set; then
- - withval="$with_mmap"
- - if test "x$withval" = "xyes"; then
- - for ac_func in mmap
- -do
- -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2365: checking for $ac_func" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 2370 "configure"
- -#include "confdefs.h"
- -/* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char $ac_func(); below. */
- -#include <assert.h>
- -/* Override any gcc2 internal prototype to avoid an error. */
- -/* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char $ac_func();
-
- -int main() {
-
- -/* The GNU C library defines this for functions which it implements
- - to always fail with ENOSYS. Some functions are actually named
- - something starting with __ and the normal name is an alias. */
- -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- -choke me
- -#else
- -$ac_func();
- -#endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:2393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=no"
- -fi
- -rm -f conftest*
- -fi
-
- -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_func 1
- -EOF
- -
- -else
- - echo "$ac_t""no" 1>&6
- +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- + inttypes.h stdint.h unistd.h
- +do
- +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +
- +#include <$ac_header>
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + eval "$as_ac_Header=yes"
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +eval "$as_ac_Header=no"
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +if test `eval echo '${'$as_ac_Header'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- fi
- +
- done
-
- - fi
- -
- +
- +echo "$as_me:$LINENO: checking for unsigned short" >&5
- +echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
- +if test "${ac_cv_type_unsigned_short+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +if ((unsigned short *) 0)
- + return 0;
- +if (sizeof (unsigned short))
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_type_unsigned_short=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_type_unsigned_short=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
- +echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
- +
- +echo "$as_me:$LINENO: checking size of unsigned short" >&5
- +echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
- +if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test "$ac_cv_type_unsigned_short" = yes; then
- + # The cast to unsigned long works around a bug in the HP C Compiler
- + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- + # This bug is HP SR number 8606223364.
- + if test "$cross_compiling" = yes; then
- + # Depending upon the size, compute the lo and hi bounds.
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=0 ac_mid=0
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr $ac_mid + 1`
- + if test $ac_lo -le $ac_mid; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=-1 ac_mid=-1
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_hi=`expr '(' $ac_mid ')' - 1`
- + if test $ac_mid -le $ac_hi; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo= ac_hi=
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +# Binary search between lo and hi bounds.
- +while test "x$ac_lo" != "x$ac_hi"; do
- + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr '(' $ac_mid ')' + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +done
- +case $ac_lo in
- +?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
- +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;}
- + { (exit 1); exit 1; }; } ;;
- +esac
- +else
- + if test "$cross_compiling" = yes; then
- + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
- +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
- + { (exit 1); exit 1; }; }
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +long longval () { return (long) (sizeof (unsigned short)); }
- +unsigned long ulongval () { return (long) (sizeof (unsigned short)); }
- +#include <stdio.h>
- +#include <stdlib.h>
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +
- + FILE *f = fopen ("conftest.val", "w");
- + if (! f)
- + exit (1);
- + if (((long) (sizeof (unsigned short))) < 0)
- + {
- + long i = longval ();
- + if (i != ((long) (sizeof (unsigned short))))
- + exit (1);
- + fprintf (f, "%ld\n", i);
- + }
- + else
- + {
- + unsigned long i = ulongval ();
- + if (i != ((long) (sizeof (unsigned short))))
- + exit (1);
- + fprintf (f, "%lu\n", i);
- + }
- + exit (ferror (f) || fclose (f) != 0);
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_sizeof_unsigned_short=`cat conftest.val`
- +else
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- +fi
- +fi
- +rm -f conftest.val
- +else
- + ac_cv_sizeof_unsigned_short=0
- +fi
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
- +echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
- +cat >>confdefs.h <<_ACEOF
- +#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
- +_ACEOF
- +
- +
- +echo "$as_me:$LINENO: checking for unsigned int" >&5
- +echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
- +if test "${ac_cv_type_unsigned_int+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +if ((unsigned int *) 0)
- + return 0;
- +if (sizeof (unsigned int))
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_type_unsigned_int=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_type_unsigned_int=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
- +echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
- +
- +echo "$as_me:$LINENO: checking size of unsigned int" >&5
- +echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
- +if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test "$ac_cv_type_unsigned_int" = yes; then
- + # The cast to unsigned long works around a bug in the HP C Compiler
- + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- + # This bug is HP SR number 8606223364.
- + if test "$cross_compiling" = yes; then
- + # Depending upon the size, compute the lo and hi bounds.
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=0 ac_mid=0
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr $ac_mid + 1`
- + if test $ac_lo -le $ac_mid; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- else
- - for ac_func in mmap
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=-1 ac_mid=-1
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_hi=`expr '(' $ac_mid ')' - 1`
- + if test $ac_mid -le $ac_hi; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo= ac_hi=
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +# Binary search between lo and hi bounds.
- +while test "x$ac_lo" != "x$ac_hi"; do
- + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr '(' $ac_mid ')' + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +done
- +case $ac_lo in
- +?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
- +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;}
- + { (exit 1); exit 1; }; } ;;
- +esac
- +else
- + if test "$cross_compiling" = yes; then
- + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
- +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
- + { (exit 1); exit 1; }; }
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +long longval () { return (long) (sizeof (unsigned int)); }
- +unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
- +#include <stdio.h>
- +#include <stdlib.h>
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +
- + FILE *f = fopen ("conftest.val", "w");
- + if (! f)
- + exit (1);
- + if (((long) (sizeof (unsigned int))) < 0)
- + {
- + long i = longval ();
- + if (i != ((long) (sizeof (unsigned int))))
- + exit (1);
- + fprintf (f, "%ld\n", i);
- + }
- + else
- + {
- + unsigned long i = ulongval ();
- + if (i != ((long) (sizeof (unsigned int))))
- + exit (1);
- + fprintf (f, "%lu\n", i);
- + }
- + exit (ferror (f) || fclose (f) != 0);
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_sizeof_unsigned_int=`cat conftest.val`
- +else
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- +fi
- +fi
- +rm -f conftest.val
- +else
- + ac_cv_sizeof_unsigned_int=0
- +fi
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
- +echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
- +cat >>confdefs.h <<_ACEOF
- +#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
- +_ACEOF
- +
- +
- +echo "$as_me:$LINENO: checking for unsigned long" >&5
- +echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
- +if test "${ac_cv_type_unsigned_long+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +if ((unsigned long *) 0)
- + return 0;
- +if (sizeof (unsigned long))
- + return 0;
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_type_unsigned_long=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_type_unsigned_long=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
- +echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
- +
- +echo "$as_me:$LINENO: checking size of unsigned long" >&5
- +echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
- +if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + if test "$ac_cv_type_unsigned_long" = yes; then
- + # The cast to unsigned long works around a bug in the HP C Compiler
- + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
- + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
- + # This bug is HP SR number 8606223364.
- + if test "$cross_compiling" = yes; then
- + # Depending upon the size, compute the lo and hi bounds.
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=0 ac_mid=0
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr $ac_mid + 1`
- + if test $ac_lo -le $ac_mid; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=-1 ac_mid=-1
- + while :; do
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_lo=$ac_mid; break
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_hi=`expr '(' $ac_mid ')' - 1`
- + if test $ac_mid -le $ac_hi; then
- + ac_lo= ac_hi=
- + break
- + fi
- + ac_mid=`expr 2 '*' $ac_mid`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- + done
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo= ac_hi=
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +# Binary search between lo and hi bounds.
- +while test "x$ac_lo" != "x$ac_hi"; do
- + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
- +test_array [0] = 0
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_hi=$ac_mid
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_lo=`expr '(' $ac_mid ')' + 1`
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +done
- +case $ac_lo in
- +?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
- +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;}
- + { (exit 1); exit 1; }; } ;;
- +esac
- +else
- + if test "$cross_compiling" = yes; then
- + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
- +echo "$as_me: error: cannot run test program while cross compiling" >&2;}
- + { (exit 1); exit 1; }; }
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +long longval () { return (long) (sizeof (unsigned long)); }
- +unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
- +#include <stdio.h>
- +#include <stdlib.h>
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +
- + FILE *f = fopen ("conftest.val", "w");
- + if (! f)
- + exit (1);
- + if (((long) (sizeof (unsigned long))) < 0)
- + {
- + long i = longval ();
- + if (i != ((long) (sizeof (unsigned long))))
- + exit (1);
- + fprintf (f, "%ld\n", i);
- + }
- + else
- + {
- + unsigned long i = ulongval ();
- + if (i != ((long) (sizeof (unsigned long))))
- + exit (1);
- + fprintf (f, "%lu\n", i);
- + }
- + exit (ferror (f) || fclose (f) != 0);
- +
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_sizeof_unsigned_long=`cat conftest.val`
- +else
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5
- +echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;}
- + { (exit 1); exit 1; }; }
- +fi
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- +fi
- +fi
- +rm -f conftest.val
- +else
- + ac_cv_sizeof_unsigned_long=0
- +fi
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
- +echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
- +cat >>confdefs.h <<_ACEOF
- +#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
- +_ACEOF
- +
- +
- +
- +echo "$as_me:$LINENO: checking for ANSI C header files" >&5
- +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
- +if test "${ac_cv_header_stdc+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <stdlib.h>
- +#include <stdarg.h>
- +#include <string.h>
- +#include <float.h>
- +
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- +else
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + ac_cv_header_stdc=yes
- +else
- + echo "$as_me: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest.err conftest.$ac_ext
- +
- +if test $ac_cv_header_stdc = yes; then
- + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <string.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + egrep "memchr" >/dev/null 2>&1; then
- + :
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <stdlib.h>
- +
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + egrep "free" >/dev/null 2>&1; then
- + :
- +else
- + ac_cv_header_stdc=no
- +fi
- +rm -f conftest*
- +
- +fi
- +
- +if test $ac_cv_header_stdc = yes; then
- + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- + if test "$cross_compiling" = yes; then
- + :
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <ctype.h>
- +#if ((' ' & 0x0FF) == 0x020)
- +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- +#else
- +# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
- + || ('j' <= (c) && (c) <= 'r') \
- + || ('s' <= (c) && (c) <= 'z'))
- +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- +#endif
- +
- +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
- +int
- +main ()
- +{
- + int i;
- + for (i = 0; i < 256; i++)
- + if (XOR (islower (i), ISLOWER (i))
- + || toupper (i) != TOUPPER (i))
- + exit(2);
- + exit (0);
- +}
- +_ACEOF
- +rm -f conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + :
- +else
- + echo "$as_me: program exited with status $ac_status" >&5
- +echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +( exit $ac_status )
- +ac_cv_header_stdc=no
- +fi
- +rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
- +fi
- +fi
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
- +echo "${ECHO_T}$ac_cv_header_stdc" >&6
- +if test $ac_cv_header_stdc = yes; then
- +
- +cat >>confdefs.h <<\_ACEOF
- +#define STDC_HEADERS 1
- +_ACEOF
- +
- +fi
- +
- +
- +
- +
- +
- +
- +for ac_func in readdir readdir_r stricmp strnstr ustat
- do
- -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:2423: checking for $ac_func" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- +echo "$as_me:$LINENO: checking for $ac_func" >&5
- +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_var+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2428 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char $ac_func(); below. */
- + which can conflict with char $ac_func (); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char $ac_func();
- -
- -int main() {
- -
- + builtin and then its argument prototype would still apply. */
- +char $ac_func ();
- +char (*f) ();
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- -$ac_func();
- +f = $ac_func;
- #endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=no"
- -fi
- -rm -f conftest*
- -fi
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + eval "$as_ac_var=yes"
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +eval "$as_ac_var=no"
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
- +if test `eval echo '${'$as_ac_var'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
- +_ACEOF
-
- -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_func 1
- -EOF
- -
- -else
- - echo "$ac_t""no" 1>&6
- fi
- done
-
-
- -fi
- +# Check whether --with-mmap or --without-mmap was given.
- +if test "${with_mmap+set}" = set; then
- + withval="$with_mmap"
- + if test "x$withval" = "xyes"; then
-
- -echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
- -echo "configure:2479: checking for vsnprintf" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +for ac_func in mmap
- +do
- +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- +echo "$as_me:$LINENO: checking for $ac_func" >&5
- +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_var+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2484 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- -/* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char vsnprintf(); below. */
- +/* System header to define __stub macros and hopefully few prototypes
- +else
- + which can conflict with char $ac_func (); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char vsnprintf();
- + builtin and then its argument prototype would still apply. */
- +char $ac_func ();
- +char (*f) ();
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +/* The GNU C library defines this for functions which it implements
- + to always fail with ENOSYS. Some functions are actually named
- + something starting with __ and the normal name is an alias. */
- +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- +choke me
- +#else
- +f = $ac_func;
- +#endif
-
- -int main() {
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + eval "$as_ac_var=yes"
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +eval "$as_ac_var=no"
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
- +if test `eval echo '${'$as_ac_var'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +done
-
- + fi
- +
- +fi;
- +echo "$as_me:$LINENO: checking for vsnprintf" >&5
- +echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
- +if test "${ac_cv_func_vsnprintf+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +/* System header to define __stub macros and hopefully few prototypes,
- + which can conflict with char vsnprintf (); below. */
- +#include <assert.h>
- +/* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char vsnprintf ();
- +char (*f) ();
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
- choke me
- #else
- -vsnprintf();
- +f = vsnprintf;
- #endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_vsnprintf=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_vsnprintf=no"
- -fi
- -rm -f conftest*
- -fi
- -
- -if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_func_vsnprintf=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_func_vsnprintf=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
- +echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6
- +if test $ac_cv_func_vsnprintf = yes; then
- :
- else
- - echo "$ac_t""no" 1>&6
- -echo "Must have a system that supports vsnprintf"
- + echo "Must have a system that supports vsnprintf"
- exit 1
- fi
-
-
- -for ac_hdr in syslog.h ustat.h
- +
- +
- +for ac_header in syslog.h ustat.h
- do
- -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:2533: checking for $ac_hdr" >&5
- -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 2538 "configure"
- -#include "confdefs.h"
- -#include <$ac_hdr>
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=yes"
- +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +else
- + # Is the header compilable?
- +echo "$as_me:$LINENO: checking $ac_header usability" >&5
- +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#include <$ac_header>
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_header_compiler=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_header_compiler=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
- +echo "${ECHO_T}$ac_header_compiler" >&6
- +
- +# Is the header present?
- +echo "$as_me:$LINENO: checking $ac_header presence" >&5
- +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <$ac_header>
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=no"
- + ac_cpp_err=yes
- fi
- -rm -f conftest*
- +if test -z "$ac_cpp_err"; then
- + ac_header_preproc=yes
- +else
- + echo "$as_me: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + ac_header_preproc=no
- fi
- -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_hdr 1
- -EOF
- -
- +rm -f conftest.err conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- +echo "${ECHO_T}$ac_header_preproc" >&6
- +
- +# So? What about this header?
- +case $ac_header_compiler:$ac_header_preproc in
- + yes:no )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
- +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- + no:yes )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
- +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
- +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- +esac
- +echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - echo "$ac_t""no" 1>&6
- + eval "$as_ac_Header=$ac_header_preproc"
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +
- fi
- +if test `eval echo '${'$as_ac_Header'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- +fi
- +
- done
-
-
-
- AIDE_USE_LOCALE="#"
-
- +
- # Check whether --with-locale or --without-locale was given.
- if test "${with_locale+set}" = set; then
- withval="$with_locale"
- - for ac_hdr in libintl.h
- +
- +for ac_header in libintl.h
- do
- -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:2580: checking for $ac_hdr" >&5
- -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 2585 "configure"
- -#include "confdefs.h"
- -#include <$ac_hdr>
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=yes"
- +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +else
- + # Is the header compilable?
- +echo "$as_me:$LINENO: checking $ac_header usability" >&5
- +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#include <$ac_header>
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_header_compiler=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_header_compiler=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
- +echo "${ECHO_T}$ac_header_compiler" >&6
- +
- +# Is the header present?
- +echo "$as_me:$LINENO: checking $ac_header presence" >&5
- +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <$ac_header>
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=no"
- + ac_cpp_err=yes
- fi
- -rm -f conftest*
- +if test -z "$ac_cpp_err"; then
- + ac_header_preproc=yes
- +else
- + echo "$as_me: failed program was:" >&5
- + cat conftest.$ac_ext >&5
- + ac_header_preproc=no
- fi
- -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_hdr 1
- -EOF
- - cat >> confdefs.h <<\EOF
- +rm -f conftest.err conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- +echo "${ECHO_T}$ac_header_preproc" >&6
- +
- +# So? What about this header?
- +case $ac_header_compiler:$ac_header_preproc in
- + yes:no )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
- +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- + no:yes )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
- +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
- +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- +esac
- +echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + eval "$as_ac_Header=$ac_header_preproc"
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +
- +fi
- +if test `eval echo '${'$as_ac_Header'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- + cat >>confdefs.h <<\_ACEOF
- #define USE_LOCALE 1
- -EOF
- +_ACEOF
-
- AIDE_USE_LOCALE=""
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define LOCALEDIR "$prefix/lib/locale"
- -EOF
- +_ACEOF
-
- -else
- - echo "$ac_t""no" 1>&6
- fi
- +
- done
-
-
- -fi
- +fi;
-
-
-
- @@ -2629,595 +5708,842 @@
- # Check whether --with-syslog_ident or --without-syslog_ident was given.
- if test "${with_syslog_ident+set}" = set; then
- withval="$with_syslog_ident"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_IDENT "$withval"
- -EOF
- +_ACEOF
-
- -
- -fi
- +
- +fi;
-
-
- # Check whether --with-syslog_facility or --without-syslog_facility was given.
- if test "${with_syslog_facility+set}" = set; then
- withval="$with_syslog_facility"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_SYSLOG_FACILITY $withval
- -EOF
- +_ACEOF
- +
- +
- +fi;
-
- -
- -fi
-
- -
-
- # Check whether --with-syslog_logopt or --without-syslog_logopt was given.
- if test "${with_syslog_logopt+set}" = set; then
- withval="$with_syslog_logopt"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_LOGOPT $withval
- -EOF
- +_ACEOF
-
- -
- -fi
- +
- +fi;
-
- # Check whether --with-syslog_priority or --without-syslog_priority was given.
- if test "${with_syslog_priority+set}" = set; then
- withval="$with_syslog_priority"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define SYSLOG_PRIORITY $withval
- -EOF
- +_ACEOF
-
- -
- -fi
- +
- +fi;
-
-
-
- # Check whether --with-zlib or --without-zlib was given.
- if test "${with_zlib+set}" = set; then
- withval="$with_zlib"
- - :
- +
- else
- with_zlib=yes
- -fi
- +fi;
-
-
- +echo "$as_me:$LINENO: checking for acl-support" >&5
- +echo $ECHO_N "checking for acl-support... $ECHO_C" >&6
-
- -echo $ac_n "checking for acl-support""... $ac_c" 1>&6
- -echo "configure:2686: checking for acl-support" >&5
- # Check whether --with-sun-acl or --without-sun-acl was given.
- if test "${with_sun_acl+set}" = set; then
- withval="$with_sun_acl"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_SUN_ACL 1
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_ACL 1
- -EOF
- +_ACEOF
-
- ACLLIB="-lsec"
- - echo "$ac_t""yes" 1>&6
- -
- + echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- +
- else
- - echo "$ac_t""no" 1>&6
- -
- -fi
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +
- +fi;
-
-
-
-
-
- -
-
- -echo $ac_n "checking for lstat64""... $ac_c" 1>&6
- -echo "configure:2713: checking for lstat64" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_lstat64'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for lstat64" >&5
- +echo $ECHO_N "checking for lstat64... $ECHO_C" >&6
- +if test "${ac_cv_func_lstat64+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 2718 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char lstat64(); below. */
- + which can conflict with char lstat64 (); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char lstat64();
- -
- -int main() {
- -
- + builtin and then its argument prototype would still apply. */
- +char lstat64 ();
- +char (*f) ();
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_lstat64) || defined (__stub___lstat64)
- choke me
- #else
- -lstat64();
- +f = lstat64;
- #endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_lstat64=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_lstat64=no"
- -fi
- -rm -f conftest*
- -fi
- -
- -if eval "test \"`echo '$ac_cv_func_'lstat64`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_func_lstat64=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_func_lstat64=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_func_lstat64" >&5
- +echo "${ECHO_T}$ac_cv_func_lstat64" >&6
- +if test $ac_cv_func_lstat64 = yes; then
- # This looks wierd because Linux defines lstat64 and then screws it up
- - cat > conftest.$ac_ext <<EOF
- -#line 2757 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #ifdef stat64
- yes
- #endif
- -EOF
- +_ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "yes" >/dev/null 2>&1; then
- - rm -rf conftest*
- - cat > conftest.$ac_ext <<EOF
- -#line 2767 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #ifdef ino64_t
- yes
- #endif
- -EOF
- +_ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "yes" >/dev/null 2>&1; then
- - rm -rf conftest*
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_LSTAT_FUNC lstat64
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_STAT_FUNC stat64
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_STAT_TYPE stat64
- -EOF
- +_ACEOF
-
- else
- - rm -rf conftest*
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_INO_TYPE ino64_t
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_OFF_TYPE off64_t
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_BLKCNT_TYPE blkcnt64_t
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_READDIR_FUNC readdir64
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_READDIR_R_FUNC readdir64_r
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_DIRENT_TYPE dirent64
- -EOF
- +_ACEOF
-
- compoptionstring="${compoptionstring}WITH_READDIR64\\n"
- fi
- rm -f conftest*
-
- +
- fi
- rm -f conftest*
-
- compoptionstring="${compoptionstring}WITH_LSTAT64\\n"
- -
- +
- else
- - echo "$ac_t""no" 1>&6
- -cat >> confdefs.h <<EOF
- +
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_LSTAT_FUNC lstat
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_STAT_TYPE stat
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_INO_TYPE ino_t
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_OFF_TYPE off_t
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#ifdef blkcnt_t
- +_ACEOF
- +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- + egrep "yes" >/dev/null 2>&1; then
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_BLKCNT_TYPE blkcnt_t
- -EOF
- +_ACEOF
- +
- +else
- + cat >>confdefs.h <<_ACEOF
- +#define AIDE_BLKCNT_TYPE int64_t
- +_ACEOF
- +
- +
- +fi
- +rm -f conftest*
-
- compoptionstring="${compoptionstring}WITH_LSTAT\\n"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_READDIR_FUNC readdir
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_READDIR_R_FUNC readdir_r
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define AIDE_DIRENT_TYPE dirent
- -EOF
- +_ACEOF
-
- compoptionstring="${compoptionstring}WITH_READDIR\\n"
- -
- +
- fi
-
-
-
- +
- # Check whether --with-config_file or --without-config_file was given.
- if test "${with_config_file+set}" = set; then
- withval="$with_config_file"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFIG_FILE "$withval"
- -EOF
- +_ACEOF
-
- config_file=$withval
-
- else
- if test "x$sysconfdir" != x'${prefix}/etc'; then
- config_file=`eval echo "$sysconfdir/aide.conf"`
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFIG_FILE "$config_file"
- -EOF
- +_ACEOF
-
- elif test "x$prefix" != xNONE; then
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFIG_FILE "$prefix/etc/aide.conf"
- -EOF
- -
- +_ACEOF
- +
- config_file="$prefix/etc/aide.conf"
- else
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFIG_FILE "$ac_default_prefix/etc/aide.conf"
- -EOF
- -
- +_ACEOF
- +
- config_file="$ac_default_prefix/etc/aide.conf"
- fi
-
-
- -fi
- -
- +fi;
-
- if test "x$sysconfdir" != x'${prefix}/etc'; then
- evalled_sysconfdir=`eval echo "$sysconfdir"`
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB "$evalled_sysconfdir/aide.db"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB_OUT "$evalled_sysconfdir/aide.db.new"
- -EOF
- +_ACEOF
-
- elif test "x$prefix" != xNONE; then
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB "$prefix/etc/aide.db"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB_OUT "$prefix/etc/aide.db.new"
- -EOF
- +_ACEOF
-
- else
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB "$ac_default_prefix/etc/aide.db"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DEFAULT_DB_OUT "$ac_default_prefix/etc/aide.db.new"
- -EOF
- +_ACEOF
-
- fi
-
-
-
- if test x$with_zlib = xyes; then
- - for ac_hdr in zlib.h
- +
- +for ac_header in zlib.h
- do
- -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- -echo "configure:2935: checking for $ac_hdr" >&5
- -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 2940 "configure"
- -#include "confdefs.h"
- -#include <$ac_hdr>
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:2945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=yes"
- +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +else
- + # Is the header compilable?
- +echo "$as_me:$LINENO: checking $ac_header usability" >&5
- +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#include <$ac_header>
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_header_compiler=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_header_compiler=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
- +echo "${ECHO_T}$ac_header_compiler" >&6
- +
- +# Is the header present?
- +echo "$as_me:$LINENO: checking $ac_header presence" >&5
- +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +#include <$ac_header>
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + ac_header_preproc=yes
- +else
- + echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=no"
- + ac_header_preproc=no
- fi
- -rm -f conftest*
- +rm -f conftest.err conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- +echo "${ECHO_T}$ac_header_preproc" >&6
- +
- +# So? What about this header?
- +case $ac_header_compiler:$ac_header_preproc in
- + yes:no )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
- +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- + no:yes )
- + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
- +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
- +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
- + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
- +esac
- +echo "$as_me:$LINENO: checking for $ac_header" >&5
- +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_Header+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + eval "$as_ac_Header=$ac_header_preproc"
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
- +
- fi
- -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_hdr 1
- -EOF
- -
- +if test `eval echo '${'$as_ac_Header'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
- +_ACEOF
- +
- else
- - echo "$ac_t""no" 1>&6
- -echo "You don't have zlib properly installed."
- + echo "You don't have zlib properly installed."
- echo "Install it or try --without-zlib."
- exit 1
- fi
- +
- done
-
- save_LDFLAGS=$LDFLAGS
- LDFLAGS="$LDFLAGS $LD_STATIC_FLAG"
- - echo $ac_n "checking for gzdopen in -lz""... $ac_c" 1>&6
- -echo "configure:2977: checking for gzdopen in -lz" >&5
- -ac_lib_var=`echo z'_'gzdopen | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- +echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5
- +echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
- +if test "${ac_cv_lib_z_gzdopen+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - ac_save_LIBS="$LIBS"
- + ac_check_lib_save_LIBS=$LIBS
- LIBS="-lz $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 2985 "configure"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char gzdopen();
- -
- -int main() {
- -gzdopen()
- -; return 0; }
- -EOF
- -if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- -
- -fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \
- - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_lib 1
- -EOF
- + builtin and then its argument prototype would still apply. */
- +char gzdopen ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +gzdopen ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_z_gzdopen=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_z_gzdopen=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
- +echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
- +if test $ac_cv_lib_z_gzdopen = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_LIBZ 1
- +_ACEOF
-
- LIBS="-lz $LIBS"
-
- else
- - echo "$ac_t""no" 1>&6
- -echo "You don't have zlib properly installed."
- + echo "You don't have zlib properly installed."
- echo "Install it or try --without-zlib."
- exit 1
- fi
-
- LDFLAGS=$save_LDFLAGS
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_ZLIB 1
- -EOF
- +_ACEOF
-
- fi
-
- +
- # Check whether --with-gnu-regexp or --without-gnu-regexp was given.
- if test "${with_gnu_regexp+set}" = set; then
- withval="$with_gnu_regexp"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define REGEX 1
- -EOF
- +_ACEOF
-
-
- -else
- - for ac_func in regexec regcomp
- +
- +for ac_func in regexec regcomp
- do
- -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- -echo "configure:3045: checking for $ac_func" >&5
- -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
- +echo "$as_me:$LINENO: checking for $ac_func" >&5
- +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- +if eval "test \"\${$as_ac_var+set}\" = set"; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - cat > conftest.$ac_ext <<EOF
- -#line 3050 "configure"
- + cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- -/* System header to define __stub macros and hopefully few prototypes,
- - which can conflict with char $ac_func(); below. */
- +/* System header to define __stub macros and hopefully few prototypes
- +else
- + which can conflict with char $ac_func (); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char $ac_func();
- -
- -int main() {
- -
- + builtin and then its argument prototype would still apply. */
- +char $ac_func ();
- +char (*f) ();
- +
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- -$ac_func();
- +f = $ac_func;
- #endif
-
- -; return 0; }
- -EOF
- -if { (eval echo configure:3073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_func_$ac_func=no"
- -fi
- -rm -f conftest*
- -fi
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + eval "$as_ac_var=yes"
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +eval "$as_ac_var=no"
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +fi
- +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
- +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
- +if test `eval echo '${'$as_ac_var'}'` = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
- +_ACEOF
-
- -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_func 1
- -EOF
- -
- else
- - echo "$ac_t""no" 1>&6
- -cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define REGEX 1
- -EOF
- +_ACEOF
-
- fi
- done
-
-
- -fi
- +fi;
-
-
- # Check whether --with-gcrypt or --without-gcrypt was given.
- if test "${with_gcrypt+set}" = set; then
- withval="$with_gcrypt"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_GCRYPT 1
- -EOF
- +_ACEOF
-
- - ac_safe=`echo "gcrypt.h" | sed 'y%./+-%__p_%'`
- -echo $ac_n "checking for gcrypt.h""... $ac_c" 1>&6
- -echo "configure:3114: checking for gcrypt.h" >&5
- -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- -else
- - cat > conftest.$ac_ext <<EOF
- -#line 3119 "configure"
- + if test "${ac_cv_header_gcrypt_h+set}" = set; then
- + echo "$as_me:$LINENO: checking for gcrypt.h" >&5
- +echo $ECHO_N "checking for gcrypt.h... $ECHO_C" >&6
- +if test "${ac_cv_header_gcrypt_h+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_header_gcrypt_h" >&5
- +echo "${ECHO_T}$ac_cv_header_gcrypt_h" >&6
- +else
- + # Is the header compilable?
- +echo "$as_me:$LINENO: checking gcrypt.h usability" >&5
- +echo $ECHO_N "checking gcrypt.h usability... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- +#include "confdefs.h"
- +$ac_includes_default
- +#include <gcrypt.h>
- +_ACEOF
- +rm -f conftest.$ac_objext
- +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- + (eval $ac_compile) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest.$ac_objext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_header_compiler=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_header_compiler=no
- +fi
- +rm -f conftest.$ac_objext conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
- +echo "${ECHO_T}$ac_header_compiler" >&6
- +
- +# Is the header present?
- +echo "$as_me:$LINENO: checking gcrypt.h presence" >&5
- +echo $ECHO_N "checking gcrypt.h presence... $ECHO_C" >&6
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- #include <gcrypt.h>
- -EOF
- -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- -{ (eval echo configure:3124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
- -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
- -if test -z "$ac_err"; then
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=yes"
- +_ACEOF
- +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
- + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
- + ac_status=$?
- + egrep -v '^ *\+' conftest.er1 >conftest.err
- + rm -f conftest.er1
- + cat conftest.err >&5
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } >/dev/null; then
- + if test -s conftest.err; then
- + ac_cpp_err=$ac_c_preproc_warn_flag
- + else
- + ac_cpp_err=
- + fi
- +else
- + ac_cpp_err=yes
- +fi
- +if test -z "$ac_cpp_err"; then
- + ac_header_preproc=yes
- else
- - echo "$ac_err" >&5
- - echo "configure: failed program was:" >&5
- + echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_header_$ac_safe=no"
- + ac_header_preproc=no
- fi
- -rm -f conftest*
- +rm -f conftest.err conftest.$ac_ext
- +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
- +echo "${ECHO_T}$ac_header_preproc" >&6
- +
- +# So? What about this header?
- +case $ac_header_compiler:$ac_header_preproc in
- + yes:no )
- + { echo "$as_me:$LINENO: WARNING: gcrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
- +echo "$as_me: WARNING: gcrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
- + { echo "$as_me:$LINENO: WARNING: gcrypt.h: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: gcrypt.h: proceeding with the preprocessor's result" >&2;};;
- + no:yes )
- + { echo "$as_me:$LINENO: WARNING: gcrypt.h: present but cannot be compiled" >&5
- +echo "$as_me: WARNING: gcrypt.h: present but cannot be compiled" >&2;}
- + { echo "$as_me:$LINENO: WARNING: gcrypt.h: check for missing prerequisite headers?" >&5
- +echo "$as_me: WARNING: gcrypt.h: check for missing prerequisite headers?" >&2;}
- + { echo "$as_me:$LINENO: WARNING: gcrypt.h: proceeding with the preprocessor's result" >&5
- +echo "$as_me: WARNING: gcrypt.h: proceeding with the preprocessor's result" >&2;};;
- +esac
- +echo "$as_me:$LINENO: checking for gcrypt.h" >&5
- +echo $ECHO_N "checking for gcrypt.h... $ECHO_C" >&6
- +if test "${ac_cv_header_gcrypt_h+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- +else
- + ac_cv_header_gcrypt_h=$ac_header_preproc
- fi
- -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- +echo "$as_me:$LINENO: result: $ac_cv_header_gcrypt_h" >&5
- +echo "${ECHO_T}$ac_cv_header_gcrypt_h" >&6
- +
- +fi
- +if test $ac_cv_header_gcrypt_h = yes; then
- :
- else
- - echo "$ac_t""no" 1>&6
- -echo "You don't have libgcrypt properly installed."
- + echo "You don't have libgcrypt properly installed."
- echo "Install it if you need one."
- exit 1
- fi
-
- +
- CRYPTLIB="-lgcrypt"
- compoptionstring="${compoptionstring}WITH_GCRYPT\\n"
- -
- else
- with_gcrypt=no
- -fi
- +fi;
-
- -
- -echo $ac_n "checking for mhash_get_block_size in -lmhash""... $ac_c" 1>&6
- -echo "configure:3157: checking for mhash_get_block_size in -lmhash" >&5
- -ac_lib_var=`echo mhash'_'mhash_get_block_size | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for mhash_get_block_size in -lmhash" >&5
- +echo $ECHO_N "checking for mhash_get_block_size in -lmhash... $ECHO_C" >&6
- +if test "${ac_cv_lib_mhash_mhash_get_block_size+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - ac_save_LIBS="$LIBS"
- + ac_check_lib_save_LIBS=$LIBS
- LIBS="-lmhash $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 3165 "configure"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char mhash_get_block_size();
- -
- -int main() {
- -mhash_get_block_size()
- -; return 0; }
- -EOF
- -if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- -
- -fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- + builtin and then its argument prototype would still apply. */
- +char mhash_get_block_size ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +mhash_get_block_size ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_mhash_mhash_get_block_size=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_mhash_mhash_get_block_size=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_mhash_mhash_get_block_size" >&5
- +echo "${ECHO_T}$ac_cv_lib_mhash_mhash_get_block_size" >&6
- +if test $ac_cv_lib_mhash_mhash_get_block_size = yes; then
- CRYPTLIB="-lmhash"
- compoptionstring="${compoptionstring}WITH_MHASH\\n"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_MHASH 1
- -EOF
- +_ACEOF
-
-
- else
- - echo "$ac_t""no" 1>&6
- -echo "You must have libmhash properly installed."
- + echo "You must have libmhash properly installed."
- exit 1
- fi
-
-
-
-
- +
- # Check whether --with-confighmactype or --without-confighmactype was given.
- if test "${with_confighmactype+set}" = set; then
- withval="$with_confighmactype"
- if test "x$withval" = "xmd5" ;then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define CONFIGHMACTYPE MHASH_MD5
- -EOF
- +_ACEOF
-
- - else
- + else
- if test "x$withval" = "xsha1" ;then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define CONFIGHMACTYPE MHASH_SHA1
- -EOF
- +_ACEOF
-
- - else
- + else
- echo "Valid parameters for --with-confighmactype are md5
- else
- sha1"
- @@ -3225,7 +6551,7 @@
- fi
- fi
-
- -fi
- +fi;
-
-
- # Check whether --with-confighmackey or --without-confighmackey was given.
- @@ -3246,47 +6572,47 @@
- key08=`echo $withval|cut -c25-28`
- key09=`echo $withval|cut -c29-31`
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_00 "$key00"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_01 "$key01"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_02 "$key02"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_03 "$key03"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_04 "$key04"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_05 "$key05"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_06 "$key06"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_07 "$key07"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_08 "$key08"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define CONFHMACKEY_09 "$key09"
- -EOF
- +_ACEOF
-
- -fi
- +fi;
-
-
-
- @@ -3294,17 +6620,17 @@
- if test "${with_dbhmactype+set}" = set; then
- withval="$with_dbhmactype"
- if test "x$withval" = "xmd5" ;then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define DBHMACTYPE MHASH_MD5
- -EOF
- +_ACEOF
-
- - else
- + else
- if test "x$withval" = "xsha1" ;then
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define DBHMACTYPE MHASH_SHA1
- -EOF
- +_ACEOF
-
- - else
- + else
- echo "Valid parameters for --with-dbhmactype are md5
- else
- sha1"
- @@ -3312,7 +6638,7 @@
- fi
- fi
-
- -fi
- +fi;
-
-
- # Check whether --with-dbhmackey or --without-dbhmackey was given.
- @@ -3333,690 +6659,1540 @@
- key08=`echo $withval|cut -c25-28`
- key09=`echo $withval|cut -c29-31`
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_00 "$key00"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_01 "$key01"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_02 "$key02"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_03 "$key03"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_04 "$key04"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_05 "$key05"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_06 "$key06"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_07 "$key07"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_08 "$key08"
- -EOF
- +_ACEOF
-
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define DBHMACKEY_09 "$key09"
- -EOF
- -
- -fi
- +_ACEOF
-
- +fi;
-
- # Check whether --enable-forced_configmd or --disable-forced_configmd was given.
- if test "${enable_forced_configmd+set}" = set; then
- enableval="$enable_forced_configmd"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define FORCECONFIGMD 1
- -EOF
- +_ACEOF
-
- else
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define FORCECONFIGMD 0
- -EOF
- -
- -fi
- +_ACEOF
-
- +fi;
-
- # Check whether --enable-forced_dbmd or --disable-forced_dbmd was given.
- if test "${enable_forced_dbmd+set}" = set; then
- enableval="$enable_forced_dbmd"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define FORCEDBMD 1
- -EOF
- +_ACEOF
-
- else
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define FORCEDBMD 0
- -EOF
- +_ACEOF
-
- -fi
- +fi;
-
-
- # Check whether --with-initial_errors_to or --without-initial_errors_to was given.
- if test "${with_initial_errors_to+set}" = set; then
- withval="$with_initial_errors_to"
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define INITIALERRORSTO "$withval"
- -EOF
- +_ACEOF
-
- else
- - cat >> confdefs.h <<EOF
- + cat >>confdefs.h <<_ACEOF
- #define INITIALERRORSTO "stderr"
- -EOF
- -
- -fi
- +_ACEOF
-
- +fi;
-
-
- -echo $ac_n "checking for crypt in -lc""... $ac_c" 1>&6
- -echo "configure:3427: checking for crypt in -lc" >&5
- -ac_lib_var=`echo c'_'crypt | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +echo "$as_me:$LINENO: checking for crypt in -lc" >&5
- +echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
- +if test "${ac_cv_lib_c_crypt+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - ac_save_LIBS="$LIBS"
- + ac_check_lib_save_LIBS=$LIBS
- LIBS="-lc $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 3435 "configure"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- -/* Override any gcc2 internal prototype to avoid an error. */
- -/* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char crypt();
- -
- -int main() {
- -crypt()
- -; return 0; }
- -EOF
- -if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
-
- -fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- +/* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- +/* We use char because int might match the return type of a gcc2
- + builtin and then its argument prototype would still apply. */
- +char crypt ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +crypt ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_c_crypt=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_c_crypt=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
- +echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
- +if test $ac_cv_lib_c_crypt = yes; then
- true
- else
- - echo "$ac_t""no" 1>&6
- -echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
- -echo "configure:3465: checking for crypt in -lcrypt" >&5
- -ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- +echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
- +echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
- +if test "${ac_cv_lib_crypt_crypt+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - ac_save_LIBS="$LIBS"
- + ac_check_lib_save_LIBS=$LIBS
- LIBS="-lcrypt $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 3473 "configure"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char crypt();
- -
- -int main() {
- -crypt()
- -; return 0; }
- -EOF
- -if { (eval echo configure:3484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- -
- -fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/^a-zA-Z0-9_/_/g' \
- - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_lib 1
- -EOF
- + builtin and then its argument prototype would still apply. */
- +char crypt ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +crypt ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_crypt_crypt=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_crypt_crypt=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
- +echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
- +if test $ac_cv_lib_crypt_crypt = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_LIBCRYPT 1
- +_ACEOF
-
- LIBS="-lcrypt $LIBS"
-
- -else
- - echo "$ac_t""no" 1>&6
- fi
-
- fi
-
-
- -echo $ac_n "checking for PostgresSQL support""... $ac_c" 1>&6
- -echo "configure:3515: checking for PostgresSQL support" >&5
- +echo "$as_me:$LINENO: checking for PostgresSQL support" >&5
- +echo $ECHO_N "checking for PostgresSQL support... $ECHO_C" >&6
- +
- # Check whether --with-psql or --without-psql was given.
- if test "${with_psql+set}" = set; then
- withval="$with_psql"
- - cat >> confdefs.h <<\EOF
- + cat >>confdefs.h <<\_ACEOF
- #define WITH_PSQL 1
- -EOF
- +_ACEOF
-
- - echo $ac_n "checking for PQclear in -lpq""... $ac_c" 1>&6
- -echo "configure:3524: checking for PQclear in -lpq" >&5
- -ac_lib_var=`echo pq'_'PQclear | sed 'y%./+-%__p_%'`
- -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- - echo $ac_n "(cached) $ac_c" 1>&6
- +
- +echo "$as_me:$LINENO: checking for PQclear in -lpq" >&5
- +echo $ECHO_N "checking for PQclear in -lpq... $ECHO_C" >&6
- +if test "${ac_cv_lib_pq_PQclear+set}" = set; then
- + echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- - ac_save_LIBS="$LIBS"
- + ac_check_lib_save_LIBS=$LIBS
- LIBS="-lpq $LIBS"
- -cat > conftest.$ac_ext <<EOF
- -#line 3532 "configure"
- +cat >conftest.$ac_ext <<_ACEOF
- +#line $LINENO "configure"
- #include "confdefs.h"
- +
- /* Override any gcc2 internal prototype to avoid an error. */
- +#ifdef __cplusplus
- +extern "C"
- +#endif
- /* We use char because int might match the return type of a gcc2
- - builtin and then its argument prototype would still apply. */
- -char PQclear();
- -
- -int main() {
- -PQclear()
- -; return 0; }
- -EOF
- -if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=yes"
- -else
- - echo "configure: failed program was:" >&5
- - cat conftest.$ac_ext >&5
- - rm -rf conftest*
- - eval "ac_cv_lib_$ac_lib_var=no"
- -fi
- -rm -f conftest*
- -LIBS="$ac_save_LIBS"
- -
- -fi
- -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- - echo "$ac_t""yes" 1>&6
- - ac_tr_lib=HAVE_LIB`echo pq | sed -e 's/^a-zA-Z0-9_/_/g' \
- - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- - cat >> confdefs.h <<EOF
- -#define $ac_tr_lib 1
- -EOF
- + builtin and then its argument prototype would still apply. */
- +char PQclear ();
- +#ifdef F77_DUMMY_MAIN
- +# ifdef __cplusplus
- + extern "C"
- +# endif
- + int F77_DUMMY_MAIN() { return 1; }
- +#endif
- +int
- +main ()
- +{
- +PQclear ();
- + ;
- + return 0;
- +}
- +_ACEOF
- +rm -f conftest.$ac_objext conftest$ac_exeext
- +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- + (eval $ac_link) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); } &&
- + { ac_try='test -s conftest$ac_exeext'
- + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- + (eval $ac_try) 2>&5
- + ac_status=$?
- + echo "$as_me:$LINENO: \$? = $ac_status" >&5
- + (exit $ac_status); }; }; then
- + ac_cv_lib_pq_PQclear=yes
- +else
- + echo "$as_me: failed program was:" >&5
- +cat conftest.$ac_ext >&5
- +ac_cv_lib_pq_PQclear=no
- +fi
- +rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- +LIBS=$ac_check_lib_save_LIBS
- +fi
- +echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQclear" >&5
- +echo "${ECHO_T}$ac_cv_lib_pq_PQclear" >&6
- +if test $ac_cv_lib_pq_PQclear = yes; then
- + cat >>confdefs.h <<_ACEOF
- +#define HAVE_LIBPQ 1
- +_ACEOF
-
- LIBS="-lpq $LIBS"
-
- else
- - echo "$ac_t""no" 1>&6
- -echo "You must postgres sql library installed."
- + echo "You must postgres sql library installed."
- exit 1
- fi
-
- PSQLLIB="-lpq"
- compoptionstring="${compoptionstring}WITH_PSQL\\n"
- - echo "$ac_t""yes" 1>&6
- -
- + echo "$as_me:$LINENO: result: yes" >&5
- +echo "${ECHO_T}yes" >&6
- +
- else
- PSQLLIB=""
- with_psql=no
- - echo "$ac_t""no" 1>&6
- + echo "$as_me:$LINENO: result: no" >&5
- +echo "${ECHO_T}no" >&6
- +
- +fi;
-
- -fi
-
-
- + ac_sources="$wk_link_files_src"
- +ac_dests="$wk_link_files_dst "
- +while test -n "$ac_sources"; do
- + set $ac_dests; ac_dest=$1; shift; ac_dests=$*
- + set $ac_sources; ac_source=$1; shift; ac_sources=$*
- + ac_config_links_1="$ac_config_links_1 $ac_dest:$ac_source"
- +done
- +ac_config_links="$ac_config_links $ac_config_links_1"
-
-
- -
- -
-
- compoptionstring="${compoptionstring}CONFIG_FILE = \\\"${config_file}\\\"\\n"
-
- -cat >> confdefs.h <<EOF
- +cat >>confdefs.h <<_ACEOF
- #define AIDECOMPILEOPTIONS "${compoptionstring}"
- -EOF
- +_ACEOF
-
-
- -trap '' 1 2 15
- -cat > confcache <<\EOF
- +ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile doc/Makefile doc/aide.conf aide.spec"
- +cat >confcache <<\_ACEOF
- # This file is a shell script that caches the results of configure
- # tests run on this system so they can be shared between configure
- -# scripts and configure runs. It is not useful on other systems.
- -# If it contains results you don't want to keep, you may remove or edit it.
- +# scripts and configure runs, see configure's option --config-cache.
- +# It is not useful on other systems. If it contains results you don't
- +# want to keep, you may remove or edit it.
- #
- -# By default, configure uses ./config.cache as the cache file,
- -# creating it if it does not exist already. You can give configure
- -# the --cache-file=FILE option to use a different cache file; that is
- -# what configure does when it calls configure scripts in
- -# subdirectories, so they share the cache.
- -# Giving --cache-file=/dev/null disables caching, for debugging configure.
- -# config.status only pays attention to the cache file if you give it the
- -# --recheck option to rerun configure.
- +# config.status only pays attention to the cache file if you give it
- +# the --recheck option to rerun configure.
- #
- -EOF
- +# `ac_cv_env_foo' variables (set or unset) will be overriden when
- +# loading this file, other *unset* `ac_cv_foo' will be assigned the
- +# following values.
- +
- +_ACEOF
- +
- # The following way of writing the cache mishandles newlines in values,
- # but we know of no workaround that is simple, portable, and efficient.
- # So, don't put newlines in cache variables' values.
- # Ultrix sh set writes to stderr and can't be redirected directly,
- # and sets the high bit in the cache file unless we assign to the vars.
- -(set) 2>&1 |
- - case `(ac_space=' '; set | grep ac_space) 2>&1` in
- - *ac_space=\ *)
- - # `set' does not quote correctly, so add quotes (double-quote substitution
- - # turns \\\\ into \\, and sed turns \\ into \).
- - sed -n \
- - -e "s/'/'\\\\''/g" \
- - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
- - ;;
- - *)
- - # `set' quotes correctly as required by POSIX, so do not add quotes.
- - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
- - ;;
- - esac >> confcache
- -if cmp -s $cache_file confcache; then
- - :
- -else
- +{
- + (set) 2>&1 |
- + case `(ac_space=' '; set | grep ac_space) 2>&1` in
- + *ac_space=\ *)
- + # `set' does not quote correctly, so add quotes (double-quote
- + # substitution turns \\\\ into \\, and sed turns \\ into \).
- + sed -n \
- + "s/'/'\\\\''/g;
- + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- + ;;
- + *)
- + # `set' quotes correctly as required by POSIX, so do not add quotes.
- + sed -n \
- + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
- + ;;
- + esac;
- +} |
- + sed '
- + t clear
- + : clear
- + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- + t end
- + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- + : end' >>confcache
- +if cmp -s $cache_file confcache; then :; else
- if test -w $cache_file; then
- - echo "updating cache $cache_file"
- - cat confcache > $cache_file
- + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
- + cat confcache >$cache_file
- else
- echo "not updating unwritable cache $cache_file"
- fi
- fi
- rm -f confcache
-
- -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
- -
- test "x$prefix" = xNONE && prefix=$ac_default_prefix
- # Let make expand exec_prefix.
- test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
- -# Any assignment to VPATH causes Sun make to only execute
- -# the first set of double-colon rules, so remove it if not needed.
- -# If there is a colon in the path, we need to keep it.
- +# VPATH may cause trouble with some makes, so we remove $(srcdir),
- +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
- +# trailing colons and then remove the whole line if VPATH becomes empty
- +# (actually we leave an empty line to preserve line numbers).
- if test "x$srcdir" = x.; then
- - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
- + ac_vpsub='/^[ ]*VPATH[ ]*=/{
- +s/:*\$(srcdir):*/:/;
- +s/:*\${srcdir}:*/:/;
- +s/:*@srcdir@:*/:/;
- +s/^\([^=]*=[ ]*\):*/\1/;
- +s/:*$//;
- +s/^[^=]*=[ ]*$//;
- +}'
- fi
-
- -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
- -
- DEFS=-DHAVE_CONFIG_H
-
- -# Without the "./", some shells look in PATH for config.status.
- -: ${CONFIG_STATUS=./config.status}
-
- -echo creating $CONFIG_STATUS
- -rm -f $CONFIG_STATUS
- -cat > $CONFIG_STATUS <<EOF
- -#! /bin/sh
- -# Generated automatically by configure.
- +: ${CONFIG_STATUS=./config.status}
- +ac_clean_files_save=$ac_clean_files
- +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
- +echo "$as_me: creating $CONFIG_STATUS" >&6;}
- +cat >$CONFIG_STATUS <<_ACEOF
- +#! $SHELL
- +# Generated by $as_me.
- # Run this file to recreate the current configuration.
- -# This directory was configured as follows,
- -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- -#
- -# $0 $ac_configure_args
- -#
- # Compiler output produced by configure, useful for debugging
- -# configure, is in ./config.log if it exists.
- +# configure, is in config.log if it exists.
-
- -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- -for ac_option
- +debug=false
- +SHELL=\${CONFIG_SHELL-$SHELL}
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +
- +## --------------------- ##
- +## M4sh Initialization. ##
- +## --------------------- ##
- +
- +# Be Bourne compatible
- +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- + emulate sh
- + NULLCMD=:
- +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- + set -o posix
- +fi
- +
- +# NLS nuisances.
- +# Support unset when possible.
- +if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
- + as_unset=unset
- +else
- + as_unset=false
- +fi
- +
- +(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
- + { $as_unset LANG || test "${LANG+set}" != set; } ||
- + { LANG=C; export LANG; }
- +(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
- + { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
- + { LC_ALL=C; export LC_ALL; }
- +(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
- + { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
- + { LC_TIME=C; export LC_TIME; }
- +(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
- + { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
- + { LC_CTYPE=C; export LC_CTYPE; }
- +(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
- + { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
- + { LANGUAGE=C; export LANGUAGE; }
- +(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
- + { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
- + { LC_COLLATE=C; export LC_COLLATE; }
- +(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
- + { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
- + { LC_NUMERIC=C; export LC_NUMERIC; }
- +(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
- + { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
- + { LC_MESSAGES=C; export LC_MESSAGES; }
- +
- +
- +# Name of the executable.
- +as_me=`(basename "$0") 2>/dev/null ||
- +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- + X"$0" : 'X\(//\)$' \| \
- + X"$0" : 'X\(/\)$' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X/"$0" |
- + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
- + /^X\/\(\/\/\)$/{ s//\1/; q; }
- + /^X\/\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- +
- +# PATH needs CR, and LINENO needs CR and PATH.
- +# Avoid depending upon Character Ranges.
- +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- +as_cr_digits='0123456789'
- +as_cr_alnum=$as_cr_Letters$as_cr_digits
- +
- +# The user is always right.
- +if test "${PATH_SEPARATOR+set}" != set; then
- + echo "#! /bin/sh" >conftest.sh
- + echo "exit 0" >>conftest.sh
- + chmod +x conftest.sh
- + if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
- + PATH_SEPARATOR=';'
- + else
- + PATH_SEPARATOR=:
- + fi
- + rm -f conftest.sh
- +fi
- +
- +
- + as_lineno_1=$LINENO
- + as_lineno_2=$LINENO
- + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- + test "x$as_lineno_1" != "x$as_lineno_2" &&
- + test "x$as_lineno_3" = "x$as_lineno_2" || {
- + # Find who we are. Look in the path if we contain no path at all
- + # relative or not.
- + case $0 in
- + *[\\/]* ) as_myself=$0 ;;
- + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in $PATH
- do
- - case "\$ac_option" in
- - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
- - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
- - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- - echo "$CONFIG_STATUS generated by autoconf version 2.13"
- - exit 0 ;;
- - -help | --help | --hel | --he | --h)
- - echo "\$ac_cs_usage"; exit 0 ;;
- - *) echo "\$ac_cs_usage"; exit 1 ;;
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- +done
- +
- + ;;
- esac
- + # We did not find ourselves, most probably we were run as `sh COMMAND'
- + # in which case we are not to be found in the path.
- + if test "x$as_myself" = x; then
- + as_myself=$0
- + fi
- + if test ! -f "$as_myself"; then
- + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
- +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
- + { (exit 1); exit 1; }; }
- + fi
- + case $CONFIG_SHELL in
- + '')
- + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
- +do
- + IFS=$as_save_IFS
- + test -z "$as_dir" && as_dir=.
- + for as_base in sh bash ksh sh5; do
- + case $as_dir in
- + /*)
- + if ("$as_dir/$as_base" -c '
- + as_lineno_1=$LINENO
- + as_lineno_2=$LINENO
- + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
- + test "x$as_lineno_1" != "x$as_lineno_2" &&
- + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
- + CONFIG_SHELL=$as_dir/$as_base
- + export CONFIG_SHELL
- + exec "$CONFIG_SHELL" "$0" ${1+"$@"}
- + fi;;
- + esac
- + done
- done
- +;;
- + esac
-
- -ac_given_srcdir=$srcdir
- -ac_given_INSTALL="$INSTALL"
- -
- -trap 'rm -fr `echo "Makefile src/Makefile po/Makefile doc/Makefile doc/aide.conf
- -aide.spec config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
- -EOF
- -cat >> $CONFIG_STATUS <<EOF
- -
- -# Protect against being on the right side of a sed subst in config.status.
- -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
- - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
- -$ac_vpsub
- -$extrasub
- -s%@SHELL@%$SHELL%g
- -s%@CFLAGS@%$CFLAGS%g
- -s%@CPPFLAGS@%$CPPFLAGS%g
- -s%@CXXFLAGS@%$CXXFLAGS%g
- -s%@FFLAGS@%$FFLAGS%g
- -s%@DEFS@%$DEFS%g
- -s%@LDFLAGS@%$LDFLAGS%g
- -s%@LIBS@%$LIBS%g
- -s%@exec_prefix@%$exec_prefix%g
- -s%@prefix@%$prefix%g
- -s%@program_transform_name@%$program_transform_name%g
- -s%@bindir@%$bindir%g
- -s%@sbindir@%$sbindir%g
- -s%@libexecdir@%$libexecdir%g
- -s%@datadir@%$datadir%g
- -s%@sysconfdir@%$sysconfdir%g
- -s%@sharedstatedir@%$sharedstatedir%g
- -s%@localstatedir@%$localstatedir%g
- -s%@libdir@%$libdir%g
- -s%@includedir@%$includedir%g
- -s%@oldincludedir@%$oldincludedir%g
- -s%@infodir@%$infodir%g
- -s%@mandir@%$mandir%g
- -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
- -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
- -s%@INSTALL_DATA@%$INSTALL_DATA%g
- -s%@PACKAGE@%$PACKAGE%g
- -s%@VERSION@%$VERSION%g
- -s%@ACLOCAL@%$ACLOCAL%g
- -s%@AUTOCONF@%$AUTOCONF%g
- -s%@AUTOMAKE@%$AUTOMAKE%g
- -s%@AUTOHEADER@%$AUTOHEADER%g
- -s%@MAKEINFO@%$MAKEINFO%g
- -s%@SET_MAKE@%$SET_MAKE%g
- -s%@CC@%$CC%g
- -s%@RANLIB@%$RANLIB%g
- -s%@YACC@%$YACC%g
- -s%@LEX@%$LEX%g
- -s%@LEXLIB@%$LEXLIB%g
- -s%@CPP@%$CPP%g
- -s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
- -s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
- -s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
- -s%@MAINT@%$MAINT%g
- -s%@LD_STATIC_FLAG@%$LD_STATIC_FLAG%g
- -s%@AIDE_USE_LOCALE@%$AIDE_USE_LOCALE%g
- -s%@ACLLIB@%$ACLLIB%g
- -s%@CRYPTLIB@%$CRYPTLIB%g
- -s%@PSQLLIB@%$PSQLLIB%g
- + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
- + # uniformly replaced by the line number. The first 'sed' inserts a
- + # line-number line before each line; the second 'sed' does the real
- + # work. The second script uses 'N' to pair each line-number line
- + # with the numbered line, and appends trailing '-' during
- + # substitution so that $LINENO is not a special case at line end.
- + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
- + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
- + sed '=' <$as_myself |
- + sed '
- + N
- + s,$,-,
- + : loop
- + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
- + t loop
- + s,-$,,
- + s,^['$as_cr_digits']*\n,,
- + ' >$as_me.lineno &&
- + chmod +x $as_me.lineno ||
- + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
- +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
- + { (exit 1); exit 1; }; }
- +
- + # Don't try to exec as it changes $[0], causing all sort of problems
- + # (the dirname of $[0] is not the place where we might find the
- + # original and so on. Autoconf is especially sensible to this).
- + . ./$as_me.lineno
- + # Exit status is that of the last command.
- + exit
- +}
-
- -CEOF
- -EOF
-
- -cat >> $CONFIG_STATUS <<\EOF
- +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
- + *c*,-n*) ECHO_N= ECHO_C='
- +' ECHO_T=' ' ;;
- + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
- + *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
- +esac
- +
- +if expr a : '\(a\)' >/dev/null 2>&1; then
- + as_expr=expr
- +else
- + as_expr=false
- +fi
-
- -# Split the substitutions into bite-sized pieces for seds with
- -# small command number limits, like on Digital OSF/1 and HP-UX.
- -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
- -ac_file=1 # Number of current file.
- -ac_beg=1 # First line for current file.
- -ac_end=$ac_max_sed_cmds # Line after last line for current file.
- -ac_more_lines=:
- -ac_sed_cmds=""
- -while $ac_more_lines; do
- - if test $ac_beg -gt 1; then
- - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
- - else
- - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
- - fi
- - if test ! -s conftest.s$ac_file; then
- - ac_more_lines=false
- - rm -f conftest.s$ac_file
- +rm -f conf$$ conf$$.exe conf$$.file
- +echo >conf$$.file
- +if ln -s conf$$.file conf$$ 2>/dev/null; then
- + # We could just check for DJGPP; but this test a) works b) is more generic
- + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
- + if test -f conf$$.exe; then
- + # Don't use ln at all; we don't have any links
- + as_ln_s='cp -p'
- else
- - if test -z "$ac_sed_cmds"; then
- - ac_sed_cmds="sed -f conftest.s$ac_file"
- - else
- - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
- - fi
- - ac_file=`expr $ac_file + 1`
- - ac_beg=$ac_end
- - ac_end=`expr $ac_end + $ac_max_sed_cmds`
- + as_ln_s='ln -s'
- fi
- +elif ln conf$$.file conf$$ 2>/dev/null; then
- + as_ln_s=ln
- +else
- + as_ln_s='cp -p'
- +fi
- +rm -f conf$$ conf$$.exe conf$$.file
- +
- +as_executable_p="test -f"
- +
- +# Sed expression to map a string onto a valid CPP name.
- +as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
- +
- +# Sed expression to map a string onto a valid variable name.
- +as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
- +
- +
- +# IFS
- +# We need space, tab and new line, in precisely that order.
- +as_nl='
- +'
- +IFS=" $as_nl"
- +
- +# CDPATH.
- +$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
- +
- +exec 6>&1
- +
- +# Open the log real soon, to keep \$[0] and so on meaningful, and to
- +# report actual input values of CONFIG_FILES etc. instead of their
- +# values after options handling. Logging --version etc. is OK.
- +exec 5>>config.log
- +{
- + echo
- + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- +## Running $as_me. ##
- +_ASBOX
- +} >&5
- +cat >&5 <<_CSEOF
- +
- +This file was extended by $as_me, which was
- +generated by GNU Autoconf 2.53. Invocation command line was
- +
- + CONFIG_FILES = $CONFIG_FILES
- + CONFIG_HEADERS = $CONFIG_HEADERS
- + CONFIG_LINKS = $CONFIG_LINKS
- + CONFIG_COMMANDS = $CONFIG_COMMANDS
- + $ $0 $@
- +
- +_CSEOF
- +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
- +echo >&5
- +_ACEOF
- +
- +# Files that config.status was made for.
- +if test -n "$ac_config_files"; then
- + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
- +fi
- +
- +if test -n "$ac_config_headers"; then
- + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
- +fi
- +
- +if test -n "$ac_config_links"; then
- + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
- +fi
- +
- +if test -n "$ac_config_commands"; then
- + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
- +fi
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +
- +ac_cs_usage="\
- +\`$as_me' instantiates files from templates according to the
- +current configuration.
- +
- +Usage: $0 [OPTIONS] [FILE]...
- +
- + -h, --help print this help, then exit
- + -V, --version print version number, then exit
- + -d, --debug don't remove temporary files
- + --recheck update $as_me by reconfiguring in the same conditions
- + --file=FILE[:TEMPLATE]
- + instantiate the configuration file FILE
- + --header=FILE[:TEMPLATE]
- + instantiate the configuration header FILE
- +
- +Configuration files:
- +$config_files
- +
- +Configuration headers:
- +$config_headers
- +
- +Configuration links:
- +$config_links
- +
- +Configuration commands:
- +$config_commands
- +
- +Report bugs to <bug-autoconf@gnu.org>."
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<_ACEOF
- +ac_cs_version="\\
- +config.status
- +configured by $0, generated by GNU Autoconf 2.53,
- + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
- +
- +Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
- +Free Software Foundation, Inc.
- +This config.status script is free software; the Free Software Foundation
- +gives unlimited permission to copy, distribute and modify it."
- +srcdir=$srcdir
- +INSTALL="$INSTALL"
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +# If no file are specified by the user, then we need to provide default
- +# value. By we need to know if files were specified by the user.
- +ac_need_defaults=:
- +while test $# != 0
- +do
- + case $1 in
- + --*=*)
- + ac_option=`expr "x$1" : 'x\([^=]*\)='`
- + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
- + shift
- + set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
- + shift
- + ;;
- + -*);;
- + *) # This is not an option, so the user has probably given explicit
- + # arguments.
- + ac_need_defaults=false;;
- + esac
- +
- + case $1 in
- + # Handling of the options.
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF
- + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- + echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
- + exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
- + --version | --vers* | -V )
- + echo "$ac_cs_version"; exit 0 ;;
- + --he | --h)
- + # Conflict between --help and --header
- + { { echo "$as_me:$LINENO: error: ambiguous option: $1
- +Try \`$0 --help' for more information." >&5
- +echo "$as_me: error: ambiguous option: $1
- +Try \`$0 --help' for more information." >&2;}
- + { (exit 1); exit 1; }; };;
- + --help | --hel | -h )
- + echo "$ac_cs_usage"; exit 0 ;;
- + --debug | --d* | -d )
- + debug=: ;;
- + --file | --fil | --fi | --f )
- + shift
- + CONFIG_FILES="$CONFIG_FILES $1"
- + ac_need_defaults=false;;
- + --header | --heade | --head | --hea )
- + shift
- + CONFIG_HEADERS="$CONFIG_HEADERS $1"
- + ac_need_defaults=false;;
- +
- + # This is an error.
- + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
- +Try \`$0 --help' for more information." >&5
- +echo "$as_me: error: unrecognized option: $1
- +Try \`$0 --help' for more information." >&2;}
- + { (exit 1); exit 1; }; } ;;
- +
- + *) ac_config_targets="$ac_config_targets $1" ;;
- +
- + esac
- + shift
- +done
- +
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<_ACEOF
- +#
- +# INIT-COMMANDS section.
- +#
- +
- +
- +
- +_ACEOF
- +
- +
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +for ac_config_target in $ac_config_targets
- +do
- + case "$ac_config_target" in
- + # Handling of arguments.
- + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- + "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
- + "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
- + "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- + "doc/aide.conf" ) CONFIG_FILES="$CONFIG_FILES doc/aide.conf" ;;
- + "aide.spec" ) CONFIG_FILES="$CONFIG_FILES aide.spec" ;;
- + "$ac_config_links_1" ) CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;;
- + "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
- + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
- +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
- + { (exit 1); exit 1; }; };;
- + esac
- done
- -if test -z "$ac_sed_cmds"; then
- - ac_sed_cmds=cat
- +
- +# If the user did not use the arguments to specify the items to instantiate,
- +# then the envvar interface is used. Set only those that are not.
- +# We use the long form for the default assignment because of an extremely
- +# bizarre bug on SunOS 4.1.3.
- +if $ac_need_defaults; then
- + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- + test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
- + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
- fi
- -EOF
-
- -cat >> $CONFIG_STATUS <<EOF
- +# Create a temporary directory, and hook for its removal unless debugging.
- +$debug ||
- +{
- + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- + trap '{ (exit 1); exit 1; }' 1 2 13 15
- +}
- +
- +# Create a (secure) tmp directory for tmp files.
- +: ${TMPDIR=/tmp}
- +{
- + tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
- + test -n "$tmp" && test -d "$tmp"
- +} ||
- +{
- + tmp=$TMPDIR/cs$$-$RANDOM
- + (umask 077 && mkdir $tmp)
- +} ||
- +{
- + echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- + { (exit 1); exit 1; }
- +}
- +
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<_ACEOF
- +
- +#
- +# CONFIG_FILES section.
- +#
- +
- +# No need to generate the scripts if there are no CONFIG_FILES.
- +# This happens for instance when ./config.status config.h
- +if test -n "\$CONFIG_FILES"; then
- + # Protect against being on the right side of a sed subst in config.status.
- + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
- + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
- +s,@SHELL@,$SHELL,;t t
- +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
- +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
- +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
- +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
- +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
- +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
- +s,@exec_prefix@,$exec_prefix,;t t
- +s,@prefix@,$prefix,;t t
- +s,@program_transform_name@,$program_transform_name,;t t
- +s,@bindir@,$bindir,;t t
- +s,@sbindir@,$sbindir,;t t
- +s,@libexecdir@,$libexecdir,;t t
- +s,@datadir@,$datadir,;t t
- +s,@sysconfdir@,$sysconfdir,;t t
- +s,@sharedstatedir@,$sharedstatedir,;t t
- +s,@localstatedir@,$localstatedir,;t t
- +s,@libdir@,$libdir,;t t
- +s,@includedir@,$includedir,;t t
- +s,@oldincludedir@,$oldincludedir,;t t
- +s,@infodir@,$infodir,;t t
- +s,@mandir@,$mandir,;t t
- +s,@build_alias@,$build_alias,;t t
- +s,@host_alias@,$host_alias,;t t
- +s,@target_alias@,$target_alias,;t t
- +s,@DEFS@,$DEFS,;t t
- +s,@ECHO_C@,$ECHO_C,;t t
- +s,@ECHO_N@,$ECHO_N,;t t
- +s,@ECHO_T@,$ECHO_T,;t t
- +s,@LIBS@,$LIBS,;t t
- +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
- +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
- +s,@INSTALL_DATA@,$INSTALL_DATA,;t t
- +s,@PACKAGE@,$PACKAGE,;t t
- +s,@VERSION@,$VERSION,;t t
- +s,@ACLOCAL@,$ACLOCAL,;t t
- +s,@AUTOCONF@,$AUTOCONF,;t t
- +s,@AUTOMAKE@,$AUTOMAKE,;t t
- +s,@AUTOHEADER@,$AUTOHEADER,;t t
- +s,@MAKEINFO@,$MAKEINFO,;t t
- +s,@SET_MAKE@,$SET_MAKE,;t t
- +s,@CC@,$CC,;t t
- +s,@CFLAGS@,$CFLAGS,;t t
- +s,@LDFLAGS@,$LDFLAGS,;t t
- +s,@CPPFLAGS@,$CPPFLAGS,;t t
- +s,@ac_ct_CC@,$ac_ct_CC,;t t
- +s,@EXEEXT@,$EXEEXT,;t t
- +s,@OBJEXT@,$OBJEXT,;t t
- +s,@RANLIB@,$RANLIB,;t t
- +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
- +s,@YACC@,$YACC,;t t
- +s,@LEX@,$LEX,;t t
- +s,@LEXLIB@,$LEXLIB,;t t
- +s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
- +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
- +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
- +s,@MAINT@,$MAINT,;t t
- +s,@LD_STATIC_FLAG@,$LD_STATIC_FLAG,;t t
- +s,@CPP@,$CPP,;t t
- +s,@AIDE_USE_LOCALE@,$AIDE_USE_LOCALE,;t t
- +s,@ACLLIB@,$ACLLIB,;t t
- +s,@CRYPTLIB@,$CRYPTLIB,;t t
- +s,@PSQLLIB@,$PSQLLIB,;t t
- +CEOF
- +
- +_ACEOF
- +
- + cat >>$CONFIG_STATUS <<\_ACEOF
- + # Split the substitutions into bite-sized pieces for seds with
- + # small command number limits, like on Digital OSF/1 and HP-UX.
- + ac_max_sed_lines=48
- + ac_sed_frag=1 # Number of current file.
- + ac_beg=1 # First line for current file.
- + ac_end=$ac_max_sed_lines # Line after last line for current file.
- + ac_more_lines=:
- + ac_sed_cmds=
- + while $ac_more_lines; do
- + if test $ac_beg -gt 1; then
- + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
- + else
- + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
- + fi
- + if test ! -s $tmp/subs.frag; then
- + ac_more_lines=false
- + else
- + # The purpose of the label and of the branching condition is to
- + # speed up the sed processing (if there are no `@' at all, there
- + # is no need to browse any of the substitutions).
- + # These are the two extra sed commands mentioned above.
- + (echo ':t
- + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
- + if test -z "$ac_sed_cmds"; then
- + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
- + else
- + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
- + fi
- + ac_sed_frag=`expr $ac_sed_frag + 1`
- + ac_beg=$ac_end
- + ac_end=`expr $ac_end + $ac_max_sed_lines`
- + fi
- + done
- + if test -z "$ac_sed_cmds"; then
- + ac_sed_cmds=cat
- + fi
- +fi # test -n "$CONFIG_FILES"
-
- -CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile po/Makefile doc/Makefile doc/aide.conf
- -aide.spec"}
- -EOF
- -cat >> $CONFIG_STATUS <<\EOF
- -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- - case "$ac_file" in
- - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- - *) ac_file_in="${ac_file}.in" ;;
- - esac
- -
- - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
- -
- - # Remove last slash and all that follows it. Not all systems have dirname.
- - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- - # The file is in a subdirectory.
- - test ! -d "$ac_dir" && mkdir "$ac_dir"
- - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
- - # A "../" for each directory in $ac_dir_suffix.
- - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- - else
- - ac_dir_suffix= ac_dots=
- - fi
- -
- - case "$ac_given_srcdir" in
- - .) srcdir=.
- - if test -z "$ac_dots"; then top_srcdir=.
- - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
- - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- + case $ac_file in
- + - | *:- | *:-:* ) # input from stdin
- + cat >$tmp/stdin
- + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- + * ) ac_file_in=$ac_file.in ;;
- + esac
- +
- + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
- + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
- +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$ac_file" : 'X\(//\)[^/]' \| \
- + X"$ac_file" : 'X\(//\)$' \| \
- + X"$ac_file" : 'X\(/\)' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X"$ac_file" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- + /^X\(\/\/\)$/{ s//\1/; q; }
- + /^X\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- + { case "$ac_dir" in
- + [\\/]* | ?:[\\/]* ) as_incr_dir=;;
- + *) as_incr_dir=.;;
- +esac
- +as_dummy="$ac_dir"
- +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
- + case $as_mkdir_dir in
- + # Skip DOS drivespec
- + ?:) as_incr_dir=$as_mkdir_dir ;;
- + *)
- + as_incr_dir=$as_incr_dir/$as_mkdir_dir
- + test -d "$as_incr_dir" ||
- + mkdir "$as_incr_dir" ||
- + { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
- +echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
- + { (exit 1); exit 1; }; }
- + ;;
- + esac
- +done; }
- +
- + ac_builddir=.
- +
- +if test "$ac_dir" != .; then
- + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
- +else
- + ac_dir_suffix= ac_top_builddir=
- +fi
- +
- +case $srcdir in
- + .) # No --srcdir option. We are building in place.
- + ac_srcdir=.
- + if test -z "$ac_top_builddir"; then
- + ac_top_srcdir=.
- + else
- + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- + fi ;;
- + [\\/]* | ?:[\\/]* ) # Absolute path.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir ;;
- *) # Relative path.
- - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- - top_srcdir="$ac_dots$ac_given_srcdir" ;;
- + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_builddir$srcdir ;;
- +esac
- +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
- +# absolute.
- +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
- +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
- +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
- +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
- +
- +
- + case $INSTALL in
- + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- + *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
- esac
-
- - case "$ac_given_INSTALL" in
- - [/$]*) INSTALL="$ac_given_INSTALL" ;;
- - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- - esac
- -
- - echo creating "$ac_file"
- - rm -f "$ac_file"
- - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
- - case "$ac_file" in
- - *Makefile*) ac_comsub="1i\\
- -# $configure_input" ;;
- - *) ac_comsub= ;;
- - esac
- -
- - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- - sed -e "$ac_comsub
- -s%@configure_input@%$configure_input%g
- -s%@srcdir@%$srcdir%g
- -s%@top_srcdir@%$top_srcdir%g
- -s%@INSTALL@%$INSTALL%g
- -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
- -fi; done
- -rm -f conftest.s*
- + if test x"$ac_file" != x-; then
- + { echo "$as_me:$LINENO: creating $ac_file" >&5
- +echo "$as_me: creating $ac_file" >&6;}
- + rm -f "$ac_file"
- + fi
- + # Let's still pretend it is `configure' which instantiates (i.e., don't
- + # use $as_me), people would be surprised to read:
- + # /* config.h. Generated by config.status. */
- + if test x"$ac_file" = x-; then
- + configure_input=
- + else
- + configure_input="$ac_file. "
- + fi
- + configure_input=$configure_input"Generated from `echo $ac_file_in |
- + sed 's,.*/,,'` by configure."
- +
- + # First look for the input files in the build tree, otherwise in the
- + # src tree.
- + ac_file_inputs=`IFS=:
- + for f in $ac_file_in; do
- + case $f in
- + -) echo $tmp/stdin ;;
- + [\\/$]*)
- + # Absolute (can't be DOS-style, as IFS=:)
- + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- +echo "$as_me: error: cannot find input file: $f" >&2;}
- + { (exit 1); exit 1; }; }
- + echo $f;;
- + *) # Relative
- + if test -f "$f"; then
- + # Build tree
- + echo $f
- + elif test -f "$srcdir/$f"; then
- + # Source tree
- + echo $srcdir/$f
- + else
- + # /dev/null tree
- + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- +echo "$as_me: error: cannot find input file: $f" >&2;}
- + { (exit 1); exit 1; }; }
- + fi;;
- + esac
- + done` || { (exit 1); exit 1; }
- +_ACEOF
- +cat >>$CONFIG_STATUS <<_ACEOF
- + sed "$ac_vpsub
- +$extrasub
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +:t
- +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- +s,@configure_input@,$configure_input,;t t
- +s,@srcdir@,$ac_srcdir,;t t
- +s,@abs_srcdir@,$ac_abs_srcdir,;t t
- +s,@top_srcdir@,$ac_top_srcdir,;t t
- +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
- +s,@builddir@,$ac_builddir,;t t
- +s,@abs_builddir@,$ac_abs_builddir,;t t
- +s,@top_builddir@,$ac_top_builddir,;t t
- +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
- +s,@INSTALL@,$ac_INSTALL,;t t
- +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
- + rm -f $tmp/stdin
- + if test x"$ac_file" != x-; then
- + mv $tmp/out $ac_file
- + else
- + cat $tmp/out
- + rm -f $tmp/out
- + fi
- +
- +done
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +
- +#
- +# CONFIG_HEADER section.
- +#
-
- # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
- # NAME is the cpp macro being defined and VALUE is the value it is being given.
- #
- # ac_d sets the value in "#define NAME VALUE" lines.
- -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
- -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
- -ac_dC='\3'
- -ac_dD='%g'
- -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
- -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- -ac_uB='\([ ]\)%\1#\2define\3'
- +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
- +ac_dB='[ ].*$,\1#\2'
- +ac_dC=' '
- +ac_dD=',;t'
- +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
- +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- +ac_uB='$,\1#\2define\3'
- ac_uC=' '
- -ac_uD='\4%g'
- -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
- -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- -ac_eB='$%\1#\2define\3'
- -ac_eC=' '
- -ac_eD='%g'
- -
- -if test "${CONFIG_HEADERS+set}" != set; then
- -EOF
- -cat >> $CONFIG_STATUS <<EOF
- - CONFIG_HEADERS="config.h"
- -EOF
- -cat >> $CONFIG_STATUS <<\EOF
- -fi
- -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
- +ac_uD=',;t'
- +
- +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- - case "$ac_file" in
- - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- - *) ac_file_in="${ac_file}.in" ;;
- - esac
- -
- - echo creating $ac_file
- -
- - rm -f conftest.frag conftest.in conftest.out
- - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- - cat $ac_file_inputs > conftest.in
- -
- -EOF
- -
- -# Transform confdefs.h into a sed script conftest.vals that substitutes
- -# the proper values into config.h.in to produce config.h. And first:
- -# Protect against being on the right side of a sed subst in config.status.
- -# Protect against being in an unquoted here document in config.status.
- -rm -f conftest.vals
- -cat > conftest.hdr <<\EOF
- -s/[\\&%]/\\&/g
- -s%[\\$`]%\\&%g
- -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
- -s%ac_d%ac_u%gp
- -s%ac_u%ac_e%gp
- -EOF
- -sed -n -f conftest.hdr confdefs.h > conftest.vals
- -rm -f conftest.hdr
- + case $ac_file in
- + - | *:- | *:-:* ) # input from stdin
- + cat >$tmp/stdin
- + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- + * ) ac_file_in=$ac_file.in ;;
- + esac
- +
- + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
- +echo "$as_me: creating $ac_file" >&6;}
- +
- + # First look for the input files in the build tree, otherwise in the
- + # src tree.
- + ac_file_inputs=`IFS=:
- + for f in $ac_file_in; do
- + case $f in
- + -) echo $tmp/stdin ;;
- + [\\/$]*)
- + # Absolute (can't be DOS-style, as IFS=:)
- + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- +echo "$as_me: error: cannot find input file: $f" >&2;}
- + { (exit 1); exit 1; }; }
- + echo $f;;
- + *) # Relative
- + if test -f "$f"; then
- + # Build tree
- + echo $f
- + elif test -f "$srcdir/$f"; then
- + # Source tree
- + echo $srcdir/$f
- + else
- + # /dev/null tree
- + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
- +echo "$as_me: error: cannot find input file: $f" >&2;}
- + { (exit 1); exit 1; }; }
- + fi;;
- + esac
- + done` || { (exit 1); exit 1; }
- + # Remove the trailing spaces.
- + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
- +
- +_ACEOF
- +
- +# Transform confdefs.h into two sed scripts, `conftest.defines' and
- +# `conftest.undefs', that substitutes the proper values into
- +# config.h.in to produce config.h. The first handles `#define'
- +# templates, and the second `#undef' templates.
- +# And first: Protect against being on the right side of a sed subst in
- +# config.status. Protect against being in an unquoted here document
- +# in config.status.
- +rm -f conftest.defines conftest.undefs
- +# Using a here document instead of a string reduces the quoting nightmare.
- +# Putting comments in sed scripts is not portable.
- +#
- +# `end' is used to avoid that the second main sed command (meant for
- +# 0-ary CPP macros) applies to n-ary macro definitions.
- +# See the Autoconf documentation for `clear'.
- +cat >confdef2sed.sed <<\_ACEOF
- +s/[\\&,]/\\&/g
- +s,[\\$`],\\&,g
- +t clear
- +: clear
- +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
- +t end
- +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
- +: end
- +_ACEOF
- +# If some macros were called several times there might be several times
- +# the same #defines, which is useless. Nevertheless, we may not want to
- +# sort them, since we want the *last* AC-DEFINE to be honored.
- +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
- +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
- +rm -f confdef2sed.sed
-
- # This sed command replaces #undef with comments. This is necessary, for
- # example, in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- -cat >> conftest.vals <<\EOF
- -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
- -EOF
- -
- -# Break up conftest.vals because some shells have a limit on
- -# the size of here documents, and old seds have small limits too.
- -
- +cat >>conftest.undefs <<\_ACEOF
- +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
- +_ACEOF
- +
- +# Break up conftest.defines because some shells have a limit on the size
- +# of here documents, and old seds have small limits too (100 cmds).
- +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
- +echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
- +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
- +echo ' :' >>$CONFIG_STATUS
- rm -f conftest.tail
- -while :
- +while grep . conftest.defines >/dev/null
- do
- - ac_lines=`grep -c . conftest.vals`
- - # grep -c gives empty output for an empty file on some AIX systems.
- - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- - # Write a limited-size here document to conftest.frag.
- - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
- - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
- + # Write a limited-size here document to $tmp/defines.sed.
- + echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
- + # Speed up: don't consider the non `#define' lines.
- + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
- + # Work around the forget-to-reset-the-flag bug.
- + echo 't clr' >>$CONFIG_STATUS
- + echo ': clr' >>$CONFIG_STATUS
- + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
- echo 'CEOF
- - sed -f conftest.frag conftest.in > conftest.out
- - rm -f conftest.in
- - mv conftest.out conftest.in
- -' >> $CONFIG_STATUS
- - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
- - rm -f conftest.vals
- - mv conftest.tail conftest.vals
- -done
- -rm -f conftest.vals
- -
- -cat >> $CONFIG_STATUS <<\EOF
- - rm -f conftest.frag conftest.h
- - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- - cat conftest.in >> conftest.h
- - rm -f conftest.in
- - if cmp -s $ac_file conftest.h 2>/dev/null; then
- - echo "$ac_file is unchanged"
- - rm -f conftest.h
- - else
- - # Remove last slash and all that follows it. Not all systems have dirname.
- - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- - # The file is in a subdirectory.
- - test ! -d "$ac_dir" && mkdir "$ac_dir"
- - fi
- - rm -f $ac_file
- - mv conftest.h $ac_file
- + sed -f $tmp/defines.sed $tmp/in >$tmp/out
- + rm -f $tmp/in
- + mv $tmp/out $tmp/in
- +' >>$CONFIG_STATUS
- + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
- + rm -f conftest.defines
- + mv conftest.tail conftest.defines
- +done
- +rm -f conftest.defines
- +echo ' fi # egrep' >>$CONFIG_STATUS
- +echo >>$CONFIG_STATUS
- +
- +# Break up conftest.undefs because some shells have a limit on the size
- +# of here documents, and old seds have small limits too (100 cmds).
- +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
- +rm -f conftest.tail
- +while grep . conftest.undefs >/dev/null
- +do
- + # Write a limited-size here document to $tmp/undefs.sed.
- + echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
- + # Speed up: don't consider the non `#undef'
- + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
- + # Work around the forget-to-reset-the-flag bug.
- + echo 't clr' >>$CONFIG_STATUS
- + echo ': clr' >>$CONFIG_STATUS
- + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
- + echo 'CEOF
- + sed -f $tmp/undefs.sed $tmp/in >$tmp/out
- + rm -f $tmp/in
- + mv $tmp/out $tmp/in
- +' >>$CONFIG_STATUS
- + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
- + rm -f conftest.undefs
- + mv conftest.tail conftest.undefs
- +done
- +rm -f conftest.undefs
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
- + # Let's still pretend it is `configure' which instantiates (i.e., don't
- + # use $as_me), people would be surprised to read:
- + # /* config.h. Generated by config.status. */
- + if test x"$ac_file" = x-; then
- + echo "/* Generated by configure. */" >$tmp/config.h
- + else
- + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
- fi
- -fi; done
- + cat $tmp/in >>$tmp/config.h
- + rm -f $tmp/in
- + if test x"$ac_file" != x-; then
- + if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
- + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
- +echo "$as_me: $ac_file is unchanged" >&6;}
- + else
- + ac_dir=`(dirname "$ac_file") 2>/dev/null ||
- +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$ac_file" : 'X\(//\)[^/]' \| \
- + X"$ac_file" : 'X\(//\)$' \| \
- + X"$ac_file" : 'X\(/\)' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X"$ac_file" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- + /^X\(\/\/\)$/{ s//\1/; q; }
- + /^X\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- + { case "$ac_dir" in
- + [\\/]* | ?:[\\/]* ) as_incr_dir=;;
- + *) as_incr_dir=.;;
- +esac
- +as_dummy="$ac_dir"
- +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
- + case $as_mkdir_dir in
- + # Skip DOS drivespec
- + ?:) as_incr_dir=$as_mkdir_dir ;;
- + *)
- + as_incr_dir=$as_incr_dir/$as_mkdir_dir
- + test -d "$as_incr_dir" ||
- + mkdir "$as_incr_dir" ||
- + { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
- +echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
- + { (exit 1); exit 1; }; }
- + ;;
- + esac
- +done; }
-
- -EOF
- + rm -f $ac_file
- + mv $tmp/config.h $ac_file
- + fi
- + else
- + cat $tmp/config.h
- + rm -f $tmp/config.h
- + fi
- +done
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
-
- -cat >> $CONFIG_STATUS <<EOF
- -ac_sources="$wk_link_files_src"
- -ac_dests="$wk_link_files_dst "
- -EOF
- +#
- +# CONFIG_LINKS section.
- +#
-
- -cat >> $CONFIG_STATUS <<\EOF
- -srcdir=$ac_given_srcdir
- -while test -n "$ac_sources"; do
- - set $ac_dests; ac_dest=$1; shift; ac_dests=$*
- - set $ac_sources; ac_source=$1; shift; ac_sources=$*
- +for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
- + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
- + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
-
- - echo "linking $srcdir/$ac_source to $ac_dest"
- + { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
- +echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
-
- if test ! -r $srcdir/$ac_source; then
- - { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
- + { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
- +echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
- + { (exit 1); exit 1; }; }
- fi
- rm -f $ac_dest
-
- # Make relative symlinks.
- - # Remove last slash and all that follows it. Not all systems have dirname.
- - ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
- - if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
- - # The dest file is in a subdirectory.
- - test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
- - ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
- - # A "../" for each directory in $ac_dest_dir_suffix.
- - ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
- - else
- - ac_dest_dir_suffix= ac_dots=
- - fi
- + ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
- +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$ac_dest" : 'X\(//\)[^/]' \| \
- + X"$ac_dest" : 'X\(//\)$' \| \
- + X"$ac_dest" : 'X\(/\)' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X"$ac_dest" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- + /^X\(\/\/\)$/{ s//\1/; q; }
- + /^X\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- + { case "$ac_dest_dir" in
- + [\\/]* | ?:[\\/]* ) as_incr_dir=;;
- + *) as_incr_dir=.;;
- +esac
- +as_dummy="$ac_dest_dir"
- +for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
- + case $as_mkdir_dir in
- + # Skip DOS drivespec
- + ?:) as_incr_dir=$as_mkdir_dir ;;
- + *)
- + as_incr_dir=$as_incr_dir/$as_mkdir_dir
- + test -d "$as_incr_dir" ||
- + mkdir "$as_incr_dir" ||
- + { { echo "$as_me:$LINENO: error: cannot create \"$ac_dest_dir\"" >&5
- +echo "$as_me: error: cannot create \"$ac_dest_dir\"" >&2;}
- + { (exit 1); exit 1; }; }
- + ;;
- + esac
- +done; }
- +
- + ac_builddir=.
- +
- +if test "$ac_dest_dir" != .; then
- + ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
- +else
- + ac_dir_suffix= ac_top_builddir=
- +fi
- +
- +case $srcdir in
- + .) # No --srcdir option. We are building in place.
- + ac_srcdir=.
- + if test -z "$ac_top_builddir"; then
- + ac_top_srcdir=.
- + else
- + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- + fi ;;
- + [\\/]* | ?:[\\/]* ) # Absolute path.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir ;;
- + *) # Relative path.
- + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_builddir$srcdir ;;
- +esac
- +# Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
- +# absolute.
- +ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
- +ac_abs_top_builddir=`cd "$ac_dest_dir" && cd $ac_top_builddir && pwd`
- +ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
- +ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
- +
-
- - case "$srcdir" in
- - [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
- - *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
- + case $srcdir in
- + [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
- + *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
- esac
-
- # Make a symlink if possible; otherwise try a hard link.
- - if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
- - ln $srcdir/$ac_source $ac_dest; then :
- - else
- - { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
- - fi
- + ln -s $ac_rel_source $ac_dest 2>/dev/null ||
- + ln $srcdir/$ac_source $ac_dest ||
- + { { echo "$as_me:$LINENO: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
- +echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
- + { (exit 1); exit 1; }; }
- done
- -EOF
- -cat >> $CONFIG_STATUS <<EOF
- +_ACEOF
- +cat >>$CONFIG_STATUS <<\_ACEOF
- +
- +#
- +# CONFIG_COMMANDS section.
- +#
- +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
- + ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
- + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
- + ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
- +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- + X"$ac_dest" : 'X\(//\)[^/]' \| \
- + X"$ac_dest" : 'X\(//\)$' \| \
- + X"$ac_dest" : 'X\(/\)' \| \
- + . : '\(.\)' 2>/dev/null ||
- +echo X"$ac_dest" |
- + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- + /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- + /^X\(\/\/\)$/{ s//\1/; q; }
- + /^X\(\/\).*/{ s//\1/; q; }
- + s/.*/./; q'`
- + ac_builddir=.
- +
- +if test "$ac_dir" != .; then
- + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
- + # A "../" for each directory in $ac_dir_suffix.
- + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
- +else
- + ac_dir_suffix= ac_top_builddir=
- +fi
- +
- +case $srcdir in
- + .) # No --srcdir option. We are building in place.
- + ac_srcdir=.
- + if test -z "$ac_top_builddir"; then
- + ac_top_srcdir=.
- + else
- + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
- + fi ;;
- + [\\/]* | ?:[\\/]* ) # Absolute path.
- + ac_srcdir=$srcdir$ac_dir_suffix;
- + ac_top_srcdir=$srcdir ;;
- + *) # Relative path.
- + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
- + ac_top_srcdir=$ac_top_builddir$srcdir ;;
- +esac
- +# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
- +# absolute.
- +ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
- +ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
- +ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
- +ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
-
-
- -EOF
- -cat >> $CONFIG_STATUS <<\EOF
- -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
- + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
- +echo "$as_me: executing $ac_dest commands" >&6;}
- + case $ac_dest in
- + default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
- + esac
- +done
- +_ACEOF
- +
- +cat >>$CONFIG_STATUS <<\_ACEOF
-
- -exit 0
- -EOF
- +{ (exit 0); exit 0; }
- +_ACEOF
- chmod +x $CONFIG_STATUS
- -rm -fr confdefs* $ac_clean_files
- -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
- +ac_clean_files=$ac_clean_files_save
- +
- +
- +# configure is writing to config.log, and then calls config.status.
- +# config.status does its own redirection, appending to config.log.
- +# Unfortunately, on DOS this fails, as config.log is still kept open
- +# by configure, so config.status won't be able to write to it; its
- +# output is simply discarded. So we exec the FD to /dev/null,
- +# effectively closing config.log, so it can be properly (re)opened and
- +# appended to by config.status. When coming back to configure, we
- +# need to make the FD available again.
- +if test "$no_create" != yes; then
- + ac_cs_success=:
- + exec 5>/dev/null
- + $SHELL $CONFIG_STATUS || ac_cs_success=false
- + exec 5>>config.log
- + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- + # would make configure fail if this is the last instruction.
- + $ac_cs_success || { (exit 1); exit 1; }
- +fi
-
-
- diff -r -u aide-0.9/configure.in aide-0.9x/configure.in
- --- aide-0.9/configure.in Fri May 31 14:47:07 2002
- +++ aide-0.9x/configure.in Fri Nov 15 09:11:24 2002
- @@ -184,7 +184,7 @@
- AC_CHECK_SIZEOF(unsigned long, 4)
-
- AC_HEADER_STDC
- -AC_CHECK_FUNCS(readdir readdir_r stricmp ustat)
- +AC_CHECK_FUNCS(readdir readdir_r stricmp strnstr ustat)
- AC_ARG_WITH(mmap,
- [--without-mmap Don't use mmap. Useful on some platforms with slow mmap],
- if test "x$withval" = "xyes"; then
- @@ -204,10 +204,10 @@
-
- AC_ARG_WITH(locale,
- [--with-locale use locale stuff],
- - AC_CHECK_HEADERS(libintl.h,
- + [AC_CHECK_HEADERS(libintl.h,
- AC_DEFINE(USE_LOCALE)
- AIDE_USE_LOCALE=""
- - AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/lib/locale"),)
- + AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/lib/locale"),)]
- )
-
- AC_SUBST(AIDE_USE_LOCALE)
- @@ -256,7 +256,7 @@
-
- AC_CHECK_FUNC(lstat64,
- # This looks wierd because Linux defines lstat64 and then screws it up
- - AC_EGREP_CPP(yes,
- + [AC_EGREP_CPP(yes,
- [#ifdef stat64
- yes
- #endif],
- @@ -282,20 +282,25 @@
- AC_DEFINE_UNQUOTED(AIDE_READDIR_R_FUNC,readdir_r)
- AC_DEFINE_UNQUOTED(AIDE_DIRENT_TYPE,dirent)
- compoptionstring="${compoptionstring}WITH_READDIR\\n"
- -))
- + )
- + )
- compoptionstring="${compoptionstring}WITH_LSTAT64\\n"
- - ,
- +],[
- AC_DEFINE_UNQUOTED(AIDE_LSTAT_FUNC,lstat)
- AC_DEFINE_UNQUOTED(AIDE_STAT_TYPE,stat)
- AC_DEFINE_UNQUOTED(AIDE_INO_TYPE,ino_t)
- AC_DEFINE_UNQUOTED(AIDE_OFF_TYPE,off_t)
- - AC_DEFINE_UNQUOTED(AIDE_BLKCNT_TYPE,blkcnt_t)
- + AC_EGREP_CPP(yes,
- + [#ifdef blkcnt_t],
- + AC_DEFINE_UNQUOTED(AIDE_BLKCNT_TYPE,blkcnt_t),
- + AC_DEFINE_UNQUOTED(AIDE_BLKCNT_TYPE,int64_t)
- + )
- compoptionstring="${compoptionstring}WITH_LSTAT\\n"
- AC_DEFINE_UNQUOTED(AIDE_READDIR_FUNC,readdir)
- AC_DEFINE_UNQUOTED(AIDE_READDIR_R_FUNC,readdir_r)
- AC_DEFINE_UNQUOTED(AIDE_DIRENT_TYPE,dirent)
- compoptionstring="${compoptionstring}WITH_READDIR\\n"
- - )
- +])
-
-
- AC_ARG_WITH(config_file,
- @@ -347,23 +352,21 @@
- fi
-
- AC_ARG_WITH(gnu-regexp,
- - [--with-gnu-regexp use the bundled GNU regexp(use only if necessary)],
- + [--with-gnu-regexp use the bundled GNU regexp (use only if necessary)],
- AC_DEFINE(REGEX, 1)
- -,
- AC_CHECK_FUNCS(regexec regcomp,,
- - AC_DEFINE(REGEX,1))
- + AC_DEFINE(REGEX, 1))
- )
-
- AC_ARG_WITH(gcrypt,
- [--with-gcrypt use gcrypt library],
- - AC_DEFINE(WITH_GCRYPT)
- + [AC_DEFINE(WITH_GCRYPT)
- AC_CHECK_HEADER(gcrypt.h,,
- echo "You don't have libgcrypt properly installed."
- echo "Install it if you need one."
- exit 1)
- CRYPTLIB="-lgcrypt"
- - compoptionstring="${compoptionstring}WITH_GCRYPT\\n"
- - ,
- + compoptionstring="${compoptionstring}WITH_GCRYPT\\n"],
- [with_gcrypt=no])
-
- AC_CHECK_LIB(mhash,mhash_get_block_size,
- Only in aide-0.9x/doc: Makefile
- Only in aide-0.9x/doc: aide.conf
- diff -r -u aide-0.9/include/util.h aide-0.9x/include/util.h
- --- aide-0.9/include/util.h Wed May 29 10:04:26 2002
- +++ aide-0.9x/include/util.h Mon Oct 21 16:31:03 2002
- @@ -57,6 +57,8 @@
-
- void init_sighandler(void);
-
- +#ifndef HAVE_STRNSTR
- char* strnstr(char* haystack,char* needle,int n);
- +#endif
-
- #endif
- Only in aide-0.9x/po: Makefile
- Only in aide-0.9x/src: Makefile
- diff -r -u aide-0.9/src/Makefile.am aide-0.9x/src/Makefile.am
- --- aide-0.9/src/Makefile.am Wed Mar 6 14:12:12 2002
- +++ aide-0.9x/src/Makefile.am Fri Nov 15 09:12:05 2002
- @@ -46,7 +46,7 @@
- util.c \
- aide.c
-
- -INCLUDES = -I$(prefix)/include -I$(top_srcdir)/include
- +INCLUDES = -I$(top_srcdir)/include -I$(prefix)/include
-
- LDADD = @CRYPTLIB@ @ACLLIB@
-
- diff -r -u aide-0.9/src/Makefile.in aide-0.9x/src/Makefile.in
- --- aide-0.9/src/Makefile.in Tue Jun 4 10:33:26 2002
- +++ aide-0.9x/src/Makefile.in Fri Nov 15 09:01:44 2002
- @@ -98,7 +98,7 @@
- aide_SOURCES = conf_yacc.y conf_lex.l getopt.c getopt1.c gnu_regex.c error.c md.c db.c commandconf.c db_file.c db_disk.c db_lex.l db_sql.c gen_list.c list.c do_md.c base64.c symboltable.c compare_db.c be.c util.c aide.c
-
-
- -INCLUDES = -I$(prefix)/include -I$(top_srcdir)/include
- +INCLUDES = -I$(top_srcdir)/include -I$(prefix)/include
-
- LDADD = @CRYPTLIB@ @ACLLIB@
-
- diff -r -u aide-0.9/src/conf_yacc.y aide-0.9x/src/conf_yacc.y
- --- aide-0.9/src/conf_yacc.y Wed May 29 10:04:27 2002
- +++ aide-0.9x/src/conf_yacc.y Mon Oct 21 16:15:54 2002
- @@ -180,7 +180,7 @@
- conferror("Error in expression");
- YYABORT;
- }
- - }
- + } ;
-
- other : TRIGHTS { $$ =$1 ;} | TUSER {$$ =$1 ;}
- | TGROUP {$$ =$1 ;} | TINODE {$$ =$1 ;}
- @@ -242,11 +242,11 @@
- beginconfigstmt : TBEGIN_CONFIG TSTRING {
- conf->do_configmd=1;
- conf->old_confmdstr=strdup($2);
- -}
- +} ;
-
- endconfigstmt : TEND_CONFIG {
- YYACCEPT;
- -}
- +} ;
-
- acl_no_symlink_follow : TACLNOSYMLINKFOLLOW TTRUE {
- #ifdef WITH_ACL
- @@ -254,7 +254,7 @@
- #else
- error(0,"ACL-support not compiled in.\n");
- #endif
- -}
- +} ;
-
- acl_no_symlink_follow : TACLNOSYMLINKFOLLOW TFALSE {
- #ifdef WITH_ACL
- @@ -262,15 +262,15 @@
- #else
- error(0,"ACL-support not compiled in.\n");
- #endif
- -}
- +} ;
-
- warn_dead_symlinks : TWARNDEADSYMLINKS TTRUE {
- conf->warn_dead_symlinks=1;
- -}
- +} ;
-
- warn_dead_symlinks : TWARNDEADSYMLINKS TFALSE {
- conf->warn_dead_symlinks=0;
- -}
- +} ;
-
- gzipdbout : TGZIPDBOUT TTRUE {
- #ifdef WITH_ZLIB
- @@ -288,11 +288,11 @@
- recursion_stopper : TRECSTOP TSTRING {
- /* FIXME implement me */
-
- -}
- +} ;
-
- config_version : TCONFIG_VERSION TSTRING {
- conf->config_version=strdup($2);
- -}
- +} ;
-
- %%
-
- Only in aide-0.9/src: db_lex.c
- diff -r -u aide-0.9/src/util.c aide-0.9x/src/util.c
- --- aide-0.9/src/util.c Wed May 29 10:04:27 2002
- +++ aide-0.9x/src/util.c Mon Oct 21 16:31:15 2002
- @@ -356,7 +356,7 @@
- return;
- }
-
- -
- +#ifndef HAVE_STRNSTR
- /* Like strstr but only do search for maximum of n chars.
- haystack does not have to be NULL terminated
- needle has to be NULL terminated. NULL in needle is not used in compare.
- @@ -392,6 +392,7 @@
- /* If we get this far no match was found so we return NULL */
- return NULL;
- }
- +#endif
-
- /* We need these dummy stubs to fool the linker into believing that
- we do not need them at link time */
- Only in aide-0.9x: stamp-h
|