configure 298 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272
  1. #! /bin/sh
  2. # From configure.in Revision: 1.68.2.19 .
  3. # Guess values for system-dependent variables and create Makefiles.
  4. # Generated by GNU Autoconf 2.61-MirPorts-0.
  5. #
  6. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  7. # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  8. # This configure script is free software; the Free Software Foundation
  9. # gives unlimited permission to copy, distribute and modify it.
  10. ## --------------------- ##
  11. ## M4sh Initialization. ##
  12. ## --------------------- ##
  13. # Be more Bourne compatible
  14. DUALCASE=1; export DUALCASE # for MKS sh
  15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16. emulate sh
  17. NULLCMD=:
  18. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  19. # is contrary to our usage. Disable this feature.
  20. alias -g '${1+"$@"}'='"$@"'
  21. setopt NO_GLOB_SUBST
  22. else
  23. case `(set -o) 2>/dev/null` in
  24. *posix*) set -o posix ;;
  25. esac
  26. fi
  27. # PATH needs CR
  28. # Avoid depending upon Character Ranges.
  29. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  30. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  31. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  32. as_cr_digits='0123456789'
  33. as_cr_alnum=$as_cr_Letters$as_cr_digits
  34. # The user is always right.
  35. if test "${PATH_SEPARATOR+set}" != set; then
  36. echo "#! /bin/sh" >conf$$.sh
  37. echo "exit 0" >>conf$$.sh
  38. chmod +x conf$$.sh
  39. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  40. PATH_SEPARATOR=';'
  41. else
  42. PATH_SEPARATOR=:
  43. fi
  44. rm -f conf$$.sh
  45. fi
  46. # Support unset when possible.
  47. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  48. as_unset=unset
  49. else
  50. as_unset=false
  51. fi
  52. # IFS
  53. # We need space, tab and new line, in precisely that order. Quoting is
  54. # there to prevent editors from complaining about space-tab.
  55. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  56. # splitting by setting IFS to empty value.)
  57. as_nl='
  58. '
  59. IFS=" "" $as_nl"
  60. # Find who we are. Look in the path if we contain no directory separator.
  61. case $0 in
  62. *[\\/]* ) as_myself=$0 ;;
  63. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  64. for as_dir in $PATH
  65. do
  66. IFS=$as_save_IFS
  67. test -z "$as_dir" && as_dir=.
  68. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  69. done
  70. IFS=$as_save_IFS
  71. ;;
  72. esac
  73. # We did not find ourselves, most probably we were run as `sh COMMAND'
  74. # in which case we are not to be found in the path.
  75. if test "x$as_myself" = x; then
  76. as_myself=$0
  77. fi
  78. if test ! -f "$as_myself"; then
  79. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  80. { (exit 1); exit 1; }
  81. fi
  82. # Work around bugs in pre-3.0 UWIN ksh.
  83. for as_var in ENV MAIL MAILPATH
  84. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  85. done
  86. PS1='$ '
  87. PS2='> '
  88. PS4='+ '
  89. # NLS nuisances.
  90. for as_var in \
  91. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  92. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  93. LC_TELEPHONE LC_TIME
  94. do
  95. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  96. eval $as_var=C; export $as_var
  97. else
  98. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  99. fi
  100. done
  101. # Required to use basename.
  102. if expr a : '\(a\)' >/dev/null 2>&1 &&
  103. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  104. as_expr=expr
  105. else
  106. as_expr=false
  107. fi
  108. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  109. as_basename=basename
  110. else
  111. as_basename=false
  112. fi
  113. # Name of the executable.
  114. as_me=`$as_basename -- "$0" ||
  115. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  116. X"$0" : 'X\(//\)$' \| \
  117. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  118. echo X/"$0" |
  119. sed '/^.*\/\([^/][^/]*\)\/*$/{
  120. s//\1/
  121. q
  122. }
  123. /^X\/\(\/\/\)$/{
  124. s//\1/
  125. q
  126. }
  127. /^X\/\(\/\).*/{
  128. s//\1/
  129. q
  130. }
  131. s/.*/./; q'`
  132. # CDPATH.
  133. $as_unset CDPATH
  134. if test "x$CONFIG_SHELL" = x; then
  135. if (eval ":") 2>/dev/null; then
  136. as_have_required=yes
  137. else
  138. as_have_required=no
  139. fi
  140. if test $as_have_required = yes && (eval ":
  141. (as_func_return () {
  142. (exit \$1)
  143. }
  144. as_func_success () {
  145. as_func_return 0
  146. }
  147. as_func_failure () {
  148. as_func_return 1
  149. }
  150. as_func_ret_success () {
  151. return 0
  152. }
  153. as_func_ret_failure () {
  154. return 1
  155. }
  156. exitcode=0
  157. if as_func_success; then
  158. :
  159. else
  160. exitcode=1
  161. echo as_func_success failed.
  162. fi
  163. if as_func_failure; then
  164. exitcode=1
  165. echo as_func_failure succeeded.
  166. fi
  167. if as_func_ret_success; then
  168. :
  169. else
  170. exitcode=1
  171. echo as_func_ret_success failed.
  172. fi
  173. if as_func_ret_failure; then
  174. exitcode=1
  175. echo as_func_ret_failure succeeded.
  176. fi
  177. if (set x; as_func_ret_success y && test x = \"\$1\" ); then
  178. :
  179. else
  180. exitcode=1
  181. echo positional parameters were not saved.
  182. fi
  183. test \$exitcode = 0) || { (exit 1); exit 1; }
  184. (
  185. as_lineno_1=\$LINENO
  186. as_lineno_2=\$LINENO
  187. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  188. test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  189. ") 2> /dev/null; then
  190. :
  191. else
  192. as_candidate_shells=
  193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  194. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  195. do
  196. IFS=$as_save_IFS
  197. test -z "$as_dir" && as_dir=.
  198. case $as_dir in
  199. /*)
  200. for as_base in sh bash ksh sh5; do
  201. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  202. done;;
  203. esac
  204. done
  205. IFS=$as_save_IFS
  206. for as_shell in $as_candidate_shells $SHELL; do
  207. # Try only shells that exist, to save several forks.
  208. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  209. { ("$as_shell") 2> /dev/null <<\_ASEOF
  210. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  211. emulate sh
  212. NULLCMD=:
  213. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  214. # is contrary to our usage. Disable this feature.
  215. alias -g '${1+"$@"}'='"$@"'
  216. setopt NO_GLOB_SUBST
  217. else
  218. case `(set -o) 2>/dev/null` in
  219. *posix*) set -o posix ;;
  220. esac
  221. fi
  222. :
  223. _ASEOF
  224. }; then
  225. CONFIG_SHELL=$as_shell
  226. as_have_required=yes
  227. if { "$as_shell" 2> /dev/null <<\_ASEOF
  228. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  229. emulate sh
  230. NULLCMD=:
  231. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  232. # is contrary to our usage. Disable this feature.
  233. alias -g '${1+"$@"}'='"$@"'
  234. setopt NO_GLOB_SUBST
  235. else
  236. case `(set -o) 2>/dev/null` in
  237. *posix*) set -o posix ;;
  238. esac
  239. fi
  240. :
  241. (as_func_return () {
  242. (exit $1)
  243. }
  244. as_func_success () {
  245. as_func_return 0
  246. }
  247. as_func_failure () {
  248. as_func_return 1
  249. }
  250. as_func_ret_success () {
  251. return 0
  252. }
  253. as_func_ret_failure () {
  254. return 1
  255. }
  256. exitcode=0
  257. if as_func_success; then
  258. :
  259. else
  260. exitcode=1
  261. echo as_func_success failed.
  262. fi
  263. if as_func_failure; then
  264. exitcode=1
  265. echo as_func_failure succeeded.
  266. fi
  267. if as_func_ret_success; then
  268. :
  269. else
  270. exitcode=1
  271. echo as_func_ret_success failed.
  272. fi
  273. if as_func_ret_failure; then
  274. exitcode=1
  275. echo as_func_ret_failure succeeded.
  276. fi
  277. if ( set x; as_func_ret_success y && test x = "$1" ); then
  278. :
  279. else
  280. exitcode=1
  281. echo positional parameters were not saved.
  282. fi
  283. test $exitcode = 0) || { (exit 1); exit 1; }
  284. (
  285. as_lineno_1=$LINENO
  286. as_lineno_2=$LINENO
  287. test "x$as_lineno_1" != "x$as_lineno_2" &&
  288. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  289. _ASEOF
  290. }; then
  291. break
  292. fi
  293. fi
  294. done
  295. if test "x$CONFIG_SHELL" != x; then
  296. for as_var in BASH_ENV ENV
  297. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  298. done
  299. export CONFIG_SHELL
  300. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  301. fi
  302. if test $as_have_required = no; then
  303. echo This script requires a shell more modern than all the
  304. echo shells that I found on your system. Please install a
  305. echo modern shell, or manually run the script under such a
  306. echo shell if you do have one.
  307. { (exit 1); exit 1; }
  308. fi
  309. fi
  310. fi
  311. (eval "as_func_return () {
  312. (exit \$1)
  313. }
  314. as_func_success () {
  315. as_func_return 0
  316. }
  317. as_func_failure () {
  318. as_func_return 1
  319. }
  320. as_func_ret_success () {
  321. return 0
  322. }
  323. as_func_ret_failure () {
  324. return 1
  325. }
  326. exitcode=0
  327. if as_func_success; then
  328. :
  329. else
  330. exitcode=1
  331. echo as_func_success failed.
  332. fi
  333. if as_func_failure; then
  334. exitcode=1
  335. echo as_func_failure succeeded.
  336. fi
  337. if as_func_ret_success; then
  338. :
  339. else
  340. exitcode=1
  341. echo as_func_ret_success failed.
  342. fi
  343. if as_func_ret_failure; then
  344. exitcode=1
  345. echo as_func_ret_failure succeeded.
  346. fi
  347. if (set x; as_func_ret_success y && test x = \"\$1\" ); then
  348. :
  349. else
  350. exitcode=1
  351. echo positional parameters were not saved.
  352. fi
  353. test \$exitcode = 0") || {
  354. echo No shell found that supports shell functions.
  355. echo Please tell autoconf@gnu.org about your system,
  356. echo including any error possibly output before this
  357. echo message
  358. }
  359. as_lineno_1=$LINENO
  360. as_lineno_2=$LINENO
  361. test "x$as_lineno_1" != "x$as_lineno_2" &&
  362. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  363. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  364. # uniformly replaced by the line number. The first 'sed' inserts a
  365. # line-number line after each line using $LINENO; the second 'sed'
  366. # does the real work. The second script uses 'N' to pair each
  367. # line-number line with the line containing $LINENO, and appends
  368. # trailing '-' during substitution so that $LINENO is not a special
  369. # case at line end.
  370. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  371. # scripts with optimization help from Paolo Bonzini. Blame Lee
  372. # E. McMahon (1931-1989) for sed's syntax. :-)
  373. sed -n '
  374. p
  375. /[$]LINENO/=
  376. ' <$as_myself |
  377. sed '
  378. s/[$]LINENO.*/&-/
  379. t lineno
  380. b
  381. :lineno
  382. N
  383. :loop
  384. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  385. t loop
  386. s/-\n.*//
  387. ' >$as_me.lineno &&
  388. chmod +x "$as_me.lineno" ||
  389. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  390. { (exit 1); exit 1; }; }
  391. # Don't try to exec as it changes $[0], causing all sort of problems
  392. # (the dirname of $[0] is not the place where we might find the
  393. # original and so on. Autoconf is especially sensitive to this).
  394. . "./$as_me.lineno"
  395. # Exit status is that of the last command.
  396. exit
  397. }
  398. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  399. as_dirname=dirname
  400. else
  401. as_dirname=false
  402. fi
  403. ECHO_C= ECHO_N= ECHO_T=
  404. case `echo -n x` in
  405. -n*)
  406. case `echo 'x\c'` in
  407. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  408. *) ECHO_C='\c';;
  409. esac;;
  410. *)
  411. ECHO_N='-n';;
  412. esac
  413. if expr a : '\(a\)' >/dev/null 2>&1 &&
  414. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  415. as_expr=expr
  416. else
  417. as_expr=false
  418. fi
  419. rm -f conf$$ conf$$.exe conf$$.file
  420. if test -d conf$$.dir; then
  421. rm -f conf$$.dir/conf$$.file
  422. else
  423. rm -f conf$$.dir
  424. mkdir conf$$.dir
  425. fi
  426. echo >conf$$.file
  427. if ln -s conf$$.file conf$$ 2>/dev/null; then
  428. as_ln_s='ln -s'
  429. # ... but there are two gotchas:
  430. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  431. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  432. # In both cases, we have to default to `cp -p'.
  433. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  434. as_ln_s='cp -p'
  435. elif ln conf$$.file conf$$ 2>/dev/null; then
  436. as_ln_s=ln
  437. else
  438. as_ln_s='cp -p'
  439. fi
  440. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  441. rmdir conf$$.dir 2>/dev/null
  442. if mkdir -p . 2>/dev/null; then
  443. as_mkdir_p=:
  444. else
  445. test -d ./-p && rmdir ./-p
  446. as_mkdir_p=false
  447. fi
  448. if test -x / >/dev/null 2>&1; then
  449. as_test_x='test -x'
  450. else
  451. if ls -dL / >/dev/null 2>&1; then
  452. as_ls_L_option=L
  453. else
  454. as_ls_L_option=
  455. fi
  456. as_test_x='
  457. eval sh -c '\''
  458. if test -d "$1"; then
  459. test -d "$1/.";
  460. else
  461. case $1 in
  462. -*)set "./$1";;
  463. esac;
  464. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  465. ???[sx]*):;;*)false;;esac;fi
  466. '\'' sh
  467. '
  468. fi
  469. as_executable_p=$as_test_x
  470. # Sed expression to map a string onto a valid CPP name.
  471. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  472. # Sed expression to map a string onto a valid variable name.
  473. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  474. exec 7<&0 </dev/null 6>&1
  475. # Name of the host.
  476. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  477. # so uname gets run too.
  478. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  479. #
  480. # Initializations.
  481. #
  482. ac_default_prefix=/usr/local
  483. ac_clean_files=
  484. ac_config_libobj_dir=.
  485. LIBOBJS=
  486. cross_compiling=no
  487. subdirs=
  488. MFLAGS=
  489. MAKEFLAGS=
  490. SHELL=${CONFIG_SHELL-/bin/sh}
  491. # Identity of this package.
  492. PACKAGE_NAME=
  493. PACKAGE_TARNAME=
  494. PACKAGE_VERSION=
  495. PACKAGE_STRING=
  496. PACKAGE_BUGREPORT=
  497. ac_unique_file="jcc.c"
  498. # Factoring default headers for most tests.
  499. ac_includes_default="\
  500. #include <stdio.h>
  501. #ifdef HAVE_SYS_TYPES_H
  502. # include <sys/types.h>
  503. #endif
  504. #ifdef HAVE_SYS_STAT_H
  505. # include <sys/stat.h>
  506. #endif
  507. #ifdef STDC_HEADERS
  508. # include <stdlib.h>
  509. # include <stddef.h>
  510. #else
  511. # ifdef HAVE_STDLIB_H
  512. # include <stdlib.h>
  513. # endif
  514. #endif
  515. #ifdef HAVE_STRING_H
  516. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  517. # include <memory.h>
  518. # endif
  519. # include <string.h>
  520. #endif
  521. #ifdef HAVE_STRINGS_H
  522. # include <strings.h>
  523. #endif
  524. #ifdef HAVE_INTTYPES_H
  525. # include <inttypes.h>
  526. #endif
  527. #ifdef HAVE_STDINT_H
  528. # include <stdint.h>
  529. #endif
  530. #ifdef HAVE_UNISTD_H
  531. # include <unistd.h>
  532. #endif"
  533. ac_subst_vars='SHELL
  534. PATH_SEPARATOR
  535. PACKAGE_NAME
  536. PACKAGE_TARNAME
  537. PACKAGE_VERSION
  538. PACKAGE_STRING
  539. PACKAGE_BUGREPORT
  540. exec_prefix
  541. prefix
  542. program_transform_name
  543. bindir
  544. sbindir
  545. libexecdir
  546. datarootdir
  547. datadir
  548. sysconfdir
  549. sharedstatedir
  550. localstatedir
  551. includedir
  552. oldincludedir
  553. docdir
  554. infodir
  555. htmldir
  556. dvidir
  557. pdfdir
  558. psdir
  559. libdir
  560. localedir
  561. mandir
  562. DEFS
  563. ECHO_C
  564. ECHO_N
  565. ECHO_T
  566. LIBS
  567. build_alias
  568. host_alias
  569. target_alias
  570. build
  571. build_cpu
  572. build_vendor
  573. build_os
  574. host
  575. host_cpu
  576. host_vendor
  577. host_os
  578. VERSION_MAJOR
  579. VERSION_MINOR
  580. VERSION_POINT
  581. CODE_STATUS
  582. CC
  583. CFLAGS
  584. LDFLAGS
  585. CPPFLAGS
  586. ac_ct_CC
  587. EXEEXT
  588. OBJEXT
  589. CPP
  590. INSTALL_PROGRAM
  591. INSTALL_SCRIPT
  592. INSTALL_DATA
  593. LN_S
  594. SET_MAKE
  595. AWK
  596. GDB
  597. BGROUPS
  598. ID
  599. USER
  600. GROUP
  601. WIN_ONLY
  602. WDUMP
  603. DB2HTML
  604. RPMBIN
  605. RPM_BASE
  606. JADEBIN
  607. MAN2HTML
  608. DOC_STATUS
  609. JADECAT
  610. DKPREFIX
  611. GREP
  612. EGREP
  613. PTHREAD_ONLY
  614. SOCKET_LIB
  615. AMIGAOS_ONLY
  616. STATIC_PCRE_ONLY
  617. STATIC_PCRS_ONLY
  618. SPECIAL_CFLAGS
  619. PTHREAD_LIB
  620. LIBOBJS
  621. LTLIBOBJS'
  622. ac_subst_files=''
  623. ac_precious_vars='build_alias
  624. host_alias
  625. target_alias
  626. CC
  627. CFLAGS
  628. LDFLAGS
  629. LIBS
  630. CPPFLAGS
  631. CPP'
  632. # Initialize some variables set by options.
  633. ac_init_help=
  634. ac_init_version=false
  635. # The variables have the same names as the options, with
  636. # dashes changed to underlines.
  637. cache_file=/dev/null
  638. exec_prefix=NONE
  639. no_create=
  640. no_recursion=
  641. prefix=NONE
  642. program_prefix=NONE
  643. program_suffix=NONE
  644. program_transform_name=s,x,x,
  645. silent=
  646. site=
  647. srcdir=
  648. verbose=
  649. x_includes=NONE
  650. x_libraries=NONE
  651. # Installation directory options.
  652. # These are left unexpanded so users can "make install exec_prefix=/foo"
  653. # and all the variables that are supposed to be based on exec_prefix
  654. # by default will actually change.
  655. # Use braces instead of parens because sh, perl, etc. also accept them.
  656. # (The list follows the same order as the GNU Coding Standards.)
  657. bindir='${exec_prefix}/bin'
  658. sbindir='${exec_prefix}/sbin'
  659. libexecdir='${exec_prefix}/libexec'
  660. datarootdir='${prefix}/share'
  661. datadir='${datarootdir}'
  662. sysconfdir='${prefix}/etc'
  663. sharedstatedir='${prefix}/com'
  664. localstatedir='${prefix}/var'
  665. includedir='${prefix}/include'
  666. oldincludedir='/usr/include'
  667. docdir='${datarootdir}/doc/${PACKAGE}'
  668. infodir='${datarootdir}/info'
  669. htmldir='${docdir}'
  670. dvidir='${docdir}'
  671. pdfdir='${docdir}'
  672. psdir='${docdir}'
  673. libdir='${exec_prefix}/lib'
  674. localedir='${datarootdir}/locale'
  675. mandir='${datarootdir}/man'
  676. ac_prev=
  677. ac_dashdash=
  678. for ac_option
  679. do
  680. # If the previous option needs an argument, assign it.
  681. if test -n "$ac_prev"; then
  682. eval $ac_prev=\$ac_option
  683. ac_prev=
  684. continue
  685. fi
  686. case $ac_option in
  687. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  688. *) ac_optarg=yes ;;
  689. esac
  690. # Accept the important Cygnus configure options, so we can diagnose typos.
  691. case $ac_dashdash$ac_option in
  692. --)
  693. ac_dashdash=yes ;;
  694. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  695. ac_prev=bindir ;;
  696. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  697. bindir=$ac_optarg ;;
  698. -build | --build | --buil | --bui | --bu)
  699. ac_prev=build_alias ;;
  700. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  701. build_alias=$ac_optarg ;;
  702. -cache-file | --cache-file | --cache-fil | --cache-fi \
  703. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  704. ac_prev=cache_file ;;
  705. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  706. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  707. cache_file=$ac_optarg ;;
  708. --config-cache | -C)
  709. cache_file=config.cache ;;
  710. -datadir | --datadir | --datadi | --datad)
  711. ac_prev=datadir ;;
  712. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  713. datadir=$ac_optarg ;;
  714. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  715. | --dataroo | --dataro | --datar)
  716. ac_prev=datarootdir ;;
  717. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  718. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  719. datarootdir=$ac_optarg ;;
  720. -disable-* | --disable-*)
  721. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  722. # Reject names that are not valid shell variable names.
  723. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  724. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  725. { (exit 1); exit 1; }; }
  726. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  727. eval enable_$ac_feature=no ;;
  728. -docdir | --docdir | --docdi | --doc | --do)
  729. ac_prev=docdir ;;
  730. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  731. docdir=$ac_optarg ;;
  732. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  733. ac_prev=dvidir ;;
  734. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  735. dvidir=$ac_optarg ;;
  736. -enable-* | --enable-*)
  737. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  738. # Reject names that are not valid shell variable names.
  739. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  740. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  741. { (exit 1); exit 1; }; }
  742. ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
  743. eval enable_$ac_feature=\$ac_optarg ;;
  744. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  745. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  746. | --exec | --exe | --ex)
  747. ac_prev=exec_prefix ;;
  748. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  749. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  750. | --exec=* | --exe=* | --ex=*)
  751. exec_prefix=$ac_optarg ;;
  752. -gas | --gas | --ga | --g)
  753. # Obsolete; use --with-gas.
  754. with_gas=yes ;;
  755. -help | --help | --hel | --he | -h)
  756. ac_init_help=long ;;
  757. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  758. ac_init_help=recursive ;;
  759. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  760. ac_init_help=short ;;
  761. -host | --host | --hos | --ho)
  762. ac_prev=host_alias ;;
  763. -host=* | --host=* | --hos=* | --ho=*)
  764. host_alias=$ac_optarg ;;
  765. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  766. ac_prev=htmldir ;;
  767. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  768. | --ht=*)
  769. htmldir=$ac_optarg ;;
  770. -includedir | --includedir | --includedi | --included | --include \
  771. | --includ | --inclu | --incl | --inc)
  772. ac_prev=includedir ;;
  773. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  774. | --includ=* | --inclu=* | --incl=* | --inc=*)
  775. includedir=$ac_optarg ;;
  776. -infodir | --infodir | --infodi | --infod | --info | --inf)
  777. ac_prev=infodir ;;
  778. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  779. infodir=$ac_optarg ;;
  780. -libdir | --libdir | --libdi | --libd)
  781. ac_prev=libdir ;;
  782. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  783. libdir=$ac_optarg ;;
  784. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  785. | --libexe | --libex | --libe)
  786. ac_prev=libexecdir ;;
  787. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  788. | --libexe=* | --libex=* | --libe=*)
  789. libexecdir=$ac_optarg ;;
  790. -localedir | --localedir | --localedi | --localed | --locale)
  791. ac_prev=localedir ;;
  792. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  793. localedir=$ac_optarg ;;
  794. -localstatedir | --localstatedir | --localstatedi | --localstated \
  795. | --localstate | --localstat | --localsta | --localst | --locals)
  796. ac_prev=localstatedir ;;
  797. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  798. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  799. localstatedir=$ac_optarg ;;
  800. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  801. ac_prev=mandir ;;
  802. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  803. mandir=$ac_optarg ;;
  804. -nfp | --nfp | --nf)
  805. # Obsolete; use --without-fp.
  806. with_fp=no ;;
  807. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  808. | --no-cr | --no-c | -n)
  809. no_create=yes ;;
  810. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  811. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  812. no_recursion=yes ;;
  813. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  814. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  815. | --oldin | --oldi | --old | --ol | --o)
  816. ac_prev=oldincludedir ;;
  817. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  818. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  819. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  820. oldincludedir=$ac_optarg ;;
  821. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  822. ac_prev=prefix ;;
  823. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  824. prefix=$ac_optarg ;;
  825. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  826. | --program-pre | --program-pr | --program-p)
  827. ac_prev=program_prefix ;;
  828. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  829. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  830. program_prefix=$ac_optarg ;;
  831. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  832. | --program-suf | --program-su | --program-s)
  833. ac_prev=program_suffix ;;
  834. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  835. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  836. program_suffix=$ac_optarg ;;
  837. -program-transform-name | --program-transform-name \
  838. | --program-transform-nam | --program-transform-na \
  839. | --program-transform-n | --program-transform- \
  840. | --program-transform | --program-transfor \
  841. | --program-transfo | --program-transf \
  842. | --program-trans | --program-tran \
  843. | --progr-tra | --program-tr | --program-t)
  844. ac_prev=program_transform_name ;;
  845. -program-transform-name=* | --program-transform-name=* \
  846. | --program-transform-nam=* | --program-transform-na=* \
  847. | --program-transform-n=* | --program-transform-=* \
  848. | --program-transform=* | --program-transfor=* \
  849. | --program-transfo=* | --program-transf=* \
  850. | --program-trans=* | --program-tran=* \
  851. | --progr-tra=* | --program-tr=* | --program-t=*)
  852. program_transform_name=$ac_optarg ;;
  853. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  854. ac_prev=pdfdir ;;
  855. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  856. pdfdir=$ac_optarg ;;
  857. -psdir | --psdir | --psdi | --psd | --ps)
  858. ac_prev=psdir ;;
  859. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  860. psdir=$ac_optarg ;;
  861. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  862. | -silent | --silent | --silen | --sile | --sil)
  863. silent=yes ;;
  864. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  865. ac_prev=sbindir ;;
  866. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  867. | --sbi=* | --sb=*)
  868. sbindir=$ac_optarg ;;
  869. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  870. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  871. | --sharedst | --shareds | --shared | --share | --shar \
  872. | --sha | --sh)
  873. ac_prev=sharedstatedir ;;
  874. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  875. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  876. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  877. | --sha=* | --sh=*)
  878. sharedstatedir=$ac_optarg ;;
  879. -site | --site | --sit)
  880. ac_prev=site ;;
  881. -site=* | --site=* | --sit=*)
  882. site=$ac_optarg ;;
  883. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  884. ac_prev=srcdir ;;
  885. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  886. srcdir=$ac_optarg ;;
  887. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  888. | --syscon | --sysco | --sysc | --sys | --sy)
  889. ac_prev=sysconfdir ;;
  890. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  891. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  892. sysconfdir=$ac_optarg ;;
  893. -target | --target | --targe | --targ | --tar | --ta | --t)
  894. ac_prev=target_alias ;;
  895. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  896. target_alias=$ac_optarg ;;
  897. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  898. verbose=yes ;;
  899. -version | --version | --versio | --versi | --vers | -V)
  900. ac_init_version=: ;;
  901. -with-* | --with-*)
  902. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  903. # Reject names that are not valid shell variable names.
  904. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  905. { echo "$as_me: error: invalid package name: $ac_package" >&2
  906. { (exit 1); exit 1; }; }
  907. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  908. eval with_$ac_package=\$ac_optarg ;;
  909. -without-* | --without-*)
  910. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  911. # Reject names that are not valid shell variable names.
  912. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  913. { echo "$as_me: error: invalid package name: $ac_package" >&2
  914. { (exit 1); exit 1; }; }
  915. ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  916. eval with_$ac_package=no ;;
  917. --x)
  918. # Obsolete; use --with-x.
  919. with_x=yes ;;
  920. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  921. | --x-incl | --x-inc | --x-in | --x-i)
  922. ac_prev=x_includes ;;
  923. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  924. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  925. x_includes=$ac_optarg ;;
  926. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  927. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  928. ac_prev=x_libraries ;;
  929. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  930. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  931. x_libraries=$ac_optarg ;;
  932. -*) { echo "$as_me: error: unrecognized option: $ac_option
  933. Try \`$0 --help' for more information." >&2
  934. { (exit 1); exit 1; }; }
  935. ;;
  936. *=*)
  937. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  938. # Reject names that are not valid shell variable names.
  939. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  940. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  941. { (exit 1); exit 1; }; }
  942. eval $ac_envvar=\$ac_optarg
  943. export $ac_envvar ;;
  944. *)
  945. # FIXME: should be removed in autoconf 3.0.
  946. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  947. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  948. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  949. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  950. ;;
  951. esac
  952. done
  953. if test -n "$ac_prev"; then
  954. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  955. { echo "$as_me: error: missing argument to $ac_option" >&2
  956. { (exit 1); exit 1; }; }
  957. fi
  958. # Be sure to have absolute directory names.
  959. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  960. datadir sysconfdir sharedstatedir localstatedir includedir \
  961. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  962. libdir localedir mandir
  963. do
  964. eval ac_val=\$$ac_var
  965. case $ac_val in
  966. [\\/$]* | ?:[\\/]* ) continue;;
  967. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  968. esac
  969. { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  970. { (exit 1); exit 1; }; }
  971. done
  972. # There might be people who depend on the old broken behavior: `$host'
  973. # used to hold the argument of --host etc.
  974. # FIXME: To remove some day.
  975. build=$build_alias
  976. host=$host_alias
  977. target=$target_alias
  978. # FIXME: To remove some day.
  979. if test "x$host_alias" != x; then
  980. if test "x$build_alias" = x; then
  981. cross_compiling=maybe
  982. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  983. If a cross compiler is detected then cross compile mode will be used." >&2
  984. elif test "x$build_alias" != "x$host_alias"; then
  985. cross_compiling=yes
  986. fi
  987. fi
  988. ac_tool_prefix=
  989. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  990. test "$silent" = yes && exec 6>/dev/null
  991. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  992. ac_ls_di=`ls -di .` &&
  993. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  994. { echo "$as_me: error: Working directory cannot be determined" >&2
  995. { (exit 1); exit 1; }; }
  996. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  997. { echo "$as_me: error: pwd does not report name of working directory" >&2
  998. { (exit 1); exit 1; }; }
  999. # Find the source files, if location was not specified.
  1000. if test -z "$srcdir"; then
  1001. ac_srcdir_defaulted=yes
  1002. # Try the directory containing this script, then the parent directory.
  1003. ac_confdir=`$as_dirname -- "$0" ||
  1004. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1005. X"$0" : 'X\(//\)[^/]' \| \
  1006. X"$0" : 'X\(//\)$' \| \
  1007. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1008. echo X"$0" |
  1009. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1010. s//\1/
  1011. q
  1012. }
  1013. /^X\(\/\/\)[^/].*/{
  1014. s//\1/
  1015. q
  1016. }
  1017. /^X\(\/\/\)$/{
  1018. s//\1/
  1019. q
  1020. }
  1021. /^X\(\/\).*/{
  1022. s//\1/
  1023. q
  1024. }
  1025. s/.*/./; q'`
  1026. srcdir=$ac_confdir
  1027. if test ! -r "$srcdir/$ac_unique_file"; then
  1028. srcdir=..
  1029. fi
  1030. else
  1031. ac_srcdir_defaulted=no
  1032. fi
  1033. if test ! -r "$srcdir/$ac_unique_file"; then
  1034. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1035. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1036. { (exit 1); exit 1; }; }
  1037. fi
  1038. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1039. ac_abs_confdir=`(
  1040. cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1041. { (exit 1); exit 1; }; }
  1042. pwd)`
  1043. # When building in place, set srcdir=.
  1044. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1045. srcdir=.
  1046. fi
  1047. # Remove unnecessary trailing slashes from srcdir.
  1048. # Double slashes in file names in object file debugging info
  1049. # mess up M-x gdb in Emacs.
  1050. case $srcdir in
  1051. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1052. esac
  1053. for ac_var in $ac_precious_vars; do
  1054. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1055. eval ac_env_${ac_var}_value=\$${ac_var}
  1056. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1057. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1058. done
  1059. #
  1060. # Report the --help message.
  1061. #
  1062. if test "$ac_init_help" = "long"; then
  1063. # Omit some internal or obsolete options to make the list less imposing.
  1064. # This message is too long to be a string in the A/UX 3.1 sh.
  1065. cat <<_ACEOF
  1066. \`configure' configures this package to adapt to many kinds of systems.
  1067. Usage: $0 [OPTION]... [VAR=VALUE]...
  1068. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1069. VAR=VALUE. See below for descriptions of some of the useful variables.
  1070. Defaults for the options are specified in brackets.
  1071. Configuration:
  1072. -h, --help display this help and exit
  1073. --help=short display options specific to this package
  1074. --help=recursive display the short help of all the included packages
  1075. -V, --version display version information and exit
  1076. -q, --quiet, --silent do not print \`checking...' messages
  1077. --cache-file=FILE cache test results in FILE [disabled]
  1078. -C, --config-cache alias for \`--cache-file=config.cache'
  1079. -n, --no-create do not create output files
  1080. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1081. Installation directories:
  1082. --prefix=PREFIX install architecture-independent files in PREFIX
  1083. [$ac_default_prefix]
  1084. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1085. [PREFIX]
  1086. By default, \`make install' will install all the files in
  1087. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1088. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1089. for instance \`--prefix=\$HOME'.
  1090. For better control, use the options below.
  1091. Fine tuning of the installation directories:
  1092. --bindir=DIR user executables [EPREFIX/bin]
  1093. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1094. --libexecdir=DIR program executables [EPREFIX/libexec]
  1095. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1096. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1097. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1098. --libdir=DIR object code libraries [EPREFIX/lib]
  1099. --includedir=DIR C header files [PREFIX/include]
  1100. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1101. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1102. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1103. --infodir=DIR info documentation [DATAROOTDIR/info]
  1104. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1105. --mandir=DIR man documentation [DATAROOTDIR/man]
  1106. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1107. --htmldir=DIR html documentation [DOCDIR]
  1108. --dvidir=DIR dvi documentation [DOCDIR]
  1109. --pdfdir=DIR pdf documentation [DOCDIR]
  1110. --psdir=DIR ps documentation [DOCDIR]
  1111. _ACEOF
  1112. cat <<\_ACEOF
  1113. System types:
  1114. --build=BUILD configure for building on BUILD [guessed]
  1115. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1116. _ACEOF
  1117. fi
  1118. if test -n "$ac_init_help"; then
  1119. cat <<\_ACEOF
  1120. Optional Features:
  1121. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1122. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1123. --enable-mingw32 Use mingw32 for a Windows GUI
  1124. --disable-pthread Don't use POSIX threads (pthreads)
  1125. --disable-toggle Don't support temporary disable
  1126. --disable-force Don't allow single-page disable
  1127. --disable-fast-redirects Don't support fast redirects
  1128. --disable-killpopup Never block popups
  1129. --disable-stats Don't keep statistics
  1130. --enable-ie-images Enable a quick but not always reliable auto-detect whether requests from
  1131. MS Internet Explorer are for an image or not.
  1132. --disable-image-blocking Don't try to figure out whether a request is
  1133. for an image or HTML - assume HTML.
  1134. --disable-acl-files Prevents the use of ACL files to control access to
  1135. the proxy by IP address.
  1136. --disable-trust-files Prevents the use of trust files.
  1137. --disable-jar-files Prevents the use of jar files to capture cookies.
  1138. --disable-editor Prevents the use of the web-based actions file
  1139. editor and web-based temporary disable setting.
  1140. --enable-no-gifs Use politically correct PNG format instead of GIF
  1141. for built-in images. May not work with all browsers.
  1142. --disable-dynamic-pcre Use the built-in, static pcre, even if
  1143. libpcre is available
  1144. --disable-dynamic-pcrs Use the built-in, static pcrs, even if
  1145. libpcrs is available
  1146. Optional Packages:
  1147. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1148. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1149. --with-docbook=yes|no|directory
  1150. Enable docbook documentation creation
  1151. (default = yes, for gnu and linux)
  1152. --with-db2html=<path/executable>
  1153. Set the location of the docbook to html converter
  1154. (default = search)
  1155. --with-debug Enable debug mode
  1156. --with-user=privoxy Set user under which privoxy will run
  1157. --with-group=privoxy Set group for privoxy
  1158. Some influential environment variables:
  1159. CC C compiler command
  1160. CFLAGS C compiler flags
  1161. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1162. nonstandard directory <lib dir>
  1163. LIBS libraries to pass to the linker, e.g. -l<library>
  1164. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1165. you have headers in a nonstandard directory <include dir>
  1166. CPP C preprocessor
  1167. Use these variables to override the choices made by `configure' or to help
  1168. it to find libraries and programs with nonstandard names/locations.
  1169. _ACEOF
  1170. ac_status=$?
  1171. fi
  1172. if test "$ac_init_help" = "recursive"; then
  1173. # If there are subdirs, report their specific --help.
  1174. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1175. test -d "$ac_dir" || continue
  1176. ac_builddir=.
  1177. case "$ac_dir" in
  1178. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1179. *)
  1180. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1181. # A ".." for each directory in $ac_dir_suffix.
  1182. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1183. case $ac_top_builddir_sub in
  1184. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1185. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1186. esac ;;
  1187. esac
  1188. ac_abs_top_builddir=$ac_pwd
  1189. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1190. # for backward compatibility:
  1191. ac_top_builddir=$ac_top_build_prefix
  1192. case $srcdir in
  1193. .) # We are building in place.
  1194. ac_srcdir=.
  1195. ac_top_srcdir=$ac_top_builddir_sub
  1196. ac_abs_top_srcdir=$ac_pwd ;;
  1197. [\\/]* | ?:[\\/]* ) # Absolute name.
  1198. ac_srcdir=$srcdir$ac_dir_suffix;
  1199. ac_top_srcdir=$srcdir
  1200. ac_abs_top_srcdir=$srcdir ;;
  1201. *) # Relative name.
  1202. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1203. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1204. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1205. esac
  1206. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1207. cd "$ac_dir" || { ac_status=$?; continue; }
  1208. # Check for guested configure.
  1209. if test -f "$ac_srcdir/configure.gnu"; then
  1210. echo &&
  1211. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1212. elif test -f "$ac_srcdir/configure"; then
  1213. echo &&
  1214. $SHELL "$ac_srcdir/configure" --help=recursive
  1215. else
  1216. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1217. fi || ac_status=$?
  1218. cd "$ac_pwd" || { ac_status=$?; break; }
  1219. done
  1220. fi
  1221. test -n "$ac_init_help" && exit $ac_status
  1222. if $ac_init_version; then
  1223. cat <<\_ACEOF
  1224. configure
  1225. generated by GNU Autoconf 2.61-MirPorts-0
  1226. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1227. 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1228. This configure script is free software; the Free Software Foundation
  1229. gives unlimited permission to copy, distribute and modify it.
  1230. _ACEOF
  1231. exit
  1232. fi
  1233. cat >config.log <<_ACEOF
  1234. This file contains any messages produced by compilers while
  1235. running configure, to aid debugging if configure makes a mistake.
  1236. It was created by $as_me, which was
  1237. generated by GNU Autoconf 2.61-MirPorts-0. Invocation command line was
  1238. $ $0 $@
  1239. _ACEOF
  1240. exec 5>>config.log
  1241. {
  1242. cat <<_ASUNAME
  1243. ## --------- ##
  1244. ## Platform. ##
  1245. ## --------- ##
  1246. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1247. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1248. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1249. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1250. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1251. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1252. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1253. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1254. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1255. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1256. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1257. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1258. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1259. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1260. _ASUNAME
  1261. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1262. for as_dir in $PATH
  1263. do
  1264. IFS=$as_save_IFS
  1265. test -z "$as_dir" && as_dir=.
  1266. echo "PATH: $as_dir"
  1267. done
  1268. IFS=$as_save_IFS
  1269. } >&5
  1270. cat >&5 <<_ACEOF
  1271. ## ----------- ##
  1272. ## Core tests. ##
  1273. ## ----------- ##
  1274. _ACEOF
  1275. # Keep a trace of the command line.
  1276. # Strip out --no-create and --no-recursion so they do not pile up.
  1277. # Strip out --silent because we don't want to record it for future runs.
  1278. # Also quote any args containing shell meta-characters.
  1279. # Make two passes to allow for proper duplicate-argument suppression.
  1280. ac_configure_args=
  1281. ac_configure_args0=
  1282. ac_configure_args1=
  1283. ac_must_keep_next=false
  1284. for ac_pass in 1 2
  1285. do
  1286. for ac_arg
  1287. do
  1288. case $ac_arg in
  1289. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1290. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1291. | -silent | --silent | --silen | --sile | --sil)
  1292. continue ;;
  1293. *\'*)
  1294. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1295. esac
  1296. case $ac_pass in
  1297. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1298. 2)
  1299. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1300. if test $ac_must_keep_next = true; then
  1301. ac_must_keep_next=false # Got value, back to normal.
  1302. else
  1303. case $ac_arg in
  1304. *=* | --config-cache | -C | -disable-* | --disable-* \
  1305. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1306. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1307. | -with-* | --with-* | -without-* | --without-* | --x)
  1308. case "$ac_configure_args0 " in
  1309. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1310. esac
  1311. ;;
  1312. -* ) ac_must_keep_next=true ;;
  1313. esac
  1314. fi
  1315. ac_configure_args="$ac_configure_args '$ac_arg'"
  1316. ;;
  1317. esac
  1318. done
  1319. done
  1320. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1321. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1322. # When interrupted or exit'd, cleanup temporary files, and complete
  1323. # config.log. We remove comments because anyway the quotes in there
  1324. # would cause problems or look ugly.
  1325. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1326. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1327. trap 'exit_status=$?
  1328. # Save into config.log some information that might help in debugging.
  1329. {
  1330. echo
  1331. cat <<\_ASBOX
  1332. ## ---------------- ##
  1333. ## Cache variables. ##
  1334. ## ---------------- ##
  1335. _ASBOX
  1336. echo
  1337. # The following way of writing the cache mishandles newlines in values,
  1338. (
  1339. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1340. eval ac_val=\$$ac_var
  1341. case $ac_val in #(
  1342. *${as_nl}*)
  1343. case $ac_var in #(
  1344. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1345. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1346. esac
  1347. case $ac_var in #(
  1348. _ | IFS | as_nl) ;; #(
  1349. *) $as_unset $ac_var ;;
  1350. esac ;;
  1351. esac
  1352. done
  1353. (set) 2>&1 |
  1354. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1355. *${as_nl}ac_space=\ *)
  1356. sed -n \
  1357. "s/'\''/'\''\\\\'\'''\''/g;
  1358. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1359. ;; #(
  1360. *)
  1361. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1362. ;;
  1363. esac |
  1364. sort
  1365. )
  1366. echo
  1367. cat <<\_ASBOX
  1368. ## ----------------- ##
  1369. ## Output variables. ##
  1370. ## ----------------- ##
  1371. _ASBOX
  1372. echo
  1373. for ac_var in $ac_subst_vars
  1374. do
  1375. eval ac_val=\$$ac_var
  1376. case $ac_val in
  1377. *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1378. esac
  1379. echo "$ac_var='\''$ac_val'\''"
  1380. done | sort
  1381. echo
  1382. if test -n "$ac_subst_files"; then
  1383. cat <<\_ASBOX
  1384. ## ------------------- ##
  1385. ## File substitutions. ##
  1386. ## ------------------- ##
  1387. _ASBOX
  1388. echo
  1389. for ac_var in $ac_subst_files
  1390. do
  1391. eval ac_val=\$$ac_var
  1392. case $ac_val in
  1393. *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1394. esac
  1395. echo "$ac_var='\''$ac_val'\''"
  1396. done | sort
  1397. echo
  1398. fi
  1399. if test -s confdefs.h; then
  1400. cat <<\_ASBOX
  1401. ## ----------- ##
  1402. ## confdefs.h. ##
  1403. ## ----------- ##
  1404. _ASBOX
  1405. echo
  1406. cat confdefs.h
  1407. echo
  1408. fi
  1409. test "$ac_signal" != 0 &&
  1410. echo "$as_me: caught signal $ac_signal"
  1411. echo "$as_me: exit $exit_status"
  1412. } >&5
  1413. rm -f core *.core core.conftest.* &&
  1414. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1415. exit $exit_status
  1416. ' 0
  1417. for ac_signal in 1 2 13 15; do
  1418. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1419. done
  1420. ac_signal=0
  1421. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1422. rm -f -r conftest* confdefs.h
  1423. # Predefined preprocessor variables.
  1424. cat >>confdefs.h <<_ACEOF
  1425. #define PACKAGE_NAME "$PACKAGE_NAME"
  1426. _ACEOF
  1427. cat >>confdefs.h <<_ACEOF
  1428. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1429. _ACEOF
  1430. cat >>confdefs.h <<_ACEOF
  1431. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1432. _ACEOF
  1433. cat >>confdefs.h <<_ACEOF
  1434. #define PACKAGE_STRING "$PACKAGE_STRING"
  1435. _ACEOF
  1436. cat >>confdefs.h <<_ACEOF
  1437. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1438. _ACEOF
  1439. # Let the site file select an alternate cache file if it wants to.
  1440. # Prefer explicitly selected file to automatically selected ones.
  1441. if test -n "$CONFIG_SITE"; then
  1442. set x "$CONFIG_SITE"
  1443. elif test "x$prefix" != xNONE; then
  1444. set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1445. else
  1446. set x "$ac_default_prefix/share/config.site" \
  1447. "$ac_default_prefix/etc/config.site"
  1448. fi
  1449. shift
  1450. for ac_site_file
  1451. do
  1452. if test -r "$ac_site_file"; then
  1453. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1454. echo "$as_me: loading site script $ac_site_file" >&6;}
  1455. sed 's/^/| /' "$ac_site_file" >&5
  1456. . "$ac_site_file"
  1457. fi
  1458. done
  1459. if test -r "$cache_file"; then
  1460. # Some versions of bash will fail to source /dev/null (special
  1461. # files actually), so we avoid doing that.
  1462. if test -f "$cache_file"; then
  1463. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1464. echo "$as_me: loading cache $cache_file" >&6;}
  1465. case $cache_file in
  1466. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1467. *) . "./$cache_file";;
  1468. esac
  1469. fi
  1470. else
  1471. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1472. echo "$as_me: creating cache $cache_file" >&6;}
  1473. >$cache_file
  1474. fi
  1475. # Check that the precious variables saved in the cache have kept the same
  1476. # value.
  1477. ac_cache_corrupted=false
  1478. for ac_var in $ac_precious_vars; do
  1479. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1480. eval ac_new_set=\$ac_env_${ac_var}_set
  1481. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1482. eval ac_new_val=\$ac_env_${ac_var}_value
  1483. case $ac_old_set,$ac_new_set in
  1484. set,)
  1485. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1486. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1487. ac_cache_corrupted=: ;;
  1488. ,set)
  1489. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1490. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1491. ac_cache_corrupted=: ;;
  1492. ,);;
  1493. *)
  1494. if test "x$ac_old_val" != "x$ac_new_val"; then
  1495. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1496. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1497. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1498. echo "$as_me: former value: $ac_old_val" >&2;}
  1499. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1500. echo "$as_me: current value: $ac_new_val" >&2;}
  1501. ac_cache_corrupted=:
  1502. fi;;
  1503. esac
  1504. # Pass precious variables to config.status.
  1505. if test "$ac_new_set" = set; then
  1506. case $ac_new_val in
  1507. *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1508. *) ac_arg=$ac_var=$ac_new_val ;;
  1509. esac
  1510. case " $ac_configure_args " in
  1511. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1512. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1513. esac
  1514. fi
  1515. done
  1516. if $ac_cache_corrupted; then
  1517. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1518. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1519. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1520. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1521. { (exit 1); exit 1; }; }
  1522. fi
  1523. ac_ext=c
  1524. ac_cpp='$CPP $CPPFLAGS'
  1525. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1526. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1527. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1528. if test ! -f config.h.in; then
  1529. echo "You need to run autoheader first. "
  1530. echo -n "Shall I do this for you now? (y/n) "
  1531. read answer
  1532. if test "$answer" != "y"; then
  1533. exit 1
  1534. else
  1535. autoheader
  1536. fi
  1537. fi
  1538. ac_config_headers="$ac_config_headers config.h"
  1539. ac_aux_dir=
  1540. for ac_dir in $GNUSYSTEM_AUX_DIR "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1541. if test -f "$ac_dir/install-sh"; then
  1542. ac_aux_dir=$ac_dir
  1543. ac_install_sh="$ac_aux_dir/install-sh -c"
  1544. break
  1545. elif test -f "$ac_dir/install.sh"; then
  1546. ac_aux_dir=$ac_dir
  1547. ac_install_sh="$ac_aux_dir/install.sh -c"
  1548. break
  1549. elif test -f "$ac_dir/shtool"; then
  1550. ac_aux_dir=$ac_dir
  1551. ac_install_sh="$ac_aux_dir/shtool install -c"
  1552. break
  1553. fi
  1554. done
  1555. if test -z "$ac_aux_dir"; then
  1556. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1557. echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1558. { (exit 1); exit 1; }; }
  1559. fi
  1560. # These three variables are undocumented and unsupported,
  1561. # and are intended to be withdrawn in a future Autoconf release.
  1562. # They can cause serious problems if a builder's source tree is in a directory
  1563. # whose full name contains unusual characters.
  1564. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1565. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1566. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1567. # Make sure we can run config.sub.
  1568. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1569. { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1570. echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1571. { (exit 1); exit 1; }; }
  1572. { echo "$as_me:$LINENO: checking build system type" >&5
  1573. echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  1574. if test "${ac_cv_build+set}" = set; then
  1575. echo $ECHO_N "(cached) $ECHO_C" >&6
  1576. else
  1577. ac_build_alias=$build_alias
  1578. test "x$ac_build_alias" = x &&
  1579. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1580. test "x$ac_build_alias" = x &&
  1581. { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  1582. echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  1583. { (exit 1); exit 1; }; }
  1584. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1585. { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  1586. echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  1587. { (exit 1); exit 1; }; }
  1588. fi
  1589. { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  1590. echo "${ECHO_T}$ac_cv_build" >&6; }
  1591. case $ac_cv_build in
  1592. *-*-*) ;;
  1593. *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  1594. echo "$as_me: error: invalid value of canonical build" >&2;}
  1595. { (exit 1); exit 1; }; };;
  1596. esac
  1597. build=$ac_cv_build
  1598. ac_save_IFS=$IFS; IFS='-'
  1599. set x $ac_cv_build
  1600. shift
  1601. build_cpu=$1
  1602. build_vendor=$2
  1603. shift; shift
  1604. # Remember, the first character of IFS is used to create $*,
  1605. # except with old shells:
  1606. build_os=$*
  1607. IFS=$ac_save_IFS
  1608. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1609. { echo "$as_me:$LINENO: checking host system type" >&5
  1610. echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  1611. if test "${ac_cv_host+set}" = set; then
  1612. echo $ECHO_N "(cached) $ECHO_C" >&6
  1613. else
  1614. if test "x$host_alias" = x; then
  1615. ac_cv_host=$ac_cv_build
  1616. else
  1617. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1618. { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  1619. echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  1620. { (exit 1); exit 1; }; }
  1621. fi
  1622. fi
  1623. { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  1624. echo "${ECHO_T}$ac_cv_host" >&6; }
  1625. case $ac_cv_host in
  1626. *-*-*) ;;
  1627. *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  1628. echo "$as_me: error: invalid value of canonical host" >&2;}
  1629. { (exit 1); exit 1; }; };;
  1630. esac
  1631. host=$ac_cv_host
  1632. ac_save_IFS=$IFS; IFS='-'
  1633. set x $ac_cv_host
  1634. shift
  1635. host_cpu=$1
  1636. host_vendor=$2
  1637. shift; shift
  1638. # Remember, the first character of IFS is used to create $*,
  1639. # except with old shells:
  1640. host_os=$*
  1641. IFS=$ac_save_IFS
  1642. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1643. dodk=auto
  1644. DKPREFIX=none
  1645. # Check whether --with-docbook was given.
  1646. if test "${with_docbook+set}" = set; then
  1647. withval=$with_docbook; case "$with_docbook" in
  1648. yes) dodk=yes;;
  1649. no) dodk=no;;
  1650. *)
  1651. dodk=yes
  1652. DKPREFIX=$withval
  1653. ;;
  1654. esac
  1655. fi
  1656. DB2HTML=false
  1657. # Check whether --with-db2html was given.
  1658. if test "${with_db2html+set}" = set; then
  1659. withval=$with_db2html; DB2HTML=$withval
  1660. fi
  1661. VERSION_MAJOR=3
  1662. VERSION_MINOR=0
  1663. VERSION_POINT=3
  1664. CODE_STATUS="stable"
  1665. cat >>confdefs.h <<_ACEOF
  1666. #define VERSION_MAJOR ${VERSION_MAJOR}
  1667. _ACEOF
  1668. cat >>confdefs.h <<_ACEOF
  1669. #define VERSION_MINOR ${VERSION_MINOR}
  1670. _ACEOF
  1671. cat >>confdefs.h <<_ACEOF
  1672. #define VERSION_POINT ${VERSION_POINT}
  1673. _ACEOF
  1674. cat >>confdefs.h <<_ACEOF
  1675. #define VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_POINT}"
  1676. _ACEOF
  1677. cat >>confdefs.h <<_ACEOF
  1678. #define CODE_STATUS "${CODE_STATUS}"
  1679. _ACEOF
  1680. if test "X$CFLAGS" = "X"; then
  1681. CFLAGS=" "
  1682. fi
  1683. ac_ext=c
  1684. ac_cpp='$CPP $CPPFLAGS'
  1685. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1686. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1687. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1688. if test -n "$ac_tool_prefix"; then
  1689. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1690. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1691. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1692. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1693. if test "${ac_cv_prog_CC+set}" = set; then
  1694. echo $ECHO_N "(cached) $ECHO_C" >&6
  1695. else
  1696. if test -n "$CC"; then
  1697. ac_cv_prog_CC="$CC" # Let the user override the test.
  1698. else
  1699. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1700. for as_dir in $PATH
  1701. do
  1702. IFS=$as_save_IFS
  1703. test -z "$as_dir" && as_dir=.
  1704. for ac_exec_ext in '' $ac_executable_extensions; do
  1705. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1706. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1707. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1708. break 2
  1709. fi
  1710. done
  1711. done
  1712. IFS=$as_save_IFS
  1713. fi
  1714. fi
  1715. CC=$ac_cv_prog_CC
  1716. if test -n "$CC"; then
  1717. { echo "$as_me:$LINENO: result: $CC" >&5
  1718. echo "${ECHO_T}$CC" >&6; }
  1719. else
  1720. { echo "$as_me:$LINENO: result: no" >&5
  1721. echo "${ECHO_T}no" >&6; }
  1722. fi
  1723. fi
  1724. if test -z "$ac_cv_prog_CC"; then
  1725. ac_ct_CC=$CC
  1726. # Extract the first word of "gcc", so it can be a program name with args.
  1727. set dummy gcc; ac_word=$2
  1728. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1729. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1730. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1731. echo $ECHO_N "(cached) $ECHO_C" >&6
  1732. else
  1733. if test -n "$ac_ct_CC"; then
  1734. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1735. else
  1736. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1737. for as_dir in $PATH
  1738. do
  1739. IFS=$as_save_IFS
  1740. test -z "$as_dir" && as_dir=.
  1741. for ac_exec_ext in '' $ac_executable_extensions; do
  1742. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1743. ac_cv_prog_ac_ct_CC="gcc"
  1744. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1745. break 2
  1746. fi
  1747. done
  1748. done
  1749. IFS=$as_save_IFS
  1750. fi
  1751. fi
  1752. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1753. if test -n "$ac_ct_CC"; then
  1754. { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1755. echo "${ECHO_T}$ac_ct_CC" >&6; }
  1756. else
  1757. { echo "$as_me:$LINENO: result: no" >&5
  1758. echo "${ECHO_T}no" >&6; }
  1759. fi
  1760. if test "x$ac_ct_CC" = x; then
  1761. CC=""
  1762. else
  1763. case $cross_compiling:$ac_tool_warned in
  1764. yes:)
  1765. { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1766. whose name does not start with the host triplet. If you think this
  1767. configuration is useful to you, please write to autoconf@gnu.org." >&5
  1768. echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1769. whose name does not start with the host triplet. If you think this
  1770. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1771. ac_tool_warned=yes ;;
  1772. esac
  1773. CC=$ac_ct_CC
  1774. fi
  1775. else
  1776. CC="$ac_cv_prog_CC"
  1777. fi
  1778. if test -z "$CC"; then
  1779. if test -n "$ac_tool_prefix"; then
  1780. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1781. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1782. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1783. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1784. if test "${ac_cv_prog_CC+set}" = set; then
  1785. echo $ECHO_N "(cached) $ECHO_C" >&6
  1786. else
  1787. if test -n "$CC"; then
  1788. ac_cv_prog_CC="$CC" # Let the user override the test.
  1789. else
  1790. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1791. for as_dir in $PATH
  1792. do
  1793. IFS=$as_save_IFS
  1794. test -z "$as_dir" && as_dir=.
  1795. for ac_exec_ext in '' $ac_executable_extensions; do
  1796. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1797. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1798. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1799. break 2
  1800. fi
  1801. done
  1802. done
  1803. IFS=$as_save_IFS
  1804. fi
  1805. fi
  1806. CC=$ac_cv_prog_CC
  1807. if test -n "$CC"; then
  1808. { echo "$as_me:$LINENO: result: $CC" >&5
  1809. echo "${ECHO_T}$CC" >&6; }
  1810. else
  1811. { echo "$as_me:$LINENO: result: no" >&5
  1812. echo "${ECHO_T}no" >&6; }
  1813. fi
  1814. fi
  1815. fi
  1816. if test -z "$CC"; then
  1817. # Extract the first word of "cc", so it can be a program name with args.
  1818. set dummy cc; ac_word=$2
  1819. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1820. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1821. if test "${ac_cv_prog_CC+set}" = set; then
  1822. echo $ECHO_N "(cached) $ECHO_C" >&6
  1823. else
  1824. if test -n "$CC"; then
  1825. ac_cv_prog_CC="$CC" # Let the user override the test.
  1826. else
  1827. ac_prog_rejected=no
  1828. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1829. for as_dir in $PATH
  1830. do
  1831. IFS=$as_save_IFS
  1832. test -z "$as_dir" && as_dir=.
  1833. for ac_exec_ext in '' $ac_executable_extensions; do
  1834. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1835. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1836. ac_prog_rejected=yes
  1837. continue
  1838. fi
  1839. ac_cv_prog_CC="cc"
  1840. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1841. break 2
  1842. fi
  1843. done
  1844. done
  1845. IFS=$as_save_IFS
  1846. if test $ac_prog_rejected = yes; then
  1847. # We found a bogon in the path, so make sure we never use it.
  1848. set dummy $ac_cv_prog_CC
  1849. shift
  1850. if test $# != 0; then
  1851. # We chose a different compiler from the bogus one.
  1852. # However, it has the same basename, so the bogon will be chosen
  1853. # first if we set CC to just the basename; use the full file name.
  1854. shift
  1855. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1856. fi
  1857. fi
  1858. fi
  1859. fi
  1860. CC=$ac_cv_prog_CC
  1861. if test -n "$CC"; then
  1862. { echo "$as_me:$LINENO: result: $CC" >&5
  1863. echo "${ECHO_T}$CC" >&6; }
  1864. else
  1865. { echo "$as_me:$LINENO: result: no" >&5
  1866. echo "${ECHO_T}no" >&6; }
  1867. fi
  1868. fi
  1869. if test -z "$CC"; then
  1870. if test -n "$ac_tool_prefix"; then
  1871. for ac_prog in cl.exe
  1872. do
  1873. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1874. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1875. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1876. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1877. if test "${ac_cv_prog_CC+set}" = set; then
  1878. echo $ECHO_N "(cached) $ECHO_C" >&6
  1879. else
  1880. if test -n "$CC"; then
  1881. ac_cv_prog_CC="$CC" # Let the user override the test.
  1882. else
  1883. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1884. for as_dir in $PATH
  1885. do
  1886. IFS=$as_save_IFS
  1887. test -z "$as_dir" && as_dir=.
  1888. for ac_exec_ext in '' $ac_executable_extensions; do
  1889. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1890. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1891. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1892. break 2
  1893. fi
  1894. done
  1895. done
  1896. IFS=$as_save_IFS
  1897. fi
  1898. fi
  1899. CC=$ac_cv_prog_CC
  1900. if test -n "$CC"; then
  1901. { echo "$as_me:$LINENO: result: $CC" >&5
  1902. echo "${ECHO_T}$CC" >&6; }
  1903. else
  1904. { echo "$as_me:$LINENO: result: no" >&5
  1905. echo "${ECHO_T}no" >&6; }
  1906. fi
  1907. test -n "$CC" && break
  1908. done
  1909. fi
  1910. if test -z "$CC"; then
  1911. ac_ct_CC=$CC
  1912. for ac_prog in cl.exe
  1913. do
  1914. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1915. set dummy $ac_prog; ac_word=$2
  1916. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1917. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1918. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1919. echo $ECHO_N "(cached) $ECHO_C" >&6
  1920. else
  1921. if test -n "$ac_ct_CC"; then
  1922. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1923. else
  1924. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1925. for as_dir in $PATH
  1926. do
  1927. IFS=$as_save_IFS
  1928. test -z "$as_dir" && as_dir=.
  1929. for ac_exec_ext in '' $ac_executable_extensions; do
  1930. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1931. ac_cv_prog_ac_ct_CC="$ac_prog"
  1932. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1933. break 2
  1934. fi
  1935. done
  1936. done
  1937. IFS=$as_save_IFS
  1938. fi
  1939. fi
  1940. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1941. if test -n "$ac_ct_CC"; then
  1942. { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1943. echo "${ECHO_T}$ac_ct_CC" >&6; }
  1944. else
  1945. { echo "$as_me:$LINENO: result: no" >&5
  1946. echo "${ECHO_T}no" >&6; }
  1947. fi
  1948. test -n "$ac_ct_CC" && break
  1949. done
  1950. if test "x$ac_ct_CC" = x; then
  1951. CC=""
  1952. else
  1953. case $cross_compiling:$ac_tool_warned in
  1954. yes:)
  1955. { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1956. whose name does not start with the host triplet. If you think this
  1957. configuration is useful to you, please write to autoconf@gnu.org." >&5
  1958. echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1959. whose name does not start with the host triplet. If you think this
  1960. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1961. ac_tool_warned=yes ;;
  1962. esac
  1963. CC=$ac_ct_CC
  1964. fi
  1965. fi
  1966. fi
  1967. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1968. See \`config.log' for more details." >&5
  1969. echo "$as_me: error: no acceptable C compiler found in \$PATH
  1970. See \`config.log' for more details." >&2;}
  1971. { (exit 1); exit 1; }; }
  1972. # Provide some information about the compiler.
  1973. echo "$as_me:$LINENO: checking for C compiler version" >&5
  1974. ac_compiler=`set X $ac_compile; echo $2`
  1975. { (ac_try="$ac_compiler --version >&5"
  1976. case "(($ac_try" in
  1977. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1978. *) ac_try_echo=$ac_try;;
  1979. esac
  1980. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1981. (eval "$ac_compiler --version >&5") 2>&5
  1982. ac_status=$?
  1983. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1984. (exit $ac_status); }
  1985. { (ac_try="$ac_compiler -v >&5"
  1986. case "(($ac_try" in
  1987. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1988. *) ac_try_echo=$ac_try;;
  1989. esac
  1990. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1991. (eval "$ac_compiler -v >&5") 2>&5
  1992. ac_status=$?
  1993. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1994. (exit $ac_status); }
  1995. { (ac_try="$ac_compiler -V >&5"
  1996. case "(($ac_try" in
  1997. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1998. *) ac_try_echo=$ac_try;;
  1999. esac
  2000. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2001. (eval "$ac_compiler -V >&5") 2>&5
  2002. ac_status=$?
  2003. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2004. (exit $ac_status); }
  2005. cat >conftest.$ac_ext <<_ACEOF
  2006. /* confdefs.h. */
  2007. _ACEOF
  2008. cat confdefs.h >>conftest.$ac_ext
  2009. cat >>conftest.$ac_ext <<_ACEOF
  2010. /* end confdefs.h. */
  2011. int
  2012. main ()
  2013. {
  2014. ;
  2015. return 0;
  2016. }
  2017. _ACEOF
  2018. ac_clean_files_save=$ac_clean_files
  2019. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2020. # Try to create an executable without -o first, disregard a.out.
  2021. # It will help us diagnose broken compilers, and finding out an intuition
  2022. # of exeext.
  2023. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2024. echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2025. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2026. #
  2027. # List of possible output files, starting from the most likely.
  2028. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2029. # only as a last resort. b.out is created by i960 compilers.
  2030. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2031. #
  2032. # The IRIX 6 linker writes into existing files which may not be
  2033. # executable, retaining their permissions. Remove them first so a
  2034. # subsequent execution test works.
  2035. ac_rmfiles=
  2036. for ac_file in $ac_files
  2037. do
  2038. case $ac_file in
  2039. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2040. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2041. esac
  2042. done
  2043. rm -f $ac_rmfiles
  2044. if { (ac_try="$ac_link_default"
  2045. case "(($ac_try" in
  2046. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2047. *) ac_try_echo=$ac_try;;
  2048. esac
  2049. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2050. (eval "$ac_link_default") 2>&5
  2051. ac_status=$?
  2052. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2053. (exit $ac_status); }; then
  2054. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2055. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2056. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2057. # so that the user can short-circuit this test for compilers unknown to
  2058. # Autoconf.
  2059. for ac_file in $ac_files ''
  2060. do
  2061. test -f "$ac_file" || continue
  2062. case $ac_file in
  2063. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2064. ;;
  2065. [ab].out )
  2066. # We found the default executable, but exeext='' is most
  2067. # certainly right.
  2068. break;;
  2069. *.* )
  2070. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2071. then :; else
  2072. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2073. fi
  2074. # We set ac_cv_exeext here because the later test for it is not
  2075. # safe: cross compilers may not add the suffix if given an `-o'
  2076. # argument, so we may need to know it at that point already.
  2077. # Even if this section looks crufty: it has the advantage of
  2078. # actually working.
  2079. break;;
  2080. * )
  2081. break;;
  2082. esac
  2083. done
  2084. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2085. else
  2086. ac_file=''
  2087. fi
  2088. { echo "$as_me:$LINENO: result: $ac_file" >&5
  2089. echo "${ECHO_T}$ac_file" >&6; }
  2090. if test -z "$ac_file"; then
  2091. echo "$as_me: failed program was:" >&5
  2092. sed 's/^/| /' conftest.$ac_ext >&5
  2093. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2094. See \`config.log' for more details." >&5
  2095. echo "$as_me: error: C compiler cannot create executables
  2096. See \`config.log' for more details." >&2;}
  2097. { (exit 77); exit 77; }; }
  2098. fi
  2099. ac_exeext=$ac_cv_exeext
  2100. # Check that the compiler produces executables we can run. If not, either
  2101. # the compiler is broken, or we cross compile.
  2102. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2103. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2104. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2105. # If not cross compiling, check that we can run a simple program.
  2106. if test "$cross_compiling" != yes; then
  2107. if { ac_try='./$ac_file'
  2108. { (case "(($ac_try" in
  2109. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2110. *) ac_try_echo=$ac_try;;
  2111. esac
  2112. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2113. (eval "$ac_try") 2>&5
  2114. ac_status=$?
  2115. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2116. (exit $ac_status); }; }; then
  2117. cross_compiling=no
  2118. else
  2119. if test "$cross_compiling" = maybe; then
  2120. cross_compiling=yes
  2121. else
  2122. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2123. If you meant to cross compile, use \`--host'.
  2124. See \`config.log' for more details." >&5
  2125. echo "$as_me: error: cannot run C compiled programs.
  2126. If you meant to cross compile, use \`--host'.
  2127. See \`config.log' for more details." >&2;}
  2128. { (exit 1); exit 1; }; }
  2129. fi
  2130. fi
  2131. fi
  2132. { echo "$as_me:$LINENO: result: yes" >&5
  2133. echo "${ECHO_T}yes" >&6; }
  2134. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2135. ac_clean_files=$ac_clean_files_save
  2136. # Check that the compiler produces executables we can run. If not, either
  2137. # the compiler is broken, or we cross compile.
  2138. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2139. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2140. { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2141. echo "${ECHO_T}$cross_compiling" >&6; }
  2142. { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2143. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2144. if { (ac_try="$ac_link"
  2145. case "(($ac_try" in
  2146. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2147. *) ac_try_echo=$ac_try;;
  2148. esac
  2149. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2150. (eval "$ac_link") 2>&5
  2151. ac_status=$?
  2152. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2153. (exit $ac_status); }; then
  2154. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2155. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2156. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2157. # `rm'.
  2158. for ac_file in conftest.exe conftest conftest.*; do
  2159. test -f "$ac_file" || continue
  2160. case $ac_file in
  2161. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2162. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2163. break;;
  2164. * ) break;;
  2165. esac
  2166. done
  2167. else
  2168. { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2169. See \`config.log' for more details." >&5
  2170. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2171. See \`config.log' for more details." >&2;}
  2172. { (exit 1); exit 1; }; }
  2173. fi
  2174. rm -f conftest$ac_cv_exeext
  2175. { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2176. echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2177. rm -f conftest.$ac_ext
  2178. EXEEXT=$ac_cv_exeext
  2179. ac_exeext=$EXEEXT
  2180. { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2181. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2182. if test "${ac_cv_objext+set}" = set; then
  2183. echo $ECHO_N "(cached) $ECHO_C" >&6
  2184. else
  2185. cat >conftest.$ac_ext <<_ACEOF
  2186. /* confdefs.h. */
  2187. _ACEOF
  2188. cat confdefs.h >>conftest.$ac_ext
  2189. cat >>conftest.$ac_ext <<_ACEOF
  2190. /* end confdefs.h. */
  2191. int
  2192. main ()
  2193. {
  2194. ;
  2195. return 0;
  2196. }
  2197. _ACEOF
  2198. rm -f conftest.o conftest.obj
  2199. if { (ac_try="$ac_compile"
  2200. case "(($ac_try" in
  2201. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2202. *) ac_try_echo=$ac_try;;
  2203. esac
  2204. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2205. (eval "$ac_compile") 2>&5
  2206. ac_status=$?
  2207. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2208. (exit $ac_status); }; then
  2209. for ac_file in conftest.o conftest.obj conftest.*; do
  2210. test -f "$ac_file" || continue;
  2211. case $ac_file in
  2212. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2213. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2214. break;;
  2215. esac
  2216. done
  2217. else
  2218. echo "$as_me: failed program was:" >&5
  2219. sed 's/^/| /' conftest.$ac_ext >&5
  2220. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2221. See \`config.log' for more details." >&5
  2222. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2223. See \`config.log' for more details." >&2;}
  2224. { (exit 1); exit 1; }; }
  2225. fi
  2226. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2227. fi
  2228. { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2229. echo "${ECHO_T}$ac_cv_objext" >&6; }
  2230. OBJEXT=$ac_cv_objext
  2231. ac_objext=$OBJEXT
  2232. { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2233. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2234. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2235. echo $ECHO_N "(cached) $ECHO_C" >&6
  2236. else
  2237. cat >conftest.$ac_ext <<_ACEOF
  2238. /* confdefs.h. */
  2239. _ACEOF
  2240. cat confdefs.h >>conftest.$ac_ext
  2241. cat >>conftest.$ac_ext <<_ACEOF
  2242. /* end confdefs.h. */
  2243. int
  2244. main ()
  2245. {
  2246. #ifndef __GNUC__
  2247. choke me
  2248. #endif
  2249. ;
  2250. return 0;
  2251. }
  2252. _ACEOF
  2253. rm -f conftest.$ac_objext
  2254. if { (ac_try="$ac_compile"
  2255. case "(($ac_try" in
  2256. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2257. *) ac_try_echo=$ac_try;;
  2258. esac
  2259. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2260. (eval "$ac_compile") 2>conftest.er1
  2261. ac_status=$?
  2262. grep -v '^ *+' conftest.er1 >conftest.err
  2263. rm -f conftest.er1
  2264. cat conftest.err >&5
  2265. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2266. (exit $ac_status); } && {
  2267. test -z "$ac_c_werror_flag" ||
  2268. test ! -s conftest.err
  2269. } && test -s conftest.$ac_objext; then
  2270. ac_compiler_gnu=yes
  2271. else
  2272. echo "$as_me: failed program was:" >&5
  2273. sed 's/^/| /' conftest.$ac_ext >&5
  2274. ac_compiler_gnu=no
  2275. fi
  2276. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2277. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2278. fi
  2279. { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2280. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2281. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2282. ac_test_CFLAGS=${CFLAGS+set}
  2283. ac_save_CFLAGS=$CFLAGS
  2284. { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2285. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2286. if test "${ac_cv_prog_cc_g+set}" = set; then
  2287. echo $ECHO_N "(cached) $ECHO_C" >&6
  2288. else
  2289. ac_save_c_werror_flag=$ac_c_werror_flag
  2290. ac_c_werror_flag=yes
  2291. ac_cv_prog_cc_g=no
  2292. CFLAGS="-g"
  2293. cat >conftest.$ac_ext <<_ACEOF
  2294. /* confdefs.h. */
  2295. _ACEOF
  2296. cat confdefs.h >>conftest.$ac_ext
  2297. cat >>conftest.$ac_ext <<_ACEOF
  2298. /* end confdefs.h. */
  2299. int
  2300. main ()
  2301. {
  2302. ;
  2303. return 0;
  2304. }
  2305. _ACEOF
  2306. rm -f conftest.$ac_objext
  2307. if { (ac_try="$ac_compile"
  2308. case "(($ac_try" in
  2309. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2310. *) ac_try_echo=$ac_try;;
  2311. esac
  2312. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2313. (eval "$ac_compile") 2>conftest.er1
  2314. ac_status=$?
  2315. grep -v '^ *+' conftest.er1 >conftest.err
  2316. rm -f conftest.er1
  2317. cat conftest.err >&5
  2318. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2319. (exit $ac_status); } && {
  2320. test -z "$ac_c_werror_flag" ||
  2321. test ! -s conftest.err
  2322. } && test -s conftest.$ac_objext; then
  2323. ac_cv_prog_cc_g=yes
  2324. else
  2325. echo "$as_me: failed program was:" >&5
  2326. sed 's/^/| /' conftest.$ac_ext >&5
  2327. CFLAGS=""
  2328. cat >conftest.$ac_ext <<_ACEOF
  2329. /* confdefs.h. */
  2330. _ACEOF
  2331. cat confdefs.h >>conftest.$ac_ext
  2332. cat >>conftest.$ac_ext <<_ACEOF
  2333. /* end confdefs.h. */
  2334. int
  2335. main ()
  2336. {
  2337. ;
  2338. return 0;
  2339. }
  2340. _ACEOF
  2341. rm -f conftest.$ac_objext
  2342. if { (ac_try="$ac_compile"
  2343. case "(($ac_try" in
  2344. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2345. *) ac_try_echo=$ac_try;;
  2346. esac
  2347. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2348. (eval "$ac_compile") 2>conftest.er1
  2349. ac_status=$?
  2350. grep -v '^ *+' conftest.er1 >conftest.err
  2351. rm -f conftest.er1
  2352. cat conftest.err >&5
  2353. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2354. (exit $ac_status); } && {
  2355. test -z "$ac_c_werror_flag" ||
  2356. test ! -s conftest.err
  2357. } && test -s conftest.$ac_objext; then
  2358. :
  2359. else
  2360. echo "$as_me: failed program was:" >&5
  2361. sed 's/^/| /' conftest.$ac_ext >&5
  2362. ac_c_werror_flag=$ac_save_c_werror_flag
  2363. CFLAGS="-g"
  2364. cat >conftest.$ac_ext <<_ACEOF
  2365. /* confdefs.h. */
  2366. _ACEOF
  2367. cat confdefs.h >>conftest.$ac_ext
  2368. cat >>conftest.$ac_ext <<_ACEOF
  2369. /* end confdefs.h. */
  2370. int
  2371. main ()
  2372. {
  2373. ;
  2374. return 0;
  2375. }
  2376. _ACEOF
  2377. rm -f conftest.$ac_objext
  2378. if { (ac_try="$ac_compile"
  2379. case "(($ac_try" in
  2380. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2381. *) ac_try_echo=$ac_try;;
  2382. esac
  2383. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2384. (eval "$ac_compile") 2>conftest.er1
  2385. ac_status=$?
  2386. grep -v '^ *+' conftest.er1 >conftest.err
  2387. rm -f conftest.er1
  2388. cat conftest.err >&5
  2389. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2390. (exit $ac_status); } && {
  2391. test -z "$ac_c_werror_flag" ||
  2392. test ! -s conftest.err
  2393. } && test -s conftest.$ac_objext; then
  2394. ac_cv_prog_cc_g=yes
  2395. else
  2396. echo "$as_me: failed program was:" >&5
  2397. sed 's/^/| /' conftest.$ac_ext >&5
  2398. fi
  2399. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2400. fi
  2401. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2402. fi
  2403. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2404. ac_c_werror_flag=$ac_save_c_werror_flag
  2405. fi
  2406. { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2407. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2408. if test "$ac_test_CFLAGS" = set; then
  2409. CFLAGS=$ac_save_CFLAGS
  2410. elif test $ac_cv_prog_cc_g = yes; then
  2411. if test "$GCC" = yes; then
  2412. CFLAGS="-g -O2"
  2413. else
  2414. CFLAGS="-g"
  2415. fi
  2416. else
  2417. if test "$GCC" = yes; then
  2418. CFLAGS="-O2"
  2419. else
  2420. CFLAGS=
  2421. fi
  2422. fi
  2423. { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2424. echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2425. if test "${ac_cv_prog_cc_c89+set}" = set; then
  2426. echo $ECHO_N "(cached) $ECHO_C" >&6
  2427. else
  2428. ac_cv_prog_cc_c89=no
  2429. ac_save_CC=$CC
  2430. cat >conftest.$ac_ext <<_ACEOF
  2431. /* confdefs.h. */
  2432. _ACEOF
  2433. cat confdefs.h >>conftest.$ac_ext
  2434. cat >>conftest.$ac_ext <<_ACEOF
  2435. /* end confdefs.h. */
  2436. #include <stdarg.h>
  2437. #include <stdio.h>
  2438. #include <sys/types.h>
  2439. #include <sys/stat.h>
  2440. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2441. struct buf { int x; };
  2442. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2443. static char *e (p, i)
  2444. char **p;
  2445. int i;
  2446. {
  2447. return p[i];
  2448. }
  2449. static char *f (char * (*g) (char **, int), char **p, ...)
  2450. {
  2451. char *s;
  2452. va_list v;
  2453. va_start (v,p);
  2454. s = g (p, va_arg (v,int));
  2455. va_end (v);
  2456. return s;
  2457. }
  2458. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2459. function prototypes and stuff, but not '\xHH' hex character constants.
  2460. These don't provoke an error unfortunately, instead are silently treated
  2461. as 'x'. The following induces an error, until -std is added to get
  2462. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2463. array size at least. It's necessary to write '\x00'==0 to get something
  2464. that's true only with -std. */
  2465. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2466. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2467. inside strings and character constants. */
  2468. #define FOO(x) 'x'
  2469. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2470. int test (int i, double x);
  2471. struct s1 {int (*f) (int a);};
  2472. struct s2 {int (*f) (double a);};
  2473. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2474. int argc;
  2475. char **argv;
  2476. int
  2477. main ()
  2478. {
  2479. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2480. ;
  2481. return 0;
  2482. }
  2483. _ACEOF
  2484. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2485. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2486. do
  2487. CC="$ac_save_CC $ac_arg"
  2488. rm -f conftest.$ac_objext
  2489. if { (ac_try="$ac_compile"
  2490. case "(($ac_try" in
  2491. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2492. *) ac_try_echo=$ac_try;;
  2493. esac
  2494. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2495. (eval "$ac_compile") 2>conftest.er1
  2496. ac_status=$?
  2497. grep -v '^ *+' conftest.er1 >conftest.err
  2498. rm -f conftest.er1
  2499. cat conftest.err >&5
  2500. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2501. (exit $ac_status); } && {
  2502. test -z "$ac_c_werror_flag" ||
  2503. test ! -s conftest.err
  2504. } && test -s conftest.$ac_objext; then
  2505. ac_cv_prog_cc_c89=$ac_arg
  2506. else
  2507. echo "$as_me: failed program was:" >&5
  2508. sed 's/^/| /' conftest.$ac_ext >&5
  2509. fi
  2510. rm -f core conftest.err conftest.$ac_objext
  2511. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2512. done
  2513. rm -f conftest.$ac_ext
  2514. CC=$ac_save_CC
  2515. fi
  2516. # AC_CACHE_VAL
  2517. case "x$ac_cv_prog_cc_c89" in
  2518. x)
  2519. { echo "$as_me:$LINENO: result: none needed" >&5
  2520. echo "${ECHO_T}none needed" >&6; } ;;
  2521. xno)
  2522. { echo "$as_me:$LINENO: result: unsupported" >&5
  2523. echo "${ECHO_T}unsupported" >&6; } ;;
  2524. *)
  2525. CC="$CC $ac_cv_prog_cc_c89"
  2526. { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2527. echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2528. esac
  2529. ac_ext=c
  2530. ac_cpp='$CPP $CPPFLAGS'
  2531. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2532. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2533. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2534. ac_ext=c
  2535. ac_cpp='$CPP $CPPFLAGS'
  2536. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2537. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2538. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2539. { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2540. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  2541. # On Suns, sometimes $CPP names a directory.
  2542. if test -n "$CPP" && test -d "$CPP"; then
  2543. CPP=
  2544. fi
  2545. if test -z "$CPP"; then
  2546. if test "${ac_cv_prog_CPP+set}" = set; then
  2547. echo $ECHO_N "(cached) $ECHO_C" >&6
  2548. else
  2549. # Double quotes because CPP needs to be expanded
  2550. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2551. do
  2552. ac_preproc_ok=false
  2553. for ac_c_preproc_warn_flag in '' yes
  2554. do
  2555. # Use a header file that comes with gcc, so configuring glibc
  2556. # with a fresh cross-compiler works.
  2557. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2558. # <limits.h> exists even on freestanding compilers.
  2559. # On the NeXT, cc -E runs the code through the compiler's parser,
  2560. # not just through cpp. "Syntax error" is here to catch this case.
  2561. cat >conftest.$ac_ext <<_ACEOF
  2562. /* confdefs.h. */
  2563. _ACEOF
  2564. cat confdefs.h >>conftest.$ac_ext
  2565. cat >>conftest.$ac_ext <<_ACEOF
  2566. /* end confdefs.h. */
  2567. #ifdef __STDC__
  2568. # include <limits.h>
  2569. #else
  2570. # include <assert.h>
  2571. #endif
  2572. Syntax error
  2573. _ACEOF
  2574. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2575. case "(($ac_try" in
  2576. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2577. *) ac_try_echo=$ac_try;;
  2578. esac
  2579. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2580. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2581. ac_status=$?
  2582. grep -v '^ *+' conftest.er1 >conftest.err
  2583. rm -f conftest.er1
  2584. cat conftest.err >&5
  2585. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2586. (exit $ac_status); } >/dev/null && {
  2587. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2588. test ! -s conftest.err
  2589. }; then
  2590. :
  2591. else
  2592. echo "$as_me: failed program was:" >&5
  2593. sed 's/^/| /' conftest.$ac_ext >&5
  2594. # Broken: fails on valid input.
  2595. continue
  2596. fi
  2597. rm -f conftest.err conftest.$ac_ext
  2598. # OK, works on sane cases. Now check whether nonexistent headers
  2599. # can be detected and how.
  2600. cat >conftest.$ac_ext <<_ACEOF
  2601. /* confdefs.h. */
  2602. _ACEOF
  2603. cat confdefs.h >>conftest.$ac_ext
  2604. cat >>conftest.$ac_ext <<_ACEOF
  2605. /* end confdefs.h. */
  2606. #include <ac_nonexistent.h>
  2607. _ACEOF
  2608. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2609. case "(($ac_try" in
  2610. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2611. *) ac_try_echo=$ac_try;;
  2612. esac
  2613. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2614. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2615. ac_status=$?
  2616. grep -v '^ *+' conftest.er1 >conftest.err
  2617. rm -f conftest.er1
  2618. cat conftest.err >&5
  2619. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2620. (exit $ac_status); } >/dev/null && {
  2621. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2622. test ! -s conftest.err
  2623. }; then
  2624. # Broken: success on invalid input.
  2625. continue
  2626. else
  2627. echo "$as_me: failed program was:" >&5
  2628. sed 's/^/| /' conftest.$ac_ext >&5
  2629. # Passes both tests.
  2630. ac_preproc_ok=:
  2631. break
  2632. fi
  2633. rm -f conftest.err conftest.$ac_ext
  2634. done
  2635. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2636. rm -f conftest.err conftest.$ac_ext
  2637. if $ac_preproc_ok; then
  2638. break
  2639. fi
  2640. done
  2641. ac_cv_prog_CPP=$CPP
  2642. fi
  2643. CPP=$ac_cv_prog_CPP
  2644. else
  2645. ac_cv_prog_CPP=$CPP
  2646. fi
  2647. { echo "$as_me:$LINENO: result: $CPP" >&5
  2648. echo "${ECHO_T}$CPP" >&6; }
  2649. ac_preproc_ok=false
  2650. for ac_c_preproc_warn_flag in '' yes
  2651. do
  2652. # Use a header file that comes with gcc, so configuring glibc
  2653. # with a fresh cross-compiler works.
  2654. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2655. # <limits.h> exists even on freestanding compilers.
  2656. # On the NeXT, cc -E runs the code through the compiler's parser,
  2657. # not just through cpp. "Syntax error" is here to catch this case.
  2658. cat >conftest.$ac_ext <<_ACEOF
  2659. /* confdefs.h. */
  2660. _ACEOF
  2661. cat confdefs.h >>conftest.$ac_ext
  2662. cat >>conftest.$ac_ext <<_ACEOF
  2663. /* end confdefs.h. */
  2664. #ifdef __STDC__
  2665. # include <limits.h>
  2666. #else
  2667. # include <assert.h>
  2668. #endif
  2669. Syntax error
  2670. _ACEOF
  2671. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2672. case "(($ac_try" in
  2673. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2674. *) ac_try_echo=$ac_try;;
  2675. esac
  2676. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2677. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2678. ac_status=$?
  2679. grep -v '^ *+' conftest.er1 >conftest.err
  2680. rm -f conftest.er1
  2681. cat conftest.err >&5
  2682. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2683. (exit $ac_status); } >/dev/null && {
  2684. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2685. test ! -s conftest.err
  2686. }; then
  2687. :
  2688. else
  2689. echo "$as_me: failed program was:" >&5
  2690. sed 's/^/| /' conftest.$ac_ext >&5
  2691. # Broken: fails on valid input.
  2692. continue
  2693. fi
  2694. rm -f conftest.err conftest.$ac_ext
  2695. # OK, works on sane cases. Now check whether nonexistent headers
  2696. # can be detected and how.
  2697. cat >conftest.$ac_ext <<_ACEOF
  2698. /* confdefs.h. */
  2699. _ACEOF
  2700. cat confdefs.h >>conftest.$ac_ext
  2701. cat >>conftest.$ac_ext <<_ACEOF
  2702. /* end confdefs.h. */
  2703. #include <ac_nonexistent.h>
  2704. _ACEOF
  2705. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2706. case "(($ac_try" in
  2707. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2708. *) ac_try_echo=$ac_try;;
  2709. esac
  2710. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2711. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2712. ac_status=$?
  2713. grep -v '^ *+' conftest.er1 >conftest.err
  2714. rm -f conftest.er1
  2715. cat conftest.err >&5
  2716. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2717. (exit $ac_status); } >/dev/null && {
  2718. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2719. test ! -s conftest.err
  2720. }; then
  2721. # Broken: success on invalid input.
  2722. continue
  2723. else
  2724. echo "$as_me: failed program was:" >&5
  2725. sed 's/^/| /' conftest.$ac_ext >&5
  2726. # Passes both tests.
  2727. ac_preproc_ok=:
  2728. break
  2729. fi
  2730. rm -f conftest.err conftest.$ac_ext
  2731. done
  2732. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2733. rm -f conftest.err conftest.$ac_ext
  2734. if $ac_preproc_ok; then
  2735. :
  2736. else
  2737. { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  2738. See \`config.log' for more details." >&5
  2739. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  2740. See \`config.log' for more details." >&2;}
  2741. { (exit 1); exit 1; }; }
  2742. fi
  2743. ac_ext=c
  2744. ac_cpp='$CPP $CPPFLAGS'
  2745. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2746. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2747. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2748. # Find a good install program. We prefer a C program (faster),
  2749. # so one script is as good as another. But avoid the broken or
  2750. # incompatible versions:
  2751. # SysV /etc/install, /usr/sbin/install
  2752. # SunOS /usr/etc/install
  2753. # IRIX /sbin/install
  2754. # AIX /bin/install
  2755. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2756. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2757. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2758. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2759. # OS/2's system install, which has a completely different semantic
  2760. # ./install, which can be erroneously created by make from ./install.sh.
  2761. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2762. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  2763. if test -z "$INSTALL"; then
  2764. if test "${ac_cv_path_install+set}" = set; then
  2765. echo $ECHO_N "(cached) $ECHO_C" >&6
  2766. else
  2767. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2768. for as_dir in $PATH
  2769. do
  2770. IFS=$as_save_IFS
  2771. test -z "$as_dir" && as_dir=.
  2772. # Account for people who put trailing slashes in PATH elements.
  2773. case $as_dir/ in
  2774. ./ | .// | /cC/* | \
  2775. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2776. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2777. /usr/ucb/* ) ;;
  2778. *)
  2779. # OSF1 and SCO ODT 3.0 have their own names for install.
  2780. # Don't use installbsd from OSF since it installs stuff as root
  2781. # by default.
  2782. for ac_prog in ginstall scoinst install; do
  2783. for ac_exec_ext in '' $ac_executable_extensions; do
  2784. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2785. if test $ac_prog = install &&
  2786. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2787. # AIX install. It has an incompatible calling convention.
  2788. :
  2789. elif test $ac_prog = install &&
  2790. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2791. # program-specific install script used by HP pwplus--don't use.
  2792. :
  2793. else
  2794. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2795. break 3
  2796. fi
  2797. fi
  2798. done
  2799. done
  2800. ;;
  2801. esac
  2802. done
  2803. IFS=$as_save_IFS
  2804. fi
  2805. if test "${ac_cv_path_install+set}" = set; then
  2806. INSTALL=$ac_cv_path_install
  2807. else
  2808. # As a last resort, use the slow shell script. Don't cache a
  2809. # value for INSTALL within a source directory, because that will
  2810. # break other packages using the cache if that directory is
  2811. # removed, or if the value is a relative name.
  2812. INSTALL="$SHELL $ac_install_sh"
  2813. fi
  2814. fi
  2815. { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2816. echo "${ECHO_T}$INSTALL" >&6; }
  2817. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2818. # It thinks the first close brace ends the variable substitution.
  2819. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2820. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2821. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2822. { echo "$as_me:$LINENO: checking whether ln -s works" >&5
  2823. echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
  2824. LN_S=$as_ln_s
  2825. if test "$LN_S" = "ln -s"; then
  2826. { echo "$as_me:$LINENO: result: yes" >&5
  2827. echo "${ECHO_T}yes" >&6; }
  2828. else
  2829. { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  2830. echo "${ECHO_T}no, using $LN_S" >&6; }
  2831. fi
  2832. { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2833. echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2834. set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2835. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2836. echo $ECHO_N "(cached) $ECHO_C" >&6
  2837. else
  2838. cat >conftest.make <<\_ACEOF
  2839. SHELL = /bin/sh
  2840. all:
  2841. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2842. _ACEOF
  2843. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2844. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2845. *@@@%%%=?*=@@@%%%*)
  2846. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2847. *)
  2848. eval ac_cv_prog_make_${ac_make}_set=no;;
  2849. esac
  2850. rm -f conftest.make
  2851. fi
  2852. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2853. { echo "$as_me:$LINENO: result: yes" >&5
  2854. echo "${ECHO_T}yes" >&6; }
  2855. SET_MAKE=
  2856. else
  2857. { echo "$as_me:$LINENO: result: no" >&5
  2858. echo "${ECHO_T}no" >&6; }
  2859. SET_MAKE="MAKE=${MAKE-make}"
  2860. fi
  2861. for ac_prog in gawk mawk nawk awk
  2862. do
  2863. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2864. set dummy $ac_prog; ac_word=$2
  2865. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2866. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2867. if test "${ac_cv_prog_AWK+set}" = set; then
  2868. echo $ECHO_N "(cached) $ECHO_C" >&6
  2869. else
  2870. if test -n "$AWK"; then
  2871. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2872. else
  2873. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2874. for as_dir in $PATH
  2875. do
  2876. IFS=$as_save_IFS
  2877. test -z "$as_dir" && as_dir=.
  2878. for ac_exec_ext in '' $ac_executable_extensions; do
  2879. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2880. ac_cv_prog_AWK="$ac_prog"
  2881. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2882. break 2
  2883. fi
  2884. done
  2885. done
  2886. IFS=$as_save_IFS
  2887. fi
  2888. fi
  2889. AWK=$ac_cv_prog_AWK
  2890. if test -n "$AWK"; then
  2891. { echo "$as_me:$LINENO: result: $AWK" >&5
  2892. echo "${ECHO_T}$AWK" >&6; }
  2893. else
  2894. { echo "$as_me:$LINENO: result: no" >&5
  2895. echo "${ECHO_T}no" >&6; }
  2896. fi
  2897. test -n "$AWK" && break
  2898. done
  2899. # Extract the first word of "gdb", so it can be a program name with args.
  2900. set dummy gdb; ac_word=$2
  2901. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2902. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2903. if test "${ac_cv_prog_GDB+set}" = set; then
  2904. echo $ECHO_N "(cached) $ECHO_C" >&6
  2905. else
  2906. if test -n "$GDB"; then
  2907. ac_cv_prog_GDB="$GDB" # Let the user override the test.
  2908. else
  2909. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2910. for as_dir in $PATH
  2911. do
  2912. IFS=$as_save_IFS
  2913. test -z "$as_dir" && as_dir=.
  2914. for ac_exec_ext in '' $ac_executable_extensions; do
  2915. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2916. ac_cv_prog_GDB="yes"
  2917. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2918. break 2
  2919. fi
  2920. done
  2921. done
  2922. IFS=$as_save_IFS
  2923. test -z "$ac_cv_prog_GDB" && ac_cv_prog_GDB="no"
  2924. fi
  2925. fi
  2926. GDB=$ac_cv_prog_GDB
  2927. if test -n "$GDB"; then
  2928. { echo "$as_me:$LINENO: result: $GDB" >&5
  2929. echo "${ECHO_T}$GDB" >&6; }
  2930. else
  2931. { echo "$as_me:$LINENO: result: no" >&5
  2932. echo "${ECHO_T}no" >&6; }
  2933. fi
  2934. # Extract the first word of "groups", so it can be a program name with args.
  2935. set dummy groups; ac_word=$2
  2936. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2937. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2938. if test "${ac_cv_path_BGROUPS+set}" = set; then
  2939. echo $ECHO_N "(cached) $ECHO_C" >&6
  2940. else
  2941. case $BGROUPS in
  2942. [\\/]* | ?:[\\/]*)
  2943. ac_cv_path_BGROUPS="$BGROUPS" # Let the user override the test with a path.
  2944. ;;
  2945. *)
  2946. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2947. as_dummy="/bin:/usr/bin:/usr/local/bin"
  2948. for as_dir in $as_dummy
  2949. do
  2950. IFS=$as_save_IFS
  2951. test -z "$as_dir" && as_dir=.
  2952. for ac_exec_ext in '' $ac_executable_extensions; do
  2953. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2954. ac_cv_path_BGROUPS="$as_dir/$ac_word$ac_exec_ext"
  2955. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2956. break 2
  2957. fi
  2958. done
  2959. done
  2960. IFS=$as_save_IFS
  2961. test -z "$ac_cv_path_BGROUPS" && ac_cv_path_BGROUPS="no"
  2962. ;;
  2963. esac
  2964. fi
  2965. BGROUPS=$ac_cv_path_BGROUPS
  2966. if test -n "$BGROUPS"; then
  2967. { echo "$as_me:$LINENO: result: $BGROUPS" >&5
  2968. echo "${ECHO_T}$BGROUPS" >&6; }
  2969. else
  2970. { echo "$as_me:$LINENO: result: no" >&5
  2971. echo "${ECHO_T}no" >&6; }
  2972. fi
  2973. # Extract the first word of "id", so it can be a program name with args.
  2974. set dummy id; ac_word=$2
  2975. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2976. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2977. if test "${ac_cv_path_ID+set}" = set; then
  2978. echo $ECHO_N "(cached) $ECHO_C" >&6
  2979. else
  2980. case $ID in
  2981. [\\/]* | ?:[\\/]*)
  2982. ac_cv_path_ID="$ID" # Let the user override the test with a path.
  2983. ;;
  2984. *)
  2985. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2986. as_dummy="/bin:/usr/bin:/usr/local/bin"
  2987. for as_dir in $as_dummy
  2988. do
  2989. IFS=$as_save_IFS
  2990. test -z "$as_dir" && as_dir=.
  2991. for ac_exec_ext in '' $ac_executable_extensions; do
  2992. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2993. ac_cv_path_ID="$as_dir/$ac_word$ac_exec_ext"
  2994. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2995. break 2
  2996. fi
  2997. done
  2998. done
  2999. IFS=$as_save_IFS
  3000. test -z "$ac_cv_path_ID" && ac_cv_path_ID="no"
  3001. ;;
  3002. esac
  3003. fi
  3004. ID=$ac_cv_path_ID
  3005. if test -n "$ID"; then
  3006. { echo "$as_me:$LINENO: result: $ID" >&5
  3007. echo "${ECHO_T}$ID" >&6; }
  3008. else
  3009. { echo "$as_me:$LINENO: result: no" >&5
  3010. echo "${ECHO_T}no" >&6; }
  3011. fi
  3012. # Check whether --with-debug was given.
  3013. if test "${with_debug+set}" = set; then
  3014. withval=$with_debug;
  3015. if test "x$withval" != "xno" ; then
  3016. if test $ac_cv_prog_cc_g = yes; then
  3017. if test "$GCC" = yes; then
  3018. if test "$GDB"; then
  3019. CFLAGS="$CFLAGS -ggdb"
  3020. else
  3021. CFLAGS="$CFLAGS -g"
  3022. fi
  3023. CFLAGS="$CFLAGS -Wshadow -Wconversion"
  3024. else
  3025. CFLAGS="$CFLAGS -g"
  3026. fi
  3027. fi
  3028. fi
  3029. else
  3030. if test "X$CFLAGS" = "X "; then # if CFLAGS were unset (see above)
  3031. if test "$GCC" = yes; then
  3032. CFLAGS="-O2"
  3033. fi
  3034. fi
  3035. fi
  3036. if true test "$EMXOS2" = yes; then
  3037. echo "Skipping user and group validity stuff.";
  3038. else
  3039. $ID privoxy >/dev/null 2>/dev/null
  3040. if test $? -ne 0 ; then
  3041. { echo "$as_me:$LINENO: WARNING: There is no user 'privoxy' on this system" >&5
  3042. echo "$as_me: WARNING: There is no user 'privoxy' on this system" >&2;}
  3043. fi
  3044. { echo "$as_me:$LINENO: checking for user" >&5
  3045. echo $ECHO_N "checking for user... $ECHO_C" >&6; }
  3046. # Check whether --with-user was given.
  3047. if test "${with_user+set}" = set; then
  3048. withval=$with_user;
  3049. if test "x$withval" != "xyes"; then
  3050. if test $ID = no ; then
  3051. { { echo "$as_me:$LINENO: error: There is no 'id' program on this system" >&5
  3052. echo "$as_me: error: There is no 'id' program on this system" >&2;}
  3053. { (exit 1); exit 1; }; }
  3054. else
  3055. { echo "$as_me:$LINENO: result: $with_user" >&5
  3056. echo "${ECHO_T}$with_user" >&6; }
  3057. $ID $with_user 2>/dev/null >/dev/null
  3058. if test $? -eq 0 ; then
  3059. USER=$with_user;
  3060. else
  3061. { { echo "$as_me:$LINENO: error: There is no user '$with_user' on this system" >&5
  3062. echo "$as_me: error: There is no user '$with_user' on this system" >&2;}
  3063. { (exit 1); exit 1; }; }
  3064. fi
  3065. fi
  3066. else
  3067. { { echo "$as_me:$LINENO: error: We need a user if you give me this parameter" >&5
  3068. echo "$as_me: error: We need a user if you give me this parameter" >&2;}
  3069. { (exit 1); exit 1; }; }
  3070. fi
  3071. else
  3072. if test $ID = no ; then
  3073. { { echo "$as_me:$LINENO: error: There is no 'id' programm on this system" >&5
  3074. echo "$as_me: error: There is no 'id' programm on this system" >&2;}
  3075. { (exit 1); exit 1; }; }
  3076. else
  3077. { echo "$as_me:$LINENO: result: none specified" >&5
  3078. echo "${ECHO_T}none specified" >&6; }
  3079. USER=$with_user
  3080. fi
  3081. fi
  3082. { echo "$as_me:$LINENO: checking for group" >&5
  3083. echo $ECHO_N "checking for group... $ECHO_C" >&6; }
  3084. # Check whether --with-group was given.
  3085. if test "${with_group+set}" = set; then
  3086. withval=$with_group;
  3087. if test "x$withval" != "xyes"; then
  3088. if test $BGROUPS = no ; then
  3089. { { echo "$as_me:$LINENO: error: There is no 'groups' program on this system" >&5
  3090. echo "$as_me: error: There is no 'groups' program on this system" >&2;}
  3091. { (exit 1); exit 1; }; }
  3092. else
  3093. { echo "$as_me:$LINENO: result: $with_group" >&5
  3094. echo "${ECHO_T}$with_group" >&6; }
  3095. $BGROUPS $USER >/dev/null
  3096. if test $? -eq 0 ; then
  3097. # FIXME: this fails if valid group, but not first group
  3098. # listed.
  3099. if test "$with_group" != "`$BGROUPS $USER | sed 's/.*: //' 2>/dev/null |$AWK '{print $1}'`" ; then
  3100. { { echo "$as_me:$LINENO: error: The given value '$withval' does not match group entry" >&5
  3101. echo "$as_me: error: The given value '$withval' does not match group entry" >&2;}
  3102. { (exit 1); exit 1; }; }
  3103. else
  3104. GROUP=$with_group;
  3105. fi
  3106. else
  3107. { { echo "$as_me:$LINENO: error: There is no group entry for user '$USER'" >&5
  3108. echo "$as_me: error: There is no group entry for user '$USER'" >&2;}
  3109. { (exit 1); exit 1; }; }
  3110. fi
  3111. fi
  3112. else
  3113. { { echo "$as_me:$LINENO: error: We need a group if you give me this parameter" >&5
  3114. echo "$as_me: error: We need a group if you give me this parameter" >&2;}
  3115. { (exit 1); exit 1; }; }
  3116. fi
  3117. else
  3118. if test $BGROUPS = no ; then
  3119. { { echo "$as_me:$LINENO: error: There is no 'groups' programm on this system" >&5
  3120. echo "$as_me: error: There is no 'groups' programm on this system" >&2;}
  3121. { (exit 1); exit 1; }; }
  3122. else
  3123. { echo "$as_me:$LINENO: result: none specified" >&5
  3124. echo "${ECHO_T}none specified" >&6; }
  3125. GROUP=$with_group;
  3126. fi
  3127. fi
  3128. fi
  3129. if test "$GCC"; then
  3130. CFLAGS="-pipe $CFLAGS"
  3131. fi
  3132. { echo "$as_me:$LINENO: checking host system type" >&5
  3133. echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  3134. if test "${ac_cv_host+set}" = set; then
  3135. echo $ECHO_N "(cached) $ECHO_C" >&6
  3136. else
  3137. if test "x$host_alias" = x; then
  3138. ac_cv_host=$ac_cv_build
  3139. else
  3140. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3141. { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  3142. echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  3143. { (exit 1); exit 1; }; }
  3144. fi
  3145. fi
  3146. { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3147. echo "${ECHO_T}$ac_cv_host" >&6; }
  3148. case $ac_cv_host in
  3149. *-*-*) ;;
  3150. *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  3151. echo "$as_me: error: invalid value of canonical host" >&2;}
  3152. { (exit 1); exit 1; }; };;
  3153. esac
  3154. host=$ac_cv_host
  3155. ac_save_IFS=$IFS; IFS='-'
  3156. set x $ac_cv_host
  3157. shift
  3158. host_cpu=$1
  3159. host_vendor=$2
  3160. shift; shift
  3161. # Remember, the first character of IFS is used to create $*,
  3162. # except with old shells:
  3163. host_os=$*
  3164. IFS=$ac_save_IFS
  3165. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3166. case $host_os in
  3167. *mingw32* ) MINGW32=yes;;
  3168. * ) MINGW32=no;;
  3169. esac
  3170. { echo "$as_me:$LINENO: checking host system type" >&5
  3171. echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  3172. if test "${ac_cv_host+set}" = set; then
  3173. echo $ECHO_N "(cached) $ECHO_C" >&6
  3174. else
  3175. if test "x$host_alias" = x; then
  3176. ac_cv_host=$ac_cv_build
  3177. else
  3178. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3179. { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  3180. echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  3181. { (exit 1); exit 1; }; }
  3182. fi
  3183. fi
  3184. { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  3185. echo "${ECHO_T}$ac_cv_host" >&6; }
  3186. case $ac_cv_host in
  3187. *-*-*) ;;
  3188. *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  3189. echo "$as_me: error: invalid value of canonical host" >&2;}
  3190. { (exit 1); exit 1; }; };;
  3191. esac
  3192. host=$ac_cv_host
  3193. ac_save_IFS=$IFS; IFS='-'
  3194. set x $ac_cv_host
  3195. shift
  3196. host_cpu=$1
  3197. host_vendor=$2
  3198. shift; shift
  3199. # Remember, the first character of IFS is used to create $*,
  3200. # except with old shells:
  3201. host_os=$*
  3202. IFS=$ac_save_IFS
  3203. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3204. case $host_os in
  3205. *cygwin* ) CYGWIN=yes;;
  3206. * ) CYGWIN=no;;
  3207. esac
  3208. if test "$MINGW32" = "yes"; then
  3209. target_type=mingw
  3210. else
  3211. if test "$CYGWIN" = "yes"; then
  3212. target_type=cygwin
  3213. else
  3214. target_type=unix
  3215. fi
  3216. fi
  3217. if test $dodk = auto; then
  3218. dodk=no
  3219. if test $target_type = unix; then
  3220. case "$host_os" in
  3221. linux* | gnu*)
  3222. dodk=yes
  3223. ;;
  3224. esac
  3225. fi
  3226. fi
  3227. # Check whether --enable-mingw32 was given.
  3228. if test "${enable_mingw32+set}" = set; then
  3229. enableval=$enable_mingw32; if test $enableval = yes; then
  3230. target_type=mingw
  3231. fi
  3232. fi
  3233. if test $target_type = mingw; then
  3234. WIN_ONLY=
  3235. SPECIAL_CFLAGS="-mwindows -mno-cygwin"
  3236. PTHREAD_LIB=-lpthreadGC
  3237. echo "Using mingw32 (Win32 GUI)"
  3238. else
  3239. WIN_ONLY=#
  3240. if test $target_type = cygwin; then
  3241. SPECIAL_CFLAGS="-mno-win32"
  3242. PTHREAD_LIB=
  3243. echo "Using Cygnus (Win32 command line)"
  3244. else
  3245. SPECIAL_CFLAGS=
  3246. PTHREAD_LIB=-lpthread
  3247. fi
  3248. fi
  3249. if test $dodk != no; then
  3250. for ac_prog in w3m lynx links
  3251. do
  3252. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3253. set dummy $ac_prog; ac_word=$2
  3254. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3255. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3256. if test "${ac_cv_prog_WDUMP+set}" = set; then
  3257. echo $ECHO_N "(cached) $ECHO_C" >&6
  3258. else
  3259. if test -n "$WDUMP"; then
  3260. ac_cv_prog_WDUMP="$WDUMP" # Let the user override the test.
  3261. else
  3262. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3263. for as_dir in $PATH
  3264. do
  3265. IFS=$as_save_IFS
  3266. test -z "$as_dir" && as_dir=.
  3267. for ac_exec_ext in '' $ac_executable_extensions; do
  3268. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3269. ac_cv_prog_WDUMP="$ac_prog"
  3270. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3271. break 2
  3272. fi
  3273. done
  3274. done
  3275. IFS=$as_save_IFS
  3276. fi
  3277. fi
  3278. WDUMP=$ac_cv_prog_WDUMP
  3279. if test -n "$WDUMP"; then
  3280. { echo "$as_me:$LINENO: result: $WDUMP" >&5
  3281. echo "${ECHO_T}$WDUMP" >&6; }
  3282. else
  3283. { echo "$as_me:$LINENO: result: no" >&5
  3284. echo "${ECHO_T}no" >&6; }
  3285. fi
  3286. test -n "$WDUMP" && break
  3287. done
  3288. test -n "$WDUMP" || WDUMP="false"
  3289. if test "$WDUMP" = false; then
  3290. { echo "$as_me:$LINENO: WARNING: You need some kind of text browser to build documentation \(w3m, lynx and links are supported\)" >&5
  3291. echo "$as_me: WARNING: You need some kind of text browser to build documentation \(w3m, lynx and links are supported\)" >&2;}
  3292. fi
  3293. if test $DB2HTML = false; then
  3294. DB2HTML=""
  3295. for ac_prog in db2html docbook2html
  3296. do
  3297. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3298. set dummy $ac_prog; ac_word=$2
  3299. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3300. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3301. if test "${ac_cv_prog_DB2HTML+set}" = set; then
  3302. echo $ECHO_N "(cached) $ECHO_C" >&6
  3303. else
  3304. if test -n "$DB2HTML"; then
  3305. ac_cv_prog_DB2HTML="$DB2HTML" # Let the user override the test.
  3306. else
  3307. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3308. for as_dir in $PATH
  3309. do
  3310. IFS=$as_save_IFS
  3311. test -z "$as_dir" && as_dir=.
  3312. for ac_exec_ext in '' $ac_executable_extensions; do
  3313. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3314. ac_cv_prog_DB2HTML="$ac_prog"
  3315. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3316. break 2
  3317. fi
  3318. done
  3319. done
  3320. IFS=$as_save_IFS
  3321. fi
  3322. fi
  3323. DB2HTML=$ac_cv_prog_DB2HTML
  3324. if test -n "$DB2HTML"; then
  3325. { echo "$as_me:$LINENO: result: $DB2HTML" >&5
  3326. echo "${ECHO_T}$DB2HTML" >&6; }
  3327. else
  3328. { echo "$as_me:$LINENO: result: no" >&5
  3329. echo "${ECHO_T}no" >&6; }
  3330. fi
  3331. test -n "$DB2HTML" && break
  3332. done
  3333. test -n "$DB2HTML" || DB2HTML="false"
  3334. fi
  3335. fi
  3336. for ac_prog in rpm
  3337. do
  3338. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3339. set dummy $ac_prog; ac_word=$2
  3340. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3341. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3342. if test "${ac_cv_prog_RPMBIN+set}" = set; then
  3343. echo $ECHO_N "(cached) $ECHO_C" >&6
  3344. else
  3345. if test -n "$RPMBIN"; then
  3346. ac_cv_prog_RPMBIN="$RPMBIN" # Let the user override the test.
  3347. else
  3348. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3349. for as_dir in $PATH
  3350. do
  3351. IFS=$as_save_IFS
  3352. test -z "$as_dir" && as_dir=.
  3353. for ac_exec_ext in '' $ac_executable_extensions; do
  3354. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3355. ac_cv_prog_RPMBIN="$ac_prog"
  3356. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3357. break 2
  3358. fi
  3359. done
  3360. done
  3361. IFS=$as_save_IFS
  3362. fi
  3363. fi
  3364. RPMBIN=$ac_cv_prog_RPMBIN
  3365. if test -n "$RPMBIN"; then
  3366. { echo "$as_me:$LINENO: result: $RPMBIN" >&5
  3367. echo "${ECHO_T}$RPMBIN" >&6; }
  3368. else
  3369. { echo "$as_me:$LINENO: result: no" >&5
  3370. echo "${ECHO_T}no" >&6; }
  3371. fi
  3372. test -n "$RPMBIN" && break
  3373. done
  3374. test -n "$RPMBIN" || RPMBIN="false"
  3375. if test $RPMBIN != false; then
  3376. RPM_BASE=`rpm --eval "%{_topdir}"`
  3377. if test "$RPM_BASE" = ""; then
  3378. RPM_BASE=/usr/src/redhat
  3379. fi
  3380. fi
  3381. for ac_prog in jade openjade
  3382. do
  3383. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3384. set dummy $ac_prog; ac_word=$2
  3385. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3386. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3387. if test "${ac_cv_prog_JADEBIN+set}" = set; then
  3388. echo $ECHO_N "(cached) $ECHO_C" >&6
  3389. else
  3390. if test -n "$JADEBIN"; then
  3391. ac_cv_prog_JADEBIN="$JADEBIN" # Let the user override the test.
  3392. else
  3393. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3394. for as_dir in $PATH
  3395. do
  3396. IFS=$as_save_IFS
  3397. test -z "$as_dir" && as_dir=.
  3398. for ac_exec_ext in '' $ac_executable_extensions; do
  3399. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3400. ac_cv_prog_JADEBIN="$ac_prog"
  3401. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3402. break 2
  3403. fi
  3404. done
  3405. done
  3406. IFS=$as_save_IFS
  3407. fi
  3408. fi
  3409. JADEBIN=$ac_cv_prog_JADEBIN
  3410. if test -n "$JADEBIN"; then
  3411. { echo "$as_me:$LINENO: result: $JADEBIN" >&5
  3412. echo "${ECHO_T}$JADEBIN" >&6; }
  3413. else
  3414. { echo "$as_me:$LINENO: result: no" >&5
  3415. echo "${ECHO_T}no" >&6; }
  3416. fi
  3417. test -n "$JADEBIN" && break
  3418. done
  3419. test -n "$JADEBIN" || JADEBIN="false"
  3420. for ac_prog in man2html
  3421. do
  3422. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3423. set dummy $ac_prog; ac_word=$2
  3424. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3425. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3426. if test "${ac_cv_prog_MAN2HTML+set}" = set; then
  3427. echo $ECHO_N "(cached) $ECHO_C" >&6
  3428. else
  3429. if test -n "$MAN2HTML"; then
  3430. ac_cv_prog_MAN2HTML="$MAN2HTML" # Let the user override the test.
  3431. else
  3432. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3433. for as_dir in $PATH
  3434. do
  3435. IFS=$as_save_IFS
  3436. test -z "$as_dir" && as_dir=.
  3437. for ac_exec_ext in '' $ac_executable_extensions; do
  3438. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3439. ac_cv_prog_MAN2HTML="$ac_prog"
  3440. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3441. break 2
  3442. fi
  3443. done
  3444. done
  3445. IFS=$as_save_IFS
  3446. fi
  3447. fi
  3448. MAN2HTML=$ac_cv_prog_MAN2HTML
  3449. if test -n "$MAN2HTML"; then
  3450. { echo "$as_me:$LINENO: result: $MAN2HTML" >&5
  3451. echo "${ECHO_T}$MAN2HTML" >&6; }
  3452. else
  3453. { echo "$as_me:$LINENO: result: no" >&5
  3454. echo "${ECHO_T}no" >&6; }
  3455. fi
  3456. test -n "$MAN2HTML" && break
  3457. done
  3458. test -n "$MAN2HTML" || MAN2HTML="false"
  3459. DOC_STATUS=p-not-stable
  3460. if test $CODE_STATUS = stable; then
  3461. DOC_STATUS="p-stable"
  3462. fi
  3463. JADECAT=""
  3464. if test $dodk = yes; then
  3465. if test $DKPREFIX = none; then
  3466. for i in /usr/share/sgml/docbook/dsssl-stylesheets \
  3467. /usr/share/sgml/docbkdsl /usr/share/sgml/docbook-dsssl \
  3468. /usr/local/share/sgml/docbook/dsssl/modular \
  3469. /usr/share/sgml/docbook/stylesheet/dsssl/modular/ \
  3470. ; do
  3471. { echo "$as_me:$LINENO: checking for $i" >&5
  3472. echo $ECHO_N "checking for $i... $ECHO_C" >&6; }
  3473. if test -f $i/html/docbook.dsl; then
  3474. echo "yes"
  3475. DKPREFIX=$i
  3476. break
  3477. else
  3478. echo "no"
  3479. fi
  3480. done
  3481. # where are the catalogs?
  3482. for i in /usr/share/sgml/CATALOG.docbk30 \
  3483. /usr/share/sgml/CATALOG.docbk31 \
  3484. /usr/share/sgml/CATALOG.docbk31 \
  3485. /usr/local/share/sgml/docbook/3.0/docbook.cat \
  3486. /usr/local/share/sgml/docbook/3.1/docbook.cat \
  3487. /usr/share/sgml/docbook/dtd/3.1/docbook.cat \
  3488. ; do
  3489. { echo "$as_me:$LINENO: checking for $i" >&5
  3490. echo $ECHO_N "checking for $i... $ECHO_C" >&6; }
  3491. if test -f $i; then
  3492. echo "yes"
  3493. JADECAT="$JADECAT -c $i"
  3494. else
  3495. echo "no"
  3496. fi
  3497. done
  3498. fi
  3499. fi
  3500. old_CFLAGS_nospecial=$CFLAGS
  3501. CFLAGS="$CFLAGS $SPECIAL_CFLAGS"
  3502. # Hack to force AutoConf to use the CFLAGS we just set
  3503. ac_cpp='$CPP $CPPFLAGS $SPECIAL_CFLAGS'
  3504. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  3505. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  3506. { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  3507. echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  3508. if test "${ac_cv_path_GREP+set}" = set; then
  3509. echo $ECHO_N "(cached) $ECHO_C" >&6
  3510. else
  3511. # Extract the first word of "grep ggrep" to use in msg output
  3512. if test -z "$GREP"; then
  3513. set dummy grep ggrep; ac_prog_name=$2
  3514. if test "${ac_cv_path_GREP+set}" = set; then
  3515. echo $ECHO_N "(cached) $ECHO_C" >&6
  3516. else
  3517. ac_path_GREP_found=false
  3518. # Loop through the user's path and test for each of PROGNAME-LIST
  3519. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3520. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3521. do
  3522. IFS=$as_save_IFS
  3523. test -z "$as_dir" && as_dir=.
  3524. for ac_prog in grep ggrep; do
  3525. for ac_exec_ext in '' $ac_executable_extensions; do
  3526. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3527. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  3528. # Check for GNU ac_path_GREP and select it if it is found.
  3529. # Check for GNU $ac_path_GREP
  3530. case `"$ac_path_GREP" --version 2>&1` in
  3531. *GNU*)
  3532. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3533. *)
  3534. ac_count=0
  3535. echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3536. while :
  3537. do
  3538. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3539. mv "conftest.tmp" "conftest.in"
  3540. cp "conftest.in" "conftest.nl"
  3541. echo 'GREP' >> "conftest.nl"
  3542. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3543. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3544. ac_count=`expr $ac_count + 1`
  3545. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3546. # Best one so far, save it but keep looking for a better one
  3547. ac_cv_path_GREP="$ac_path_GREP"
  3548. ac_path_GREP_max=$ac_count
  3549. fi
  3550. # 10*(2^10) chars as input seems more than enough
  3551. test $ac_count -gt 10 && break
  3552. done
  3553. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3554. esac
  3555. $ac_path_GREP_found && break 3
  3556. done
  3557. done
  3558. done
  3559. IFS=$as_save_IFS
  3560. fi
  3561. GREP="$ac_cv_path_GREP"
  3562. if test -z "$GREP"; then
  3563. { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3564. echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3565. { (exit 1); exit 1; }; }
  3566. fi
  3567. else
  3568. ac_cv_path_GREP=$GREP
  3569. fi
  3570. fi
  3571. { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  3572. echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  3573. GREP="$ac_cv_path_GREP"
  3574. { echo "$as_me:$LINENO: checking for egrep" >&5
  3575. echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  3576. if test "${ac_cv_path_EGREP+set}" = set; then
  3577. echo $ECHO_N "(cached) $ECHO_C" >&6
  3578. else
  3579. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3580. then ac_cv_path_EGREP="$GREP -E"
  3581. else
  3582. # Extract the first word of "egrep" to use in msg output
  3583. if test -z "$EGREP"; then
  3584. set dummy egrep; ac_prog_name=$2
  3585. if test "${ac_cv_path_EGREP+set}" = set; then
  3586. echo $ECHO_N "(cached) $ECHO_C" >&6
  3587. else
  3588. ac_path_EGREP_found=false
  3589. # Loop through the user's path and test for each of PROGNAME-LIST
  3590. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3591. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3592. do
  3593. IFS=$as_save_IFS
  3594. test -z "$as_dir" && as_dir=.
  3595. for ac_prog in egrep; do
  3596. for ac_exec_ext in '' $ac_executable_extensions; do
  3597. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3598. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  3599. # Check for GNU ac_path_EGREP and select it if it is found.
  3600. # Check for GNU $ac_path_EGREP
  3601. case `"$ac_path_EGREP" --version 2>&1` in
  3602. *GNU*)
  3603. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3604. *)
  3605. ac_count=0
  3606. echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  3607. while :
  3608. do
  3609. cat "conftest.in" "conftest.in" >"conftest.tmp"
  3610. mv "conftest.tmp" "conftest.in"
  3611. cp "conftest.in" "conftest.nl"
  3612. echo 'EGREP' >> "conftest.nl"
  3613. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3614. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3615. ac_count=`expr $ac_count + 1`
  3616. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3617. # Best one so far, save it but keep looking for a better one
  3618. ac_cv_path_EGREP="$ac_path_EGREP"
  3619. ac_path_EGREP_max=$ac_count
  3620. fi
  3621. # 10*(2^10) chars as input seems more than enough
  3622. test $ac_count -gt 10 && break
  3623. done
  3624. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3625. esac
  3626. $ac_path_EGREP_found && break 3
  3627. done
  3628. done
  3629. done
  3630. IFS=$as_save_IFS
  3631. fi
  3632. EGREP="$ac_cv_path_EGREP"
  3633. if test -z "$EGREP"; then
  3634. { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  3635. echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  3636. { (exit 1); exit 1; }; }
  3637. fi
  3638. else
  3639. ac_cv_path_EGREP=$EGREP
  3640. fi
  3641. fi
  3642. fi
  3643. { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  3644. echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  3645. EGREP="$ac_cv_path_EGREP"
  3646. { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  3647. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  3648. if test "${ac_cv_header_stdc+set}" = set; then
  3649. echo $ECHO_N "(cached) $ECHO_C" >&6
  3650. else
  3651. cat >conftest.$ac_ext <<_ACEOF
  3652. /* confdefs.h. */
  3653. _ACEOF
  3654. cat confdefs.h >>conftest.$ac_ext
  3655. cat >>conftest.$ac_ext <<_ACEOF
  3656. /* end confdefs.h. */
  3657. #include <stdlib.h>
  3658. #include <stdarg.h>
  3659. #include <string.h>
  3660. #include <float.h>
  3661. int
  3662. main ()
  3663. {
  3664. ;
  3665. return 0;
  3666. }
  3667. _ACEOF
  3668. rm -f conftest.$ac_objext
  3669. if { (ac_try="$ac_compile"
  3670. case "(($ac_try" in
  3671. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3672. *) ac_try_echo=$ac_try;;
  3673. esac
  3674. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3675. (eval "$ac_compile") 2>conftest.er1
  3676. ac_status=$?
  3677. grep -v '^ *+' conftest.er1 >conftest.err
  3678. rm -f conftest.er1
  3679. cat conftest.err >&5
  3680. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3681. (exit $ac_status); } && {
  3682. test -z "$ac_c_werror_flag" ||
  3683. test ! -s conftest.err
  3684. } && test -s conftest.$ac_objext; then
  3685. ac_cv_header_stdc=yes
  3686. else
  3687. echo "$as_me: failed program was:" >&5
  3688. sed 's/^/| /' conftest.$ac_ext >&5
  3689. ac_cv_header_stdc=no
  3690. fi
  3691. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3692. if test $ac_cv_header_stdc = yes; then
  3693. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  3694. cat >conftest.$ac_ext <<_ACEOF
  3695. /* confdefs.h. */
  3696. _ACEOF
  3697. cat confdefs.h >>conftest.$ac_ext
  3698. cat >>conftest.$ac_ext <<_ACEOF
  3699. /* end confdefs.h. */
  3700. #include <string.h>
  3701. _ACEOF
  3702. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3703. $EGREP "memchr" >/dev/null 2>&1; then
  3704. :
  3705. else
  3706. ac_cv_header_stdc=no
  3707. fi
  3708. rm -f conftest*
  3709. fi
  3710. if test $ac_cv_header_stdc = yes; then
  3711. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  3712. cat >conftest.$ac_ext <<_ACEOF
  3713. /* confdefs.h. */
  3714. _ACEOF
  3715. cat confdefs.h >>conftest.$ac_ext
  3716. cat >>conftest.$ac_ext <<_ACEOF
  3717. /* end confdefs.h. */
  3718. #include <stdlib.h>
  3719. _ACEOF
  3720. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  3721. $EGREP "free" >/dev/null 2>&1; then
  3722. :
  3723. else
  3724. ac_cv_header_stdc=no
  3725. fi
  3726. rm -f conftest*
  3727. fi
  3728. if test $ac_cv_header_stdc = yes; then
  3729. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  3730. if test "$cross_compiling" = yes; then
  3731. :
  3732. else
  3733. cat >conftest.$ac_ext <<_ACEOF
  3734. /* confdefs.h. */
  3735. _ACEOF
  3736. cat confdefs.h >>conftest.$ac_ext
  3737. cat >>conftest.$ac_ext <<_ACEOF
  3738. /* end confdefs.h. */
  3739. #include <ctype.h>
  3740. #include <stdlib.h>
  3741. #if ((' ' & 0x0FF) == 0x020)
  3742. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3743. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3744. #else
  3745. # define ISLOWER(c) \
  3746. (('a' <= (c) && (c) <= 'i') \
  3747. || ('j' <= (c) && (c) <= 'r') \
  3748. || ('s' <= (c) && (c) <= 'z'))
  3749. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3750. #endif
  3751. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3752. int
  3753. main ()
  3754. {
  3755. int i;
  3756. for (i = 0; i < 256; i++)
  3757. if (XOR (islower (i), ISLOWER (i))
  3758. || toupper (i) != TOUPPER (i))
  3759. return 2;
  3760. return 0;
  3761. }
  3762. _ACEOF
  3763. rm -f conftest$ac_exeext
  3764. if { (ac_try="$ac_link"
  3765. case "(($ac_try" in
  3766. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3767. *) ac_try_echo=$ac_try;;
  3768. esac
  3769. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3770. (eval "$ac_link") 2>&5
  3771. ac_status=$?
  3772. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3773. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3774. { (case "(($ac_try" in
  3775. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3776. *) ac_try_echo=$ac_try;;
  3777. esac
  3778. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3779. (eval "$ac_try") 2>&5
  3780. ac_status=$?
  3781. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3782. (exit $ac_status); }; }; then
  3783. :
  3784. else
  3785. echo "$as_me: program exited with status $ac_status" >&5
  3786. echo "$as_me: failed program was:" >&5
  3787. sed 's/^/| /' conftest.$ac_ext >&5
  3788. ( exit $ac_status )
  3789. ac_cv_header_stdc=no
  3790. fi
  3791. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3792. fi
  3793. fi
  3794. fi
  3795. { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3796. echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3797. if test $ac_cv_header_stdc = yes; then
  3798. cat >>confdefs.h <<\_ACEOF
  3799. #define STDC_HEADERS 1
  3800. _ACEOF
  3801. fi
  3802. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3803. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3804. inttypes.h stdint.h unistd.h
  3805. do
  3806. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3807. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3808. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3809. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3810. echo $ECHO_N "(cached) $ECHO_C" >&6
  3811. else
  3812. cat >conftest.$ac_ext <<_ACEOF
  3813. /* confdefs.h. */
  3814. _ACEOF
  3815. cat confdefs.h >>conftest.$ac_ext
  3816. cat >>conftest.$ac_ext <<_ACEOF
  3817. /* end confdefs.h. */
  3818. $ac_includes_default
  3819. #include <$ac_header>
  3820. _ACEOF
  3821. rm -f conftest.$ac_objext
  3822. if { (ac_try="$ac_compile"
  3823. case "(($ac_try" in
  3824. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3825. *) ac_try_echo=$ac_try;;
  3826. esac
  3827. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3828. (eval "$ac_compile") 2>conftest.er1
  3829. ac_status=$?
  3830. grep -v '^ *+' conftest.er1 >conftest.err
  3831. rm -f conftest.er1
  3832. cat conftest.err >&5
  3833. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3834. (exit $ac_status); } && {
  3835. test -z "$ac_c_werror_flag" ||
  3836. test ! -s conftest.err
  3837. } && test -s conftest.$ac_objext; then
  3838. eval "$as_ac_Header=yes"
  3839. else
  3840. echo "$as_me: failed program was:" >&5
  3841. sed 's/^/| /' conftest.$ac_ext >&5
  3842. eval "$as_ac_Header=no"
  3843. fi
  3844. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3845. fi
  3846. ac_res=`eval echo '${'$as_ac_Header'}'`
  3847. { echo "$as_me:$LINENO: result: $ac_res" >&5
  3848. echo "${ECHO_T}$ac_res" >&6; }
  3849. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3850. cat >>confdefs.h <<_ACEOF
  3851. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3852. _ACEOF
  3853. fi
  3854. done
  3855. if test "${ac_cv_header_pthread_h+set}" = set; then
  3856. { echo "$as_me:$LINENO: checking for pthread.h" >&5
  3857. echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
  3858. if test "${ac_cv_header_pthread_h+set}" = set; then
  3859. echo $ECHO_N "(cached) $ECHO_C" >&6
  3860. fi
  3861. { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  3862. echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
  3863. else
  3864. # Is the header compilable?
  3865. { echo "$as_me:$LINENO: checking pthread.h usability" >&5
  3866. echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
  3867. cat >conftest.$ac_ext <<_ACEOF
  3868. /* confdefs.h. */
  3869. _ACEOF
  3870. cat confdefs.h >>conftest.$ac_ext
  3871. cat >>conftest.$ac_ext <<_ACEOF
  3872. /* end confdefs.h. */
  3873. $ac_includes_default
  3874. #include <pthread.h>
  3875. _ACEOF
  3876. rm -f conftest.$ac_objext
  3877. if { (ac_try="$ac_compile"
  3878. case "(($ac_try" in
  3879. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3880. *) ac_try_echo=$ac_try;;
  3881. esac
  3882. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3883. (eval "$ac_compile") 2>conftest.er1
  3884. ac_status=$?
  3885. grep -v '^ *+' conftest.er1 >conftest.err
  3886. rm -f conftest.er1
  3887. cat conftest.err >&5
  3888. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3889. (exit $ac_status); } && {
  3890. test -z "$ac_c_werror_flag" ||
  3891. test ! -s conftest.err
  3892. } && test -s conftest.$ac_objext; then
  3893. ac_header_compiler=yes
  3894. else
  3895. echo "$as_me: failed program was:" >&5
  3896. sed 's/^/| /' conftest.$ac_ext >&5
  3897. ac_header_compiler=no
  3898. fi
  3899. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3900. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3901. echo "${ECHO_T}$ac_header_compiler" >&6; }
  3902. # Is the header present?
  3903. { echo "$as_me:$LINENO: checking pthread.h presence" >&5
  3904. echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
  3905. cat >conftest.$ac_ext <<_ACEOF
  3906. /* confdefs.h. */
  3907. _ACEOF
  3908. cat confdefs.h >>conftest.$ac_ext
  3909. cat >>conftest.$ac_ext <<_ACEOF
  3910. /* end confdefs.h. */
  3911. #include <pthread.h>
  3912. _ACEOF
  3913. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3914. case "(($ac_try" in
  3915. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3916. *) ac_try_echo=$ac_try;;
  3917. esac
  3918. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3919. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3920. ac_status=$?
  3921. grep -v '^ *+' conftest.er1 >conftest.err
  3922. rm -f conftest.er1
  3923. cat conftest.err >&5
  3924. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3925. (exit $ac_status); } >/dev/null && {
  3926. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3927. test ! -s conftest.err
  3928. }; then
  3929. ac_header_preproc=yes
  3930. else
  3931. echo "$as_me: failed program was:" >&5
  3932. sed 's/^/| /' conftest.$ac_ext >&5
  3933. ac_header_preproc=no
  3934. fi
  3935. rm -f conftest.err conftest.$ac_ext
  3936. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3937. echo "${ECHO_T}$ac_header_preproc" >&6; }
  3938. # So? What about this header?
  3939. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3940. yes:no: )
  3941. { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
  3942. echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3943. { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
  3944. echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
  3945. ac_header_preproc=yes
  3946. ;;
  3947. no:yes:* )
  3948. { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
  3949. echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
  3950. { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
  3951. echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
  3952. { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
  3953. echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
  3954. { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
  3955. echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
  3956. { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
  3957. echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
  3958. { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
  3959. echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
  3960. ;;
  3961. esac
  3962. { echo "$as_me:$LINENO: checking for pthread.h" >&5
  3963. echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
  3964. if test "${ac_cv_header_pthread_h+set}" = set; then
  3965. echo $ECHO_N "(cached) $ECHO_C" >&6
  3966. else
  3967. ac_cv_header_pthread_h=$ac_header_preproc
  3968. fi
  3969. { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  3970. echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
  3971. fi
  3972. if test $ac_cv_header_pthread_h = yes; then
  3973. have_pthread=yes
  3974. else
  3975. have_pthread=no
  3976. fi
  3977. # Check whether --enable-pthread was given.
  3978. if test "${enable_pthread+set}" = set; then
  3979. enableval=$enable_pthread; if test $enableval = no; then
  3980. # Disable pthreads
  3981. have_pthread=no
  3982. fi
  3983. fi
  3984. if test $have_pthread = yes; then
  3985. PTHREAD_ONLY=
  3986. cat >>confdefs.h <<\_ACEOF
  3987. #define FEATURE_PTHREAD 1
  3988. _ACEOF
  3989. echo Using POSIX threads
  3990. if test "$GCC" = "yes"; then
  3991. # Set a GCC specific switch:
  3992. if test "$target_type" = "unix"; then
  3993. ac_jgf_save_CFLAGS=$CFLAGS
  3994. CFLAGS="$CFLAGS -pthread"
  3995. cat >conftest.$ac_ext <<_ACEOF
  3996. /* confdefs.h. */
  3997. _ACEOF
  3998. cat confdefs.h >>conftest.$ac_ext
  3999. cat >>conftest.$ac_ext <<_ACEOF
  4000. /* end confdefs.h. */
  4001. #include <pthread.h>
  4002. int
  4003. main ()
  4004. {
  4005. void *p = pthread_create;
  4006. ;
  4007. return 0;
  4008. }
  4009. _ACEOF
  4010. rm -f conftest.$ac_objext conftest$ac_exeext
  4011. if { (ac_try="$ac_link"
  4012. case "(($ac_try" in
  4013. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4014. *) ac_try_echo=$ac_try;;
  4015. esac
  4016. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4017. (eval "$ac_link") 2>conftest.er1
  4018. ac_status=$?
  4019. grep -v '^ *+' conftest.er1 >conftest.err
  4020. rm -f conftest.er1
  4021. cat conftest.err >&5
  4022. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4023. (exit $ac_status); } && {
  4024. test -z "$ac_c_werror_flag" ||
  4025. test ! -s conftest.err
  4026. } && test -s conftest$ac_exeext &&
  4027. $as_test_x conftest$ac_exeext; then
  4028. # This compiler switch makes GCC on Linux thread-safe
  4029. # However, it's not supported on most other OS.
  4030. PTHREAD_LIB=
  4031. SPECIAL_CFLAGS="-pthread"
  4032. else
  4033. echo "$as_me: failed program was:" >&5
  4034. sed 's/^/| /' conftest.$ac_ext >&5
  4035. fi
  4036. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4037. conftest$ac_exeext conftest.$ac_ext
  4038. CFLAGS=$ac_jgf_save_CFLAGS
  4039. fi
  4040. fi
  4041. else
  4042. PTHREAD_ONLY=#
  4043. echo Using native threads
  4044. fi
  4045. { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
  4046. echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
  4047. if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
  4048. echo $ECHO_N "(cached) $ECHO_C" >&6
  4049. else
  4050. ac_check_lib_save_LIBS=$LIBS
  4051. LIBS="-lnsl $LIBS"
  4052. cat >conftest.$ac_ext <<_ACEOF
  4053. /* confdefs.h. */
  4054. _ACEOF
  4055. cat confdefs.h >>conftest.$ac_ext
  4056. cat >>conftest.$ac_ext <<_ACEOF
  4057. /* end confdefs.h. */
  4058. /* Override any GCC internal prototype to avoid an error.
  4059. Use char because int might match the return type of a GCC
  4060. builtin and then its argument prototype would still apply. */
  4061. #ifdef __cplusplus
  4062. extern "C"
  4063. #endif
  4064. char gethostbyname ();
  4065. int
  4066. main ()
  4067. {
  4068. return gethostbyname ();
  4069. ;
  4070. return 0;
  4071. }
  4072. _ACEOF
  4073. rm -f conftest.$ac_objext conftest$ac_exeext
  4074. if { (ac_try="$ac_link"
  4075. case "(($ac_try" in
  4076. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4077. *) ac_try_echo=$ac_try;;
  4078. esac
  4079. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4080. (eval "$ac_link") 2>conftest.er1
  4081. ac_status=$?
  4082. grep -v '^ *+' conftest.er1 >conftest.err
  4083. rm -f conftest.er1
  4084. cat conftest.err >&5
  4085. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4086. (exit $ac_status); } && {
  4087. test -z "$ac_c_werror_flag" ||
  4088. test ! -s conftest.err
  4089. } && test -s conftest$ac_exeext &&
  4090. $as_test_x conftest$ac_exeext; then
  4091. ac_cv_lib_nsl_gethostbyname=yes
  4092. else
  4093. echo "$as_me: failed program was:" >&5
  4094. sed 's/^/| /' conftest.$ac_ext >&5
  4095. ac_cv_lib_nsl_gethostbyname=no
  4096. fi
  4097. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4098. conftest$ac_exeext conftest.$ac_ext
  4099. LIBS=$ac_check_lib_save_LIBS
  4100. fi
  4101. { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
  4102. echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
  4103. if test $ac_cv_lib_nsl_gethostbyname = yes; then
  4104. cat >>confdefs.h <<_ACEOF
  4105. #define HAVE_LIBNSL 1
  4106. _ACEOF
  4107. LIBS="-lnsl $LIBS"
  4108. fi
  4109. { echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
  4110. echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6; }
  4111. if test "${ac_cv_func_gethostbyaddr_r+set}" = set; then
  4112. echo $ECHO_N "(cached) $ECHO_C" >&6
  4113. else
  4114. mirsave_CPPFLAGS=$CPPFLAGS
  4115. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  4116. cat >conftest.$ac_ext <<_ACEOF
  4117. /* confdefs.h. */
  4118. _ACEOF
  4119. cat confdefs.h >>conftest.$ac_ext
  4120. cat >>conftest.$ac_ext <<_ACEOF
  4121. /* end confdefs.h. */
  4122. /* Define gethostbyaddr_r to an innocuous variant, in case <limits.h> declares gethostbyaddr_r.
  4123. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4124. #define gethostbyaddr_r innocuous_gethostbyaddr_r
  4125. /* System header to define __stub macros and hopefully few prototypes,
  4126. which can conflict with char gethostbyaddr_r (); below.
  4127. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4128. <limits.h> exists even on freestanding compilers. */
  4129. #ifdef __STDC__
  4130. # include <limits.h>
  4131. #else
  4132. # include <assert.h>
  4133. #endif
  4134. #undef gethostbyaddr_r
  4135. /* Override any GCC internal prototype to avoid an error.
  4136. Use char because int might match the return type of a GCC
  4137. builtin and then its argument prototype would still apply. */
  4138. #ifdef __cplusplus
  4139. extern "C"
  4140. #endif
  4141. char gethostbyaddr_r ();
  4142. /* The GNU C library defines this for functions which it implements
  4143. to always fail with ENOSYS. Some functions are actually named
  4144. something starting with __ and the normal name is an alias. */
  4145. #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
  4146. choke me
  4147. #endif
  4148. int
  4149. main ()
  4150. {
  4151. return gethostbyaddr_r ();
  4152. ;
  4153. return 0;
  4154. }
  4155. _ACEOF
  4156. rm -f conftest.$ac_objext conftest$ac_exeext
  4157. if { (ac_try="$ac_link"
  4158. case "(($ac_try" in
  4159. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4160. *) ac_try_echo=$ac_try;;
  4161. esac
  4162. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4163. (eval "$ac_link") 2>conftest.er1
  4164. ac_status=$?
  4165. grep -v '^ *+' conftest.er1 >conftest.err
  4166. rm -f conftest.er1
  4167. cat conftest.err >&5
  4168. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4169. (exit $ac_status); } && {
  4170. test -z "$ac_c_werror_flag" ||
  4171. test ! -s conftest.err
  4172. } && test -s conftest$ac_exeext &&
  4173. $as_test_x conftest$ac_exeext; then
  4174. ac_cv_func_gethostbyaddr_r=yes
  4175. else
  4176. echo "$as_me: failed program was:" >&5
  4177. sed 's/^/| /' conftest.$ac_ext >&5
  4178. ac_cv_func_gethostbyaddr_r=no
  4179. fi
  4180. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4181. conftest$ac_exeext conftest.$ac_ext
  4182. fi
  4183. { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyaddr_r" >&5
  4184. echo "${ECHO_T}$ac_cv_func_gethostbyaddr_r" >&6; }
  4185. CPPFLAGS=$mirsave_CPPFLAGS
  4186. if test $ac_cv_func_gethostbyaddr_r = yes; then
  4187. { echo "$as_me:$LINENO: checking signature of gethostbyaddr_r" >&5
  4188. echo $ECHO_N "checking signature of gethostbyaddr_r... $ECHO_C" >&6; }
  4189. cat >conftest.$ac_ext <<_ACEOF
  4190. /* confdefs.h. */
  4191. _ACEOF
  4192. cat confdefs.h >>conftest.$ac_ext
  4193. cat >>conftest.$ac_ext <<_ACEOF
  4194. /* end confdefs.h. */
  4195. # include <netdb.h>
  4196. int
  4197. main ()
  4198. {
  4199. struct hostent *h, *hp;
  4200. char *a, *b;
  4201. int l, bl, t, e;
  4202. (void) gethostbyaddr_r(a, l, t, h, b, bl, &hp, &e)
  4203. ;
  4204. return 0;
  4205. }
  4206. _ACEOF
  4207. rm -f conftest.$ac_objext
  4208. if { (ac_try="$ac_compile"
  4209. case "(($ac_try" in
  4210. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4211. *) ac_try_echo=$ac_try;;
  4212. esac
  4213. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4214. (eval "$ac_compile") 2>conftest.er1
  4215. ac_status=$?
  4216. grep -v '^ *+' conftest.er1 >conftest.err
  4217. rm -f conftest.er1
  4218. cat conftest.err >&5
  4219. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4220. (exit $ac_status); } && {
  4221. test -z "$ac_c_werror_flag" ||
  4222. test ! -s conftest.err
  4223. } && test -s conftest.$ac_objext; then
  4224. cat >>confdefs.h <<\_ACEOF
  4225. #define HAVE_GETHOSTBYADDR_R_8_ARGS 1
  4226. _ACEOF
  4227. { echo "$as_me:$LINENO: result: 8 args" >&5
  4228. echo "${ECHO_T}8 args" >&6; }
  4229. else
  4230. echo "$as_me: failed program was:" >&5
  4231. sed 's/^/| /' conftest.$ac_ext >&5
  4232. cat >conftest.$ac_ext <<_ACEOF
  4233. /* confdefs.h. */
  4234. _ACEOF
  4235. cat confdefs.h >>conftest.$ac_ext
  4236. cat >>conftest.$ac_ext <<_ACEOF
  4237. /* end confdefs.h. */
  4238. # include <netdb.h>
  4239. int
  4240. main ()
  4241. {
  4242. struct hostent *h;
  4243. char *a, *b;
  4244. int l, bl, t, e;
  4245. (void) gethostbyaddr_r(a, l, t, h, b, bl, &e)
  4246. ;
  4247. return 0;
  4248. }
  4249. _ACEOF
  4250. rm -f conftest.$ac_objext
  4251. if { (ac_try="$ac_compile"
  4252. case "(($ac_try" in
  4253. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4254. *) ac_try_echo=$ac_try;;
  4255. esac
  4256. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4257. (eval "$ac_compile") 2>conftest.er1
  4258. ac_status=$?
  4259. grep -v '^ *+' conftest.er1 >conftest.err
  4260. rm -f conftest.er1
  4261. cat conftest.err >&5
  4262. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4263. (exit $ac_status); } && {
  4264. test -z "$ac_c_werror_flag" ||
  4265. test ! -s conftest.err
  4266. } && test -s conftest.$ac_objext; then
  4267. cat >>confdefs.h <<\_ACEOF
  4268. #define HAVE_GETHOSTBYADDR_R_7_ARGS 1
  4269. _ACEOF
  4270. { echo "$as_me:$LINENO: result: 7 args" >&5
  4271. echo "${ECHO_T}7 args" >&6; }
  4272. else
  4273. echo "$as_me: failed program was:" >&5
  4274. sed 's/^/| /' conftest.$ac_ext >&5
  4275. cat >conftest.$ac_ext <<_ACEOF
  4276. /* confdefs.h. */
  4277. _ACEOF
  4278. cat confdefs.h >>conftest.$ac_ext
  4279. cat >>conftest.$ac_ext <<_ACEOF
  4280. /* end confdefs.h. */
  4281. # include <netdb.h>
  4282. int
  4283. main ()
  4284. {
  4285. struct hostent_data *d;
  4286. struct hostent *h;
  4287. char a,
  4288. int l, t;
  4289. (void) gethostbyaddr_r(a, l, t, h, d)
  4290. ;
  4291. return 0;
  4292. }
  4293. _ACEOF
  4294. rm -f conftest.$ac_objext
  4295. if { (ac_try="$ac_compile"
  4296. case "(($ac_try" in
  4297. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4298. *) ac_try_echo=$ac_try;;
  4299. esac
  4300. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4301. (eval "$ac_compile") 2>conftest.er1
  4302. ac_status=$?
  4303. grep -v '^ *+' conftest.er1 >conftest.err
  4304. rm -f conftest.er1
  4305. cat conftest.err >&5
  4306. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4307. (exit $ac_status); } && {
  4308. test -z "$ac_c_werror_flag" ||
  4309. test ! -s conftest.err
  4310. } && test -s conftest.$ac_objext; then
  4311. cat >>confdefs.h <<\_ACEOF
  4312. #define HAVE_GETHOSTBYADDR_R_5_ARGS 1
  4313. _ACEOF
  4314. { echo "$as_me:$LINENO: result: 5 args" >&5
  4315. echo "${ECHO_T}5 args" >&6; }
  4316. else
  4317. echo "$as_me: failed program was:" >&5
  4318. sed 's/^/| /' conftest.$ac_ext >&5
  4319. { echo "$as_me:$LINENO: result: unrecognised" >&5
  4320. echo "${ECHO_T}unrecognised" >&6; }
  4321. fi
  4322. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4323. fi
  4324. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4325. fi
  4326. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4327. else
  4328. { echo "$as_me:$LINENO: result: no" >&5
  4329. echo "${ECHO_T}no" >&6; }
  4330. fi
  4331. { echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
  4332. echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
  4333. if test "${ac_cv_func_gethostbyname_r+set}" = set; then
  4334. echo $ECHO_N "(cached) $ECHO_C" >&6
  4335. else
  4336. mirsave_CPPFLAGS=$CPPFLAGS
  4337. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  4338. cat >conftest.$ac_ext <<_ACEOF
  4339. /* confdefs.h. */
  4340. _ACEOF
  4341. cat confdefs.h >>conftest.$ac_ext
  4342. cat >>conftest.$ac_ext <<_ACEOF
  4343. /* end confdefs.h. */
  4344. /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
  4345. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4346. #define gethostbyname_r innocuous_gethostbyname_r
  4347. /* System header to define __stub macros and hopefully few prototypes,
  4348. which can conflict with char gethostbyname_r (); below.
  4349. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4350. <limits.h> exists even on freestanding compilers. */
  4351. #ifdef __STDC__
  4352. # include <limits.h>
  4353. #else
  4354. # include <assert.h>
  4355. #endif
  4356. #undef gethostbyname_r
  4357. /* Override any GCC internal prototype to avoid an error.
  4358. Use char because int might match the return type of a GCC
  4359. builtin and then its argument prototype would still apply. */
  4360. #ifdef __cplusplus
  4361. extern "C"
  4362. #endif
  4363. char gethostbyname_r ();
  4364. /* The GNU C library defines this for functions which it implements
  4365. to always fail with ENOSYS. Some functions are actually named
  4366. something starting with __ and the normal name is an alias. */
  4367. #if defined __stub_gethostbyname_r || defined __stub___gethostbyname_r
  4368. choke me
  4369. #endif
  4370. int
  4371. main ()
  4372. {
  4373. return gethostbyname_r ();
  4374. ;
  4375. return 0;
  4376. }
  4377. _ACEOF
  4378. rm -f conftest.$ac_objext conftest$ac_exeext
  4379. if { (ac_try="$ac_link"
  4380. case "(($ac_try" in
  4381. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4382. *) ac_try_echo=$ac_try;;
  4383. esac
  4384. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4385. (eval "$ac_link") 2>conftest.er1
  4386. ac_status=$?
  4387. grep -v '^ *+' conftest.er1 >conftest.err
  4388. rm -f conftest.er1
  4389. cat conftest.err >&5
  4390. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4391. (exit $ac_status); } && {
  4392. test -z "$ac_c_werror_flag" ||
  4393. test ! -s conftest.err
  4394. } && test -s conftest$ac_exeext &&
  4395. $as_test_x conftest$ac_exeext; then
  4396. ac_cv_func_gethostbyname_r=yes
  4397. else
  4398. echo "$as_me: failed program was:" >&5
  4399. sed 's/^/| /' conftest.$ac_ext >&5
  4400. ac_cv_func_gethostbyname_r=no
  4401. fi
  4402. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4403. conftest$ac_exeext conftest.$ac_ext
  4404. fi
  4405. { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
  4406. echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6; }
  4407. CPPFLAGS=$mirsave_CPPFLAGS
  4408. if test $ac_cv_func_gethostbyname_r = yes; then
  4409. { echo "$as_me:$LINENO: checking signature of gethostbyname_r" >&5
  4410. echo $ECHO_N "checking signature of gethostbyname_r... $ECHO_C" >&6; }
  4411. cat >conftest.$ac_ext <<_ACEOF
  4412. /* confdefs.h. */
  4413. _ACEOF
  4414. cat confdefs.h >>conftest.$ac_ext
  4415. cat >>conftest.$ac_ext <<_ACEOF
  4416. /* end confdefs.h. */
  4417. # include <netdb.h>
  4418. int
  4419. main ()
  4420. {
  4421. struct hostent *h, *r;
  4422. char *n, *b;
  4423. int bl, e;
  4424. (void) gethostbyname_r(n, h, b, bl, &r, &e)
  4425. ;
  4426. return 0;
  4427. }
  4428. _ACEOF
  4429. rm -f conftest.$ac_objext
  4430. if { (ac_try="$ac_compile"
  4431. case "(($ac_try" in
  4432. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4433. *) ac_try_echo=$ac_try;;
  4434. esac
  4435. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4436. (eval "$ac_compile") 2>conftest.er1
  4437. ac_status=$?
  4438. grep -v '^ *+' conftest.er1 >conftest.err
  4439. rm -f conftest.er1
  4440. cat conftest.err >&5
  4441. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4442. (exit $ac_status); } && {
  4443. test -z "$ac_c_werror_flag" ||
  4444. test ! -s conftest.err
  4445. } && test -s conftest.$ac_objext; then
  4446. cat >>confdefs.h <<\_ACEOF
  4447. #define HAVE_GETHOSTBYNAME_R_6_ARGS 1
  4448. _ACEOF
  4449. { echo "$as_me:$LINENO: result: 6 args" >&5
  4450. echo "${ECHO_T}6 args" >&6; }
  4451. else
  4452. echo "$as_me: failed program was:" >&5
  4453. sed 's/^/| /' conftest.$ac_ext >&5
  4454. cat >conftest.$ac_ext <<_ACEOF
  4455. /* confdefs.h. */
  4456. _ACEOF
  4457. cat confdefs.h >>conftest.$ac_ext
  4458. cat >>conftest.$ac_ext <<_ACEOF
  4459. /* end confdefs.h. */
  4460. # include <netdb.h>
  4461. int
  4462. main ()
  4463. {
  4464. struct hostent *h;
  4465. char *n, *b;
  4466. int bl, e;
  4467. (void) gethostbyname_r(n, h, b, bl, &e)
  4468. ;
  4469. return 0;
  4470. }
  4471. _ACEOF
  4472. rm -f conftest.$ac_objext
  4473. if { (ac_try="$ac_compile"
  4474. case "(($ac_try" in
  4475. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4476. *) ac_try_echo=$ac_try;;
  4477. esac
  4478. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4479. (eval "$ac_compile") 2>conftest.er1
  4480. ac_status=$?
  4481. grep -v '^ *+' conftest.er1 >conftest.err
  4482. rm -f conftest.er1
  4483. cat conftest.err >&5
  4484. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4485. (exit $ac_status); } && {
  4486. test -z "$ac_c_werror_flag" ||
  4487. test ! -s conftest.err
  4488. } && test -s conftest.$ac_objext; then
  4489. cat >>confdefs.h <<\_ACEOF
  4490. #define HAVE_GETHOSTBYNAME_R_5_ARGS 1
  4491. _ACEOF
  4492. { echo "$as_me:$LINENO: result: 5 args" >&5
  4493. echo "${ECHO_T}5 args" >&6; }
  4494. else
  4495. echo "$as_me: failed program was:" >&5
  4496. sed 's/^/| /' conftest.$ac_ext >&5
  4497. cat >conftest.$ac_ext <<_ACEOF
  4498. /* confdefs.h. */
  4499. _ACEOF
  4500. cat confdefs.h >>conftest.$ac_ext
  4501. cat >>conftest.$ac_ext <<_ACEOF
  4502. /* end confdefs.h. */
  4503. # include <netdb.h>
  4504. int
  4505. main ()
  4506. {
  4507. struct hostent_data *d;
  4508. struct hostent *h;
  4509. char *n,
  4510. (void) gethostbyname_r(n, h, d)
  4511. ;
  4512. return 0;
  4513. }
  4514. _ACEOF
  4515. rm -f conftest.$ac_objext
  4516. if { (ac_try="$ac_compile"
  4517. case "(($ac_try" in
  4518. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4519. *) ac_try_echo=$ac_try;;
  4520. esac
  4521. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4522. (eval "$ac_compile") 2>conftest.er1
  4523. ac_status=$?
  4524. grep -v '^ *+' conftest.er1 >conftest.err
  4525. rm -f conftest.er1
  4526. cat conftest.err >&5
  4527. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4528. (exit $ac_status); } && {
  4529. test -z "$ac_c_werror_flag" ||
  4530. test ! -s conftest.err
  4531. } && test -s conftest.$ac_objext; then
  4532. cat >>confdefs.h <<\_ACEOF
  4533. #define HAVE_GETHOSTBYNAME_R_3_ARGS 1
  4534. _ACEOF
  4535. { echo "$as_me:$LINENO: result: 3 args" >&5
  4536. echo "${ECHO_T}3 args" >&6; }
  4537. else
  4538. echo "$as_me: failed program was:" >&5
  4539. sed 's/^/| /' conftest.$ac_ext >&5
  4540. { echo "$as_me:$LINENO: result: unrecognised" >&5
  4541. echo "${ECHO_T}unrecognised" >&6; }
  4542. fi
  4543. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4544. fi
  4545. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4546. fi
  4547. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4548. else
  4549. { echo "$as_me:$LINENO: result: no" >&5
  4550. echo "${ECHO_T}no" >&6; }
  4551. fi
  4552. { echo "$as_me:$LINENO: checking for gmtime_r" >&5
  4553. echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
  4554. if test "${ac_cv_func_gmtime_r+set}" = set; then
  4555. echo $ECHO_N "(cached) $ECHO_C" >&6
  4556. else
  4557. mirsave_CPPFLAGS=$CPPFLAGS
  4558. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  4559. cat >conftest.$ac_ext <<_ACEOF
  4560. /* confdefs.h. */
  4561. _ACEOF
  4562. cat confdefs.h >>conftest.$ac_ext
  4563. cat >>conftest.$ac_ext <<_ACEOF
  4564. /* end confdefs.h. */
  4565. /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
  4566. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4567. #define gmtime_r innocuous_gmtime_r
  4568. /* System header to define __stub macros and hopefully few prototypes,
  4569. which can conflict with char gmtime_r (); below.
  4570. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4571. <limits.h> exists even on freestanding compilers. */
  4572. #ifdef __STDC__
  4573. # include <limits.h>
  4574. #else
  4575. # include <assert.h>
  4576. #endif
  4577. #undef gmtime_r
  4578. /* Override any GCC internal prototype to avoid an error.
  4579. Use char because int might match the return type of a GCC
  4580. builtin and then its argument prototype would still apply. */
  4581. #ifdef __cplusplus
  4582. extern "C"
  4583. #endif
  4584. char gmtime_r ();
  4585. /* The GNU C library defines this for functions which it implements
  4586. to always fail with ENOSYS. Some functions are actually named
  4587. something starting with __ and the normal name is an alias. */
  4588. #if defined __stub_gmtime_r || defined __stub___gmtime_r
  4589. choke me
  4590. #endif
  4591. int
  4592. main ()
  4593. {
  4594. return gmtime_r ();
  4595. ;
  4596. return 0;
  4597. }
  4598. _ACEOF
  4599. rm -f conftest.$ac_objext conftest$ac_exeext
  4600. if { (ac_try="$ac_link"
  4601. case "(($ac_try" in
  4602. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4603. *) ac_try_echo=$ac_try;;
  4604. esac
  4605. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4606. (eval "$ac_link") 2>conftest.er1
  4607. ac_status=$?
  4608. grep -v '^ *+' conftest.er1 >conftest.err
  4609. rm -f conftest.er1
  4610. cat conftest.err >&5
  4611. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4612. (exit $ac_status); } && {
  4613. test -z "$ac_c_werror_flag" ||
  4614. test ! -s conftest.err
  4615. } && test -s conftest$ac_exeext &&
  4616. $as_test_x conftest$ac_exeext; then
  4617. ac_cv_func_gmtime_r=yes
  4618. else
  4619. echo "$as_me: failed program was:" >&5
  4620. sed 's/^/| /' conftest.$ac_ext >&5
  4621. ac_cv_func_gmtime_r=no
  4622. fi
  4623. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4624. conftest$ac_exeext conftest.$ac_ext
  4625. fi
  4626. { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
  4627. echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
  4628. CPPFLAGS=$mirsave_CPPFLAGS
  4629. if test $ac_cv_func_gmtime_r = yes; then
  4630. { echo "$as_me:$LINENO: checking signature of gmtime_r" >&5
  4631. echo $ECHO_N "checking signature of gmtime_r... $ECHO_C" >&6; }
  4632. cat >conftest.$ac_ext <<_ACEOF
  4633. /* confdefs.h. */
  4634. _ACEOF
  4635. cat confdefs.h >>conftest.$ac_ext
  4636. cat >>conftest.$ac_ext <<_ACEOF
  4637. /* end confdefs.h. */
  4638. # include <time.h>
  4639. int
  4640. main ()
  4641. {
  4642. struct time *t;
  4643. struct tm *tm;
  4644. (void) gmtime_r(t, tm)
  4645. ;
  4646. return 0;
  4647. }
  4648. _ACEOF
  4649. rm -f conftest.$ac_objext
  4650. if { (ac_try="$ac_compile"
  4651. case "(($ac_try" in
  4652. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4653. *) ac_try_echo=$ac_try;;
  4654. esac
  4655. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4656. (eval "$ac_compile") 2>conftest.er1
  4657. ac_status=$?
  4658. grep -v '^ *+' conftest.er1 >conftest.err
  4659. rm -f conftest.er1
  4660. cat conftest.err >&5
  4661. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4662. (exit $ac_status); } && {
  4663. test -z "$ac_c_werror_flag" ||
  4664. test ! -s conftest.err
  4665. } && test -s conftest.$ac_objext; then
  4666. { echo "$as_me:$LINENO: result: ok" >&5
  4667. echo "${ECHO_T}ok" >&6; }
  4668. cat >>confdefs.h <<\_ACEOF
  4669. #define HAVE_GMTIME_R 1
  4670. _ACEOF
  4671. else
  4672. echo "$as_me: failed program was:" >&5
  4673. sed 's/^/| /' conftest.$ac_ext >&5
  4674. { echo "$as_me:$LINENO: result: unrecognised" >&5
  4675. echo "${ECHO_T}unrecognised" >&6; }
  4676. fi
  4677. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4678. else
  4679. { echo "$as_me:$LINENO: result: no" >&5
  4680. echo "${ECHO_T}no" >&6; }
  4681. fi
  4682. { echo "$as_me:$LINENO: checking for localtime_r" >&5
  4683. echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
  4684. if test "${ac_cv_func_localtime_r+set}" = set; then
  4685. echo $ECHO_N "(cached) $ECHO_C" >&6
  4686. else
  4687. mirsave_CPPFLAGS=$CPPFLAGS
  4688. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  4689. cat >conftest.$ac_ext <<_ACEOF
  4690. /* confdefs.h. */
  4691. _ACEOF
  4692. cat confdefs.h >>conftest.$ac_ext
  4693. cat >>conftest.$ac_ext <<_ACEOF
  4694. /* end confdefs.h. */
  4695. /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
  4696. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  4697. #define localtime_r innocuous_localtime_r
  4698. /* System header to define __stub macros and hopefully few prototypes,
  4699. which can conflict with char localtime_r (); below.
  4700. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4701. <limits.h> exists even on freestanding compilers. */
  4702. #ifdef __STDC__
  4703. # include <limits.h>
  4704. #else
  4705. # include <assert.h>
  4706. #endif
  4707. #undef localtime_r
  4708. /* Override any GCC internal prototype to avoid an error.
  4709. Use char because int might match the return type of a GCC
  4710. builtin and then its argument prototype would still apply. */
  4711. #ifdef __cplusplus
  4712. extern "C"
  4713. #endif
  4714. char localtime_r ();
  4715. /* The GNU C library defines this for functions which it implements
  4716. to always fail with ENOSYS. Some functions are actually named
  4717. something starting with __ and the normal name is an alias. */
  4718. #if defined __stub_localtime_r || defined __stub___localtime_r
  4719. choke me
  4720. #endif
  4721. int
  4722. main ()
  4723. {
  4724. return localtime_r ();
  4725. ;
  4726. return 0;
  4727. }
  4728. _ACEOF
  4729. rm -f conftest.$ac_objext conftest$ac_exeext
  4730. if { (ac_try="$ac_link"
  4731. case "(($ac_try" in
  4732. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4733. *) ac_try_echo=$ac_try;;
  4734. esac
  4735. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4736. (eval "$ac_link") 2>conftest.er1
  4737. ac_status=$?
  4738. grep -v '^ *+' conftest.er1 >conftest.err
  4739. rm -f conftest.er1
  4740. cat conftest.err >&5
  4741. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4742. (exit $ac_status); } && {
  4743. test -z "$ac_c_werror_flag" ||
  4744. test ! -s conftest.err
  4745. } && test -s conftest$ac_exeext &&
  4746. $as_test_x conftest$ac_exeext; then
  4747. ac_cv_func_localtime_r=yes
  4748. else
  4749. echo "$as_me: failed program was:" >&5
  4750. sed 's/^/| /' conftest.$ac_ext >&5
  4751. ac_cv_func_localtime_r=no
  4752. fi
  4753. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  4754. conftest$ac_exeext conftest.$ac_ext
  4755. fi
  4756. { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
  4757. echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
  4758. CPPFLAGS=$mirsave_CPPFLAGS
  4759. if test $ac_cv_func_localtime_r = yes; then
  4760. { echo "$as_me:$LINENO: checking signature of localtime_r" >&5
  4761. echo $ECHO_N "checking signature of localtime_r... $ECHO_C" >&6; }
  4762. cat >conftest.$ac_ext <<_ACEOF
  4763. /* confdefs.h. */
  4764. _ACEOF
  4765. cat confdefs.h >>conftest.$ac_ext
  4766. cat >>conftest.$ac_ext <<_ACEOF
  4767. /* end confdefs.h. */
  4768. # include <time.h>
  4769. int
  4770. main ()
  4771. {
  4772. struct time *t;
  4773. struct tm *tm;
  4774. (void) localtime_r(t, tm)
  4775. ;
  4776. return 0;
  4777. }
  4778. _ACEOF
  4779. rm -f conftest.$ac_objext
  4780. if { (ac_try="$ac_compile"
  4781. case "(($ac_try" in
  4782. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4783. *) ac_try_echo=$ac_try;;
  4784. esac
  4785. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4786. (eval "$ac_compile") 2>conftest.er1
  4787. ac_status=$?
  4788. grep -v '^ *+' conftest.er1 >conftest.err
  4789. rm -f conftest.er1
  4790. cat conftest.err >&5
  4791. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4792. (exit $ac_status); } && {
  4793. test -z "$ac_c_werror_flag" ||
  4794. test ! -s conftest.err
  4795. } && test -s conftest.$ac_objext; then
  4796. { echo "$as_me:$LINENO: result: ok" >&5
  4797. echo "${ECHO_T}ok" >&6; }
  4798. cat >>confdefs.h <<\_ACEOF
  4799. #define HAVE_LOCALTIME_R 1
  4800. _ACEOF
  4801. else
  4802. echo "$as_me: failed program was:" >&5
  4803. sed 's/^/| /' conftest.$ac_ext >&5
  4804. { echo "$as_me:$LINENO: result: unrecognised" >&5
  4805. echo "${ECHO_T}unrecognised" >&6; }
  4806. fi
  4807. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4808. else
  4809. { echo "$as_me:$LINENO: result: no" >&5
  4810. echo "${ECHO_T}no" >&6; }
  4811. fi
  4812. SOCKET_LIB=
  4813. case "$host" in
  4814. *-solaris*) SOCKET_LIB="-lsocket -lnsl"
  4815. cat >>confdefs.h <<\_ACEOF
  4816. #define __EXTENSIONS__ 1
  4817. _ACEOF
  4818. if test "$GCC" = "yes"; then
  4819. # Set a GCC specific switch:
  4820. # This compiler switch makes Solaris thread-safe
  4821. PTHREAD_LIB=
  4822. SPECIAL_CFLAGS="-pthreads"
  4823. else
  4824. # What do we do without GCC? Guess this:
  4825. SPECIAL_CFLAGS="-D_REENTRANT"
  4826. fi
  4827. ;;
  4828. esac
  4829. { echo "$as_me:$LINENO: checking for socklen_t" >&5
  4830. echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
  4831. cat >conftest.$ac_ext <<_ACEOF
  4832. /* confdefs.h. */
  4833. _ACEOF
  4834. cat confdefs.h >>conftest.$ac_ext
  4835. cat >>conftest.$ac_ext <<_ACEOF
  4836. /* end confdefs.h. */
  4837. #include <sys/socket.h>
  4838. _ACEOF
  4839. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4840. $EGREP "socklen_t" >/dev/null 2>&1; then
  4841. { echo "$as_me:$LINENO: result: yes" >&5
  4842. echo "${ECHO_T}yes" >&6; }
  4843. else
  4844. { echo "$as_me:$LINENO: result: no" >&5
  4845. echo "${ECHO_T}no" >&6; }
  4846. cat >>confdefs.h <<\_ACEOF
  4847. #define socklen_t int
  4848. _ACEOF
  4849. fi
  4850. rm -f conftest*
  4851. case "$host" in
  4852. *-os2-emx*) SOCKET_LIB=-lsocket
  4853. ;;
  4854. esac
  4855. case "$host" in
  4856. *-apple-darwin*) SPECIAL_CFLAGS="-Dunix -DOSX_DARWIN"
  4857. ;;
  4858. esac
  4859. case "$host" in
  4860. *-openbsd*) SPECIAL_CFLAGS="$SPECIAL_CFLAGS -Dunix"
  4861. ;;
  4862. esac
  4863. AMIGAOS_ONLY=#
  4864. case "$host" in
  4865. *-amigaos) AMIGAOS_ONLY=
  4866. ;;
  4867. esac
  4868. { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4869. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  4870. if test "${ac_cv_header_stdc+set}" = set; then
  4871. echo $ECHO_N "(cached) $ECHO_C" >&6
  4872. else
  4873. cat >conftest.$ac_ext <<_ACEOF
  4874. /* confdefs.h. */
  4875. _ACEOF
  4876. cat confdefs.h >>conftest.$ac_ext
  4877. cat >>conftest.$ac_ext <<_ACEOF
  4878. /* end confdefs.h. */
  4879. #include <stdlib.h>
  4880. #include <stdarg.h>
  4881. #include <string.h>
  4882. #include <float.h>
  4883. int
  4884. main ()
  4885. {
  4886. ;
  4887. return 0;
  4888. }
  4889. _ACEOF
  4890. rm -f conftest.$ac_objext
  4891. if { (ac_try="$ac_compile"
  4892. case "(($ac_try" in
  4893. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4894. *) ac_try_echo=$ac_try;;
  4895. esac
  4896. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4897. (eval "$ac_compile") 2>conftest.er1
  4898. ac_status=$?
  4899. grep -v '^ *+' conftest.er1 >conftest.err
  4900. rm -f conftest.er1
  4901. cat conftest.err >&5
  4902. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4903. (exit $ac_status); } && {
  4904. test -z "$ac_c_werror_flag" ||
  4905. test ! -s conftest.err
  4906. } && test -s conftest.$ac_objext; then
  4907. ac_cv_header_stdc=yes
  4908. else
  4909. echo "$as_me: failed program was:" >&5
  4910. sed 's/^/| /' conftest.$ac_ext >&5
  4911. ac_cv_header_stdc=no
  4912. fi
  4913. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4914. if test $ac_cv_header_stdc = yes; then
  4915. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4916. cat >conftest.$ac_ext <<_ACEOF
  4917. /* confdefs.h. */
  4918. _ACEOF
  4919. cat confdefs.h >>conftest.$ac_ext
  4920. cat >>conftest.$ac_ext <<_ACEOF
  4921. /* end confdefs.h. */
  4922. #include <string.h>
  4923. _ACEOF
  4924. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4925. $EGREP "memchr" >/dev/null 2>&1; then
  4926. :
  4927. else
  4928. ac_cv_header_stdc=no
  4929. fi
  4930. rm -f conftest*
  4931. fi
  4932. if test $ac_cv_header_stdc = yes; then
  4933. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4934. cat >conftest.$ac_ext <<_ACEOF
  4935. /* confdefs.h. */
  4936. _ACEOF
  4937. cat confdefs.h >>conftest.$ac_ext
  4938. cat >>conftest.$ac_ext <<_ACEOF
  4939. /* end confdefs.h. */
  4940. #include <stdlib.h>
  4941. _ACEOF
  4942. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4943. $EGREP "free" >/dev/null 2>&1; then
  4944. :
  4945. else
  4946. ac_cv_header_stdc=no
  4947. fi
  4948. rm -f conftest*
  4949. fi
  4950. if test $ac_cv_header_stdc = yes; then
  4951. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4952. if test "$cross_compiling" = yes; then
  4953. :
  4954. else
  4955. cat >conftest.$ac_ext <<_ACEOF
  4956. /* confdefs.h. */
  4957. _ACEOF
  4958. cat confdefs.h >>conftest.$ac_ext
  4959. cat >>conftest.$ac_ext <<_ACEOF
  4960. /* end confdefs.h. */
  4961. #include <ctype.h>
  4962. #include <stdlib.h>
  4963. #if ((' ' & 0x0FF) == 0x020)
  4964. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4965. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4966. #else
  4967. # define ISLOWER(c) \
  4968. (('a' <= (c) && (c) <= 'i') \
  4969. || ('j' <= (c) && (c) <= 'r') \
  4970. || ('s' <= (c) && (c) <= 'z'))
  4971. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4972. #endif
  4973. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4974. int
  4975. main ()
  4976. {
  4977. int i;
  4978. for (i = 0; i < 256; i++)
  4979. if (XOR (islower (i), ISLOWER (i))
  4980. || toupper (i) != TOUPPER (i))
  4981. return 2;
  4982. return 0;
  4983. }
  4984. _ACEOF
  4985. rm -f conftest$ac_exeext
  4986. if { (ac_try="$ac_link"
  4987. case "(($ac_try" in
  4988. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4989. *) ac_try_echo=$ac_try;;
  4990. esac
  4991. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4992. (eval "$ac_link") 2>&5
  4993. ac_status=$?
  4994. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4995. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4996. { (case "(($ac_try" in
  4997. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4998. *) ac_try_echo=$ac_try;;
  4999. esac
  5000. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5001. (eval "$ac_try") 2>&5
  5002. ac_status=$?
  5003. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5004. (exit $ac_status); }; }; then
  5005. :
  5006. else
  5007. echo "$as_me: program exited with status $ac_status" >&5
  5008. echo "$as_me: failed program was:" >&5
  5009. sed 's/^/| /' conftest.$ac_ext >&5
  5010. ( exit $ac_status )
  5011. ac_cv_header_stdc=no
  5012. fi
  5013. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5014. fi
  5015. fi
  5016. fi
  5017. { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5018. echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  5019. if test $ac_cv_header_stdc = yes; then
  5020. cat >>confdefs.h <<\_ACEOF
  5021. #define STDC_HEADERS 1
  5022. _ACEOF
  5023. fi
  5024. ac_header_dirent=no
  5025. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  5026. as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  5027. { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  5028. echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
  5029. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5030. echo $ECHO_N "(cached) $ECHO_C" >&6
  5031. else
  5032. cat >conftest.$ac_ext <<_ACEOF
  5033. /* confdefs.h. */
  5034. _ACEOF
  5035. cat confdefs.h >>conftest.$ac_ext
  5036. cat >>conftest.$ac_ext <<_ACEOF
  5037. /* end confdefs.h. */
  5038. #include <sys/types.h>
  5039. #include <$ac_hdr>
  5040. int
  5041. main ()
  5042. {
  5043. if ((DIR *) 0)
  5044. return 0;
  5045. ;
  5046. return 0;
  5047. }
  5048. _ACEOF
  5049. rm -f conftest.$ac_objext
  5050. if { (ac_try="$ac_compile"
  5051. case "(($ac_try" in
  5052. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5053. *) ac_try_echo=$ac_try;;
  5054. esac
  5055. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5056. (eval "$ac_compile") 2>conftest.er1
  5057. ac_status=$?
  5058. grep -v '^ *+' conftest.er1 >conftest.err
  5059. rm -f conftest.er1
  5060. cat conftest.err >&5
  5061. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5062. (exit $ac_status); } && {
  5063. test -z "$ac_c_werror_flag" ||
  5064. test ! -s conftest.err
  5065. } && test -s conftest.$ac_objext; then
  5066. eval "$as_ac_Header=yes"
  5067. else
  5068. echo "$as_me: failed program was:" >&5
  5069. sed 's/^/| /' conftest.$ac_ext >&5
  5070. eval "$as_ac_Header=no"
  5071. fi
  5072. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5073. fi
  5074. ac_res=`eval echo '${'$as_ac_Header'}'`
  5075. { echo "$as_me:$LINENO: result: $ac_res" >&5
  5076. echo "${ECHO_T}$ac_res" >&6; }
  5077. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5078. cat >>confdefs.h <<_ACEOF
  5079. #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  5080. _ACEOF
  5081. ac_header_dirent=$ac_hdr; break
  5082. fi
  5083. done
  5084. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  5085. if test $ac_header_dirent = dirent.h; then
  5086. { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  5087. echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  5088. if test "${ac_cv_search_opendir+set}" = set; then
  5089. echo $ECHO_N "(cached) $ECHO_C" >&6
  5090. else
  5091. ac_func_search_save_LIBS=$LIBS
  5092. cat >conftest.$ac_ext <<_ACEOF
  5093. /* confdefs.h. */
  5094. _ACEOF
  5095. cat confdefs.h >>conftest.$ac_ext
  5096. cat >>conftest.$ac_ext <<_ACEOF
  5097. /* end confdefs.h. */
  5098. /* Override any GCC internal prototype to avoid an error.
  5099. Use char because int might match the return type of a GCC
  5100. builtin and then its argument prototype would still apply. */
  5101. #ifdef __cplusplus
  5102. extern "C"
  5103. #endif
  5104. char opendir ();
  5105. int
  5106. main ()
  5107. {
  5108. return opendir ();
  5109. ;
  5110. return 0;
  5111. }
  5112. _ACEOF
  5113. for ac_lib in '' dir; do
  5114. if test -z "$ac_lib"; then
  5115. ac_res="none required"
  5116. else
  5117. ac_res=-l$ac_lib
  5118. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  5119. fi
  5120. rm -f conftest.$ac_objext conftest$ac_exeext
  5121. if { (ac_try="$ac_link"
  5122. case "(($ac_try" in
  5123. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5124. *) ac_try_echo=$ac_try;;
  5125. esac
  5126. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5127. (eval "$ac_link") 2>conftest.er1
  5128. ac_status=$?
  5129. grep -v '^ *+' conftest.er1 >conftest.err
  5130. rm -f conftest.er1
  5131. cat conftest.err >&5
  5132. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5133. (exit $ac_status); } && {
  5134. test -z "$ac_c_werror_flag" ||
  5135. test ! -s conftest.err
  5136. } && test -s conftest$ac_exeext &&
  5137. $as_test_x conftest$ac_exeext; then
  5138. ac_cv_search_opendir=$ac_res
  5139. else
  5140. echo "$as_me: failed program was:" >&5
  5141. sed 's/^/| /' conftest.$ac_ext >&5
  5142. fi
  5143. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5144. conftest$ac_exeext
  5145. if test "${ac_cv_search_opendir+set}" = set; then
  5146. break
  5147. fi
  5148. done
  5149. if test "${ac_cv_search_opendir+set}" = set; then
  5150. :
  5151. else
  5152. ac_cv_search_opendir=no
  5153. fi
  5154. rm conftest.$ac_ext
  5155. LIBS=$ac_func_search_save_LIBS
  5156. fi
  5157. { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  5158. echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  5159. ac_res=$ac_cv_search_opendir
  5160. if test "$ac_res" != no; then
  5161. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  5162. fi
  5163. else
  5164. { echo "$as_me:$LINENO: checking for library containing opendir" >&5
  5165. echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
  5166. if test "${ac_cv_search_opendir+set}" = set; then
  5167. echo $ECHO_N "(cached) $ECHO_C" >&6
  5168. else
  5169. ac_func_search_save_LIBS=$LIBS
  5170. cat >conftest.$ac_ext <<_ACEOF
  5171. /* confdefs.h. */
  5172. _ACEOF
  5173. cat confdefs.h >>conftest.$ac_ext
  5174. cat >>conftest.$ac_ext <<_ACEOF
  5175. /* end confdefs.h. */
  5176. /* Override any GCC internal prototype to avoid an error.
  5177. Use char because int might match the return type of a GCC
  5178. builtin and then its argument prototype would still apply. */
  5179. #ifdef __cplusplus
  5180. extern "C"
  5181. #endif
  5182. char opendir ();
  5183. int
  5184. main ()
  5185. {
  5186. return opendir ();
  5187. ;
  5188. return 0;
  5189. }
  5190. _ACEOF
  5191. for ac_lib in '' x; do
  5192. if test -z "$ac_lib"; then
  5193. ac_res="none required"
  5194. else
  5195. ac_res=-l$ac_lib
  5196. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  5197. fi
  5198. rm -f conftest.$ac_objext conftest$ac_exeext
  5199. if { (ac_try="$ac_link"
  5200. case "(($ac_try" in
  5201. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5202. *) ac_try_echo=$ac_try;;
  5203. esac
  5204. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5205. (eval "$ac_link") 2>conftest.er1
  5206. ac_status=$?
  5207. grep -v '^ *+' conftest.er1 >conftest.err
  5208. rm -f conftest.er1
  5209. cat conftest.err >&5
  5210. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5211. (exit $ac_status); } && {
  5212. test -z "$ac_c_werror_flag" ||
  5213. test ! -s conftest.err
  5214. } && test -s conftest$ac_exeext &&
  5215. $as_test_x conftest$ac_exeext; then
  5216. ac_cv_search_opendir=$ac_res
  5217. else
  5218. echo "$as_me: failed program was:" >&5
  5219. sed 's/^/| /' conftest.$ac_ext >&5
  5220. fi
  5221. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5222. conftest$ac_exeext
  5223. if test "${ac_cv_search_opendir+set}" = set; then
  5224. break
  5225. fi
  5226. done
  5227. if test "${ac_cv_search_opendir+set}" = set; then
  5228. :
  5229. else
  5230. ac_cv_search_opendir=no
  5231. fi
  5232. rm conftest.$ac_ext
  5233. LIBS=$ac_func_search_save_LIBS
  5234. fi
  5235. { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  5236. echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
  5237. ac_res=$ac_cv_search_opendir
  5238. if test "$ac_res" != no; then
  5239. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  5240. fi
  5241. fi
  5242. { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
  5243. echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
  5244. if test "${ac_cv_c_const+set}" = set; then
  5245. echo $ECHO_N "(cached) $ECHO_C" >&6
  5246. else
  5247. cat >conftest.$ac_ext <<_ACEOF
  5248. /* confdefs.h. */
  5249. _ACEOF
  5250. cat confdefs.h >>conftest.$ac_ext
  5251. cat >>conftest.$ac_ext <<_ACEOF
  5252. /* end confdefs.h. */
  5253. int
  5254. main ()
  5255. {
  5256. /* FIXME: Include the comments suggested by Paul. */
  5257. #ifndef __cplusplus
  5258. /* Ultrix mips cc rejects this. */
  5259. typedef int charset[2];
  5260. const charset cs;
  5261. /* SunOS 4.1.1 cc rejects this. */
  5262. char const *const *pcpcc;
  5263. char **ppc;
  5264. /* NEC SVR4.0.2 mips cc rejects this. */
  5265. struct point {int x, y;};
  5266. static struct point const zero = {0,0};
  5267. /* AIX XL C 1.02.0.0 rejects this.
  5268. It does not let you subtract one const X* pointer from another in
  5269. an arm of an if-expression whose if-part is not a constant
  5270. expression */
  5271. const char *g = "string";
  5272. pcpcc = &g + (g ? g-g : 0);
  5273. /* HPUX 7.0 cc rejects these. */
  5274. ++pcpcc;
  5275. ppc = (char**) pcpcc;
  5276. pcpcc = (char const *const *) ppc;
  5277. { /* SCO 3.2v4 cc rejects this. */
  5278. char *t;
  5279. char const *s = 0 ? (char *) 0 : (char const *) 0;
  5280. *t++ = 0;
  5281. if (s) return 0;
  5282. }
  5283. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  5284. int x[] = {25, 17};
  5285. const int *foo = &x[0];
  5286. ++foo;
  5287. }
  5288. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  5289. typedef const int *iptr;
  5290. iptr p = 0;
  5291. ++p;
  5292. }
  5293. { /* AIX XL C 1.02.0.0 rejects this saying
  5294. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  5295. struct s { int j; const int *ap[3]; };
  5296. struct s *b; b->j = 5;
  5297. }
  5298. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  5299. const int foo = 10;
  5300. if (!foo) return 0;
  5301. }
  5302. return !cs[0] && !zero.x;
  5303. #endif
  5304. ;
  5305. return 0;
  5306. }
  5307. _ACEOF
  5308. rm -f conftest.$ac_objext
  5309. if { (ac_try="$ac_compile"
  5310. case "(($ac_try" in
  5311. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5312. *) ac_try_echo=$ac_try;;
  5313. esac
  5314. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5315. (eval "$ac_compile") 2>conftest.er1
  5316. ac_status=$?
  5317. grep -v '^ *+' conftest.er1 >conftest.err
  5318. rm -f conftest.er1
  5319. cat conftest.err >&5
  5320. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5321. (exit $ac_status); } && {
  5322. test -z "$ac_c_werror_flag" ||
  5323. test ! -s conftest.err
  5324. } && test -s conftest.$ac_objext; then
  5325. ac_cv_c_const=yes
  5326. else
  5327. echo "$as_me: failed program was:" >&5
  5328. sed 's/^/| /' conftest.$ac_ext >&5
  5329. ac_cv_c_const=no
  5330. fi
  5331. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5332. fi
  5333. { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
  5334. echo "${ECHO_T}$ac_cv_c_const" >&6; }
  5335. if test $ac_cv_c_const = no; then
  5336. cat >>confdefs.h <<\_ACEOF
  5337. #define const
  5338. _ACEOF
  5339. fi
  5340. { echo "$as_me:$LINENO: checking for size_t" >&5
  5341. echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  5342. if test "${ac_cv_type_size_t+set}" = set; then
  5343. echo $ECHO_N "(cached) $ECHO_C" >&6
  5344. else
  5345. cat >conftest.$ac_ext <<_ACEOF
  5346. /* confdefs.h. */
  5347. _ACEOF
  5348. cat confdefs.h >>conftest.$ac_ext
  5349. cat >>conftest.$ac_ext <<_ACEOF
  5350. /* end confdefs.h. */
  5351. $ac_includes_default
  5352. typedef size_t ac__type_new_;
  5353. int
  5354. main ()
  5355. {
  5356. if ((ac__type_new_ *) 0)
  5357. return 0;
  5358. if (sizeof (ac__type_new_))
  5359. return 0;
  5360. ;
  5361. return 0;
  5362. }
  5363. _ACEOF
  5364. rm -f conftest.$ac_objext
  5365. if { (ac_try="$ac_compile"
  5366. case "(($ac_try" in
  5367. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5368. *) ac_try_echo=$ac_try;;
  5369. esac
  5370. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5371. (eval "$ac_compile") 2>conftest.er1
  5372. ac_status=$?
  5373. grep -v '^ *+' conftest.er1 >conftest.err
  5374. rm -f conftest.er1
  5375. cat conftest.err >&5
  5376. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5377. (exit $ac_status); } && {
  5378. test -z "$ac_c_werror_flag" ||
  5379. test ! -s conftest.err
  5380. } && test -s conftest.$ac_objext; then
  5381. ac_cv_type_size_t=yes
  5382. else
  5383. echo "$as_me: failed program was:" >&5
  5384. sed 's/^/| /' conftest.$ac_ext >&5
  5385. ac_cv_type_size_t=no
  5386. fi
  5387. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5388. fi
  5389. { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  5390. echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  5391. if test $ac_cv_type_size_t = yes; then
  5392. :
  5393. else
  5394. cat >>confdefs.h <<_ACEOF
  5395. #define size_t unsigned int
  5396. _ACEOF
  5397. fi
  5398. { echo "$as_me:$LINENO: checking for pid_t" >&5
  5399. echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
  5400. if test "${ac_cv_type_pid_t+set}" = set; then
  5401. echo $ECHO_N "(cached) $ECHO_C" >&6
  5402. else
  5403. cat >conftest.$ac_ext <<_ACEOF
  5404. /* confdefs.h. */
  5405. _ACEOF
  5406. cat confdefs.h >>conftest.$ac_ext
  5407. cat >>conftest.$ac_ext <<_ACEOF
  5408. /* end confdefs.h. */
  5409. $ac_includes_default
  5410. typedef pid_t ac__type_new_;
  5411. int
  5412. main ()
  5413. {
  5414. if ((ac__type_new_ *) 0)
  5415. return 0;
  5416. if (sizeof (ac__type_new_))
  5417. return 0;
  5418. ;
  5419. return 0;
  5420. }
  5421. _ACEOF
  5422. rm -f conftest.$ac_objext
  5423. if { (ac_try="$ac_compile"
  5424. case "(($ac_try" in
  5425. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5426. *) ac_try_echo=$ac_try;;
  5427. esac
  5428. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5429. (eval "$ac_compile") 2>conftest.er1
  5430. ac_status=$?
  5431. grep -v '^ *+' conftest.er1 >conftest.err
  5432. rm -f conftest.er1
  5433. cat conftest.err >&5
  5434. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5435. (exit $ac_status); } && {
  5436. test -z "$ac_c_werror_flag" ||
  5437. test ! -s conftest.err
  5438. } && test -s conftest.$ac_objext; then
  5439. ac_cv_type_pid_t=yes
  5440. else
  5441. echo "$as_me: failed program was:" >&5
  5442. sed 's/^/| /' conftest.$ac_ext >&5
  5443. ac_cv_type_pid_t=no
  5444. fi
  5445. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5446. fi
  5447. { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
  5448. echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
  5449. if test $ac_cv_type_pid_t = yes; then
  5450. :
  5451. else
  5452. cat >>confdefs.h <<_ACEOF
  5453. #define pid_t int
  5454. _ACEOF
  5455. fi
  5456. { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
  5457. echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
  5458. if test "${ac_cv_header_time+set}" = set; then
  5459. echo $ECHO_N "(cached) $ECHO_C" >&6
  5460. else
  5461. cat >conftest.$ac_ext <<_ACEOF
  5462. /* confdefs.h. */
  5463. _ACEOF
  5464. cat confdefs.h >>conftest.$ac_ext
  5465. cat >>conftest.$ac_ext <<_ACEOF
  5466. /* end confdefs.h. */
  5467. #include <sys/types.h>
  5468. #include <sys/time.h>
  5469. #include <time.h>
  5470. int
  5471. main ()
  5472. {
  5473. if ((struct tm *) 0)
  5474. return 0;
  5475. ;
  5476. return 0;
  5477. }
  5478. _ACEOF
  5479. rm -f conftest.$ac_objext
  5480. if { (ac_try="$ac_compile"
  5481. case "(($ac_try" in
  5482. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5483. *) ac_try_echo=$ac_try;;
  5484. esac
  5485. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5486. (eval "$ac_compile") 2>conftest.er1
  5487. ac_status=$?
  5488. grep -v '^ *+' conftest.er1 >conftest.err
  5489. rm -f conftest.er1
  5490. cat conftest.err >&5
  5491. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5492. (exit $ac_status); } && {
  5493. test -z "$ac_c_werror_flag" ||
  5494. test ! -s conftest.err
  5495. } && test -s conftest.$ac_objext; then
  5496. ac_cv_header_time=yes
  5497. else
  5498. echo "$as_me: failed program was:" >&5
  5499. sed 's/^/| /' conftest.$ac_ext >&5
  5500. ac_cv_header_time=no
  5501. fi
  5502. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5503. fi
  5504. { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
  5505. echo "${ECHO_T}$ac_cv_header_time" >&6; }
  5506. if test $ac_cv_header_time = yes; then
  5507. cat >>confdefs.h <<\_ACEOF
  5508. #define TIME_WITH_SYS_TIME 1
  5509. _ACEOF
  5510. fi
  5511. { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
  5512. echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
  5513. if test "${ac_cv_struct_tm+set}" = set; then
  5514. echo $ECHO_N "(cached) $ECHO_C" >&6
  5515. else
  5516. cat >conftest.$ac_ext <<_ACEOF
  5517. /* confdefs.h. */
  5518. _ACEOF
  5519. cat confdefs.h >>conftest.$ac_ext
  5520. cat >>conftest.$ac_ext <<_ACEOF
  5521. /* end confdefs.h. */
  5522. #include <sys/types.h>
  5523. #include <time.h>
  5524. int
  5525. main ()
  5526. {
  5527. struct tm tm;
  5528. int *p = &tm.tm_sec;
  5529. return !p;
  5530. ;
  5531. return 0;
  5532. }
  5533. _ACEOF
  5534. rm -f conftest.$ac_objext
  5535. if { (ac_try="$ac_compile"
  5536. case "(($ac_try" in
  5537. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5538. *) ac_try_echo=$ac_try;;
  5539. esac
  5540. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5541. (eval "$ac_compile") 2>conftest.er1
  5542. ac_status=$?
  5543. grep -v '^ *+' conftest.er1 >conftest.err
  5544. rm -f conftest.er1
  5545. cat conftest.err >&5
  5546. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5547. (exit $ac_status); } && {
  5548. test -z "$ac_c_werror_flag" ||
  5549. test ! -s conftest.err
  5550. } && test -s conftest.$ac_objext; then
  5551. ac_cv_struct_tm=time.h
  5552. else
  5553. echo "$as_me: failed program was:" >&5
  5554. sed 's/^/| /' conftest.$ac_ext >&5
  5555. ac_cv_struct_tm=sys/time.h
  5556. fi
  5557. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5558. fi
  5559. { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
  5560. echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
  5561. if test $ac_cv_struct_tm = sys/time.h; then
  5562. cat >>confdefs.h <<\_ACEOF
  5563. #define TM_IN_SYS_TIME 1
  5564. _ACEOF
  5565. fi
  5566. { echo "$as_me:$LINENO: checking for int" >&5
  5567. echo $ECHO_N "checking for int... $ECHO_C" >&6; }
  5568. if test "${ac_cv_type_int+set}" = set; then
  5569. echo $ECHO_N "(cached) $ECHO_C" >&6
  5570. else
  5571. cat >conftest.$ac_ext <<_ACEOF
  5572. /* confdefs.h. */
  5573. _ACEOF
  5574. cat confdefs.h >>conftest.$ac_ext
  5575. cat >>conftest.$ac_ext <<_ACEOF
  5576. /* end confdefs.h. */
  5577. $ac_includes_default
  5578. typedef int ac__type_new_;
  5579. int
  5580. main ()
  5581. {
  5582. if ((ac__type_new_ *) 0)
  5583. return 0;
  5584. if (sizeof (ac__type_new_))
  5585. return 0;
  5586. ;
  5587. return 0;
  5588. }
  5589. _ACEOF
  5590. rm -f conftest.$ac_objext
  5591. if { (ac_try="$ac_compile"
  5592. case "(($ac_try" in
  5593. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5594. *) ac_try_echo=$ac_try;;
  5595. esac
  5596. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5597. (eval "$ac_compile") 2>conftest.er1
  5598. ac_status=$?
  5599. grep -v '^ *+' conftest.er1 >conftest.err
  5600. rm -f conftest.er1
  5601. cat conftest.err >&5
  5602. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5603. (exit $ac_status); } && {
  5604. test -z "$ac_c_werror_flag" ||
  5605. test ! -s conftest.err
  5606. } && test -s conftest.$ac_objext; then
  5607. ac_cv_type_int=yes
  5608. else
  5609. echo "$as_me: failed program was:" >&5
  5610. sed 's/^/| /' conftest.$ac_ext >&5
  5611. ac_cv_type_int=no
  5612. fi
  5613. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5614. fi
  5615. { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  5616. echo "${ECHO_T}$ac_cv_type_int" >&6; }
  5617. # The cast to long int works around a bug in the HP C Compiler
  5618. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5619. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5620. # This bug is HP SR number 8606223364.
  5621. { echo "$as_me:$LINENO: checking size of int" >&5
  5622. echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
  5623. if test "${ac_cv_sizeof_int+set}" = set; then
  5624. echo $ECHO_N "(cached) $ECHO_C" >&6
  5625. else
  5626. if test "$cross_compiling" = yes; then
  5627. # Depending upon the size, compute the lo and hi bounds.
  5628. cat >conftest.$ac_ext <<_ACEOF
  5629. /* confdefs.h. */
  5630. _ACEOF
  5631. cat confdefs.h >>conftest.$ac_ext
  5632. cat >>conftest.$ac_ext <<_ACEOF
  5633. /* end confdefs.h. */
  5634. $ac_includes_default
  5635. typedef int ac__type_sizeof_;
  5636. int
  5637. main ()
  5638. {
  5639. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  5640. test_array [0] = 0
  5641. ;
  5642. return 0;
  5643. }
  5644. _ACEOF
  5645. rm -f conftest.$ac_objext
  5646. if { (ac_try="$ac_compile"
  5647. case "(($ac_try" in
  5648. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5649. *) ac_try_echo=$ac_try;;
  5650. esac
  5651. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5652. (eval "$ac_compile") 2>conftest.er1
  5653. ac_status=$?
  5654. grep -v '^ *+' conftest.er1 >conftest.err
  5655. rm -f conftest.er1
  5656. cat conftest.err >&5
  5657. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5658. (exit $ac_status); } && {
  5659. test -z "$ac_c_werror_flag" ||
  5660. test ! -s conftest.err
  5661. } && test -s conftest.$ac_objext; then
  5662. ac_lo=0 ac_mid=0
  5663. while :; do
  5664. cat >conftest.$ac_ext <<_ACEOF
  5665. /* confdefs.h. */
  5666. _ACEOF
  5667. cat confdefs.h >>conftest.$ac_ext
  5668. cat >>conftest.$ac_ext <<_ACEOF
  5669. /* end confdefs.h. */
  5670. $ac_includes_default
  5671. typedef int ac__type_sizeof_;
  5672. int
  5673. main ()
  5674. {
  5675. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5676. test_array [0] = 0
  5677. ;
  5678. return 0;
  5679. }
  5680. _ACEOF
  5681. rm -f conftest.$ac_objext
  5682. if { (ac_try="$ac_compile"
  5683. case "(($ac_try" in
  5684. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5685. *) ac_try_echo=$ac_try;;
  5686. esac
  5687. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5688. (eval "$ac_compile") 2>conftest.er1
  5689. ac_status=$?
  5690. grep -v '^ *+' conftest.er1 >conftest.err
  5691. rm -f conftest.er1
  5692. cat conftest.err >&5
  5693. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5694. (exit $ac_status); } && {
  5695. test -z "$ac_c_werror_flag" ||
  5696. test ! -s conftest.err
  5697. } && test -s conftest.$ac_objext; then
  5698. ac_hi=$ac_mid; break
  5699. else
  5700. echo "$as_me: failed program was:" >&5
  5701. sed 's/^/| /' conftest.$ac_ext >&5
  5702. ac_lo=`expr $ac_mid + 1`
  5703. if test $ac_lo -le $ac_mid; then
  5704. ac_lo= ac_hi=
  5705. break
  5706. fi
  5707. ac_mid=`expr 2 '*' $ac_mid + 1`
  5708. fi
  5709. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5710. done
  5711. else
  5712. echo "$as_me: failed program was:" >&5
  5713. sed 's/^/| /' conftest.$ac_ext >&5
  5714. cat >conftest.$ac_ext <<_ACEOF
  5715. /* confdefs.h. */
  5716. _ACEOF
  5717. cat confdefs.h >>conftest.$ac_ext
  5718. cat >>conftest.$ac_ext <<_ACEOF
  5719. /* end confdefs.h. */
  5720. $ac_includes_default
  5721. typedef int ac__type_sizeof_;
  5722. int
  5723. main ()
  5724. {
  5725. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  5726. test_array [0] = 0
  5727. ;
  5728. return 0;
  5729. }
  5730. _ACEOF
  5731. rm -f conftest.$ac_objext
  5732. if { (ac_try="$ac_compile"
  5733. case "(($ac_try" in
  5734. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5735. *) ac_try_echo=$ac_try;;
  5736. esac
  5737. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5738. (eval "$ac_compile") 2>conftest.er1
  5739. ac_status=$?
  5740. grep -v '^ *+' conftest.er1 >conftest.err
  5741. rm -f conftest.er1
  5742. cat conftest.err >&5
  5743. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5744. (exit $ac_status); } && {
  5745. test -z "$ac_c_werror_flag" ||
  5746. test ! -s conftest.err
  5747. } && test -s conftest.$ac_objext; then
  5748. ac_hi=-1 ac_mid=-1
  5749. while :; do
  5750. cat >conftest.$ac_ext <<_ACEOF
  5751. /* confdefs.h. */
  5752. _ACEOF
  5753. cat confdefs.h >>conftest.$ac_ext
  5754. cat >>conftest.$ac_ext <<_ACEOF
  5755. /* end confdefs.h. */
  5756. $ac_includes_default
  5757. typedef int ac__type_sizeof_;
  5758. int
  5759. main ()
  5760. {
  5761. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  5762. test_array [0] = 0
  5763. ;
  5764. return 0;
  5765. }
  5766. _ACEOF
  5767. rm -f conftest.$ac_objext
  5768. if { (ac_try="$ac_compile"
  5769. case "(($ac_try" in
  5770. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5771. *) ac_try_echo=$ac_try;;
  5772. esac
  5773. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5774. (eval "$ac_compile") 2>conftest.er1
  5775. ac_status=$?
  5776. grep -v '^ *+' conftest.er1 >conftest.err
  5777. rm -f conftest.er1
  5778. cat conftest.err >&5
  5779. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5780. (exit $ac_status); } && {
  5781. test -z "$ac_c_werror_flag" ||
  5782. test ! -s conftest.err
  5783. } && test -s conftest.$ac_objext; then
  5784. ac_lo=$ac_mid; break
  5785. else
  5786. echo "$as_me: failed program was:" >&5
  5787. sed 's/^/| /' conftest.$ac_ext >&5
  5788. ac_hi=`expr '(' $ac_mid ')' - 1`
  5789. if test $ac_mid -le $ac_hi; then
  5790. ac_lo= ac_hi=
  5791. break
  5792. fi
  5793. ac_mid=`expr 2 '*' $ac_mid`
  5794. fi
  5795. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5796. done
  5797. else
  5798. echo "$as_me: failed program was:" >&5
  5799. sed 's/^/| /' conftest.$ac_ext >&5
  5800. ac_lo= ac_hi=
  5801. fi
  5802. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5803. fi
  5804. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5805. # Binary search between lo and hi bounds.
  5806. while test "x$ac_lo" != "x$ac_hi"; do
  5807. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  5808. cat >conftest.$ac_ext <<_ACEOF
  5809. /* confdefs.h. */
  5810. _ACEOF
  5811. cat confdefs.h >>conftest.$ac_ext
  5812. cat >>conftest.$ac_ext <<_ACEOF
  5813. /* end confdefs.h. */
  5814. $ac_includes_default
  5815. typedef int ac__type_sizeof_;
  5816. int
  5817. main ()
  5818. {
  5819. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5820. test_array [0] = 0
  5821. ;
  5822. return 0;
  5823. }
  5824. _ACEOF
  5825. rm -f conftest.$ac_objext
  5826. if { (ac_try="$ac_compile"
  5827. case "(($ac_try" in
  5828. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5829. *) ac_try_echo=$ac_try;;
  5830. esac
  5831. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5832. (eval "$ac_compile") 2>conftest.er1
  5833. ac_status=$?
  5834. grep -v '^ *+' conftest.er1 >conftest.err
  5835. rm -f conftest.er1
  5836. cat conftest.err >&5
  5837. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5838. (exit $ac_status); } && {
  5839. test -z "$ac_c_werror_flag" ||
  5840. test ! -s conftest.err
  5841. } && test -s conftest.$ac_objext; then
  5842. ac_hi=$ac_mid
  5843. else
  5844. echo "$as_me: failed program was:" >&5
  5845. sed 's/^/| /' conftest.$ac_ext >&5
  5846. ac_lo=`expr '(' $ac_mid ')' + 1`
  5847. fi
  5848. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5849. done
  5850. case $ac_lo in
  5851. ?*) ac_cv_sizeof_int=$ac_lo;;
  5852. '') if test "$ac_cv_type_int" = yes; then
  5853. { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  5854. See \`config.log' for more details." >&5
  5855. echo "$as_me: error: cannot compute sizeof (int)
  5856. See \`config.log' for more details." >&2;}
  5857. { (exit 77); exit 77; }; }
  5858. else
  5859. ac_cv_sizeof_int=0
  5860. fi ;;
  5861. esac
  5862. else
  5863. cat >conftest.$ac_ext <<_ACEOF
  5864. /* confdefs.h. */
  5865. _ACEOF
  5866. cat confdefs.h >>conftest.$ac_ext
  5867. cat >>conftest.$ac_ext <<_ACEOF
  5868. /* end confdefs.h. */
  5869. $ac_includes_default
  5870. typedef int ac__type_sizeof_;
  5871. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5872. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5873. #include <stdio.h>
  5874. #include <stdlib.h>
  5875. int
  5876. main ()
  5877. {
  5878. FILE *f = fopen ("conftest.val", "w");
  5879. if (! f)
  5880. return 1;
  5881. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  5882. {
  5883. long int i = longval ();
  5884. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5885. return 1;
  5886. fprintf (f, "%ld\n", i);
  5887. }
  5888. else
  5889. {
  5890. unsigned long int i = ulongval ();
  5891. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5892. return 1;
  5893. fprintf (f, "%lu\n", i);
  5894. }
  5895. return ferror (f) || fclose (f) != 0;
  5896. ;
  5897. return 0;
  5898. }
  5899. _ACEOF
  5900. rm -f conftest$ac_exeext
  5901. if { (ac_try="$ac_link"
  5902. case "(($ac_try" in
  5903. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5904. *) ac_try_echo=$ac_try;;
  5905. esac
  5906. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5907. (eval "$ac_link") 2>&5
  5908. ac_status=$?
  5909. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5910. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5911. { (case "(($ac_try" in
  5912. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5913. *) ac_try_echo=$ac_try;;
  5914. esac
  5915. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5916. (eval "$ac_try") 2>&5
  5917. ac_status=$?
  5918. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5919. (exit $ac_status); }; }; then
  5920. ac_cv_sizeof_int=`cat conftest.val`
  5921. else
  5922. echo "$as_me: program exited with status $ac_status" >&5
  5923. echo "$as_me: failed program was:" >&5
  5924. sed 's/^/| /' conftest.$ac_ext >&5
  5925. ( exit $ac_status )
  5926. if test "$ac_cv_type_int" = yes; then
  5927. { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  5928. See \`config.log' for more details." >&5
  5929. echo "$as_me: error: cannot compute sizeof (int)
  5930. See \`config.log' for more details." >&2;}
  5931. { (exit 77); exit 77; }; }
  5932. else
  5933. ac_cv_sizeof_int=0
  5934. fi
  5935. fi
  5936. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5937. fi
  5938. rm -f conftest.val
  5939. fi
  5940. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  5941. echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
  5942. cat >>confdefs.h <<_ACEOF
  5943. #define SIZEOF_INT $ac_cv_sizeof_int
  5944. _ACEOF
  5945. { echo "$as_me:$LINENO: checking for char *" >&5
  5946. echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
  5947. if test "${ac_cv_type_char_p+set}" = set; then
  5948. echo $ECHO_N "(cached) $ECHO_C" >&6
  5949. else
  5950. cat >conftest.$ac_ext <<_ACEOF
  5951. /* confdefs.h. */
  5952. _ACEOF
  5953. cat confdefs.h >>conftest.$ac_ext
  5954. cat >>conftest.$ac_ext <<_ACEOF
  5955. /* end confdefs.h. */
  5956. $ac_includes_default
  5957. typedef char * ac__type_new_;
  5958. int
  5959. main ()
  5960. {
  5961. if ((ac__type_new_ *) 0)
  5962. return 0;
  5963. if (sizeof (ac__type_new_))
  5964. return 0;
  5965. ;
  5966. return 0;
  5967. }
  5968. _ACEOF
  5969. rm -f conftest.$ac_objext
  5970. if { (ac_try="$ac_compile"
  5971. case "(($ac_try" in
  5972. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5973. *) ac_try_echo=$ac_try;;
  5974. esac
  5975. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5976. (eval "$ac_compile") 2>conftest.er1
  5977. ac_status=$?
  5978. grep -v '^ *+' conftest.er1 >conftest.err
  5979. rm -f conftest.er1
  5980. cat conftest.err >&5
  5981. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5982. (exit $ac_status); } && {
  5983. test -z "$ac_c_werror_flag" ||
  5984. test ! -s conftest.err
  5985. } && test -s conftest.$ac_objext; then
  5986. ac_cv_type_char_p=yes
  5987. else
  5988. echo "$as_me: failed program was:" >&5
  5989. sed 's/^/| /' conftest.$ac_ext >&5
  5990. ac_cv_type_char_p=no
  5991. fi
  5992. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5993. fi
  5994. { echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
  5995. echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
  5996. # The cast to long int works around a bug in the HP C Compiler
  5997. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5998. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5999. # This bug is HP SR number 8606223364.
  6000. { echo "$as_me:$LINENO: checking size of char *" >&5
  6001. echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
  6002. if test "${ac_cv_sizeof_char_p+set}" = set; then
  6003. echo $ECHO_N "(cached) $ECHO_C" >&6
  6004. else
  6005. if test "$cross_compiling" = yes; then
  6006. # Depending upon the size, compute the lo and hi bounds.
  6007. cat >conftest.$ac_ext <<_ACEOF
  6008. /* confdefs.h. */
  6009. _ACEOF
  6010. cat confdefs.h >>conftest.$ac_ext
  6011. cat >>conftest.$ac_ext <<_ACEOF
  6012. /* end confdefs.h. */
  6013. $ac_includes_default
  6014. typedef char * ac__type_sizeof_;
  6015. int
  6016. main ()
  6017. {
  6018. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  6019. test_array [0] = 0
  6020. ;
  6021. return 0;
  6022. }
  6023. _ACEOF
  6024. rm -f conftest.$ac_objext
  6025. if { (ac_try="$ac_compile"
  6026. case "(($ac_try" in
  6027. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6028. *) ac_try_echo=$ac_try;;
  6029. esac
  6030. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6031. (eval "$ac_compile") 2>conftest.er1
  6032. ac_status=$?
  6033. grep -v '^ *+' conftest.er1 >conftest.err
  6034. rm -f conftest.er1
  6035. cat conftest.err >&5
  6036. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6037. (exit $ac_status); } && {
  6038. test -z "$ac_c_werror_flag" ||
  6039. test ! -s conftest.err
  6040. } && test -s conftest.$ac_objext; then
  6041. ac_lo=0 ac_mid=0
  6042. while :; do
  6043. cat >conftest.$ac_ext <<_ACEOF
  6044. /* confdefs.h. */
  6045. _ACEOF
  6046. cat confdefs.h >>conftest.$ac_ext
  6047. cat >>conftest.$ac_ext <<_ACEOF
  6048. /* end confdefs.h. */
  6049. $ac_includes_default
  6050. typedef char * ac__type_sizeof_;
  6051. int
  6052. main ()
  6053. {
  6054. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6055. test_array [0] = 0
  6056. ;
  6057. return 0;
  6058. }
  6059. _ACEOF
  6060. rm -f conftest.$ac_objext
  6061. if { (ac_try="$ac_compile"
  6062. case "(($ac_try" in
  6063. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6064. *) ac_try_echo=$ac_try;;
  6065. esac
  6066. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6067. (eval "$ac_compile") 2>conftest.er1
  6068. ac_status=$?
  6069. grep -v '^ *+' conftest.er1 >conftest.err
  6070. rm -f conftest.er1
  6071. cat conftest.err >&5
  6072. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6073. (exit $ac_status); } && {
  6074. test -z "$ac_c_werror_flag" ||
  6075. test ! -s conftest.err
  6076. } && test -s conftest.$ac_objext; then
  6077. ac_hi=$ac_mid; break
  6078. else
  6079. echo "$as_me: failed program was:" >&5
  6080. sed 's/^/| /' conftest.$ac_ext >&5
  6081. ac_lo=`expr $ac_mid + 1`
  6082. if test $ac_lo -le $ac_mid; then
  6083. ac_lo= ac_hi=
  6084. break
  6085. fi
  6086. ac_mid=`expr 2 '*' $ac_mid + 1`
  6087. fi
  6088. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6089. done
  6090. else
  6091. echo "$as_me: failed program was:" >&5
  6092. sed 's/^/| /' conftest.$ac_ext >&5
  6093. cat >conftest.$ac_ext <<_ACEOF
  6094. /* confdefs.h. */
  6095. _ACEOF
  6096. cat confdefs.h >>conftest.$ac_ext
  6097. cat >>conftest.$ac_ext <<_ACEOF
  6098. /* end confdefs.h. */
  6099. $ac_includes_default
  6100. typedef char * ac__type_sizeof_;
  6101. int
  6102. main ()
  6103. {
  6104. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  6105. test_array [0] = 0
  6106. ;
  6107. return 0;
  6108. }
  6109. _ACEOF
  6110. rm -f conftest.$ac_objext
  6111. if { (ac_try="$ac_compile"
  6112. case "(($ac_try" in
  6113. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6114. *) ac_try_echo=$ac_try;;
  6115. esac
  6116. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6117. (eval "$ac_compile") 2>conftest.er1
  6118. ac_status=$?
  6119. grep -v '^ *+' conftest.er1 >conftest.err
  6120. rm -f conftest.er1
  6121. cat conftest.err >&5
  6122. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6123. (exit $ac_status); } && {
  6124. test -z "$ac_c_werror_flag" ||
  6125. test ! -s conftest.err
  6126. } && test -s conftest.$ac_objext; then
  6127. ac_hi=-1 ac_mid=-1
  6128. while :; do
  6129. cat >conftest.$ac_ext <<_ACEOF
  6130. /* confdefs.h. */
  6131. _ACEOF
  6132. cat confdefs.h >>conftest.$ac_ext
  6133. cat >>conftest.$ac_ext <<_ACEOF
  6134. /* end confdefs.h. */
  6135. $ac_includes_default
  6136. typedef char * ac__type_sizeof_;
  6137. int
  6138. main ()
  6139. {
  6140. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  6141. test_array [0] = 0
  6142. ;
  6143. return 0;
  6144. }
  6145. _ACEOF
  6146. rm -f conftest.$ac_objext
  6147. if { (ac_try="$ac_compile"
  6148. case "(($ac_try" in
  6149. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6150. *) ac_try_echo=$ac_try;;
  6151. esac
  6152. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6153. (eval "$ac_compile") 2>conftest.er1
  6154. ac_status=$?
  6155. grep -v '^ *+' conftest.er1 >conftest.err
  6156. rm -f conftest.er1
  6157. cat conftest.err >&5
  6158. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6159. (exit $ac_status); } && {
  6160. test -z "$ac_c_werror_flag" ||
  6161. test ! -s conftest.err
  6162. } && test -s conftest.$ac_objext; then
  6163. ac_lo=$ac_mid; break
  6164. else
  6165. echo "$as_me: failed program was:" >&5
  6166. sed 's/^/| /' conftest.$ac_ext >&5
  6167. ac_hi=`expr '(' $ac_mid ')' - 1`
  6168. if test $ac_mid -le $ac_hi; then
  6169. ac_lo= ac_hi=
  6170. break
  6171. fi
  6172. ac_mid=`expr 2 '*' $ac_mid`
  6173. fi
  6174. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6175. done
  6176. else
  6177. echo "$as_me: failed program was:" >&5
  6178. sed 's/^/| /' conftest.$ac_ext >&5
  6179. ac_lo= ac_hi=
  6180. fi
  6181. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6182. fi
  6183. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6184. # Binary search between lo and hi bounds.
  6185. while test "x$ac_lo" != "x$ac_hi"; do
  6186. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6187. cat >conftest.$ac_ext <<_ACEOF
  6188. /* confdefs.h. */
  6189. _ACEOF
  6190. cat confdefs.h >>conftest.$ac_ext
  6191. cat >>conftest.$ac_ext <<_ACEOF
  6192. /* end confdefs.h. */
  6193. $ac_includes_default
  6194. typedef char * ac__type_sizeof_;
  6195. int
  6196. main ()
  6197. {
  6198. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6199. test_array [0] = 0
  6200. ;
  6201. return 0;
  6202. }
  6203. _ACEOF
  6204. rm -f conftest.$ac_objext
  6205. if { (ac_try="$ac_compile"
  6206. case "(($ac_try" in
  6207. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6208. *) ac_try_echo=$ac_try;;
  6209. esac
  6210. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6211. (eval "$ac_compile") 2>conftest.er1
  6212. ac_status=$?
  6213. grep -v '^ *+' conftest.er1 >conftest.err
  6214. rm -f conftest.er1
  6215. cat conftest.err >&5
  6216. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6217. (exit $ac_status); } && {
  6218. test -z "$ac_c_werror_flag" ||
  6219. test ! -s conftest.err
  6220. } && test -s conftest.$ac_objext; then
  6221. ac_hi=$ac_mid
  6222. else
  6223. echo "$as_me: failed program was:" >&5
  6224. sed 's/^/| /' conftest.$ac_ext >&5
  6225. ac_lo=`expr '(' $ac_mid ')' + 1`
  6226. fi
  6227. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6228. done
  6229. case $ac_lo in
  6230. ?*) ac_cv_sizeof_char_p=$ac_lo;;
  6231. '') if test "$ac_cv_type_char_p" = yes; then
  6232. { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
  6233. See \`config.log' for more details." >&5
  6234. echo "$as_me: error: cannot compute sizeof (char *)
  6235. See \`config.log' for more details." >&2;}
  6236. { (exit 77); exit 77; }; }
  6237. else
  6238. ac_cv_sizeof_char_p=0
  6239. fi ;;
  6240. esac
  6241. else
  6242. cat >conftest.$ac_ext <<_ACEOF
  6243. /* confdefs.h. */
  6244. _ACEOF
  6245. cat confdefs.h >>conftest.$ac_ext
  6246. cat >>conftest.$ac_ext <<_ACEOF
  6247. /* end confdefs.h. */
  6248. $ac_includes_default
  6249. typedef char * ac__type_sizeof_;
  6250. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6251. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6252. #include <stdio.h>
  6253. #include <stdlib.h>
  6254. int
  6255. main ()
  6256. {
  6257. FILE *f = fopen ("conftest.val", "w");
  6258. if (! f)
  6259. return 1;
  6260. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  6261. {
  6262. long int i = longval ();
  6263. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6264. return 1;
  6265. fprintf (f, "%ld\n", i);
  6266. }
  6267. else
  6268. {
  6269. unsigned long int i = ulongval ();
  6270. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6271. return 1;
  6272. fprintf (f, "%lu\n", i);
  6273. }
  6274. return ferror (f) || fclose (f) != 0;
  6275. ;
  6276. return 0;
  6277. }
  6278. _ACEOF
  6279. rm -f conftest$ac_exeext
  6280. if { (ac_try="$ac_link"
  6281. case "(($ac_try" in
  6282. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6283. *) ac_try_echo=$ac_try;;
  6284. esac
  6285. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6286. (eval "$ac_link") 2>&5
  6287. ac_status=$?
  6288. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6289. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6290. { (case "(($ac_try" in
  6291. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6292. *) ac_try_echo=$ac_try;;
  6293. esac
  6294. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6295. (eval "$ac_try") 2>&5
  6296. ac_status=$?
  6297. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6298. (exit $ac_status); }; }; then
  6299. ac_cv_sizeof_char_p=`cat conftest.val`
  6300. else
  6301. echo "$as_me: program exited with status $ac_status" >&5
  6302. echo "$as_me: failed program was:" >&5
  6303. sed 's/^/| /' conftest.$ac_ext >&5
  6304. ( exit $ac_status )
  6305. if test "$ac_cv_type_char_p" = yes; then
  6306. { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
  6307. See \`config.log' for more details." >&5
  6308. echo "$as_me: error: cannot compute sizeof (char *)
  6309. See \`config.log' for more details." >&2;}
  6310. { (exit 77); exit 77; }; }
  6311. else
  6312. ac_cv_sizeof_char_p=0
  6313. fi
  6314. fi
  6315. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6316. fi
  6317. rm -f conftest.val
  6318. fi
  6319. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
  6320. echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
  6321. cat >>confdefs.h <<_ACEOF
  6322. #define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
  6323. _ACEOF
  6324. { echo "$as_me:$LINENO: checking for long" >&5
  6325. echo $ECHO_N "checking for long... $ECHO_C" >&6; }
  6326. if test "${ac_cv_type_long+set}" = set; then
  6327. echo $ECHO_N "(cached) $ECHO_C" >&6
  6328. else
  6329. cat >conftest.$ac_ext <<_ACEOF
  6330. /* confdefs.h. */
  6331. _ACEOF
  6332. cat confdefs.h >>conftest.$ac_ext
  6333. cat >>conftest.$ac_ext <<_ACEOF
  6334. /* end confdefs.h. */
  6335. $ac_includes_default
  6336. typedef long ac__type_new_;
  6337. int
  6338. main ()
  6339. {
  6340. if ((ac__type_new_ *) 0)
  6341. return 0;
  6342. if (sizeof (ac__type_new_))
  6343. return 0;
  6344. ;
  6345. return 0;
  6346. }
  6347. _ACEOF
  6348. rm -f conftest.$ac_objext
  6349. if { (ac_try="$ac_compile"
  6350. case "(($ac_try" in
  6351. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6352. *) ac_try_echo=$ac_try;;
  6353. esac
  6354. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6355. (eval "$ac_compile") 2>conftest.er1
  6356. ac_status=$?
  6357. grep -v '^ *+' conftest.er1 >conftest.err
  6358. rm -f conftest.er1
  6359. cat conftest.err >&5
  6360. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6361. (exit $ac_status); } && {
  6362. test -z "$ac_c_werror_flag" ||
  6363. test ! -s conftest.err
  6364. } && test -s conftest.$ac_objext; then
  6365. ac_cv_type_long=yes
  6366. else
  6367. echo "$as_me: failed program was:" >&5
  6368. sed 's/^/| /' conftest.$ac_ext >&5
  6369. ac_cv_type_long=no
  6370. fi
  6371. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6372. fi
  6373. { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
  6374. echo "${ECHO_T}$ac_cv_type_long" >&6; }
  6375. # The cast to long int works around a bug in the HP C Compiler
  6376. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6377. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6378. # This bug is HP SR number 8606223364.
  6379. { echo "$as_me:$LINENO: checking size of long" >&5
  6380. echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
  6381. if test "${ac_cv_sizeof_long+set}" = set; then
  6382. echo $ECHO_N "(cached) $ECHO_C" >&6
  6383. else
  6384. if test "$cross_compiling" = yes; then
  6385. # Depending upon the size, compute the lo and hi bounds.
  6386. cat >conftest.$ac_ext <<_ACEOF
  6387. /* confdefs.h. */
  6388. _ACEOF
  6389. cat confdefs.h >>conftest.$ac_ext
  6390. cat >>conftest.$ac_ext <<_ACEOF
  6391. /* end confdefs.h. */
  6392. $ac_includes_default
  6393. typedef long ac__type_sizeof_;
  6394. int
  6395. main ()
  6396. {
  6397. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  6398. test_array [0] = 0
  6399. ;
  6400. return 0;
  6401. }
  6402. _ACEOF
  6403. rm -f conftest.$ac_objext
  6404. if { (ac_try="$ac_compile"
  6405. case "(($ac_try" in
  6406. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6407. *) ac_try_echo=$ac_try;;
  6408. esac
  6409. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6410. (eval "$ac_compile") 2>conftest.er1
  6411. ac_status=$?
  6412. grep -v '^ *+' conftest.er1 >conftest.err
  6413. rm -f conftest.er1
  6414. cat conftest.err >&5
  6415. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6416. (exit $ac_status); } && {
  6417. test -z "$ac_c_werror_flag" ||
  6418. test ! -s conftest.err
  6419. } && test -s conftest.$ac_objext; then
  6420. ac_lo=0 ac_mid=0
  6421. while :; do
  6422. cat >conftest.$ac_ext <<_ACEOF
  6423. /* confdefs.h. */
  6424. _ACEOF
  6425. cat confdefs.h >>conftest.$ac_ext
  6426. cat >>conftest.$ac_ext <<_ACEOF
  6427. /* end confdefs.h. */
  6428. $ac_includes_default
  6429. typedef long ac__type_sizeof_;
  6430. int
  6431. main ()
  6432. {
  6433. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6434. test_array [0] = 0
  6435. ;
  6436. return 0;
  6437. }
  6438. _ACEOF
  6439. rm -f conftest.$ac_objext
  6440. if { (ac_try="$ac_compile"
  6441. case "(($ac_try" in
  6442. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6443. *) ac_try_echo=$ac_try;;
  6444. esac
  6445. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6446. (eval "$ac_compile") 2>conftest.er1
  6447. ac_status=$?
  6448. grep -v '^ *+' conftest.er1 >conftest.err
  6449. rm -f conftest.er1
  6450. cat conftest.err >&5
  6451. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6452. (exit $ac_status); } && {
  6453. test -z "$ac_c_werror_flag" ||
  6454. test ! -s conftest.err
  6455. } && test -s conftest.$ac_objext; then
  6456. ac_hi=$ac_mid; break
  6457. else
  6458. echo "$as_me: failed program was:" >&5
  6459. sed 's/^/| /' conftest.$ac_ext >&5
  6460. ac_lo=`expr $ac_mid + 1`
  6461. if test $ac_lo -le $ac_mid; then
  6462. ac_lo= ac_hi=
  6463. break
  6464. fi
  6465. ac_mid=`expr 2 '*' $ac_mid + 1`
  6466. fi
  6467. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6468. done
  6469. else
  6470. echo "$as_me: failed program was:" >&5
  6471. sed 's/^/| /' conftest.$ac_ext >&5
  6472. cat >conftest.$ac_ext <<_ACEOF
  6473. /* confdefs.h. */
  6474. _ACEOF
  6475. cat confdefs.h >>conftest.$ac_ext
  6476. cat >>conftest.$ac_ext <<_ACEOF
  6477. /* end confdefs.h. */
  6478. $ac_includes_default
  6479. typedef long ac__type_sizeof_;
  6480. int
  6481. main ()
  6482. {
  6483. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  6484. test_array [0] = 0
  6485. ;
  6486. return 0;
  6487. }
  6488. _ACEOF
  6489. rm -f conftest.$ac_objext
  6490. if { (ac_try="$ac_compile"
  6491. case "(($ac_try" in
  6492. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6493. *) ac_try_echo=$ac_try;;
  6494. esac
  6495. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6496. (eval "$ac_compile") 2>conftest.er1
  6497. ac_status=$?
  6498. grep -v '^ *+' conftest.er1 >conftest.err
  6499. rm -f conftest.er1
  6500. cat conftest.err >&5
  6501. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6502. (exit $ac_status); } && {
  6503. test -z "$ac_c_werror_flag" ||
  6504. test ! -s conftest.err
  6505. } && test -s conftest.$ac_objext; then
  6506. ac_hi=-1 ac_mid=-1
  6507. while :; do
  6508. cat >conftest.$ac_ext <<_ACEOF
  6509. /* confdefs.h. */
  6510. _ACEOF
  6511. cat confdefs.h >>conftest.$ac_ext
  6512. cat >>conftest.$ac_ext <<_ACEOF
  6513. /* end confdefs.h. */
  6514. $ac_includes_default
  6515. typedef long ac__type_sizeof_;
  6516. int
  6517. main ()
  6518. {
  6519. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  6520. test_array [0] = 0
  6521. ;
  6522. return 0;
  6523. }
  6524. _ACEOF
  6525. rm -f conftest.$ac_objext
  6526. if { (ac_try="$ac_compile"
  6527. case "(($ac_try" in
  6528. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6529. *) ac_try_echo=$ac_try;;
  6530. esac
  6531. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6532. (eval "$ac_compile") 2>conftest.er1
  6533. ac_status=$?
  6534. grep -v '^ *+' conftest.er1 >conftest.err
  6535. rm -f conftest.er1
  6536. cat conftest.err >&5
  6537. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6538. (exit $ac_status); } && {
  6539. test -z "$ac_c_werror_flag" ||
  6540. test ! -s conftest.err
  6541. } && test -s conftest.$ac_objext; then
  6542. ac_lo=$ac_mid; break
  6543. else
  6544. echo "$as_me: failed program was:" >&5
  6545. sed 's/^/| /' conftest.$ac_ext >&5
  6546. ac_hi=`expr '(' $ac_mid ')' - 1`
  6547. if test $ac_mid -le $ac_hi; then
  6548. ac_lo= ac_hi=
  6549. break
  6550. fi
  6551. ac_mid=`expr 2 '*' $ac_mid`
  6552. fi
  6553. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6554. done
  6555. else
  6556. echo "$as_me: failed program was:" >&5
  6557. sed 's/^/| /' conftest.$ac_ext >&5
  6558. ac_lo= ac_hi=
  6559. fi
  6560. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6561. fi
  6562. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6563. # Binary search between lo and hi bounds.
  6564. while test "x$ac_lo" != "x$ac_hi"; do
  6565. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6566. cat >conftest.$ac_ext <<_ACEOF
  6567. /* confdefs.h. */
  6568. _ACEOF
  6569. cat confdefs.h >>conftest.$ac_ext
  6570. cat >>conftest.$ac_ext <<_ACEOF
  6571. /* end confdefs.h. */
  6572. $ac_includes_default
  6573. typedef long ac__type_sizeof_;
  6574. int
  6575. main ()
  6576. {
  6577. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6578. test_array [0] = 0
  6579. ;
  6580. return 0;
  6581. }
  6582. _ACEOF
  6583. rm -f conftest.$ac_objext
  6584. if { (ac_try="$ac_compile"
  6585. case "(($ac_try" in
  6586. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6587. *) ac_try_echo=$ac_try;;
  6588. esac
  6589. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6590. (eval "$ac_compile") 2>conftest.er1
  6591. ac_status=$?
  6592. grep -v '^ *+' conftest.er1 >conftest.err
  6593. rm -f conftest.er1
  6594. cat conftest.err >&5
  6595. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6596. (exit $ac_status); } && {
  6597. test -z "$ac_c_werror_flag" ||
  6598. test ! -s conftest.err
  6599. } && test -s conftest.$ac_objext; then
  6600. ac_hi=$ac_mid
  6601. else
  6602. echo "$as_me: failed program was:" >&5
  6603. sed 's/^/| /' conftest.$ac_ext >&5
  6604. ac_lo=`expr '(' $ac_mid ')' + 1`
  6605. fi
  6606. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6607. done
  6608. case $ac_lo in
  6609. ?*) ac_cv_sizeof_long=$ac_lo;;
  6610. '') if test "$ac_cv_type_long" = yes; then
  6611. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  6612. See \`config.log' for more details." >&5
  6613. echo "$as_me: error: cannot compute sizeof (long)
  6614. See \`config.log' for more details." >&2;}
  6615. { (exit 77); exit 77; }; }
  6616. else
  6617. ac_cv_sizeof_long=0
  6618. fi ;;
  6619. esac
  6620. else
  6621. cat >conftest.$ac_ext <<_ACEOF
  6622. /* confdefs.h. */
  6623. _ACEOF
  6624. cat confdefs.h >>conftest.$ac_ext
  6625. cat >>conftest.$ac_ext <<_ACEOF
  6626. /* end confdefs.h. */
  6627. $ac_includes_default
  6628. typedef long ac__type_sizeof_;
  6629. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6630. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6631. #include <stdio.h>
  6632. #include <stdlib.h>
  6633. int
  6634. main ()
  6635. {
  6636. FILE *f = fopen ("conftest.val", "w");
  6637. if (! f)
  6638. return 1;
  6639. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  6640. {
  6641. long int i = longval ();
  6642. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6643. return 1;
  6644. fprintf (f, "%ld\n", i);
  6645. }
  6646. else
  6647. {
  6648. unsigned long int i = ulongval ();
  6649. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6650. return 1;
  6651. fprintf (f, "%lu\n", i);
  6652. }
  6653. return ferror (f) || fclose (f) != 0;
  6654. ;
  6655. return 0;
  6656. }
  6657. _ACEOF
  6658. rm -f conftest$ac_exeext
  6659. if { (ac_try="$ac_link"
  6660. case "(($ac_try" in
  6661. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6662. *) ac_try_echo=$ac_try;;
  6663. esac
  6664. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6665. (eval "$ac_link") 2>&5
  6666. ac_status=$?
  6667. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6668. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6669. { (case "(($ac_try" in
  6670. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6671. *) ac_try_echo=$ac_try;;
  6672. esac
  6673. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6674. (eval "$ac_try") 2>&5
  6675. ac_status=$?
  6676. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6677. (exit $ac_status); }; }; then
  6678. ac_cv_sizeof_long=`cat conftest.val`
  6679. else
  6680. echo "$as_me: program exited with status $ac_status" >&5
  6681. echo "$as_me: failed program was:" >&5
  6682. sed 's/^/| /' conftest.$ac_ext >&5
  6683. ( exit $ac_status )
  6684. if test "$ac_cv_type_long" = yes; then
  6685. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
  6686. See \`config.log' for more details." >&5
  6687. echo "$as_me: error: cannot compute sizeof (long)
  6688. See \`config.log' for more details." >&2;}
  6689. { (exit 77); exit 77; }; }
  6690. else
  6691. ac_cv_sizeof_long=0
  6692. fi
  6693. fi
  6694. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6695. fi
  6696. rm -f conftest.val
  6697. fi
  6698. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
  6699. echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
  6700. cat >>confdefs.h <<_ACEOF
  6701. #define SIZEOF_LONG $ac_cv_sizeof_long
  6702. _ACEOF
  6703. { echo "$as_me:$LINENO: checking for long long" >&5
  6704. echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
  6705. if test "${ac_cv_type_long_long+set}" = set; then
  6706. echo $ECHO_N "(cached) $ECHO_C" >&6
  6707. else
  6708. cat >conftest.$ac_ext <<_ACEOF
  6709. /* confdefs.h. */
  6710. _ACEOF
  6711. cat confdefs.h >>conftest.$ac_ext
  6712. cat >>conftest.$ac_ext <<_ACEOF
  6713. /* end confdefs.h. */
  6714. $ac_includes_default
  6715. typedef long long ac__type_new_;
  6716. int
  6717. main ()
  6718. {
  6719. if ((ac__type_new_ *) 0)
  6720. return 0;
  6721. if (sizeof (ac__type_new_))
  6722. return 0;
  6723. ;
  6724. return 0;
  6725. }
  6726. _ACEOF
  6727. rm -f conftest.$ac_objext
  6728. if { (ac_try="$ac_compile"
  6729. case "(($ac_try" in
  6730. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6731. *) ac_try_echo=$ac_try;;
  6732. esac
  6733. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6734. (eval "$ac_compile") 2>conftest.er1
  6735. ac_status=$?
  6736. grep -v '^ *+' conftest.er1 >conftest.err
  6737. rm -f conftest.er1
  6738. cat conftest.err >&5
  6739. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6740. (exit $ac_status); } && {
  6741. test -z "$ac_c_werror_flag" ||
  6742. test ! -s conftest.err
  6743. } && test -s conftest.$ac_objext; then
  6744. ac_cv_type_long_long=yes
  6745. else
  6746. echo "$as_me: failed program was:" >&5
  6747. sed 's/^/| /' conftest.$ac_ext >&5
  6748. ac_cv_type_long_long=no
  6749. fi
  6750. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6751. fi
  6752. { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
  6753. echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
  6754. # The cast to long int works around a bug in the HP C Compiler
  6755. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6756. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6757. # This bug is HP SR number 8606223364.
  6758. { echo "$as_me:$LINENO: checking size of long long" >&5
  6759. echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
  6760. if test "${ac_cv_sizeof_long_long+set}" = set; then
  6761. echo $ECHO_N "(cached) $ECHO_C" >&6
  6762. else
  6763. if test "$cross_compiling" = yes; then
  6764. # Depending upon the size, compute the lo and hi bounds.
  6765. cat >conftest.$ac_ext <<_ACEOF
  6766. /* confdefs.h. */
  6767. _ACEOF
  6768. cat confdefs.h >>conftest.$ac_ext
  6769. cat >>conftest.$ac_ext <<_ACEOF
  6770. /* end confdefs.h. */
  6771. $ac_includes_default
  6772. typedef long long ac__type_sizeof_;
  6773. int
  6774. main ()
  6775. {
  6776. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  6777. test_array [0] = 0
  6778. ;
  6779. return 0;
  6780. }
  6781. _ACEOF
  6782. rm -f conftest.$ac_objext
  6783. if { (ac_try="$ac_compile"
  6784. case "(($ac_try" in
  6785. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6786. *) ac_try_echo=$ac_try;;
  6787. esac
  6788. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6789. (eval "$ac_compile") 2>conftest.er1
  6790. ac_status=$?
  6791. grep -v '^ *+' conftest.er1 >conftest.err
  6792. rm -f conftest.er1
  6793. cat conftest.err >&5
  6794. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6795. (exit $ac_status); } && {
  6796. test -z "$ac_c_werror_flag" ||
  6797. test ! -s conftest.err
  6798. } && test -s conftest.$ac_objext; then
  6799. ac_lo=0 ac_mid=0
  6800. while :; do
  6801. cat >conftest.$ac_ext <<_ACEOF
  6802. /* confdefs.h. */
  6803. _ACEOF
  6804. cat confdefs.h >>conftest.$ac_ext
  6805. cat >>conftest.$ac_ext <<_ACEOF
  6806. /* end confdefs.h. */
  6807. $ac_includes_default
  6808. typedef long long ac__type_sizeof_;
  6809. int
  6810. main ()
  6811. {
  6812. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6813. test_array [0] = 0
  6814. ;
  6815. return 0;
  6816. }
  6817. _ACEOF
  6818. rm -f conftest.$ac_objext
  6819. if { (ac_try="$ac_compile"
  6820. case "(($ac_try" in
  6821. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6822. *) ac_try_echo=$ac_try;;
  6823. esac
  6824. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6825. (eval "$ac_compile") 2>conftest.er1
  6826. ac_status=$?
  6827. grep -v '^ *+' conftest.er1 >conftest.err
  6828. rm -f conftest.er1
  6829. cat conftest.err >&5
  6830. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6831. (exit $ac_status); } && {
  6832. test -z "$ac_c_werror_flag" ||
  6833. test ! -s conftest.err
  6834. } && test -s conftest.$ac_objext; then
  6835. ac_hi=$ac_mid; break
  6836. else
  6837. echo "$as_me: failed program was:" >&5
  6838. sed 's/^/| /' conftest.$ac_ext >&5
  6839. ac_lo=`expr $ac_mid + 1`
  6840. if test $ac_lo -le $ac_mid; then
  6841. ac_lo= ac_hi=
  6842. break
  6843. fi
  6844. ac_mid=`expr 2 '*' $ac_mid + 1`
  6845. fi
  6846. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6847. done
  6848. else
  6849. echo "$as_me: failed program was:" >&5
  6850. sed 's/^/| /' conftest.$ac_ext >&5
  6851. cat >conftest.$ac_ext <<_ACEOF
  6852. /* confdefs.h. */
  6853. _ACEOF
  6854. cat confdefs.h >>conftest.$ac_ext
  6855. cat >>conftest.$ac_ext <<_ACEOF
  6856. /* end confdefs.h. */
  6857. $ac_includes_default
  6858. typedef long long ac__type_sizeof_;
  6859. int
  6860. main ()
  6861. {
  6862. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  6863. test_array [0] = 0
  6864. ;
  6865. return 0;
  6866. }
  6867. _ACEOF
  6868. rm -f conftest.$ac_objext
  6869. if { (ac_try="$ac_compile"
  6870. case "(($ac_try" in
  6871. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6872. *) ac_try_echo=$ac_try;;
  6873. esac
  6874. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6875. (eval "$ac_compile") 2>conftest.er1
  6876. ac_status=$?
  6877. grep -v '^ *+' conftest.er1 >conftest.err
  6878. rm -f conftest.er1
  6879. cat conftest.err >&5
  6880. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6881. (exit $ac_status); } && {
  6882. test -z "$ac_c_werror_flag" ||
  6883. test ! -s conftest.err
  6884. } && test -s conftest.$ac_objext; then
  6885. ac_hi=-1 ac_mid=-1
  6886. while :; do
  6887. cat >conftest.$ac_ext <<_ACEOF
  6888. /* confdefs.h. */
  6889. _ACEOF
  6890. cat confdefs.h >>conftest.$ac_ext
  6891. cat >>conftest.$ac_ext <<_ACEOF
  6892. /* end confdefs.h. */
  6893. $ac_includes_default
  6894. typedef long long ac__type_sizeof_;
  6895. int
  6896. main ()
  6897. {
  6898. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  6899. test_array [0] = 0
  6900. ;
  6901. return 0;
  6902. }
  6903. _ACEOF
  6904. rm -f conftest.$ac_objext
  6905. if { (ac_try="$ac_compile"
  6906. case "(($ac_try" in
  6907. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6908. *) ac_try_echo=$ac_try;;
  6909. esac
  6910. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6911. (eval "$ac_compile") 2>conftest.er1
  6912. ac_status=$?
  6913. grep -v '^ *+' conftest.er1 >conftest.err
  6914. rm -f conftest.er1
  6915. cat conftest.err >&5
  6916. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6917. (exit $ac_status); } && {
  6918. test -z "$ac_c_werror_flag" ||
  6919. test ! -s conftest.err
  6920. } && test -s conftest.$ac_objext; then
  6921. ac_lo=$ac_mid; break
  6922. else
  6923. echo "$as_me: failed program was:" >&5
  6924. sed 's/^/| /' conftest.$ac_ext >&5
  6925. ac_hi=`expr '(' $ac_mid ')' - 1`
  6926. if test $ac_mid -le $ac_hi; then
  6927. ac_lo= ac_hi=
  6928. break
  6929. fi
  6930. ac_mid=`expr 2 '*' $ac_mid`
  6931. fi
  6932. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6933. done
  6934. else
  6935. echo "$as_me: failed program was:" >&5
  6936. sed 's/^/| /' conftest.$ac_ext >&5
  6937. ac_lo= ac_hi=
  6938. fi
  6939. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6940. fi
  6941. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6942. # Binary search between lo and hi bounds.
  6943. while test "x$ac_lo" != "x$ac_hi"; do
  6944. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6945. cat >conftest.$ac_ext <<_ACEOF
  6946. /* confdefs.h. */
  6947. _ACEOF
  6948. cat confdefs.h >>conftest.$ac_ext
  6949. cat >>conftest.$ac_ext <<_ACEOF
  6950. /* end confdefs.h. */
  6951. $ac_includes_default
  6952. typedef long long ac__type_sizeof_;
  6953. int
  6954. main ()
  6955. {
  6956. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6957. test_array [0] = 0
  6958. ;
  6959. return 0;
  6960. }
  6961. _ACEOF
  6962. rm -f conftest.$ac_objext
  6963. if { (ac_try="$ac_compile"
  6964. case "(($ac_try" in
  6965. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6966. *) ac_try_echo=$ac_try;;
  6967. esac
  6968. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6969. (eval "$ac_compile") 2>conftest.er1
  6970. ac_status=$?
  6971. grep -v '^ *+' conftest.er1 >conftest.err
  6972. rm -f conftest.er1
  6973. cat conftest.err >&5
  6974. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6975. (exit $ac_status); } && {
  6976. test -z "$ac_c_werror_flag" ||
  6977. test ! -s conftest.err
  6978. } && test -s conftest.$ac_objext; then
  6979. ac_hi=$ac_mid
  6980. else
  6981. echo "$as_me: failed program was:" >&5
  6982. sed 's/^/| /' conftest.$ac_ext >&5
  6983. ac_lo=`expr '(' $ac_mid ')' + 1`
  6984. fi
  6985. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6986. done
  6987. case $ac_lo in
  6988. ?*) ac_cv_sizeof_long_long=$ac_lo;;
  6989. '') if test "$ac_cv_type_long_long" = yes; then
  6990. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  6991. See \`config.log' for more details." >&5
  6992. echo "$as_me: error: cannot compute sizeof (long long)
  6993. See \`config.log' for more details." >&2;}
  6994. { (exit 77); exit 77; }; }
  6995. else
  6996. ac_cv_sizeof_long_long=0
  6997. fi ;;
  6998. esac
  6999. else
  7000. cat >conftest.$ac_ext <<_ACEOF
  7001. /* confdefs.h. */
  7002. _ACEOF
  7003. cat confdefs.h >>conftest.$ac_ext
  7004. cat >>conftest.$ac_ext <<_ACEOF
  7005. /* end confdefs.h. */
  7006. $ac_includes_default
  7007. typedef long long ac__type_sizeof_;
  7008. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7009. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7010. #include <stdio.h>
  7011. #include <stdlib.h>
  7012. int
  7013. main ()
  7014. {
  7015. FILE *f = fopen ("conftest.val", "w");
  7016. if (! f)
  7017. return 1;
  7018. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  7019. {
  7020. long int i = longval ();
  7021. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7022. return 1;
  7023. fprintf (f, "%ld\n", i);
  7024. }
  7025. else
  7026. {
  7027. unsigned long int i = ulongval ();
  7028. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7029. return 1;
  7030. fprintf (f, "%lu\n", i);
  7031. }
  7032. return ferror (f) || fclose (f) != 0;
  7033. ;
  7034. return 0;
  7035. }
  7036. _ACEOF
  7037. rm -f conftest$ac_exeext
  7038. if { (ac_try="$ac_link"
  7039. case "(($ac_try" in
  7040. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7041. *) ac_try_echo=$ac_try;;
  7042. esac
  7043. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7044. (eval "$ac_link") 2>&5
  7045. ac_status=$?
  7046. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7047. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7048. { (case "(($ac_try" in
  7049. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7050. *) ac_try_echo=$ac_try;;
  7051. esac
  7052. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7053. (eval "$ac_try") 2>&5
  7054. ac_status=$?
  7055. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7056. (exit $ac_status); }; }; then
  7057. ac_cv_sizeof_long_long=`cat conftest.val`
  7058. else
  7059. echo "$as_me: program exited with status $ac_status" >&5
  7060. echo "$as_me: failed program was:" >&5
  7061. sed 's/^/| /' conftest.$ac_ext >&5
  7062. ( exit $ac_status )
  7063. if test "$ac_cv_type_long_long" = yes; then
  7064. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
  7065. See \`config.log' for more details." >&5
  7066. echo "$as_me: error: cannot compute sizeof (long long)
  7067. See \`config.log' for more details." >&2;}
  7068. { (exit 77); exit 77; }; }
  7069. else
  7070. ac_cv_sizeof_long_long=0
  7071. fi
  7072. fi
  7073. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7074. fi
  7075. rm -f conftest.val
  7076. fi
  7077. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
  7078. echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
  7079. cat >>confdefs.h <<_ACEOF
  7080. #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  7081. _ACEOF
  7082. { echo "$as_me:$LINENO: checking for size_t" >&5
  7083. echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
  7084. if test "${ac_cv_type_size_t+set}" = set; then
  7085. echo $ECHO_N "(cached) $ECHO_C" >&6
  7086. else
  7087. cat >conftest.$ac_ext <<_ACEOF
  7088. /* confdefs.h. */
  7089. _ACEOF
  7090. cat confdefs.h >>conftest.$ac_ext
  7091. cat >>conftest.$ac_ext <<_ACEOF
  7092. /* end confdefs.h. */
  7093. $ac_includes_default
  7094. typedef size_t ac__type_new_;
  7095. int
  7096. main ()
  7097. {
  7098. if ((ac__type_new_ *) 0)
  7099. return 0;
  7100. if (sizeof (ac__type_new_))
  7101. return 0;
  7102. ;
  7103. return 0;
  7104. }
  7105. _ACEOF
  7106. rm -f conftest.$ac_objext
  7107. if { (ac_try="$ac_compile"
  7108. case "(($ac_try" in
  7109. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7110. *) ac_try_echo=$ac_try;;
  7111. esac
  7112. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7113. (eval "$ac_compile") 2>conftest.er1
  7114. ac_status=$?
  7115. grep -v '^ *+' conftest.er1 >conftest.err
  7116. rm -f conftest.er1
  7117. cat conftest.err >&5
  7118. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7119. (exit $ac_status); } && {
  7120. test -z "$ac_c_werror_flag" ||
  7121. test ! -s conftest.err
  7122. } && test -s conftest.$ac_objext; then
  7123. ac_cv_type_size_t=yes
  7124. else
  7125. echo "$as_me: failed program was:" >&5
  7126. sed 's/^/| /' conftest.$ac_ext >&5
  7127. ac_cv_type_size_t=no
  7128. fi
  7129. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7130. fi
  7131. { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
  7132. echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
  7133. # The cast to long int works around a bug in the HP C Compiler
  7134. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  7135. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  7136. # This bug is HP SR number 8606223364.
  7137. { echo "$as_me:$LINENO: checking size of size_t" >&5
  7138. echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
  7139. if test "${ac_cv_sizeof_size_t+set}" = set; then
  7140. echo $ECHO_N "(cached) $ECHO_C" >&6
  7141. else
  7142. if test "$cross_compiling" = yes; then
  7143. # Depending upon the size, compute the lo and hi bounds.
  7144. cat >conftest.$ac_ext <<_ACEOF
  7145. /* confdefs.h. */
  7146. _ACEOF
  7147. cat confdefs.h >>conftest.$ac_ext
  7148. cat >>conftest.$ac_ext <<_ACEOF
  7149. /* end confdefs.h. */
  7150. $ac_includes_default
  7151. typedef size_t ac__type_sizeof_;
  7152. int
  7153. main ()
  7154. {
  7155. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  7156. test_array [0] = 0
  7157. ;
  7158. return 0;
  7159. }
  7160. _ACEOF
  7161. rm -f conftest.$ac_objext
  7162. if { (ac_try="$ac_compile"
  7163. case "(($ac_try" in
  7164. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7165. *) ac_try_echo=$ac_try;;
  7166. esac
  7167. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7168. (eval "$ac_compile") 2>conftest.er1
  7169. ac_status=$?
  7170. grep -v '^ *+' conftest.er1 >conftest.err
  7171. rm -f conftest.er1
  7172. cat conftest.err >&5
  7173. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7174. (exit $ac_status); } && {
  7175. test -z "$ac_c_werror_flag" ||
  7176. test ! -s conftest.err
  7177. } && test -s conftest.$ac_objext; then
  7178. ac_lo=0 ac_mid=0
  7179. while :; do
  7180. cat >conftest.$ac_ext <<_ACEOF
  7181. /* confdefs.h. */
  7182. _ACEOF
  7183. cat confdefs.h >>conftest.$ac_ext
  7184. cat >>conftest.$ac_ext <<_ACEOF
  7185. /* end confdefs.h. */
  7186. $ac_includes_default
  7187. typedef size_t ac__type_sizeof_;
  7188. int
  7189. main ()
  7190. {
  7191. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  7192. test_array [0] = 0
  7193. ;
  7194. return 0;
  7195. }
  7196. _ACEOF
  7197. rm -f conftest.$ac_objext
  7198. if { (ac_try="$ac_compile"
  7199. case "(($ac_try" in
  7200. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7201. *) ac_try_echo=$ac_try;;
  7202. esac
  7203. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7204. (eval "$ac_compile") 2>conftest.er1
  7205. ac_status=$?
  7206. grep -v '^ *+' conftest.er1 >conftest.err
  7207. rm -f conftest.er1
  7208. cat conftest.err >&5
  7209. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7210. (exit $ac_status); } && {
  7211. test -z "$ac_c_werror_flag" ||
  7212. test ! -s conftest.err
  7213. } && test -s conftest.$ac_objext; then
  7214. ac_hi=$ac_mid; break
  7215. else
  7216. echo "$as_me: failed program was:" >&5
  7217. sed 's/^/| /' conftest.$ac_ext >&5
  7218. ac_lo=`expr $ac_mid + 1`
  7219. if test $ac_lo -le $ac_mid; then
  7220. ac_lo= ac_hi=
  7221. break
  7222. fi
  7223. ac_mid=`expr 2 '*' $ac_mid + 1`
  7224. fi
  7225. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7226. done
  7227. else
  7228. echo "$as_me: failed program was:" >&5
  7229. sed 's/^/| /' conftest.$ac_ext >&5
  7230. cat >conftest.$ac_ext <<_ACEOF
  7231. /* confdefs.h. */
  7232. _ACEOF
  7233. cat confdefs.h >>conftest.$ac_ext
  7234. cat >>conftest.$ac_ext <<_ACEOF
  7235. /* end confdefs.h. */
  7236. $ac_includes_default
  7237. typedef size_t ac__type_sizeof_;
  7238. int
  7239. main ()
  7240. {
  7241. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  7242. test_array [0] = 0
  7243. ;
  7244. return 0;
  7245. }
  7246. _ACEOF
  7247. rm -f conftest.$ac_objext
  7248. if { (ac_try="$ac_compile"
  7249. case "(($ac_try" in
  7250. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7251. *) ac_try_echo=$ac_try;;
  7252. esac
  7253. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7254. (eval "$ac_compile") 2>conftest.er1
  7255. ac_status=$?
  7256. grep -v '^ *+' conftest.er1 >conftest.err
  7257. rm -f conftest.er1
  7258. cat conftest.err >&5
  7259. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7260. (exit $ac_status); } && {
  7261. test -z "$ac_c_werror_flag" ||
  7262. test ! -s conftest.err
  7263. } && test -s conftest.$ac_objext; then
  7264. ac_hi=-1 ac_mid=-1
  7265. while :; do
  7266. cat >conftest.$ac_ext <<_ACEOF
  7267. /* confdefs.h. */
  7268. _ACEOF
  7269. cat confdefs.h >>conftest.$ac_ext
  7270. cat >>conftest.$ac_ext <<_ACEOF
  7271. /* end confdefs.h. */
  7272. $ac_includes_default
  7273. typedef size_t ac__type_sizeof_;
  7274. int
  7275. main ()
  7276. {
  7277. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  7278. test_array [0] = 0
  7279. ;
  7280. return 0;
  7281. }
  7282. _ACEOF
  7283. rm -f conftest.$ac_objext
  7284. if { (ac_try="$ac_compile"
  7285. case "(($ac_try" in
  7286. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7287. *) ac_try_echo=$ac_try;;
  7288. esac
  7289. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7290. (eval "$ac_compile") 2>conftest.er1
  7291. ac_status=$?
  7292. grep -v '^ *+' conftest.er1 >conftest.err
  7293. rm -f conftest.er1
  7294. cat conftest.err >&5
  7295. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7296. (exit $ac_status); } && {
  7297. test -z "$ac_c_werror_flag" ||
  7298. test ! -s conftest.err
  7299. } && test -s conftest.$ac_objext; then
  7300. ac_lo=$ac_mid; break
  7301. else
  7302. echo "$as_me: failed program was:" >&5
  7303. sed 's/^/| /' conftest.$ac_ext >&5
  7304. ac_hi=`expr '(' $ac_mid ')' - 1`
  7305. if test $ac_mid -le $ac_hi; then
  7306. ac_lo= ac_hi=
  7307. break
  7308. fi
  7309. ac_mid=`expr 2 '*' $ac_mid`
  7310. fi
  7311. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7312. done
  7313. else
  7314. echo "$as_me: failed program was:" >&5
  7315. sed 's/^/| /' conftest.$ac_ext >&5
  7316. ac_lo= ac_hi=
  7317. fi
  7318. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7319. fi
  7320. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7321. # Binary search between lo and hi bounds.
  7322. while test "x$ac_lo" != "x$ac_hi"; do
  7323. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  7324. cat >conftest.$ac_ext <<_ACEOF
  7325. /* confdefs.h. */
  7326. _ACEOF
  7327. cat confdefs.h >>conftest.$ac_ext
  7328. cat >>conftest.$ac_ext <<_ACEOF
  7329. /* end confdefs.h. */
  7330. $ac_includes_default
  7331. typedef size_t ac__type_sizeof_;
  7332. int
  7333. main ()
  7334. {
  7335. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  7336. test_array [0] = 0
  7337. ;
  7338. return 0;
  7339. }
  7340. _ACEOF
  7341. rm -f conftest.$ac_objext
  7342. if { (ac_try="$ac_compile"
  7343. case "(($ac_try" in
  7344. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7345. *) ac_try_echo=$ac_try;;
  7346. esac
  7347. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7348. (eval "$ac_compile") 2>conftest.er1
  7349. ac_status=$?
  7350. grep -v '^ *+' conftest.er1 >conftest.err
  7351. rm -f conftest.er1
  7352. cat conftest.err >&5
  7353. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7354. (exit $ac_status); } && {
  7355. test -z "$ac_c_werror_flag" ||
  7356. test ! -s conftest.err
  7357. } && test -s conftest.$ac_objext; then
  7358. ac_hi=$ac_mid
  7359. else
  7360. echo "$as_me: failed program was:" >&5
  7361. sed 's/^/| /' conftest.$ac_ext >&5
  7362. ac_lo=`expr '(' $ac_mid ')' + 1`
  7363. fi
  7364. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7365. done
  7366. case $ac_lo in
  7367. ?*) ac_cv_sizeof_size_t=$ac_lo;;
  7368. '') if test "$ac_cv_type_size_t" = yes; then
  7369. { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  7370. See \`config.log' for more details." >&5
  7371. echo "$as_me: error: cannot compute sizeof (size_t)
  7372. See \`config.log' for more details." >&2;}
  7373. { (exit 77); exit 77; }; }
  7374. else
  7375. ac_cv_sizeof_size_t=0
  7376. fi ;;
  7377. esac
  7378. else
  7379. cat >conftest.$ac_ext <<_ACEOF
  7380. /* confdefs.h. */
  7381. _ACEOF
  7382. cat confdefs.h >>conftest.$ac_ext
  7383. cat >>conftest.$ac_ext <<_ACEOF
  7384. /* end confdefs.h. */
  7385. $ac_includes_default
  7386. typedef size_t ac__type_sizeof_;
  7387. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7388. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7389. #include <stdio.h>
  7390. #include <stdlib.h>
  7391. int
  7392. main ()
  7393. {
  7394. FILE *f = fopen ("conftest.val", "w");
  7395. if (! f)
  7396. return 1;
  7397. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  7398. {
  7399. long int i = longval ();
  7400. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7401. return 1;
  7402. fprintf (f, "%ld\n", i);
  7403. }
  7404. else
  7405. {
  7406. unsigned long int i = ulongval ();
  7407. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7408. return 1;
  7409. fprintf (f, "%lu\n", i);
  7410. }
  7411. return ferror (f) || fclose (f) != 0;
  7412. ;
  7413. return 0;
  7414. }
  7415. _ACEOF
  7416. rm -f conftest$ac_exeext
  7417. if { (ac_try="$ac_link"
  7418. case "(($ac_try" in
  7419. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7420. *) ac_try_echo=$ac_try;;
  7421. esac
  7422. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7423. (eval "$ac_link") 2>&5
  7424. ac_status=$?
  7425. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7426. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7427. { (case "(($ac_try" in
  7428. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7429. *) ac_try_echo=$ac_try;;
  7430. esac
  7431. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7432. (eval "$ac_try") 2>&5
  7433. ac_status=$?
  7434. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7435. (exit $ac_status); }; }; then
  7436. ac_cv_sizeof_size_t=`cat conftest.val`
  7437. else
  7438. echo "$as_me: program exited with status $ac_status" >&5
  7439. echo "$as_me: failed program was:" >&5
  7440. sed 's/^/| /' conftest.$ac_ext >&5
  7441. ( exit $ac_status )
  7442. if test "$ac_cv_type_size_t" = yes; then
  7443. { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
  7444. See \`config.log' for more details." >&5
  7445. echo "$as_me: error: cannot compute sizeof (size_t)
  7446. See \`config.log' for more details." >&2;}
  7447. { (exit 77); exit 77; }; }
  7448. else
  7449. ac_cv_sizeof_size_t=0
  7450. fi
  7451. fi
  7452. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7453. fi
  7454. rm -f conftest.val
  7455. fi
  7456. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
  7457. echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
  7458. cat >>confdefs.h <<_ACEOF
  7459. #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  7460. _ACEOF
  7461. for ac_header in OS.h arpa/inet.h errno.h fcntl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h sys/timeb.h sys/wait.h unistd.h
  7462. do
  7463. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7464. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7465. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  7466. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7467. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7468. echo $ECHO_N "(cached) $ECHO_C" >&6
  7469. fi
  7470. ac_res=`eval echo '${'$as_ac_Header'}'`
  7471. { echo "$as_me:$LINENO: result: $ac_res" >&5
  7472. echo "${ECHO_T}$ac_res" >&6; }
  7473. else
  7474. # Is the header compilable?
  7475. { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  7476. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  7477. cat >conftest.$ac_ext <<_ACEOF
  7478. /* confdefs.h. */
  7479. _ACEOF
  7480. cat confdefs.h >>conftest.$ac_ext
  7481. cat >>conftest.$ac_ext <<_ACEOF
  7482. /* end confdefs.h. */
  7483. $ac_includes_default
  7484. #include <$ac_header>
  7485. _ACEOF
  7486. rm -f conftest.$ac_objext
  7487. if { (ac_try="$ac_compile"
  7488. case "(($ac_try" in
  7489. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7490. *) ac_try_echo=$ac_try;;
  7491. esac
  7492. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7493. (eval "$ac_compile") 2>conftest.er1
  7494. ac_status=$?
  7495. grep -v '^ *+' conftest.er1 >conftest.err
  7496. rm -f conftest.er1
  7497. cat conftest.err >&5
  7498. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7499. (exit $ac_status); } && {
  7500. test -z "$ac_c_werror_flag" ||
  7501. test ! -s conftest.err
  7502. } && test -s conftest.$ac_objext; then
  7503. ac_header_compiler=yes
  7504. else
  7505. echo "$as_me: failed program was:" >&5
  7506. sed 's/^/| /' conftest.$ac_ext >&5
  7507. ac_header_compiler=no
  7508. fi
  7509. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7510. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7511. echo "${ECHO_T}$ac_header_compiler" >&6; }
  7512. # Is the header present?
  7513. { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  7514. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  7515. cat >conftest.$ac_ext <<_ACEOF
  7516. /* confdefs.h. */
  7517. _ACEOF
  7518. cat confdefs.h >>conftest.$ac_ext
  7519. cat >>conftest.$ac_ext <<_ACEOF
  7520. /* end confdefs.h. */
  7521. #include <$ac_header>
  7522. _ACEOF
  7523. if { (ac_try="$ac_cpp conftest.$ac_ext"
  7524. case "(($ac_try" in
  7525. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7526. *) ac_try_echo=$ac_try;;
  7527. esac
  7528. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7529. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7530. ac_status=$?
  7531. grep -v '^ *+' conftest.er1 >conftest.err
  7532. rm -f conftest.er1
  7533. cat conftest.err >&5
  7534. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7535. (exit $ac_status); } >/dev/null && {
  7536. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7537. test ! -s conftest.err
  7538. }; then
  7539. ac_header_preproc=yes
  7540. else
  7541. echo "$as_me: failed program was:" >&5
  7542. sed 's/^/| /' conftest.$ac_ext >&5
  7543. ac_header_preproc=no
  7544. fi
  7545. rm -f conftest.err conftest.$ac_ext
  7546. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7547. echo "${ECHO_T}$ac_header_preproc" >&6; }
  7548. # So? What about this header?
  7549. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  7550. yes:no: )
  7551. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  7552. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  7553. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  7554. echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  7555. ac_header_preproc=yes
  7556. ;;
  7557. no:yes:* )
  7558. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  7559. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  7560. { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  7561. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  7562. { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  7563. echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  7564. { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  7565. echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  7566. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  7567. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  7568. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  7569. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  7570. ;;
  7571. esac
  7572. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  7573. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7574. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7575. echo $ECHO_N "(cached) $ECHO_C" >&6
  7576. else
  7577. eval "$as_ac_Header=\$ac_header_preproc"
  7578. fi
  7579. ac_res=`eval echo '${'$as_ac_Header'}'`
  7580. { echo "$as_me:$LINENO: result: $ac_res" >&5
  7581. echo "${ECHO_T}$ac_res" >&6; }
  7582. fi
  7583. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7584. cat >>confdefs.h <<_ACEOF
  7585. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7586. _ACEOF
  7587. fi
  7588. done
  7589. for ac_func in strerror bcopy memmove
  7590. do
  7591. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7592. { echo "$as_me:$LINENO: checking for $ac_func" >&5
  7593. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  7594. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  7595. echo $ECHO_N "(cached) $ECHO_C" >&6
  7596. else
  7597. mirsave_CPPFLAGS=$CPPFLAGS
  7598. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  7599. cat >conftest.$ac_ext <<_ACEOF
  7600. /* confdefs.h. */
  7601. _ACEOF
  7602. cat confdefs.h >>conftest.$ac_ext
  7603. cat >>conftest.$ac_ext <<_ACEOF
  7604. /* end confdefs.h. */
  7605. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7606. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7607. #define $ac_func innocuous_$ac_func
  7608. /* System header to define __stub macros and hopefully few prototypes,
  7609. which can conflict with char $ac_func (); below.
  7610. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7611. <limits.h> exists even on freestanding compilers. */
  7612. #ifdef __STDC__
  7613. # include <limits.h>
  7614. #else
  7615. # include <assert.h>
  7616. #endif
  7617. #undef $ac_func
  7618. /* Override any GCC internal prototype to avoid an error.
  7619. Use char because int might match the return type of a GCC
  7620. builtin and then its argument prototype would still apply. */
  7621. #ifdef __cplusplus
  7622. extern "C"
  7623. #endif
  7624. char $ac_func ();
  7625. /* The GNU C library defines this for functions which it implements
  7626. to always fail with ENOSYS. Some functions are actually named
  7627. something starting with __ and the normal name is an alias. */
  7628. #if defined __stub_$ac_func || defined __stub___$ac_func
  7629. choke me
  7630. #endif
  7631. int
  7632. main ()
  7633. {
  7634. return $ac_func ();
  7635. ;
  7636. return 0;
  7637. }
  7638. _ACEOF
  7639. rm -f conftest.$ac_objext conftest$ac_exeext
  7640. if { (ac_try="$ac_link"
  7641. case "(($ac_try" in
  7642. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7643. *) ac_try_echo=$ac_try;;
  7644. esac
  7645. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7646. (eval "$ac_link") 2>conftest.er1
  7647. ac_status=$?
  7648. grep -v '^ *+' conftest.er1 >conftest.err
  7649. rm -f conftest.er1
  7650. cat conftest.err >&5
  7651. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7652. (exit $ac_status); } && {
  7653. test -z "$ac_c_werror_flag" ||
  7654. test ! -s conftest.err
  7655. } && test -s conftest$ac_exeext &&
  7656. $as_test_x conftest$ac_exeext; then
  7657. eval "$as_ac_var=yes"
  7658. else
  7659. echo "$as_me: failed program was:" >&5
  7660. sed 's/^/| /' conftest.$ac_ext >&5
  7661. eval "$as_ac_var=no"
  7662. fi
  7663. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7664. conftest$ac_exeext conftest.$ac_ext
  7665. fi
  7666. ac_res=`eval echo '${'$as_ac_var'}'`
  7667. { echo "$as_me:$LINENO: result: $ac_res" >&5
  7668. echo "${ECHO_T}$ac_res" >&6; }
  7669. CPPFLAGS=$mirsave_CPPFLAGS
  7670. if test `eval echo '${'$as_ac_var'}'` = yes; then
  7671. cat >>confdefs.h <<_ACEOF
  7672. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7673. _ACEOF
  7674. fi
  7675. done
  7676. if test $ac_cv_c_compiler_gnu = yes; then
  7677. { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
  7678. echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
  7679. if test "${ac_cv_prog_gcc_traditional+set}" = set; then
  7680. echo $ECHO_N "(cached) $ECHO_C" >&6
  7681. else
  7682. ac_pattern="Autoconf.*'x'"
  7683. cat >conftest.$ac_ext <<_ACEOF
  7684. /* confdefs.h. */
  7685. _ACEOF
  7686. cat confdefs.h >>conftest.$ac_ext
  7687. cat >>conftest.$ac_ext <<_ACEOF
  7688. /* end confdefs.h. */
  7689. #include <sgtty.h>
  7690. Autoconf TIOCGETP
  7691. _ACEOF
  7692. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7693. $EGREP "$ac_pattern" >/dev/null 2>&1; then
  7694. ac_cv_prog_gcc_traditional=yes
  7695. else
  7696. ac_cv_prog_gcc_traditional=no
  7697. fi
  7698. rm -f conftest*
  7699. if test $ac_cv_prog_gcc_traditional = no; then
  7700. cat >conftest.$ac_ext <<_ACEOF
  7701. /* confdefs.h. */
  7702. _ACEOF
  7703. cat confdefs.h >>conftest.$ac_ext
  7704. cat >>conftest.$ac_ext <<_ACEOF
  7705. /* end confdefs.h. */
  7706. #include <termio.h>
  7707. Autoconf TCGETA
  7708. _ACEOF
  7709. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7710. $EGREP "$ac_pattern" >/dev/null 2>&1; then
  7711. ac_cv_prog_gcc_traditional=yes
  7712. fi
  7713. rm -f conftest*
  7714. fi
  7715. fi
  7716. { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
  7717. echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
  7718. if test $ac_cv_prog_gcc_traditional = yes; then
  7719. CC="$CC -traditional"
  7720. fi
  7721. fi
  7722. { echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
  7723. echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
  7724. if test "${ac_cv_func_setpgrp_void+set}" = set; then
  7725. echo $ECHO_N "(cached) $ECHO_C" >&6
  7726. else
  7727. if test "$cross_compiling" = yes; then
  7728. { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
  7729. echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
  7730. { (exit 1); exit 1; }; }
  7731. else
  7732. cat >conftest.$ac_ext <<_ACEOF
  7733. /* confdefs.h. */
  7734. _ACEOF
  7735. cat confdefs.h >>conftest.$ac_ext
  7736. cat >>conftest.$ac_ext <<_ACEOF
  7737. /* end confdefs.h. */
  7738. $ac_includes_default
  7739. int
  7740. main ()
  7741. {
  7742. /* If this system has a BSD-style setpgrp which takes arguments,
  7743. setpgrp(1, 1) will fail with ESRCH and return -1, in that case
  7744. exit successfully. */
  7745. return setpgrp (1,1) != -1;
  7746. ;
  7747. return 0;
  7748. }
  7749. _ACEOF
  7750. rm -f conftest$ac_exeext
  7751. if { (ac_try="$ac_link"
  7752. case "(($ac_try" in
  7753. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7754. *) ac_try_echo=$ac_try;;
  7755. esac
  7756. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7757. (eval "$ac_link") 2>&5
  7758. ac_status=$?
  7759. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7760. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7761. { (case "(($ac_try" in
  7762. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7763. *) ac_try_echo=$ac_try;;
  7764. esac
  7765. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7766. (eval "$ac_try") 2>&5
  7767. ac_status=$?
  7768. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7769. (exit $ac_status); }; }; then
  7770. ac_cv_func_setpgrp_void=no
  7771. else
  7772. echo "$as_me: program exited with status $ac_status" >&5
  7773. echo "$as_me: failed program was:" >&5
  7774. sed 's/^/| /' conftest.$ac_ext >&5
  7775. ( exit $ac_status )
  7776. ac_cv_func_setpgrp_void=yes
  7777. fi
  7778. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7779. fi
  7780. fi
  7781. { echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
  7782. echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
  7783. if test $ac_cv_func_setpgrp_void = yes; then
  7784. cat >>confdefs.h <<\_ACEOF
  7785. #define SETPGRP_VOID 1
  7786. _ACEOF
  7787. fi
  7788. { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
  7789. echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
  7790. if test "${ac_cv_type_signal+set}" = set; then
  7791. echo $ECHO_N "(cached) $ECHO_C" >&6
  7792. else
  7793. cat >conftest.$ac_ext <<_ACEOF
  7794. /* confdefs.h. */
  7795. _ACEOF
  7796. cat confdefs.h >>conftest.$ac_ext
  7797. cat >>conftest.$ac_ext <<_ACEOF
  7798. /* end confdefs.h. */
  7799. #include <sys/types.h>
  7800. #include <signal.h>
  7801. int
  7802. main ()
  7803. {
  7804. return *(signal (0, 0)) (0) == 1;
  7805. ;
  7806. return 0;
  7807. }
  7808. _ACEOF
  7809. rm -f conftest.$ac_objext
  7810. if { (ac_try="$ac_compile"
  7811. case "(($ac_try" in
  7812. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7813. *) ac_try_echo=$ac_try;;
  7814. esac
  7815. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7816. (eval "$ac_compile") 2>conftest.er1
  7817. ac_status=$?
  7818. grep -v '^ *+' conftest.er1 >conftest.err
  7819. rm -f conftest.er1
  7820. cat conftest.err >&5
  7821. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7822. (exit $ac_status); } && {
  7823. test -z "$ac_c_werror_flag" ||
  7824. test ! -s conftest.err
  7825. } && test -s conftest.$ac_objext; then
  7826. ac_cv_type_signal=int
  7827. else
  7828. echo "$as_me: failed program was:" >&5
  7829. sed 's/^/| /' conftest.$ac_ext >&5
  7830. ac_cv_type_signal=void
  7831. fi
  7832. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7833. fi
  7834. { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
  7835. echo "${ECHO_T}$ac_cv_type_signal" >&6; }
  7836. cat >>confdefs.h <<_ACEOF
  7837. #define RETSIGTYPE $ac_cv_type_signal
  7838. _ACEOF
  7839. for ac_func in atexit getcwd gethostbyaddr gethostbyname inet_ntoa localtime_r memchr memmove memset regcomp select setlocale socket strchr strdup strerror strftime strstr strtoul
  7840. do
  7841. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7842. { echo "$as_me:$LINENO: checking for $ac_func" >&5
  7843. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  7844. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  7845. echo $ECHO_N "(cached) $ECHO_C" >&6
  7846. else
  7847. mirsave_CPPFLAGS=$CPPFLAGS
  7848. CPPFLAGS="-D_MIRMAKE_H $CPPFLAGS"
  7849. cat >conftest.$ac_ext <<_ACEOF
  7850. /* confdefs.h. */
  7851. _ACEOF
  7852. cat confdefs.h >>conftest.$ac_ext
  7853. cat >>conftest.$ac_ext <<_ACEOF
  7854. /* end confdefs.h. */
  7855. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  7856. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7857. #define $ac_func innocuous_$ac_func
  7858. /* System header to define __stub macros and hopefully few prototypes,
  7859. which can conflict with char $ac_func (); below.
  7860. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7861. <limits.h> exists even on freestanding compilers. */
  7862. #ifdef __STDC__
  7863. # include <limits.h>
  7864. #else
  7865. # include <assert.h>
  7866. #endif
  7867. #undef $ac_func
  7868. /* Override any GCC internal prototype to avoid an error.
  7869. Use char because int might match the return type of a GCC
  7870. builtin and then its argument prototype would still apply. */
  7871. #ifdef __cplusplus
  7872. extern "C"
  7873. #endif
  7874. char $ac_func ();
  7875. /* The GNU C library defines this for functions which it implements
  7876. to always fail with ENOSYS. Some functions are actually named
  7877. something starting with __ and the normal name is an alias. */
  7878. #if defined __stub_$ac_func || defined __stub___$ac_func
  7879. choke me
  7880. #endif
  7881. int
  7882. main ()
  7883. {
  7884. return $ac_func ();
  7885. ;
  7886. return 0;
  7887. }
  7888. _ACEOF
  7889. rm -f conftest.$ac_objext conftest$ac_exeext
  7890. if { (ac_try="$ac_link"
  7891. case "(($ac_try" in
  7892. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7893. *) ac_try_echo=$ac_try;;
  7894. esac
  7895. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7896. (eval "$ac_link") 2>conftest.er1
  7897. ac_status=$?
  7898. grep -v '^ *+' conftest.er1 >conftest.err
  7899. rm -f conftest.er1
  7900. cat conftest.err >&5
  7901. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7902. (exit $ac_status); } && {
  7903. test -z "$ac_c_werror_flag" ||
  7904. test ! -s conftest.err
  7905. } && test -s conftest$ac_exeext &&
  7906. $as_test_x conftest$ac_exeext; then
  7907. eval "$as_ac_var=yes"
  7908. else
  7909. echo "$as_me: failed program was:" >&5
  7910. sed 's/^/| /' conftest.$ac_ext >&5
  7911. eval "$as_ac_var=no"
  7912. fi
  7913. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7914. conftest$ac_exeext conftest.$ac_ext
  7915. fi
  7916. ac_res=`eval echo '${'$as_ac_var'}'`
  7917. { echo "$as_me:$LINENO: result: $ac_res" >&5
  7918. echo "${ECHO_T}$ac_res" >&6; }
  7919. CPPFLAGS=$mirsave_CPPFLAGS
  7920. if test `eval echo '${'$as_ac_var'}'` = yes; then
  7921. cat >>confdefs.h <<_ACEOF
  7922. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7923. _ACEOF
  7924. fi
  7925. done
  7926. { echo "$as_me:$LINENO: checking for pcre_compile in -lpcre" >&5
  7927. echo $ECHO_N "checking for pcre_compile in -lpcre... $ECHO_C" >&6; }
  7928. if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then
  7929. echo $ECHO_N "(cached) $ECHO_C" >&6
  7930. else
  7931. ac_check_lib_save_LIBS=$LIBS
  7932. LIBS="-lpcre $LIBS"
  7933. cat >conftest.$ac_ext <<_ACEOF
  7934. /* confdefs.h. */
  7935. _ACEOF
  7936. cat confdefs.h >>conftest.$ac_ext
  7937. cat >>conftest.$ac_ext <<_ACEOF
  7938. /* end confdefs.h. */
  7939. /* Override any GCC internal prototype to avoid an error.
  7940. Use char because int might match the return type of a GCC
  7941. builtin and then its argument prototype would still apply. */
  7942. #ifdef __cplusplus
  7943. extern "C"
  7944. #endif
  7945. char pcre_compile ();
  7946. int
  7947. main ()
  7948. {
  7949. return pcre_compile ();
  7950. ;
  7951. return 0;
  7952. }
  7953. _ACEOF
  7954. rm -f conftest.$ac_objext conftest$ac_exeext
  7955. if { (ac_try="$ac_link"
  7956. case "(($ac_try" in
  7957. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7958. *) ac_try_echo=$ac_try;;
  7959. esac
  7960. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7961. (eval "$ac_link") 2>conftest.er1
  7962. ac_status=$?
  7963. grep -v '^ *+' conftest.er1 >conftest.err
  7964. rm -f conftest.er1
  7965. cat conftest.err >&5
  7966. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7967. (exit $ac_status); } && {
  7968. test -z "$ac_c_werror_flag" ||
  7969. test ! -s conftest.err
  7970. } && test -s conftest$ac_exeext &&
  7971. $as_test_x conftest$ac_exeext; then
  7972. ac_cv_lib_pcre_pcre_compile=yes
  7973. else
  7974. echo "$as_me: failed program was:" >&5
  7975. sed 's/^/| /' conftest.$ac_ext >&5
  7976. ac_cv_lib_pcre_pcre_compile=no
  7977. fi
  7978. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7979. conftest$ac_exeext conftest.$ac_ext
  7980. LIBS=$ac_check_lib_save_LIBS
  7981. fi
  7982. { echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_pcre_compile" >&5
  7983. echo "${ECHO_T}$ac_cv_lib_pcre_pcre_compile" >&6; }
  7984. if test $ac_cv_lib_pcre_pcre_compile = yes; then
  7985. if test "${ac_cv_header_pcre_h+set}" = set; then
  7986. { echo "$as_me:$LINENO: checking for pcre.h" >&5
  7987. echo $ECHO_N "checking for pcre.h... $ECHO_C" >&6; }
  7988. if test "${ac_cv_header_pcre_h+set}" = set; then
  7989. echo $ECHO_N "(cached) $ECHO_C" >&6
  7990. fi
  7991. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
  7992. echo "${ECHO_T}$ac_cv_header_pcre_h" >&6; }
  7993. else
  7994. # Is the header compilable?
  7995. { echo "$as_me:$LINENO: checking pcre.h usability" >&5
  7996. echo $ECHO_N "checking pcre.h usability... $ECHO_C" >&6; }
  7997. cat >conftest.$ac_ext <<_ACEOF
  7998. /* confdefs.h. */
  7999. _ACEOF
  8000. cat confdefs.h >>conftest.$ac_ext
  8001. cat >>conftest.$ac_ext <<_ACEOF
  8002. /* end confdefs.h. */
  8003. $ac_includes_default
  8004. #include <pcre.h>
  8005. _ACEOF
  8006. rm -f conftest.$ac_objext
  8007. if { (ac_try="$ac_compile"
  8008. case "(($ac_try" in
  8009. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8010. *) ac_try_echo=$ac_try;;
  8011. esac
  8012. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8013. (eval "$ac_compile") 2>conftest.er1
  8014. ac_status=$?
  8015. grep -v '^ *+' conftest.er1 >conftest.err
  8016. rm -f conftest.er1
  8017. cat conftest.err >&5
  8018. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8019. (exit $ac_status); } && {
  8020. test -z "$ac_c_werror_flag" ||
  8021. test ! -s conftest.err
  8022. } && test -s conftest.$ac_objext; then
  8023. ac_header_compiler=yes
  8024. else
  8025. echo "$as_me: failed program was:" >&5
  8026. sed 's/^/| /' conftest.$ac_ext >&5
  8027. ac_header_compiler=no
  8028. fi
  8029. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8030. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8031. echo "${ECHO_T}$ac_header_compiler" >&6; }
  8032. # Is the header present?
  8033. { echo "$as_me:$LINENO: checking pcre.h presence" >&5
  8034. echo $ECHO_N "checking pcre.h presence... $ECHO_C" >&6; }
  8035. cat >conftest.$ac_ext <<_ACEOF
  8036. /* confdefs.h. */
  8037. _ACEOF
  8038. cat confdefs.h >>conftest.$ac_ext
  8039. cat >>conftest.$ac_ext <<_ACEOF
  8040. /* end confdefs.h. */
  8041. #include <pcre.h>
  8042. _ACEOF
  8043. if { (ac_try="$ac_cpp conftest.$ac_ext"
  8044. case "(($ac_try" in
  8045. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8046. *) ac_try_echo=$ac_try;;
  8047. esac
  8048. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8049. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8050. ac_status=$?
  8051. grep -v '^ *+' conftest.er1 >conftest.err
  8052. rm -f conftest.er1
  8053. cat conftest.err >&5
  8054. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8055. (exit $ac_status); } >/dev/null && {
  8056. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8057. test ! -s conftest.err
  8058. }; then
  8059. ac_header_preproc=yes
  8060. else
  8061. echo "$as_me: failed program was:" >&5
  8062. sed 's/^/| /' conftest.$ac_ext >&5
  8063. ac_header_preproc=no
  8064. fi
  8065. rm -f conftest.err conftest.$ac_ext
  8066. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8067. echo "${ECHO_T}$ac_header_preproc" >&6; }
  8068. # So? What about this header?
  8069. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8070. yes:no: )
  8071. { echo "$as_me:$LINENO: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8072. echo "$as_me: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8073. { echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the compiler's result" >&5
  8074. echo "$as_me: WARNING: pcre.h: proceeding with the compiler's result" >&2;}
  8075. ac_header_preproc=yes
  8076. ;;
  8077. no:yes:* )
  8078. { echo "$as_me:$LINENO: WARNING: pcre.h: present but cannot be compiled" >&5
  8079. echo "$as_me: WARNING: pcre.h: present but cannot be compiled" >&2;}
  8080. { echo "$as_me:$LINENO: WARNING: pcre.h: check for missing prerequisite headers?" >&5
  8081. echo "$as_me: WARNING: pcre.h: check for missing prerequisite headers?" >&2;}
  8082. { echo "$as_me:$LINENO: WARNING: pcre.h: see the Autoconf documentation" >&5
  8083. echo "$as_me: WARNING: pcre.h: see the Autoconf documentation" >&2;}
  8084. { echo "$as_me:$LINENO: WARNING: pcre.h: section \"Present But Cannot Be Compiled\"" >&5
  8085. echo "$as_me: WARNING: pcre.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8086. { echo "$as_me:$LINENO: WARNING: pcre.h: proceeding with the preprocessor's result" >&5
  8087. echo "$as_me: WARNING: pcre.h: proceeding with the preprocessor's result" >&2;}
  8088. { echo "$as_me:$LINENO: WARNING: pcre.h: in the future, the compiler will take precedence" >&5
  8089. echo "$as_me: WARNING: pcre.h: in the future, the compiler will take precedence" >&2;}
  8090. ;;
  8091. esac
  8092. { echo "$as_me:$LINENO: checking for pcre.h" >&5
  8093. echo $ECHO_N "checking for pcre.h... $ECHO_C" >&6; }
  8094. if test "${ac_cv_header_pcre_h+set}" = set; then
  8095. echo $ECHO_N "(cached) $ECHO_C" >&6
  8096. else
  8097. ac_cv_header_pcre_h=$ac_header_preproc
  8098. fi
  8099. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_h" >&5
  8100. echo "${ECHO_T}$ac_cv_header_pcre_h" >&6; }
  8101. fi
  8102. if test $ac_cv_header_pcre_h = yes; then
  8103. cat >conftest.$ac_ext <<_ACEOF
  8104. /* confdefs.h. */
  8105. _ACEOF
  8106. cat confdefs.h >>conftest.$ac_ext
  8107. cat >>conftest.$ac_ext <<_ACEOF
  8108. /* end confdefs.h. */
  8109. #include <pcre.h>
  8110. _ACEOF
  8111. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8112. $EGREP "pcre_fullinfo" >/dev/null 2>&1; then
  8113. have_pcre=yes
  8114. else
  8115. { echo "$as_me:$LINENO: WARNING: pcre old version installed" >&5
  8116. echo "$as_me: WARNING: pcre old version installed" >&2;}; have_pcre=no
  8117. fi
  8118. rm -f conftest*
  8119. else
  8120. if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
  8121. { echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
  8122. echo $ECHO_N "checking for pcre/pcre.h... $ECHO_C" >&6; }
  8123. if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
  8124. echo $ECHO_N "(cached) $ECHO_C" >&6
  8125. fi
  8126. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
  8127. echo "${ECHO_T}$ac_cv_header_pcre_pcre_h" >&6; }
  8128. else
  8129. # Is the header compilable?
  8130. { echo "$as_me:$LINENO: checking pcre/pcre.h usability" >&5
  8131. echo $ECHO_N "checking pcre/pcre.h usability... $ECHO_C" >&6; }
  8132. cat >conftest.$ac_ext <<_ACEOF
  8133. /* confdefs.h. */
  8134. _ACEOF
  8135. cat confdefs.h >>conftest.$ac_ext
  8136. cat >>conftest.$ac_ext <<_ACEOF
  8137. /* end confdefs.h. */
  8138. $ac_includes_default
  8139. #include <pcre/pcre.h>
  8140. _ACEOF
  8141. rm -f conftest.$ac_objext
  8142. if { (ac_try="$ac_compile"
  8143. case "(($ac_try" in
  8144. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8145. *) ac_try_echo=$ac_try;;
  8146. esac
  8147. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8148. (eval "$ac_compile") 2>conftest.er1
  8149. ac_status=$?
  8150. grep -v '^ *+' conftest.er1 >conftest.err
  8151. rm -f conftest.er1
  8152. cat conftest.err >&5
  8153. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8154. (exit $ac_status); } && {
  8155. test -z "$ac_c_werror_flag" ||
  8156. test ! -s conftest.err
  8157. } && test -s conftest.$ac_objext; then
  8158. ac_header_compiler=yes
  8159. else
  8160. echo "$as_me: failed program was:" >&5
  8161. sed 's/^/| /' conftest.$ac_ext >&5
  8162. ac_header_compiler=no
  8163. fi
  8164. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8165. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8166. echo "${ECHO_T}$ac_header_compiler" >&6; }
  8167. # Is the header present?
  8168. { echo "$as_me:$LINENO: checking pcre/pcre.h presence" >&5
  8169. echo $ECHO_N "checking pcre/pcre.h presence... $ECHO_C" >&6; }
  8170. cat >conftest.$ac_ext <<_ACEOF
  8171. /* confdefs.h. */
  8172. _ACEOF
  8173. cat confdefs.h >>conftest.$ac_ext
  8174. cat >>conftest.$ac_ext <<_ACEOF
  8175. /* end confdefs.h. */
  8176. #include <pcre/pcre.h>
  8177. _ACEOF
  8178. if { (ac_try="$ac_cpp conftest.$ac_ext"
  8179. case "(($ac_try" in
  8180. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8181. *) ac_try_echo=$ac_try;;
  8182. esac
  8183. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8184. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8185. ac_status=$?
  8186. grep -v '^ *+' conftest.er1 >conftest.err
  8187. rm -f conftest.er1
  8188. cat conftest.err >&5
  8189. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8190. (exit $ac_status); } >/dev/null && {
  8191. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8192. test ! -s conftest.err
  8193. }; then
  8194. ac_header_preproc=yes
  8195. else
  8196. echo "$as_me: failed program was:" >&5
  8197. sed 's/^/| /' conftest.$ac_ext >&5
  8198. ac_header_preproc=no
  8199. fi
  8200. rm -f conftest.err conftest.$ac_ext
  8201. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8202. echo "${ECHO_T}$ac_header_preproc" >&6; }
  8203. # So? What about this header?
  8204. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8205. yes:no: )
  8206. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8207. echo "$as_me: WARNING: pcre/pcre.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8208. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&5
  8209. echo "$as_me: WARNING: pcre/pcre.h: proceeding with the compiler's result" >&2;}
  8210. ac_header_preproc=yes
  8211. ;;
  8212. no:yes:* )
  8213. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: present but cannot be compiled" >&5
  8214. echo "$as_me: WARNING: pcre/pcre.h: present but cannot be compiled" >&2;}
  8215. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: check for missing prerequisite headers?" >&5
  8216. echo "$as_me: WARNING: pcre/pcre.h: check for missing prerequisite headers?" >&2;}
  8217. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: see the Autoconf documentation" >&5
  8218. echo "$as_me: WARNING: pcre/pcre.h: see the Autoconf documentation" >&2;}
  8219. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: section \"Present But Cannot Be Compiled\"" >&5
  8220. echo "$as_me: WARNING: pcre/pcre.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8221. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&5
  8222. echo "$as_me: WARNING: pcre/pcre.h: proceeding with the preprocessor's result" >&2;}
  8223. { echo "$as_me:$LINENO: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&5
  8224. echo "$as_me: WARNING: pcre/pcre.h: in the future, the compiler will take precedence" >&2;}
  8225. ;;
  8226. esac
  8227. { echo "$as_me:$LINENO: checking for pcre/pcre.h" >&5
  8228. echo $ECHO_N "checking for pcre/pcre.h... $ECHO_C" >&6; }
  8229. if test "${ac_cv_header_pcre_pcre_h+set}" = set; then
  8230. echo $ECHO_N "(cached) $ECHO_C" >&6
  8231. else
  8232. ac_cv_header_pcre_pcre_h=$ac_header_preproc
  8233. fi
  8234. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcre_h" >&5
  8235. echo "${ECHO_T}$ac_cv_header_pcre_pcre_h" >&6; }
  8236. fi
  8237. if test $ac_cv_header_pcre_pcre_h = yes; then
  8238. cat >conftest.$ac_ext <<_ACEOF
  8239. /* confdefs.h. */
  8240. _ACEOF
  8241. cat confdefs.h >>conftest.$ac_ext
  8242. cat >>conftest.$ac_ext <<_ACEOF
  8243. /* end confdefs.h. */
  8244. #include <pcre/pcre.h>
  8245. _ACEOF
  8246. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8247. $EGREP "pcre_fullinfo" >/dev/null 2>&1; then
  8248. have_pcre=yes; cat >>confdefs.h <<\_ACEOF
  8249. #define PCRE_H_IN_SUBDIR 1
  8250. _ACEOF
  8251. else
  8252. { echo "$as_me:$LINENO: WARNING: pcre old version installed" >&5
  8253. echo "$as_me: WARNING: pcre old version installed" >&2;}; have_pcre=no
  8254. fi
  8255. rm -f conftest*
  8256. else
  8257. have_pcre=no
  8258. fi
  8259. fi
  8260. else
  8261. have_pcre=no
  8262. fi
  8263. { echo "$as_me:$LINENO: checking for regcomp in -lpcreposix" >&5
  8264. echo $ECHO_N "checking for regcomp in -lpcreposix... $ECHO_C" >&6; }
  8265. if test "${ac_cv_lib_pcreposix_regcomp+set}" = set; then
  8266. echo $ECHO_N "(cached) $ECHO_C" >&6
  8267. else
  8268. ac_check_lib_save_LIBS=$LIBS
  8269. LIBS="-lpcreposix -lpcre $LIBS"
  8270. cat >conftest.$ac_ext <<_ACEOF
  8271. /* confdefs.h. */
  8272. _ACEOF
  8273. cat confdefs.h >>conftest.$ac_ext
  8274. cat >>conftest.$ac_ext <<_ACEOF
  8275. /* end confdefs.h. */
  8276. /* Override any GCC internal prototype to avoid an error.
  8277. Use char because int might match the return type of a GCC
  8278. builtin and then its argument prototype would still apply. */
  8279. #ifdef __cplusplus
  8280. extern "C"
  8281. #endif
  8282. char regcomp ();
  8283. int
  8284. main ()
  8285. {
  8286. return regcomp ();
  8287. ;
  8288. return 0;
  8289. }
  8290. _ACEOF
  8291. rm -f conftest.$ac_objext conftest$ac_exeext
  8292. if { (ac_try="$ac_link"
  8293. case "(($ac_try" in
  8294. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8295. *) ac_try_echo=$ac_try;;
  8296. esac
  8297. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8298. (eval "$ac_link") 2>conftest.er1
  8299. ac_status=$?
  8300. grep -v '^ *+' conftest.er1 >conftest.err
  8301. rm -f conftest.er1
  8302. cat conftest.err >&5
  8303. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8304. (exit $ac_status); } && {
  8305. test -z "$ac_c_werror_flag" ||
  8306. test ! -s conftest.err
  8307. } && test -s conftest$ac_exeext &&
  8308. $as_test_x conftest$ac_exeext; then
  8309. ac_cv_lib_pcreposix_regcomp=yes
  8310. else
  8311. echo "$as_me: failed program was:" >&5
  8312. sed 's/^/| /' conftest.$ac_ext >&5
  8313. ac_cv_lib_pcreposix_regcomp=no
  8314. fi
  8315. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8316. conftest$ac_exeext conftest.$ac_ext
  8317. LIBS=$ac_check_lib_save_LIBS
  8318. fi
  8319. { echo "$as_me:$LINENO: result: $ac_cv_lib_pcreposix_regcomp" >&5
  8320. echo "${ECHO_T}$ac_cv_lib_pcreposix_regcomp" >&6; }
  8321. if test $ac_cv_lib_pcreposix_regcomp = yes; then
  8322. if test "${ac_cv_header_pcreposix_h+set}" = set; then
  8323. { echo "$as_me:$LINENO: checking for pcreposix.h" >&5
  8324. echo $ECHO_N "checking for pcreposix.h... $ECHO_C" >&6; }
  8325. if test "${ac_cv_header_pcreposix_h+set}" = set; then
  8326. echo $ECHO_N "(cached) $ECHO_C" >&6
  8327. fi
  8328. { echo "$as_me:$LINENO: result: $ac_cv_header_pcreposix_h" >&5
  8329. echo "${ECHO_T}$ac_cv_header_pcreposix_h" >&6; }
  8330. else
  8331. # Is the header compilable?
  8332. { echo "$as_me:$LINENO: checking pcreposix.h usability" >&5
  8333. echo $ECHO_N "checking pcreposix.h usability... $ECHO_C" >&6; }
  8334. cat >conftest.$ac_ext <<_ACEOF
  8335. /* confdefs.h. */
  8336. _ACEOF
  8337. cat confdefs.h >>conftest.$ac_ext
  8338. cat >>conftest.$ac_ext <<_ACEOF
  8339. /* end confdefs.h. */
  8340. $ac_includes_default
  8341. #include <pcreposix.h>
  8342. _ACEOF
  8343. rm -f conftest.$ac_objext
  8344. if { (ac_try="$ac_compile"
  8345. case "(($ac_try" in
  8346. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8347. *) ac_try_echo=$ac_try;;
  8348. esac
  8349. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8350. (eval "$ac_compile") 2>conftest.er1
  8351. ac_status=$?
  8352. grep -v '^ *+' conftest.er1 >conftest.err
  8353. rm -f conftest.er1
  8354. cat conftest.err >&5
  8355. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8356. (exit $ac_status); } && {
  8357. test -z "$ac_c_werror_flag" ||
  8358. test ! -s conftest.err
  8359. } && test -s conftest.$ac_objext; then
  8360. ac_header_compiler=yes
  8361. else
  8362. echo "$as_me: failed program was:" >&5
  8363. sed 's/^/| /' conftest.$ac_ext >&5
  8364. ac_header_compiler=no
  8365. fi
  8366. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8367. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8368. echo "${ECHO_T}$ac_header_compiler" >&6; }
  8369. # Is the header present?
  8370. { echo "$as_me:$LINENO: checking pcreposix.h presence" >&5
  8371. echo $ECHO_N "checking pcreposix.h presence... $ECHO_C" >&6; }
  8372. cat >conftest.$ac_ext <<_ACEOF
  8373. /* confdefs.h. */
  8374. _ACEOF
  8375. cat confdefs.h >>conftest.$ac_ext
  8376. cat >>conftest.$ac_ext <<_ACEOF
  8377. /* end confdefs.h. */
  8378. #include <pcreposix.h>
  8379. _ACEOF
  8380. if { (ac_try="$ac_cpp conftest.$ac_ext"
  8381. case "(($ac_try" in
  8382. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8383. *) ac_try_echo=$ac_try;;
  8384. esac
  8385. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8386. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8387. ac_status=$?
  8388. grep -v '^ *+' conftest.er1 >conftest.err
  8389. rm -f conftest.er1
  8390. cat conftest.err >&5
  8391. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8392. (exit $ac_status); } >/dev/null && {
  8393. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8394. test ! -s conftest.err
  8395. }; then
  8396. ac_header_preproc=yes
  8397. else
  8398. echo "$as_me: failed program was:" >&5
  8399. sed 's/^/| /' conftest.$ac_ext >&5
  8400. ac_header_preproc=no
  8401. fi
  8402. rm -f conftest.err conftest.$ac_ext
  8403. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8404. echo "${ECHO_T}$ac_header_preproc" >&6; }
  8405. # So? What about this header?
  8406. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8407. yes:no: )
  8408. { echo "$as_me:$LINENO: WARNING: pcreposix.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8409. echo "$as_me: WARNING: pcreposix.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8410. { echo "$as_me:$LINENO: WARNING: pcreposix.h: proceeding with the compiler's result" >&5
  8411. echo "$as_me: WARNING: pcreposix.h: proceeding with the compiler's result" >&2;}
  8412. ac_header_preproc=yes
  8413. ;;
  8414. no:yes:* )
  8415. { echo "$as_me:$LINENO: WARNING: pcreposix.h: present but cannot be compiled" >&5
  8416. echo "$as_me: WARNING: pcreposix.h: present but cannot be compiled" >&2;}
  8417. { echo "$as_me:$LINENO: WARNING: pcreposix.h: check for missing prerequisite headers?" >&5
  8418. echo "$as_me: WARNING: pcreposix.h: check for missing prerequisite headers?" >&2;}
  8419. { echo "$as_me:$LINENO: WARNING: pcreposix.h: see the Autoconf documentation" >&5
  8420. echo "$as_me: WARNING: pcreposix.h: see the Autoconf documentation" >&2;}
  8421. { echo "$as_me:$LINENO: WARNING: pcreposix.h: section \"Present But Cannot Be Compiled\"" >&5
  8422. echo "$as_me: WARNING: pcreposix.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8423. { echo "$as_me:$LINENO: WARNING: pcreposix.h: proceeding with the preprocessor's result" >&5
  8424. echo "$as_me: WARNING: pcreposix.h: proceeding with the preprocessor's result" >&2;}
  8425. { echo "$as_me:$LINENO: WARNING: pcreposix.h: in the future, the compiler will take precedence" >&5
  8426. echo "$as_me: WARNING: pcreposix.h: in the future, the compiler will take precedence" >&2;}
  8427. ;;
  8428. esac
  8429. { echo "$as_me:$LINENO: checking for pcreposix.h" >&5
  8430. echo $ECHO_N "checking for pcreposix.h... $ECHO_C" >&6; }
  8431. if test "${ac_cv_header_pcreposix_h+set}" = set; then
  8432. echo $ECHO_N "(cached) $ECHO_C" >&6
  8433. else
  8434. ac_cv_header_pcreposix_h=$ac_header_preproc
  8435. fi
  8436. { echo "$as_me:$LINENO: result: $ac_cv_header_pcreposix_h" >&5
  8437. echo "${ECHO_T}$ac_cv_header_pcreposix_h" >&6; }
  8438. fi
  8439. if test $ac_cv_header_pcreposix_h = yes; then
  8440. cat >conftest.$ac_ext <<_ACEOF
  8441. /* confdefs.h. */
  8442. _ACEOF
  8443. cat confdefs.h >>conftest.$ac_ext
  8444. cat >>conftest.$ac_ext <<_ACEOF
  8445. /* end confdefs.h. */
  8446. #include <pcreposix.h>
  8447. _ACEOF
  8448. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8449. $EGREP "pcreposix_regerror" >/dev/null 2>&1; then
  8450. { echo "$as_me:$LINENO: WARNING: pcreposix old version installed" >&5
  8451. echo "$as_me: WARNING: pcreposix old version installed" >&2;}; have_pcreposix=no
  8452. else
  8453. have_pcreposix=yes
  8454. fi
  8455. rm -f conftest*
  8456. else
  8457. if test "${ac_cv_header_pcre_pcreposix_h+set}" = set; then
  8458. { echo "$as_me:$LINENO: checking for pcre/pcreposix.h" >&5
  8459. echo $ECHO_N "checking for pcre/pcreposix.h... $ECHO_C" >&6; }
  8460. if test "${ac_cv_header_pcre_pcreposix_h+set}" = set; then
  8461. echo $ECHO_N "(cached) $ECHO_C" >&6
  8462. fi
  8463. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcreposix_h" >&5
  8464. echo "${ECHO_T}$ac_cv_header_pcre_pcreposix_h" >&6; }
  8465. else
  8466. # Is the header compilable?
  8467. { echo "$as_me:$LINENO: checking pcre/pcreposix.h usability" >&5
  8468. echo $ECHO_N "checking pcre/pcreposix.h usability... $ECHO_C" >&6; }
  8469. cat >conftest.$ac_ext <<_ACEOF
  8470. /* confdefs.h. */
  8471. _ACEOF
  8472. cat confdefs.h >>conftest.$ac_ext
  8473. cat >>conftest.$ac_ext <<_ACEOF
  8474. /* end confdefs.h. */
  8475. $ac_includes_default
  8476. #include <pcre/pcreposix.h>
  8477. _ACEOF
  8478. rm -f conftest.$ac_objext
  8479. if { (ac_try="$ac_compile"
  8480. case "(($ac_try" in
  8481. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8482. *) ac_try_echo=$ac_try;;
  8483. esac
  8484. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8485. (eval "$ac_compile") 2>conftest.er1
  8486. ac_status=$?
  8487. grep -v '^ *+' conftest.er1 >conftest.err
  8488. rm -f conftest.er1
  8489. cat conftest.err >&5
  8490. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8491. (exit $ac_status); } && {
  8492. test -z "$ac_c_werror_flag" ||
  8493. test ! -s conftest.err
  8494. } && test -s conftest.$ac_objext; then
  8495. ac_header_compiler=yes
  8496. else
  8497. echo "$as_me: failed program was:" >&5
  8498. sed 's/^/| /' conftest.$ac_ext >&5
  8499. ac_header_compiler=no
  8500. fi
  8501. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8502. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8503. echo "${ECHO_T}$ac_header_compiler" >&6; }
  8504. # Is the header present?
  8505. { echo "$as_me:$LINENO: checking pcre/pcreposix.h presence" >&5
  8506. echo $ECHO_N "checking pcre/pcreposix.h presence... $ECHO_C" >&6; }
  8507. cat >conftest.$ac_ext <<_ACEOF
  8508. /* confdefs.h. */
  8509. _ACEOF
  8510. cat confdefs.h >>conftest.$ac_ext
  8511. cat >>conftest.$ac_ext <<_ACEOF
  8512. /* end confdefs.h. */
  8513. #include <pcre/pcreposix.h>
  8514. _ACEOF
  8515. if { (ac_try="$ac_cpp conftest.$ac_ext"
  8516. case "(($ac_try" in
  8517. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8518. *) ac_try_echo=$ac_try;;
  8519. esac
  8520. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8521. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8522. ac_status=$?
  8523. grep -v '^ *+' conftest.er1 >conftest.err
  8524. rm -f conftest.er1
  8525. cat conftest.err >&5
  8526. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8527. (exit $ac_status); } >/dev/null && {
  8528. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8529. test ! -s conftest.err
  8530. }; then
  8531. ac_header_preproc=yes
  8532. else
  8533. echo "$as_me: failed program was:" >&5
  8534. sed 's/^/| /' conftest.$ac_ext >&5
  8535. ac_header_preproc=no
  8536. fi
  8537. rm -f conftest.err conftest.$ac_ext
  8538. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8539. echo "${ECHO_T}$ac_header_preproc" >&6; }
  8540. # So? What about this header?
  8541. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8542. yes:no: )
  8543. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8544. echo "$as_me: WARNING: pcre/pcreposix.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8545. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: proceeding with the compiler's result" >&5
  8546. echo "$as_me: WARNING: pcre/pcreposix.h: proceeding with the compiler's result" >&2;}
  8547. ac_header_preproc=yes
  8548. ;;
  8549. no:yes:* )
  8550. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: present but cannot be compiled" >&5
  8551. echo "$as_me: WARNING: pcre/pcreposix.h: present but cannot be compiled" >&2;}
  8552. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: check for missing prerequisite headers?" >&5
  8553. echo "$as_me: WARNING: pcre/pcreposix.h: check for missing prerequisite headers?" >&2;}
  8554. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: see the Autoconf documentation" >&5
  8555. echo "$as_me: WARNING: pcre/pcreposix.h: see the Autoconf documentation" >&2;}
  8556. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: section \"Present But Cannot Be Compiled\"" >&5
  8557. echo "$as_me: WARNING: pcre/pcreposix.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8558. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: proceeding with the preprocessor's result" >&5
  8559. echo "$as_me: WARNING: pcre/pcreposix.h: proceeding with the preprocessor's result" >&2;}
  8560. { echo "$as_me:$LINENO: WARNING: pcre/pcreposix.h: in the future, the compiler will take precedence" >&5
  8561. echo "$as_me: WARNING: pcre/pcreposix.h: in the future, the compiler will take precedence" >&2;}
  8562. ;;
  8563. esac
  8564. { echo "$as_me:$LINENO: checking for pcre/pcreposix.h" >&5
  8565. echo $ECHO_N "checking for pcre/pcreposix.h... $ECHO_C" >&6; }
  8566. if test "${ac_cv_header_pcre_pcreposix_h+set}" = set; then
  8567. echo $ECHO_N "(cached) $ECHO_C" >&6
  8568. else
  8569. ac_cv_header_pcre_pcreposix_h=$ac_header_preproc
  8570. fi
  8571. { echo "$as_me:$LINENO: result: $ac_cv_header_pcre_pcreposix_h" >&5
  8572. echo "${ECHO_T}$ac_cv_header_pcre_pcreposix_h" >&6; }
  8573. fi
  8574. if test $ac_cv_header_pcre_pcreposix_h = yes; then
  8575. cat >conftest.$ac_ext <<_ACEOF
  8576. /* confdefs.h. */
  8577. _ACEOF
  8578. cat confdefs.h >>conftest.$ac_ext
  8579. cat >>conftest.$ac_ext <<_ACEOF
  8580. /* end confdefs.h. */
  8581. #include <pcre/pcreposix.h>
  8582. _ACEOF
  8583. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8584. $EGREP "pcreposix_regerror" >/dev/null 2>&1; then
  8585. { echo "$as_me:$LINENO: WARNING: pcreposix old version installed" >&5
  8586. echo "$as_me: WARNING: pcreposix old version installed" >&2;}; have_pcreposix=no
  8587. else
  8588. have_pcreposix=yes; cat >>confdefs.h <<\_ACEOF
  8589. #define PCREPOSIX_H_IN_SUBDIR 1
  8590. _ACEOF
  8591. fi
  8592. rm -f conftest*
  8593. else
  8594. have_pcreposix=no
  8595. fi
  8596. fi
  8597. else
  8598. have_pcreposix=no
  8599. fi
  8600. { echo "$as_me:$LINENO: checking for pcrs_compile in -lpcrs" >&5
  8601. echo $ECHO_N "checking for pcrs_compile in -lpcrs... $ECHO_C" >&6; }
  8602. if test "${ac_cv_lib_pcrs_pcrs_compile+set}" = set; then
  8603. echo $ECHO_N "(cached) $ECHO_C" >&6
  8604. else
  8605. ac_check_lib_save_LIBS=$LIBS
  8606. LIBS="-lpcrs -lpcre $LIBS"
  8607. cat >conftest.$ac_ext <<_ACEOF
  8608. /* confdefs.h. */
  8609. _ACEOF
  8610. cat confdefs.h >>conftest.$ac_ext
  8611. cat >>conftest.$ac_ext <<_ACEOF
  8612. /* end confdefs.h. */
  8613. /* Override any GCC internal prototype to avoid an error.
  8614. Use char because int might match the return type of a GCC
  8615. builtin and then its argument prototype would still apply. */
  8616. #ifdef __cplusplus
  8617. extern "C"
  8618. #endif
  8619. char pcrs_compile ();
  8620. int
  8621. main ()
  8622. {
  8623. return pcrs_compile ();
  8624. ;
  8625. return 0;
  8626. }
  8627. _ACEOF
  8628. rm -f conftest.$ac_objext conftest$ac_exeext
  8629. if { (ac_try="$ac_link"
  8630. case "(($ac_try" in
  8631. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8632. *) ac_try_echo=$ac_try;;
  8633. esac
  8634. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8635. (eval "$ac_link") 2>conftest.er1
  8636. ac_status=$?
  8637. grep -v '^ *+' conftest.er1 >conftest.err
  8638. rm -f conftest.er1
  8639. cat conftest.err >&5
  8640. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8641. (exit $ac_status); } && {
  8642. test -z "$ac_c_werror_flag" ||
  8643. test ! -s conftest.err
  8644. } && test -s conftest$ac_exeext &&
  8645. $as_test_x conftest$ac_exeext; then
  8646. ac_cv_lib_pcrs_pcrs_compile=yes
  8647. else
  8648. echo "$as_me: failed program was:" >&5
  8649. sed 's/^/| /' conftest.$ac_ext >&5
  8650. ac_cv_lib_pcrs_pcrs_compile=no
  8651. fi
  8652. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8653. conftest$ac_exeext conftest.$ac_ext
  8654. LIBS=$ac_check_lib_save_LIBS
  8655. fi
  8656. { echo "$as_me:$LINENO: result: $ac_cv_lib_pcrs_pcrs_compile" >&5
  8657. echo "${ECHO_T}$ac_cv_lib_pcrs_pcrs_compile" >&6; }
  8658. if test $ac_cv_lib_pcrs_pcrs_compile = yes; then
  8659. if test "${ac_cv_header_pcrs_h+set}" = set; then
  8660. { echo "$as_me:$LINENO: checking for pcrs.h" >&5
  8661. echo $ECHO_N "checking for pcrs.h... $ECHO_C" >&6; }
  8662. if test "${ac_cv_header_pcrs_h+set}" = set; then
  8663. echo $ECHO_N "(cached) $ECHO_C" >&6
  8664. fi
  8665. { echo "$as_me:$LINENO: result: $ac_cv_header_pcrs_h" >&5
  8666. echo "${ECHO_T}$ac_cv_header_pcrs_h" >&6; }
  8667. else
  8668. # Is the header compilable?
  8669. { echo "$as_me:$LINENO: checking pcrs.h usability" >&5
  8670. echo $ECHO_N "checking pcrs.h usability... $ECHO_C" >&6; }
  8671. cat >conftest.$ac_ext <<_ACEOF
  8672. /* confdefs.h. */
  8673. _ACEOF
  8674. cat confdefs.h >>conftest.$ac_ext
  8675. cat >>conftest.$ac_ext <<_ACEOF
  8676. /* end confdefs.h. */
  8677. $ac_includes_default
  8678. #include <pcrs.h>
  8679. _ACEOF
  8680. rm -f conftest.$ac_objext
  8681. if { (ac_try="$ac_compile"
  8682. case "(($ac_try" in
  8683. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8684. *) ac_try_echo=$ac_try;;
  8685. esac
  8686. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8687. (eval "$ac_compile") 2>conftest.er1
  8688. ac_status=$?
  8689. grep -v '^ *+' conftest.er1 >conftest.err
  8690. rm -f conftest.er1
  8691. cat conftest.err >&5
  8692. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8693. (exit $ac_status); } && {
  8694. test -z "$ac_c_werror_flag" ||
  8695. test ! -s conftest.err
  8696. } && test -s conftest.$ac_objext; then
  8697. ac_header_compiler=yes
  8698. else
  8699. echo "$as_me: failed program was:" >&5
  8700. sed 's/^/| /' conftest.$ac_ext >&5
  8701. ac_header_compiler=no
  8702. fi
  8703. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8704. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8705. echo "${ECHO_T}$ac_header_compiler" >&6; }
  8706. # Is the header present?
  8707. { echo "$as_me:$LINENO: checking pcrs.h presence" >&5
  8708. echo $ECHO_N "checking pcrs.h presence... $ECHO_C" >&6; }
  8709. cat >conftest.$ac_ext <<_ACEOF
  8710. /* confdefs.h. */
  8711. _ACEOF
  8712. cat confdefs.h >>conftest.$ac_ext
  8713. cat >>conftest.$ac_ext <<_ACEOF
  8714. /* end confdefs.h. */
  8715. #include <pcrs.h>
  8716. _ACEOF
  8717. if { (ac_try="$ac_cpp conftest.$ac_ext"
  8718. case "(($ac_try" in
  8719. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8720. *) ac_try_echo=$ac_try;;
  8721. esac
  8722. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8723. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8724. ac_status=$?
  8725. grep -v '^ *+' conftest.er1 >conftest.err
  8726. rm -f conftest.er1
  8727. cat conftest.err >&5
  8728. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8729. (exit $ac_status); } >/dev/null && {
  8730. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8731. test ! -s conftest.err
  8732. }; then
  8733. ac_header_preproc=yes
  8734. else
  8735. echo "$as_me: failed program was:" >&5
  8736. sed 's/^/| /' conftest.$ac_ext >&5
  8737. ac_header_preproc=no
  8738. fi
  8739. rm -f conftest.err conftest.$ac_ext
  8740. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8741. echo "${ECHO_T}$ac_header_preproc" >&6; }
  8742. # So? What about this header?
  8743. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8744. yes:no: )
  8745. { echo "$as_me:$LINENO: WARNING: pcrs.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8746. echo "$as_me: WARNING: pcrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8747. { echo "$as_me:$LINENO: WARNING: pcrs.h: proceeding with the compiler's result" >&5
  8748. echo "$as_me: WARNING: pcrs.h: proceeding with the compiler's result" >&2;}
  8749. ac_header_preproc=yes
  8750. ;;
  8751. no:yes:* )
  8752. { echo "$as_me:$LINENO: WARNING: pcrs.h: present but cannot be compiled" >&5
  8753. echo "$as_me: WARNING: pcrs.h: present but cannot be compiled" >&2;}
  8754. { echo "$as_me:$LINENO: WARNING: pcrs.h: check for missing prerequisite headers?" >&5
  8755. echo "$as_me: WARNING: pcrs.h: check for missing prerequisite headers?" >&2;}
  8756. { echo "$as_me:$LINENO: WARNING: pcrs.h: see the Autoconf documentation" >&5
  8757. echo "$as_me: WARNING: pcrs.h: see the Autoconf documentation" >&2;}
  8758. { echo "$as_me:$LINENO: WARNING: pcrs.h: section \"Present But Cannot Be Compiled\"" >&5
  8759. echo "$as_me: WARNING: pcrs.h: section \"Present But Cannot Be Compiled\"" >&2;}
  8760. { echo "$as_me:$LINENO: WARNING: pcrs.h: proceeding with the preprocessor's result" >&5
  8761. echo "$as_me: WARNING: pcrs.h: proceeding with the preprocessor's result" >&2;}
  8762. { echo "$as_me:$LINENO: WARNING: pcrs.h: in the future, the compiler will take precedence" >&5
  8763. echo "$as_me: WARNING: pcrs.h: in the future, the compiler will take precedence" >&2;}
  8764. ;;
  8765. esac
  8766. { echo "$as_me:$LINENO: checking for pcrs.h" >&5
  8767. echo $ECHO_N "checking for pcrs.h... $ECHO_C" >&6; }
  8768. if test "${ac_cv_header_pcrs_h+set}" = set; then
  8769. echo $ECHO_N "(cached) $ECHO_C" >&6
  8770. else
  8771. ac_cv_header_pcrs_h=$ac_header_preproc
  8772. fi
  8773. { echo "$as_me:$LINENO: result: $ac_cv_header_pcrs_h" >&5
  8774. echo "${ECHO_T}$ac_cv_header_pcrs_h" >&6; }
  8775. fi
  8776. if test $ac_cv_header_pcrs_h = yes; then
  8777. have_pcrs=yes
  8778. else
  8779. have_pcrs=no
  8780. fi
  8781. else
  8782. have_pcrs=no
  8783. fi
  8784. cat >>confdefs.h <<\_ACEOF
  8785. #define __MT__ 1
  8786. _ACEOF
  8787. # Check whether --enable-toggle was given.
  8788. if test "${enable_toggle+set}" = set; then
  8789. enableval=$enable_toggle; if test $enableval = yes; then
  8790. cat >>confdefs.h <<\_ACEOF
  8791. #define FEATURE_TOGGLE 1
  8792. _ACEOF
  8793. fi
  8794. else
  8795. cat >>confdefs.h <<\_ACEOF
  8796. #define FEATURE_TOGGLE 1
  8797. _ACEOF
  8798. fi
  8799. # Check whether --enable-force was given.
  8800. if test "${enable_force+set}" = set; then
  8801. enableval=$enable_force; if test $enableval = yes; then
  8802. cat >>confdefs.h <<\_ACEOF
  8803. #define FEATURE_FORCE_LOAD 1
  8804. _ACEOF
  8805. fi
  8806. else
  8807. cat >>confdefs.h <<\_ACEOF
  8808. #define FEATURE_FORCE_LOAD 1
  8809. _ACEOF
  8810. fi
  8811. # Check whether --enable-fast-redirects was given.
  8812. if test "${enable_fast_redirects+set}" = set; then
  8813. enableval=$enable_fast_redirects; if test $enableval = yes; then
  8814. cat >>confdefs.h <<\_ACEOF
  8815. #define FEATURE_FAST_REDIRECTS 1
  8816. _ACEOF
  8817. fi
  8818. else
  8819. cat >>confdefs.h <<\_ACEOF
  8820. #define FEATURE_FAST_REDIRECTS 1
  8821. _ACEOF
  8822. fi
  8823. # Check whether --enable-killpopup was given.
  8824. if test "${enable_killpopup+set}" = set; then
  8825. enableval=$enable_killpopup; if test $enableval = yes; then
  8826. cat >>confdefs.h <<\_ACEOF
  8827. #define FEATURE_KILL_POPUPS 1
  8828. _ACEOF
  8829. fi
  8830. else
  8831. cat >>confdefs.h <<\_ACEOF
  8832. #define FEATURE_KILL_POPUPS 1
  8833. _ACEOF
  8834. fi
  8835. # Check whether --enable-stats was given.
  8836. if test "${enable_stats+set}" = set; then
  8837. enableval=$enable_stats; if test $enableval = yes; then
  8838. cat >>confdefs.h <<\_ACEOF
  8839. #define FEATURE_STATISTICS 1
  8840. _ACEOF
  8841. fi
  8842. else
  8843. cat >>confdefs.h <<\_ACEOF
  8844. #define FEATURE_STATISTICS 1
  8845. _ACEOF
  8846. fi
  8847. # Check whether --enable-ie-images was given.
  8848. if test "${enable_ie_images+set}" = set; then
  8849. enableval=$enable_ie_images; if test $enableval = yes; then
  8850. cat >>confdefs.h <<\_ACEOF
  8851. #define FEATURE_IMAGE_DETECT_MSIE 1
  8852. _ACEOF
  8853. fi
  8854. fi
  8855. # Check whether --enable-image-blocking was given.
  8856. if test "${enable_image_blocking+set}" = set; then
  8857. enableval=$enable_image_blocking; if test $enableval = yes; then
  8858. cat >>confdefs.h <<\_ACEOF
  8859. #define FEATURE_IMAGE_BLOCKING 1
  8860. _ACEOF
  8861. fi
  8862. else
  8863. cat >>confdefs.h <<\_ACEOF
  8864. #define FEATURE_IMAGE_BLOCKING 1
  8865. _ACEOF
  8866. fi
  8867. # Check whether --enable-acl-files was given.
  8868. if test "${enable_acl_files+set}" = set; then
  8869. enableval=$enable_acl_files; if test $enableval = yes; then
  8870. cat >>confdefs.h <<\_ACEOF
  8871. #define FEATURE_ACL 1
  8872. _ACEOF
  8873. fi
  8874. else
  8875. cat >>confdefs.h <<\_ACEOF
  8876. #define FEATURE_ACL 1
  8877. _ACEOF
  8878. fi
  8879. # Check whether --enable-trust-files was given.
  8880. if test "${enable_trust_files+set}" = set; then
  8881. enableval=$enable_trust_files; if test $enableval = yes; then
  8882. cat >>confdefs.h <<\_ACEOF
  8883. #define FEATURE_TRUST 1
  8884. _ACEOF
  8885. fi
  8886. else
  8887. cat >>confdefs.h <<\_ACEOF
  8888. #define FEATURE_TRUST 1
  8889. _ACEOF
  8890. fi
  8891. # Check whether --enable-jar-files was given.
  8892. if test "${enable_jar_files+set}" = set; then
  8893. enableval=$enable_jar_files; if test $enableval = yes; then
  8894. cat >>confdefs.h <<\_ACEOF
  8895. #define FEATURE_COOKIE_JAR 1
  8896. _ACEOF
  8897. fi
  8898. else
  8899. cat >>confdefs.h <<\_ACEOF
  8900. #define FEATURE_COOKIE_JAR 1
  8901. _ACEOF
  8902. fi
  8903. # Check whether --enable-editor was given.
  8904. if test "${enable_editor+set}" = set; then
  8905. enableval=$enable_editor; if test $enableval = yes; then
  8906. cat >>confdefs.h <<\_ACEOF
  8907. #define FEATURE_CGI_EDIT_ACTIONS 1
  8908. _ACEOF
  8909. fi
  8910. else
  8911. cat >>confdefs.h <<\_ACEOF
  8912. #define FEATURE_CGI_EDIT_ACTIONS 1
  8913. _ACEOF
  8914. fi
  8915. # Check whether --enable-no-gifs was given.
  8916. if test "${enable_no_gifs+set}" = set; then
  8917. enableval=$enable_no_gifs; if test $enableval = yes; then
  8918. cat >>confdefs.h <<\_ACEOF
  8919. #define FEATURE_NO_GIFS 1
  8920. _ACEOF
  8921. fi
  8922. fi
  8923. # Check whether --enable-dynamic-pcre was given.
  8924. if test "${enable_dynamic_pcre+set}" = set; then
  8925. enableval=$enable_dynamic_pcre; if test $enableval = "no"; then have_pcre=no; fi
  8926. fi
  8927. # Check whether --enable-dynamic-pcrs was given.
  8928. if test "${enable_dynamic_pcrs+set}" = set; then
  8929. enableval=$enable_dynamic_pcrs; if test $enableval = "no"; then have_pcrs=no; fi
  8930. fi
  8931. # If we have libpcre and either we also have pcreposix or
  8932. # we don't need pcreposix, then link pcre dynamically; else
  8933. # build it and link statically
  8934. #
  8935. if test $have_pcre = "yes"; then
  8936. echo "using libpcre"
  8937. pcre_dyn=yes
  8938. STATIC_PCRE_ONLY=#
  8939. LIBS="$LIBS -lpcre -lpcreposix"
  8940. else
  8941. echo "using built-in static pcre"
  8942. pcre_dyn=no
  8943. cat >>confdefs.h <<\_ACEOF
  8944. #define STATIC_PCRE 1
  8945. _ACEOF
  8946. STATIC_PCRE_ONLY=
  8947. fi
  8948. # If we have libpcrs and pcre is linked dynamically
  8949. # then also link pcrs dynamically, else build and link
  8950. # pcrs statically
  8951. #
  8952. if test $have_pcrs = "yes" -a $pcre_dyn = "yes"; then
  8953. echo "using libpcrs"
  8954. STATIC_PCRS_ONLY=#
  8955. LIBS="$LIBS -lpcrs"
  8956. else
  8957. echo "using built-in static pcrs"
  8958. cat >>confdefs.h <<\_ACEOF
  8959. #define STATIC_PCRS 1
  8960. _ACEOF
  8961. STATIC_PCRS_ONLY=
  8962. fi
  8963. CFLAGS=$old_CFLAGS_nospecial
  8964. ac_config_files="$ac_config_files GNUmakefile doc/source/ldp.dsl"
  8965. cat >confcache <<\_ACEOF
  8966. # This file is a shell script that caches the results of configure
  8967. # tests run on this system so they can be shared between configure
  8968. # scripts and configure runs, see configure's option --config-cache.
  8969. # It is not useful on other systems. If it contains results you don't
  8970. # want to keep, you may remove or edit it.
  8971. #
  8972. # config.status only pays attention to the cache file if you give it
  8973. # the --recheck option to rerun configure.
  8974. #
  8975. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  8976. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  8977. # following values.
  8978. _ACEOF
  8979. # The following way of writing the cache mishandles newlines in values,
  8980. # but we know of no workaround that is simple, portable, and efficient.
  8981. # So, we kill variables containing newlines.
  8982. # Ultrix sh set writes to stderr and can't be redirected directly,
  8983. # and sets the high bit in the cache file unless we assign to the vars.
  8984. (
  8985. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  8986. eval ac_val=\$$ac_var
  8987. case $ac_val in #(
  8988. *${as_nl}*)
  8989. case $ac_var in #(
  8990. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  8991. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  8992. esac
  8993. case $ac_var in #(
  8994. _ | IFS | as_nl) ;; #(
  8995. *) $as_unset $ac_var ;;
  8996. esac ;;
  8997. esac
  8998. done
  8999. (set) 2>&1 |
  9000. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  9001. *${as_nl}ac_space=\ *)
  9002. # `set' does not quote correctly, so add quotes (double-quote
  9003. # substitution turns \\\\ into \\, and sed turns \\ into \).
  9004. sed -n \
  9005. "s/'/'\\\\''/g;
  9006. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  9007. ;; #(
  9008. *)
  9009. # `set' quotes correctly as required by POSIX, so do not add quotes.
  9010. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  9011. ;;
  9012. esac |
  9013. sort
  9014. ) |
  9015. sed '
  9016. /^ac_cv_env_/b end
  9017. t clear
  9018. :clear
  9019. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  9020. t end
  9021. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  9022. :end' >>confcache
  9023. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  9024. if test -w "$cache_file"; then
  9025. test "x$cache_file" != "x/dev/null" &&
  9026. { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  9027. echo "$as_me: updating cache $cache_file" >&6;}
  9028. cat confcache >$cache_file
  9029. else
  9030. { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  9031. echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  9032. fi
  9033. fi
  9034. rm -f confcache
  9035. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  9036. # Let make expand exec_prefix.
  9037. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  9038. DEFS=-DHAVE_CONFIG_H
  9039. ac_libobjs=
  9040. ac_ltlibobjs=
  9041. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  9042. # 1. Remove the extension, and $U if already installed.
  9043. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  9044. ac_i=`echo "$ac_i" | sed "$ac_script"`
  9045. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  9046. # will be set to the directory where LIBOBJS objects are built.
  9047. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  9048. ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  9049. done
  9050. LIBOBJS=$ac_libobjs
  9051. LTLIBOBJS=$ac_ltlibobjs
  9052. : ${CONFIG_STATUS=./config.status}
  9053. ac_clean_files_save=$ac_clean_files
  9054. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  9055. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  9056. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  9057. cat >$CONFIG_STATUS <<_ACEOF
  9058. #! $SHELL
  9059. # Generated by $as_me.
  9060. # Run this file to recreate the current configuration.
  9061. # Compiler output produced by configure, useful for debugging
  9062. # configure, is in config.log if it exists.
  9063. debug=false
  9064. ac_cs_recheck=false
  9065. ac_cs_silent=false
  9066. SHELL=\${CONFIG_SHELL-$SHELL}
  9067. _ACEOF
  9068. cat >>$CONFIG_STATUS <<\_ACEOF
  9069. ## --------------------- ##
  9070. ## M4sh Initialization. ##
  9071. ## --------------------- ##
  9072. # Be more Bourne compatible
  9073. DUALCASE=1; export DUALCASE # for MKS sh
  9074. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  9075. emulate sh
  9076. NULLCMD=:
  9077. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  9078. # is contrary to our usage. Disable this feature.
  9079. alias -g '${1+"$@"}'='"$@"'
  9080. setopt NO_GLOB_SUBST
  9081. else
  9082. case `(set -o) 2>/dev/null` in
  9083. *posix*) set -o posix ;;
  9084. esac
  9085. fi
  9086. # PATH needs CR
  9087. # Avoid depending upon Character Ranges.
  9088. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9089. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9090. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9091. as_cr_digits='0123456789'
  9092. as_cr_alnum=$as_cr_Letters$as_cr_digits
  9093. # The user is always right.
  9094. if test "${PATH_SEPARATOR+set}" != set; then
  9095. echo "#! /bin/sh" >conf$$.sh
  9096. echo "exit 0" >>conf$$.sh
  9097. chmod +x conf$$.sh
  9098. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  9099. PATH_SEPARATOR=';'
  9100. else
  9101. PATH_SEPARATOR=:
  9102. fi
  9103. rm -f conf$$.sh
  9104. fi
  9105. # Support unset when possible.
  9106. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  9107. as_unset=unset
  9108. else
  9109. as_unset=false
  9110. fi
  9111. # IFS
  9112. # We need space, tab and new line, in precisely that order. Quoting is
  9113. # there to prevent editors from complaining about space-tab.
  9114. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9115. # splitting by setting IFS to empty value.)
  9116. as_nl='
  9117. '
  9118. IFS=" "" $as_nl"
  9119. # Find who we are. Look in the path if we contain no directory separator.
  9120. case $0 in
  9121. *[\\/]* ) as_myself=$0 ;;
  9122. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9123. for as_dir in $PATH
  9124. do
  9125. IFS=$as_save_IFS
  9126. test -z "$as_dir" && as_dir=.
  9127. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9128. done
  9129. IFS=$as_save_IFS
  9130. ;;
  9131. esac
  9132. # We did not find ourselves, most probably we were run as `sh COMMAND'
  9133. # in which case we are not to be found in the path.
  9134. if test "x$as_myself" = x; then
  9135. as_myself=$0
  9136. fi
  9137. if test ! -f "$as_myself"; then
  9138. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9139. { (exit 1); exit 1; }
  9140. fi
  9141. # Work around bugs in pre-3.0 UWIN ksh.
  9142. for as_var in ENV MAIL MAILPATH
  9143. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  9144. done
  9145. PS1='$ '
  9146. PS2='> '
  9147. PS4='+ '
  9148. # NLS nuisances.
  9149. for as_var in \
  9150. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  9151. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  9152. LC_TELEPHONE LC_TIME
  9153. do
  9154. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  9155. eval $as_var=C; export $as_var
  9156. else
  9157. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  9158. fi
  9159. done
  9160. # Required to use basename.
  9161. if expr a : '\(a\)' >/dev/null 2>&1 &&
  9162. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9163. as_expr=expr
  9164. else
  9165. as_expr=false
  9166. fi
  9167. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9168. as_basename=basename
  9169. else
  9170. as_basename=false
  9171. fi
  9172. # Name of the executable.
  9173. as_me=`$as_basename -- "$0" ||
  9174. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9175. X"$0" : 'X\(//\)$' \| \
  9176. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9177. echo X/"$0" |
  9178. sed '/^.*\/\([^/][^/]*\)\/*$/{
  9179. s//\1/
  9180. q
  9181. }
  9182. /^X\/\(\/\/\)$/{
  9183. s//\1/
  9184. q
  9185. }
  9186. /^X\/\(\/\).*/{
  9187. s//\1/
  9188. q
  9189. }
  9190. s/.*/./; q'`
  9191. # CDPATH.
  9192. $as_unset CDPATH
  9193. as_lineno_1=$LINENO
  9194. as_lineno_2=$LINENO
  9195. test "x$as_lineno_1" != "x$as_lineno_2" &&
  9196. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  9197. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  9198. # uniformly replaced by the line number. The first 'sed' inserts a
  9199. # line-number line after each line using $LINENO; the second 'sed'
  9200. # does the real work. The second script uses 'N' to pair each
  9201. # line-number line with the line containing $LINENO, and appends
  9202. # trailing '-' during substitution so that $LINENO is not a special
  9203. # case at line end.
  9204. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  9205. # scripts with optimization help from Paolo Bonzini. Blame Lee
  9206. # E. McMahon (1931-1989) for sed's syntax. :-)
  9207. sed -n '
  9208. p
  9209. /[$]LINENO/=
  9210. ' <$as_myself |
  9211. sed '
  9212. s/[$]LINENO.*/&-/
  9213. t lineno
  9214. b
  9215. :lineno
  9216. N
  9217. :loop
  9218. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  9219. t loop
  9220. s/-\n.*//
  9221. ' >$as_me.lineno &&
  9222. chmod +x "$as_me.lineno" ||
  9223. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  9224. { (exit 1); exit 1; }; }
  9225. # Don't try to exec as it changes $[0], causing all sort of problems
  9226. # (the dirname of $[0] is not the place where we might find the
  9227. # original and so on. Autoconf is especially sensitive to this).
  9228. . "./$as_me.lineno"
  9229. # Exit status is that of the last command.
  9230. exit
  9231. }
  9232. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9233. as_dirname=dirname
  9234. else
  9235. as_dirname=false
  9236. fi
  9237. ECHO_C= ECHO_N= ECHO_T=
  9238. case `echo -n x` in
  9239. -n*)
  9240. case `echo 'x\c'` in
  9241. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9242. *) ECHO_C='\c';;
  9243. esac;;
  9244. *)
  9245. ECHO_N='-n';;
  9246. esac
  9247. if expr a : '\(a\)' >/dev/null 2>&1 &&
  9248. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9249. as_expr=expr
  9250. else
  9251. as_expr=false
  9252. fi
  9253. rm -f conf$$ conf$$.exe conf$$.file
  9254. if test -d conf$$.dir; then
  9255. rm -f conf$$.dir/conf$$.file
  9256. else
  9257. rm -f conf$$.dir
  9258. mkdir conf$$.dir
  9259. fi
  9260. echo >conf$$.file
  9261. if ln -s conf$$.file conf$$ 2>/dev/null; then
  9262. as_ln_s='ln -s'
  9263. # ... but there are two gotchas:
  9264. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9265. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9266. # In both cases, we have to default to `cp -p'.
  9267. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9268. as_ln_s='cp -p'
  9269. elif ln conf$$.file conf$$ 2>/dev/null; then
  9270. as_ln_s=ln
  9271. else
  9272. as_ln_s='cp -p'
  9273. fi
  9274. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9275. rmdir conf$$.dir 2>/dev/null
  9276. if mkdir -p . 2>/dev/null; then
  9277. as_mkdir_p=:
  9278. else
  9279. test -d ./-p && rmdir ./-p
  9280. as_mkdir_p=false
  9281. fi
  9282. if test -x / >/dev/null 2>&1; then
  9283. as_test_x='test -x'
  9284. else
  9285. if ls -dL / >/dev/null 2>&1; then
  9286. as_ls_L_option=L
  9287. else
  9288. as_ls_L_option=
  9289. fi
  9290. as_test_x='
  9291. eval sh -c '\''
  9292. if test -d "$1"; then
  9293. test -d "$1/.";
  9294. else
  9295. case $1 in
  9296. -*)set "./$1";;
  9297. esac;
  9298. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  9299. ???[sx]*):;;*)false;;esac;fi
  9300. '\'' sh
  9301. '
  9302. fi
  9303. as_executable_p=$as_test_x
  9304. # Sed expression to map a string onto a valid CPP name.
  9305. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9306. # Sed expression to map a string onto a valid variable name.
  9307. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9308. exec 6>&1
  9309. # Save the log message, to keep $[0] and so on meaningful, and to
  9310. # report actual input values of CONFIG_FILES etc. instead of their
  9311. # values after options handling.
  9312. ac_log="
  9313. This file was extended by $as_me, which was
  9314. generated by GNU Autoconf 2.61-MirPorts-0. Invocation command line was
  9315. CONFIG_FILES = $CONFIG_FILES
  9316. CONFIG_HEADERS = $CONFIG_HEADERS
  9317. CONFIG_LINKS = $CONFIG_LINKS
  9318. CONFIG_COMMANDS = $CONFIG_COMMANDS
  9319. $ $0 $@
  9320. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  9321. "
  9322. _ACEOF
  9323. cat >>$CONFIG_STATUS <<_ACEOF
  9324. # Files that config.status was made for.
  9325. config_files="$ac_config_files"
  9326. config_headers="$ac_config_headers"
  9327. _ACEOF
  9328. cat >>$CONFIG_STATUS <<\_ACEOF
  9329. ac_cs_usage="\
  9330. \`$as_me' instantiates files from templates according to the
  9331. current configuration.
  9332. Usage: $0 [OPTIONS] [FILE]...
  9333. -h, --help print this help, then exit
  9334. -V, --version print version number and configuration settings, then exit
  9335. -q, --quiet do not print progress messages
  9336. -d, --debug don't remove temporary files
  9337. --recheck update $as_me by reconfiguring in the same conditions
  9338. --file=FILE[:TEMPLATE]
  9339. instantiate the configuration file FILE
  9340. --header=FILE[:TEMPLATE]
  9341. instantiate the configuration header FILE
  9342. Configuration files:
  9343. $config_files
  9344. Configuration headers:
  9345. $config_headers
  9346. Report bugs to <bug-autoconf@gnu.org>."
  9347. _ACEOF
  9348. cat >>$CONFIG_STATUS <<_ACEOF
  9349. ac_cs_version="\\
  9350. config.status
  9351. configured by $0, generated by GNU Autoconf 2.61-MirPorts-0,
  9352. with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  9353. Copyright (C) 2006 Free Software Foundation, Inc.
  9354. This config.status script is free software; the Free Software Foundation
  9355. gives unlimited permission to copy, distribute and modify it."
  9356. ac_pwd='$ac_pwd'
  9357. srcdir='$srcdir'
  9358. INSTALL='$INSTALL'
  9359. _ACEOF
  9360. cat >>$CONFIG_STATUS <<\_ACEOF
  9361. # If no file are specified by the user, then we need to provide default
  9362. # value. By we need to know if files were specified by the user.
  9363. ac_need_defaults=:
  9364. while test $# != 0
  9365. do
  9366. case $1 in
  9367. --*=*)
  9368. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  9369. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  9370. ac_shift=:
  9371. ;;
  9372. *)
  9373. ac_option=$1
  9374. ac_optarg=$2
  9375. ac_shift=shift
  9376. ;;
  9377. esac
  9378. case $ac_option in
  9379. # Handling of the options.
  9380. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  9381. ac_cs_recheck=: ;;
  9382. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  9383. echo "$ac_cs_version"; exit ;;
  9384. --debug | --debu | --deb | --de | --d | -d )
  9385. debug=: ;;
  9386. --file | --fil | --fi | --f )
  9387. $ac_shift
  9388. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  9389. ac_need_defaults=false;;
  9390. --header | --heade | --head | --hea )
  9391. $ac_shift
  9392. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  9393. ac_need_defaults=false;;
  9394. --he | --h)
  9395. # Conflict between --help and --header
  9396. { echo "$as_me: error: ambiguous option: $1
  9397. Try \`$0 --help' for more information." >&2
  9398. { (exit 1); exit 1; }; };;
  9399. --help | --hel | -h )
  9400. echo "$ac_cs_usage"; exit ;;
  9401. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9402. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  9403. ac_cs_silent=: ;;
  9404. # This is an error.
  9405. -*) { echo "$as_me: error: unrecognized option: $1
  9406. Try \`$0 --help' for more information." >&2
  9407. { (exit 1); exit 1; }; } ;;
  9408. *) ac_config_targets="$ac_config_targets $1"
  9409. ac_need_defaults=false ;;
  9410. esac
  9411. shift
  9412. done
  9413. ac_configure_extra_args=
  9414. if $ac_cs_silent; then
  9415. exec 6>/dev/null
  9416. ac_configure_extra_args="$ac_configure_extra_args --silent"
  9417. fi
  9418. _ACEOF
  9419. cat >>$CONFIG_STATUS <<_ACEOF
  9420. if \$ac_cs_recheck; then
  9421. echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  9422. CONFIG_SHELL=$SHELL
  9423. export CONFIG_SHELL
  9424. exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  9425. fi
  9426. _ACEOF
  9427. cat >>$CONFIG_STATUS <<\_ACEOF
  9428. exec 5>>config.log
  9429. {
  9430. echo
  9431. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  9432. ## Running $as_me. ##
  9433. _ASBOX
  9434. echo "$ac_log"
  9435. } >&5
  9436. _ACEOF
  9437. cat >>$CONFIG_STATUS <<_ACEOF
  9438. _ACEOF
  9439. cat >>$CONFIG_STATUS <<\_ACEOF
  9440. # Handling of arguments.
  9441. for ac_config_target in $ac_config_targets
  9442. do
  9443. case $ac_config_target in
  9444. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  9445. "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
  9446. "doc/source/ldp.dsl") CONFIG_FILES="$CONFIG_FILES doc/source/ldp.dsl" ;;
  9447. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  9448. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  9449. { (exit 1); exit 1; }; };;
  9450. esac
  9451. done
  9452. # If the user did not use the arguments to specify the items to instantiate,
  9453. # then the envvar interface is used. Set only those that are not.
  9454. # We use the long form for the default assignment because of an extremely
  9455. # bizarre bug on SunOS 4.1.3.
  9456. if $ac_need_defaults; then
  9457. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  9458. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  9459. fi
  9460. # Have a temporary directory for convenience. Make it in the build tree
  9461. # simply because there is no reason against having it here, and in addition,
  9462. # creating and moving files from /tmp can sometimes cause problems.
  9463. # Hook for its removal unless debugging.
  9464. # Note that there is a small window in which the directory will not be cleaned:
  9465. # after its creation but before its name has been assigned to `$tmp'.
  9466. $debug ||
  9467. {
  9468. tmp=
  9469. trap 'exit_status=$?
  9470. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  9471. ' 0
  9472. trap '{ (exit 1); exit 1; }' 1 2 13 15
  9473. }
  9474. # Create a (secure) tmp directory for tmp files.
  9475. {
  9476. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  9477. test -n "$tmp" && test -d "$tmp"
  9478. } ||
  9479. {
  9480. tmp=./conf$$-$RANDOM
  9481. (umask 077 && mkdir "$tmp")
  9482. } ||
  9483. {
  9484. echo "$me: cannot create a temporary directory in ." >&2
  9485. { (exit 1); exit 1; }
  9486. }
  9487. #
  9488. # Set up the sed scripts for CONFIG_FILES section.
  9489. #
  9490. # No need to generate the scripts if there are no CONFIG_FILES.
  9491. # This happens for instance when ./config.status config.h
  9492. if test -n "$CONFIG_FILES"; then
  9493. _ACEOF
  9494. ac_delim='%!_!# '
  9495. for ac_last_try in false false false false false :; do
  9496. cat >conf$$subs.sed <<_ACEOF
  9497. SHELL!$SHELL$ac_delim
  9498. PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  9499. PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  9500. PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  9501. PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  9502. PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  9503. PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  9504. exec_prefix!$exec_prefix$ac_delim
  9505. prefix!$prefix$ac_delim
  9506. program_transform_name!$program_transform_name$ac_delim
  9507. bindir!$bindir$ac_delim
  9508. sbindir!$sbindir$ac_delim
  9509. libexecdir!$libexecdir$ac_delim
  9510. datarootdir!$datarootdir$ac_delim
  9511. datadir!$datadir$ac_delim
  9512. sysconfdir!$sysconfdir$ac_delim
  9513. sharedstatedir!$sharedstatedir$ac_delim
  9514. localstatedir!$localstatedir$ac_delim
  9515. includedir!$includedir$ac_delim
  9516. oldincludedir!$oldincludedir$ac_delim
  9517. docdir!$docdir$ac_delim
  9518. infodir!$infodir$ac_delim
  9519. htmldir!$htmldir$ac_delim
  9520. dvidir!$dvidir$ac_delim
  9521. pdfdir!$pdfdir$ac_delim
  9522. psdir!$psdir$ac_delim
  9523. libdir!$libdir$ac_delim
  9524. localedir!$localedir$ac_delim
  9525. mandir!$mandir$ac_delim
  9526. DEFS!$DEFS$ac_delim
  9527. ECHO_C!$ECHO_C$ac_delim
  9528. ECHO_N!$ECHO_N$ac_delim
  9529. ECHO_T!$ECHO_T$ac_delim
  9530. LIBS!$LIBS$ac_delim
  9531. build_alias!$build_alias$ac_delim
  9532. host_alias!$host_alias$ac_delim
  9533. target_alias!$target_alias$ac_delim
  9534. build!$build$ac_delim
  9535. build_cpu!$build_cpu$ac_delim
  9536. build_vendor!$build_vendor$ac_delim
  9537. build_os!$build_os$ac_delim
  9538. host!$host$ac_delim
  9539. host_cpu!$host_cpu$ac_delim
  9540. host_vendor!$host_vendor$ac_delim
  9541. host_os!$host_os$ac_delim
  9542. VERSION_MAJOR!$VERSION_MAJOR$ac_delim
  9543. VERSION_MINOR!$VERSION_MINOR$ac_delim
  9544. VERSION_POINT!$VERSION_POINT$ac_delim
  9545. CODE_STATUS!$CODE_STATUS$ac_delim
  9546. CC!$CC$ac_delim
  9547. CFLAGS!$CFLAGS$ac_delim
  9548. LDFLAGS!$LDFLAGS$ac_delim
  9549. CPPFLAGS!$CPPFLAGS$ac_delim
  9550. ac_ct_CC!$ac_ct_CC$ac_delim
  9551. EXEEXT!$EXEEXT$ac_delim
  9552. OBJEXT!$OBJEXT$ac_delim
  9553. CPP!$CPP$ac_delim
  9554. INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  9555. INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  9556. INSTALL_DATA!$INSTALL_DATA$ac_delim
  9557. LN_S!$LN_S$ac_delim
  9558. SET_MAKE!$SET_MAKE$ac_delim
  9559. AWK!$AWK$ac_delim
  9560. GDB!$GDB$ac_delim
  9561. BGROUPS!$BGROUPS$ac_delim
  9562. ID!$ID$ac_delim
  9563. USER!$USER$ac_delim
  9564. GROUP!$GROUP$ac_delim
  9565. WIN_ONLY!$WIN_ONLY$ac_delim
  9566. WDUMP!$WDUMP$ac_delim
  9567. DB2HTML!$DB2HTML$ac_delim
  9568. RPMBIN!$RPMBIN$ac_delim
  9569. RPM_BASE!$RPM_BASE$ac_delim
  9570. JADEBIN!$JADEBIN$ac_delim
  9571. MAN2HTML!$MAN2HTML$ac_delim
  9572. DOC_STATUS!$DOC_STATUS$ac_delim
  9573. JADECAT!$JADECAT$ac_delim
  9574. DKPREFIX!$DKPREFIX$ac_delim
  9575. GREP!$GREP$ac_delim
  9576. EGREP!$EGREP$ac_delim
  9577. PTHREAD_ONLY!$PTHREAD_ONLY$ac_delim
  9578. SOCKET_LIB!$SOCKET_LIB$ac_delim
  9579. AMIGAOS_ONLY!$AMIGAOS_ONLY$ac_delim
  9580. STATIC_PCRE_ONLY!$STATIC_PCRE_ONLY$ac_delim
  9581. STATIC_PCRS_ONLY!$STATIC_PCRS_ONLY$ac_delim
  9582. SPECIAL_CFLAGS!$SPECIAL_CFLAGS$ac_delim
  9583. PTHREAD_LIB!$PTHREAD_LIB$ac_delim
  9584. LIBOBJS!$LIBOBJS$ac_delim
  9585. LTLIBOBJS!$LTLIBOBJS$ac_delim
  9586. _ACEOF
  9587. if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
  9588. break
  9589. elif $ac_last_try; then
  9590. { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  9591. echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  9592. { (exit 1); exit 1; }; }
  9593. else
  9594. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  9595. fi
  9596. done
  9597. ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  9598. if test -n "$ac_eof"; then
  9599. ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  9600. ac_eof=`expr $ac_eof + 1`
  9601. fi
  9602. cat >>$CONFIG_STATUS <<_ACEOF
  9603. cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  9604. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  9605. _ACEOF
  9606. sed '
  9607. s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  9608. s/^/s,@/; s/!/@,|#_!!_#|/
  9609. :n
  9610. t n
  9611. s/'"$ac_delim"'$/,g/; t
  9612. s/$/\\/; p
  9613. N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  9614. ' >>$CONFIG_STATUS <conf$$subs.sed
  9615. rm -f conf$$subs.sed
  9616. cat >>$CONFIG_STATUS <<_ACEOF
  9617. :end
  9618. s/|#_!!_#|//g
  9619. CEOF$ac_eof
  9620. _ACEOF
  9621. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  9622. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  9623. # trailing colons and then remove the whole line if VPATH becomes empty
  9624. # (actually we leave an empty line to preserve line numbers).
  9625. if test "x$srcdir" = x.; then
  9626. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  9627. s/:*\$(srcdir):*/:/
  9628. s/:*\${srcdir}:*/:/
  9629. s/:*@srcdir@:*/:/
  9630. s/^\([^=]*=[ ]*\):*/\1/
  9631. s/:*$//
  9632. s/^[^=]*=[ ]*$//
  9633. }'
  9634. fi
  9635. cat >>$CONFIG_STATUS <<\_ACEOF
  9636. fi # test -n "$CONFIG_FILES"
  9637. for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
  9638. do
  9639. case $ac_tag in
  9640. :[FHLC]) ac_mode=$ac_tag; continue;;
  9641. esac
  9642. case $ac_mode$ac_tag in
  9643. :[FHL]*:*);;
  9644. :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  9645. echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  9646. { (exit 1); exit 1; }; };;
  9647. :[FH]-) ac_tag=-:-;;
  9648. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  9649. esac
  9650. ac_save_IFS=$IFS
  9651. IFS=:
  9652. set x $ac_tag
  9653. IFS=$ac_save_IFS
  9654. shift
  9655. ac_file=$1
  9656. shift
  9657. case $ac_mode in
  9658. :L) ac_source=$1;;
  9659. :[FH])
  9660. ac_file_inputs=
  9661. for ac_f
  9662. do
  9663. case $ac_f in
  9664. -) ac_f="$tmp/stdin";;
  9665. *) # Look for the file first in the build tree, then in the source tree
  9666. # (if the path is not absolute). The absolute path cannot be DOS-style,
  9667. # because $ac_f cannot contain `:'.
  9668. test -f "$ac_f" ||
  9669. case $ac_f in
  9670. [\\/$]*) false;;
  9671. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  9672. esac ||
  9673. { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  9674. echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  9675. { (exit 1); exit 1; }; };;
  9676. esac
  9677. ac_file_inputs="$ac_file_inputs $ac_f"
  9678. done
  9679. # Let's still pretend it is `configure' which instantiates (i.e., don't
  9680. # use $as_me), people would be surprised to read:
  9681. # /* config.h. Generated by config.status. */
  9682. configure_input="Generated from "`IFS=:
  9683. echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  9684. if test x"$ac_file" != x-; then
  9685. configure_input="$ac_file. $configure_input"
  9686. { echo "$as_me:$LINENO: creating $ac_file" >&5
  9687. echo "$as_me: creating $ac_file" >&6;}
  9688. fi
  9689. case $ac_tag in
  9690. *:-:* | *:-) cat >"$tmp/stdin";;
  9691. esac
  9692. ;;
  9693. esac
  9694. ac_dir=`$as_dirname -- "$ac_file" ||
  9695. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9696. X"$ac_file" : 'X\(//\)[^/]' \| \
  9697. X"$ac_file" : 'X\(//\)$' \| \
  9698. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  9699. echo X"$ac_file" |
  9700. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9701. s//\1/
  9702. q
  9703. }
  9704. /^X\(\/\/\)[^/].*/{
  9705. s//\1/
  9706. q
  9707. }
  9708. /^X\(\/\/\)$/{
  9709. s//\1/
  9710. q
  9711. }
  9712. /^X\(\/\).*/{
  9713. s//\1/
  9714. q
  9715. }
  9716. s/.*/./; q'`
  9717. { as_dir="$ac_dir"
  9718. case $as_dir in #(
  9719. -*) as_dir=./$as_dir;;
  9720. esac
  9721. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  9722. as_dirs=
  9723. while :; do
  9724. case $as_dir in #(
  9725. *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  9726. *) as_qdir=$as_dir;;
  9727. esac
  9728. as_dirs="'$as_qdir' $as_dirs"
  9729. as_dir=`$as_dirname -- "$as_dir" ||
  9730. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9731. X"$as_dir" : 'X\(//\)[^/]' \| \
  9732. X"$as_dir" : 'X\(//\)$' \| \
  9733. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9734. echo X"$as_dir" |
  9735. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9736. s//\1/
  9737. q
  9738. }
  9739. /^X\(\/\/\)[^/].*/{
  9740. s//\1/
  9741. q
  9742. }
  9743. /^X\(\/\/\)$/{
  9744. s//\1/
  9745. q
  9746. }
  9747. /^X\(\/\).*/{
  9748. s//\1/
  9749. q
  9750. }
  9751. s/.*/./; q'`
  9752. test -d "$as_dir" && break
  9753. done
  9754. test -z "$as_dirs" || eval "mkdir $as_dirs"
  9755. } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  9756. echo "$as_me: error: cannot create directory $as_dir" >&2;}
  9757. { (exit 1); exit 1; }; }; }
  9758. ac_builddir=.
  9759. case "$ac_dir" in
  9760. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  9761. *)
  9762. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  9763. # A ".." for each directory in $ac_dir_suffix.
  9764. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  9765. case $ac_top_builddir_sub in
  9766. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  9767. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  9768. esac ;;
  9769. esac
  9770. ac_abs_top_builddir=$ac_pwd
  9771. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  9772. # for backward compatibility:
  9773. ac_top_builddir=$ac_top_build_prefix
  9774. case $srcdir in
  9775. .) # We are building in place.
  9776. ac_srcdir=.
  9777. ac_top_srcdir=$ac_top_builddir_sub
  9778. ac_abs_top_srcdir=$ac_pwd ;;
  9779. [\\/]* | ?:[\\/]* ) # Absolute name.
  9780. ac_srcdir=$srcdir$ac_dir_suffix;
  9781. ac_top_srcdir=$srcdir
  9782. ac_abs_top_srcdir=$srcdir ;;
  9783. *) # Relative name.
  9784. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  9785. ac_top_srcdir=$ac_top_build_prefix$srcdir
  9786. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  9787. esac
  9788. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  9789. case $ac_mode in
  9790. :F)
  9791. #
  9792. # CONFIG_FILE
  9793. #
  9794. case $INSTALL in
  9795. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  9796. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  9797. esac
  9798. _ACEOF
  9799. cat >>$CONFIG_STATUS <<\_ACEOF
  9800. # If the template does not know about datarootdir, expand it.
  9801. # FIXME: This hack should be removed a few years after 2.60.
  9802. ac_datarootdir_hack=; ac_datarootdir_seen=
  9803. case `sed -n '/datarootdir/ {
  9804. p
  9805. q
  9806. }
  9807. /@datadir@/p
  9808. /@docdir@/p
  9809. /@infodir@/p
  9810. /@localedir@/p
  9811. /@mandir@/p
  9812. ' $ac_file_inputs` in
  9813. *datarootdir*) ac_datarootdir_seen=yes;;
  9814. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  9815. { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  9816. echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  9817. _ACEOF
  9818. cat >>$CONFIG_STATUS <<_ACEOF
  9819. ac_datarootdir_hack='
  9820. s&@datadir@&$datadir&g
  9821. s&@docdir@&$docdir&g
  9822. s&@infodir@&$infodir&g
  9823. s&@localedir@&$localedir&g
  9824. s&@mandir@&$mandir&g
  9825. s&\\\${datarootdir}&$datarootdir&g' ;;
  9826. esac
  9827. _ACEOF
  9828. # Neutralize VPATH when `$srcdir' = `.'.
  9829. # Shell code in configure.ac might set extrasub.
  9830. # FIXME: do we really want to maintain this feature?
  9831. cat >>$CONFIG_STATUS <<_ACEOF
  9832. sed "$ac_vpsub
  9833. $extrasub
  9834. _ACEOF
  9835. cat >>$CONFIG_STATUS <<\_ACEOF
  9836. :t
  9837. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  9838. s&@configure_input@&$configure_input&;t t
  9839. s&@top_builddir@&$ac_top_builddir_sub&;t t
  9840. s&@srcdir@&$ac_srcdir&;t t
  9841. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  9842. s&@top_srcdir@&$ac_top_srcdir&;t t
  9843. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  9844. s&@builddir@&$ac_builddir&;t t
  9845. s&@abs_builddir@&$ac_abs_builddir&;t t
  9846. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  9847. s&@INSTALL@&$ac_INSTALL&;t t
  9848. $ac_datarootdir_hack
  9849. " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
  9850. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  9851. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  9852. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  9853. { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9854. which seems to be undefined. Please make sure it is defined." >&5
  9855. echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  9856. which seems to be undefined. Please make sure it is defined." >&2;}
  9857. rm -f "$tmp/stdin"
  9858. case $ac_file in
  9859. -) cat "$tmp/out"; rm -f "$tmp/out";;
  9860. *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  9861. esac
  9862. ;;
  9863. :H)
  9864. #
  9865. # CONFIG_HEADER
  9866. #
  9867. _ACEOF
  9868. # Transform confdefs.h into a sed script `conftest.defines', that
  9869. # substitutes the proper values into config.h.in to produce config.h.
  9870. rm -f conftest.defines conftest.tail
  9871. # First, append a space to every undef/define line, to ease matching.
  9872. echo 's/$/ /' >conftest.defines
  9873. # Then, protect against being on the right side of a sed subst, or in
  9874. # an unquoted here document, in config.status. If some macros were
  9875. # called several times there might be several #defines for the same
  9876. # symbol, which is useless. But do not sort them, since the last
  9877. # AC_DEFINE must be honored.
  9878. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  9879. # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  9880. # NAME is the cpp macro being defined, VALUE is the value it is being given.
  9881. # PARAMS is the parameter list in the macro definition--in most cases, it's
  9882. # just an empty string.
  9883. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  9884. ac_dB='\\)[ (].*,\\1define\\2'
  9885. ac_dC=' '
  9886. ac_dD=' ,'
  9887. uniq confdefs.h |
  9888. sed -n '
  9889. t rset
  9890. :rset
  9891. s/^[ ]*#[ ]*define[ ][ ]*//
  9892. t ok
  9893. d
  9894. :ok
  9895. s/[\\&,]/\\&/g
  9896. s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  9897. s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  9898. ' >>conftest.defines
  9899. # Remove the space that was appended to ease matching.
  9900. # Then replace #undef with comments. This is necessary, for
  9901. # example, in the case of _POSIX_SOURCE, which is predefined and required
  9902. # on some systems where configure will not decide to define it.
  9903. # (The regexp can be short, since the line contains either #define or #undef.)
  9904. echo 's/ $//
  9905. s,^[ #]*u.*,/* & */,' >>conftest.defines
  9906. # Break up conftest.defines:
  9907. ac_max_sed_lines=50
  9908. # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  9909. # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  9910. # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  9911. # et cetera.
  9912. ac_in='$ac_file_inputs'
  9913. ac_out='"$tmp/out1"'
  9914. ac_nxt='"$tmp/out2"'
  9915. while :
  9916. do
  9917. # Write a here document:
  9918. cat >>$CONFIG_STATUS <<_ACEOF
  9919. # First, check the format of the line:
  9920. cat >"\$tmp/defines.sed" <<\\CEOF
  9921. /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  9922. /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  9923. b
  9924. :def
  9925. _ACEOF
  9926. sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  9927. echo 'CEOF
  9928. sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  9929. ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  9930. sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  9931. grep . conftest.tail >/dev/null || break
  9932. rm -f conftest.defines
  9933. mv conftest.tail conftest.defines
  9934. done
  9935. rm -f conftest.defines conftest.tail
  9936. echo "ac_result=$ac_in" >>$CONFIG_STATUS
  9937. cat >>$CONFIG_STATUS <<\_ACEOF
  9938. if test x"$ac_file" != x-; then
  9939. echo "/* $configure_input */" >"$tmp/config.h"
  9940. cat "$ac_result" >>"$tmp/config.h"
  9941. if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  9942. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  9943. echo "$as_me: $ac_file is unchanged" >&6;}
  9944. else
  9945. rm -f $ac_file
  9946. mv "$tmp/config.h" $ac_file
  9947. fi
  9948. else
  9949. echo "/* $configure_input */"
  9950. cat "$ac_result"
  9951. fi
  9952. rm -f "$tmp/out12"
  9953. ;;
  9954. esac
  9955. done # for ac_tag
  9956. { (exit 0); exit 0; }
  9957. _ACEOF
  9958. chmod +x $CONFIG_STATUS
  9959. ac_clean_files=$ac_clean_files_save
  9960. # configure is writing to config.log, and then calls config.status.
  9961. # config.status does its own redirection, appending to config.log.
  9962. # Unfortunately, on DOS this fails, as config.log is still kept open
  9963. # by configure, so config.status won't be able to write to it; its
  9964. # output is simply discarded. So we exec the FD to /dev/null,
  9965. # effectively closing config.log, so it can be properly (re)opened and
  9966. # appended to by config.status. When coming back to configure, we
  9967. # need to make the FD available again.
  9968. if test "$no_create" != yes; then
  9969. ac_cs_success=:
  9970. ac_config_status_args=
  9971. test "$silent" = yes &&
  9972. ac_config_status_args="$ac_config_status_args --quiet"
  9973. exec 5>/dev/null
  9974. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  9975. exec 5>>config.log
  9976. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  9977. # would make configure fail if this is the last instruction.
  9978. $ac_cs_success || { (exit 1); exit 1; }
  9979. fi