| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582 |
- diff -X aide.exclude -u -r aide-0.9/config.h.in aide-0.9m/config.h.in
- --- aide-0.9/config.h.in Tue Jun 4 10:31:20 2002
- +++ aide-0.9m/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
-
- diff -X aide.exclude -u -r aide-0.9/configure aide-0.9m/configure
- --- aide-0.9/configure Tue Jun 4 10:31:27 2002
- +++ aide-0.9m/configure Mon Oct 21 16:30:25 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 -X aide.exclude -u -r aide-0.9/configure.in aide-0.9m/configure.in
- --- aide-0.9/configure.in Fri May 31 14:47:07 2002
- +++ aide-0.9m/configure.in Mon Oct 21 16:30:12 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,
- diff -X aide.exclude -u -r aide-0.9/include/util.h aide-0.9m/include/util.h
- --- aide-0.9/include/util.h Wed May 29 10:04:26 2002
- +++ aide-0.9m/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
- diff -X aide.exclude -u -r aide-0.9/src/conf_yacc.y aide-0.9m/src/conf_yacc.y
- --- aide-0.9/src/conf_yacc.y Wed May 29 10:04:27 2002
- +++ aide-0.9m/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);
- -}
- +} ;
-
- %%
-
- diff -X aide.exclude -u -r aide-0.9/src/db_lex.c aide-0.9m/src/db_lex.c
- --- aide-0.9/src/db_lex.c Tue Jun 4 10:32:50 2002
- +++ aide-0.9m/src/db_lex.c Mon Oct 21 16:31:17 2002
- @@ -412,9 +412,9 @@
- #define YY_MORE_ADJ 0
- #define YY_RESTORE_YY_MORE_OFFSET
- char *yytext;
- -#line 1 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 1 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- #define INITIAL 0
- -#line 5 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 5 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
-
- /*
- C [a-zA-Z0-9öäåÖÄÅ\\\*=$%£&/!\^\~;:.,\?\{\}\(\)\[\]\<\>\-\+\*\|\'\`]
- @@ -644,7 +644,7 @@
- register char *yy_cp, *yy_bp;
- register int yy_act;
-
- -#line 83 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 83 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
-
-
- #line 651 "db_lex.c"
- @@ -733,28 +733,28 @@
-
- case 1:
- YY_RULE_SETUP
- -#line 85 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 85 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TGZIPHEADER);
- }
- YY_BREAK
- case 2:
- YY_RULE_SETUP
- -#line 89 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 89 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TDBSPEC);
- }
- YY_BREAK
- case 3:
- YY_RULE_SETUP
- -#line 93 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 93 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TBEGIN_DB);
- }
- YY_BREAK
- case 4:
- YY_RULE_SETUP
- -#line 97 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 97 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- BEGIN MDVALHUNT;
- return (TEND_DB);
- @@ -762,7 +762,7 @@
- YY_BREAK
- case 5:
- YY_RULE_SETUP
- -#line 102 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 102 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- BEGIN 0;
- return (TSTRING);
- @@ -770,21 +770,21 @@
- YY_BREAK
- case 6:
- YY_RULE_SETUP
- -#line 107 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 107 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TUNKNOWN);
- }
- YY_BREAK
- case 7:
- YY_RULE_SETUP
- -#line 111 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 111 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- (*db_lineno)++;
- }
- YY_BREAK
- case 8:
- YY_RULE_SETUP
- -#line 115 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 115 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
-
- error(230," %s \n",yytext);
- @@ -794,12 +794,12 @@
- YY_BREAK
- case 9:
- YY_RULE_SETUP
- -#line 122 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 122 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {}
- YY_BREAK
- case 10:
- YY_RULE_SETUP
- -#line 124 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 124 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- (*db_lineno)++;
- return (TNEWLINE);
- @@ -807,21 +807,21 @@
- YY_BREAK
- case 11:
- YY_RULE_SETUP
- -#line 129 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 129 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TERROR);
- }
- YY_BREAK
- case YY_STATE_EOF(INITIAL):
- case YY_STATE_EOF(MDVALHUNT):
- -#line 133 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 133 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- {
- return (TEOF);
- }
- YY_BREAK
- case 12:
- YY_RULE_SETUP
- -#line 138 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 138 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
- ECHO;
- YY_BREAK
- #line 828 "db_lex.c"
- @@ -1710,7 +1710,7 @@
- return 0;
- }
- #endif
- -#line 138 "/opt/rammer/cvs/tmp/aide2/src/db_lex.l"
- +#line 138 "/u/mlelstv/proj/aide-0.9/src/db_lex.l"
-
-
- int dbwrap(){
- diff -X aide.exclude -u -r aide-0.9/src/util.c aide-0.9m/src/util.c
- --- aide-0.9/src/util.c Wed May 29 10:04:27 2002
- +++ aide-0.9m/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 */
|