configure 246 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.60.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization. ##
  11. ## --------------------- ##
  12. # Be Bourne compatible
  13. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  14. emulate sh
  15. NULLCMD=:
  16. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  17. # is contrary to our usage. Disable this feature.
  18. alias -g '${1+"$@"}'='"$@"'
  19. setopt NO_GLOB_SUBST
  20. else
  21. case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  22. fi
  23. BIN_SH=xpg4; export BIN_SH # for Tru64
  24. DUALCASE=1; export DUALCASE # for MKS sh
  25. # PATH needs CR
  26. # Avoid depending upon Character Ranges.
  27. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  28. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  29. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  30. as_cr_digits='0123456789'
  31. as_cr_alnum=$as_cr_Letters$as_cr_digits
  32. # The user is always right.
  33. if test "${PATH_SEPARATOR+set}" != set; then
  34. echo "#! /bin/sh" >conf$$.sh
  35. echo "exit 0" >>conf$$.sh
  36. chmod +x conf$$.sh
  37. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  38. PATH_SEPARATOR=';'
  39. else
  40. PATH_SEPARATOR=:
  41. fi
  42. rm -f conf$$.sh
  43. fi
  44. # Support unset when possible.
  45. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  46. as_unset=unset
  47. else
  48. as_unset=false
  49. fi
  50. # IFS
  51. # We need space, tab and new line, in precisely that order. Quoting is
  52. # there to prevent editors from complaining about space-tab.
  53. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  54. # splitting by setting IFS to empty value.)
  55. as_nl='
  56. '
  57. IFS=" "" $as_nl"
  58. # Find who we are. Look in the path if we contain no directory separator.
  59. case $0 in
  60. *[\\/]* ) as_myself=$0 ;;
  61. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  62. for as_dir in $PATH
  63. do
  64. IFS=$as_save_IFS
  65. test -z "$as_dir" && as_dir=.
  66. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  67. done
  68. IFS=$as_save_IFS
  69. ;;
  70. esac
  71. # We did not find ourselves, most probably we were run as `sh COMMAND'
  72. # in which case we are not to be found in the path.
  73. if test "x$as_myself" = x; then
  74. as_myself=$0
  75. fi
  76. if test ! -f "$as_myself"; then
  77. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  78. { (exit 1); exit 1; }
  79. fi
  80. # Work around bugs in pre-3.0 UWIN ksh.
  81. for as_var in ENV MAIL MAILPATH
  82. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  83. done
  84. PS1='$ '
  85. PS2='> '
  86. PS4='+ '
  87. # NLS nuisances.
  88. for as_var in \
  89. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  90. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  91. LC_TELEPHONE LC_TIME
  92. do
  93. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  94. eval $as_var=C; export $as_var
  95. else
  96. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  97. fi
  98. done
  99. # Required to use basename.
  100. if expr a : '\(a\)' >/dev/null 2>&1 &&
  101. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  102. as_expr=expr
  103. else
  104. as_expr=false
  105. fi
  106. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  107. as_basename=basename
  108. else
  109. as_basename=false
  110. fi
  111. # Name of the executable.
  112. as_me=`$as_basename -- "$0" ||
  113. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  114. X"$0" : 'X\(//\)$' \| \
  115. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  116. echo X/"$0" |
  117. sed '/^.*\/\([^/][^/]*\)\/*$/{
  118. s//\1/
  119. q
  120. }
  121. /^X\/\(\/\/\)$/{
  122. s//\1/
  123. q
  124. }
  125. /^X\/\(\/\).*/{
  126. s//\1/
  127. q
  128. }
  129. s/.*/./; q'`
  130. # CDPATH.
  131. $as_unset CDPATH
  132. if test "x$CONFIG_SHELL" = x; then
  133. if (eval ":") 2>/dev/null; then
  134. as_have_required=yes
  135. else
  136. as_have_required=no
  137. fi
  138. if test $as_have_required = yes && (eval ":
  139. (as_func_return () {
  140. (exit \$1)
  141. }
  142. as_func_success () {
  143. as_func_return 0
  144. }
  145. as_func_failure () {
  146. as_func_return 1
  147. }
  148. as_func_ret_success () {
  149. return 0
  150. }
  151. as_func_ret_failure () {
  152. return 1
  153. }
  154. exitcode=0
  155. if as_func_success; then
  156. :
  157. else
  158. exitcode=1
  159. echo as_func_success failed.
  160. fi
  161. if as_func_failure; then
  162. exitcode=1
  163. echo as_func_failure succeeded.
  164. fi
  165. if as_func_ret_success; then
  166. :
  167. else
  168. exitcode=1
  169. echo as_func_ret_success failed.
  170. fi
  171. if as_func_ret_failure; then
  172. exitcode=1
  173. echo as_func_ret_failure succeeded.
  174. fi
  175. if (set x; as_func_ret_success y && test x = \"\$1\" ); then
  176. :
  177. else
  178. exitcode=1
  179. echo positional parameters were not saved.
  180. fi
  181. test \$exitcode = 0) || { (exit 1); exit 1; }
  182. (
  183. as_lineno_1=\$LINENO
  184. as_lineno_2=\$LINENO
  185. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  186. test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  187. ") 2> /dev/null; then
  188. :
  189. else
  190. as_candidate_shells=
  191. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  192. for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  193. do
  194. IFS=$as_save_IFS
  195. test -z "$as_dir" && as_dir=.
  196. case $as_dir in
  197. /*)
  198. for as_base in sh bash ksh sh5; do
  199. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  200. done;;
  201. esac
  202. done
  203. IFS=$as_save_IFS
  204. for as_shell in $as_candidate_shells $SHELL; do
  205. # Try only shells that exist, to save several forks.
  206. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  207. { ("$as_shell") 2> /dev/null <<\_ASEOF
  208. # Be Bourne compatible
  209. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  210. emulate sh
  211. NULLCMD=:
  212. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  213. # is contrary to our usage. Disable this feature.
  214. alias -g '${1+"$@"}'='"$@"'
  215. setopt NO_GLOB_SUBST
  216. else
  217. case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  218. fi
  219. BIN_SH=xpg4; export BIN_SH # for Tru64
  220. DUALCASE=1; export DUALCASE # for MKS sh
  221. :
  222. _ASEOF
  223. }; then
  224. CONFIG_SHELL=$as_shell
  225. as_have_required=yes
  226. if { "$as_shell" 2> /dev/null <<\_ASEOF
  227. # Be Bourne compatible
  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 *posix*) set -o posix;; esac
  237. fi
  238. BIN_SH=xpg4; export BIN_SH # for Tru64
  239. DUALCASE=1; export DUALCASE # for MKS sh
  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. # Find out whether ``test -x'' works. Don't use a zero-byte file, as
  449. # systems may use methods other than mode bits to determine executability.
  450. cat >conf$$.file <<_ASEOF
  451. #! /bin/sh
  452. exit 0
  453. _ASEOF
  454. chmod +x conf$$.file
  455. if test -x conf$$.file >/dev/null 2>&1; then
  456. as_executable_p="test -x"
  457. else
  458. as_executable_p=:
  459. fi
  460. rm -f conf$$.file
  461. # Sed expression to map a string onto a valid CPP name.
  462. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  463. # Sed expression to map a string onto a valid variable name.
  464. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  465. exec 7<&0 </dev/null 6>&1
  466. # Name of the host.
  467. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  468. # so uname gets run too.
  469. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  470. #
  471. # Initializations.
  472. #
  473. ac_default_prefix=/usr/local
  474. ac_clean_files=
  475. ac_config_libobj_dir=.
  476. LIBOBJS=
  477. cross_compiling=no
  478. subdirs=
  479. MFLAGS=
  480. MAKEFLAGS=
  481. SHELL=${CONFIG_SHELL-/bin/sh}
  482. # Identity of this package.
  483. PACKAGE_NAME=
  484. PACKAGE_TARNAME=
  485. PACKAGE_VERSION=
  486. PACKAGE_STRING=
  487. PACKAGE_BUGREPORT=
  488. ac_unique_file="softflowd.c"
  489. # Factoring default headers for most tests.
  490. ac_includes_default="\
  491. #include <stdio.h>
  492. #if HAVE_SYS_TYPES_H
  493. # include <sys/types.h>
  494. #endif
  495. #if HAVE_SYS_STAT_H
  496. # include <sys/stat.h>
  497. #endif
  498. #if STDC_HEADERS
  499. # include <stdlib.h>
  500. # include <stddef.h>
  501. #else
  502. # if HAVE_STDLIB_H
  503. # include <stdlib.h>
  504. # endif
  505. #endif
  506. #if HAVE_STRING_H
  507. # if !STDC_HEADERS && HAVE_MEMORY_H
  508. # include <memory.h>
  509. # endif
  510. # include <string.h>
  511. #endif
  512. #if HAVE_STRINGS_H
  513. # include <strings.h>
  514. #endif
  515. #if HAVE_INTTYPES_H
  516. # include <inttypes.h>
  517. #endif
  518. #if HAVE_STDINT_H
  519. # include <stdint.h>
  520. #endif
  521. #if HAVE_UNISTD_H
  522. # include <unistd.h>
  523. #endif"
  524. ac_subst_vars='SHELL
  525. PATH_SEPARATOR
  526. PACKAGE_NAME
  527. PACKAGE_TARNAME
  528. PACKAGE_VERSION
  529. PACKAGE_STRING
  530. PACKAGE_BUGREPORT
  531. exec_prefix
  532. prefix
  533. program_transform_name
  534. bindir
  535. sbindir
  536. libexecdir
  537. datarootdir
  538. datadir
  539. sysconfdir
  540. sharedstatedir
  541. localstatedir
  542. includedir
  543. oldincludedir
  544. docdir
  545. infodir
  546. htmldir
  547. dvidir
  548. pdfdir
  549. psdir
  550. libdir
  551. localedir
  552. mandir
  553. DEFS
  554. ECHO_C
  555. ECHO_N
  556. ECHO_T
  557. LIBS
  558. build_alias
  559. host_alias
  560. target_alias
  561. CC
  562. CFLAGS
  563. LDFLAGS
  564. CPPFLAGS
  565. ac_ct_CC
  566. EXEEXT
  567. OBJEXT
  568. INSTALL_PROGRAM
  569. INSTALL_SCRIPT
  570. INSTALL_DATA
  571. CPP
  572. GREP
  573. EGREP
  574. LIBOBJS
  575. LTLIBOBJS'
  576. ac_subst_files=''
  577. ac_precious_vars='build_alias
  578. host_alias
  579. target_alias
  580. CC
  581. CFLAGS
  582. LDFLAGS
  583. CPPFLAGS
  584. CPP'
  585. # Initialize some variables set by options.
  586. ac_init_help=
  587. ac_init_version=false
  588. # The variables have the same names as the options, with
  589. # dashes changed to underlines.
  590. cache_file=/dev/null
  591. exec_prefix=NONE
  592. no_create=
  593. no_recursion=
  594. prefix=NONE
  595. program_prefix=NONE
  596. program_suffix=NONE
  597. program_transform_name=s,x,x,
  598. silent=
  599. site=
  600. srcdir=
  601. verbose=
  602. x_includes=NONE
  603. x_libraries=NONE
  604. # Installation directory options.
  605. # These are left unexpanded so users can "make install exec_prefix=/foo"
  606. # and all the variables that are supposed to be based on exec_prefix
  607. # by default will actually change.
  608. # Use braces instead of parens because sh, perl, etc. also accept them.
  609. # (The list follows the same order as the GNU Coding Standards.)
  610. bindir='${exec_prefix}/bin'
  611. sbindir='${exec_prefix}/sbin'
  612. libexecdir='${exec_prefix}/libexec'
  613. datarootdir='${prefix}/share'
  614. datadir='${datarootdir}'
  615. sysconfdir='${prefix}/etc'
  616. sharedstatedir='${prefix}/com'
  617. localstatedir='${prefix}/var'
  618. includedir='${prefix}/include'
  619. oldincludedir='/usr/include'
  620. docdir='${datarootdir}/doc/${PACKAGE}'
  621. infodir='${datarootdir}/info'
  622. htmldir='${docdir}'
  623. dvidir='${docdir}'
  624. pdfdir='${docdir}'
  625. psdir='${docdir}'
  626. libdir='${exec_prefix}/lib'
  627. localedir='${datarootdir}/locale'
  628. mandir='${datarootdir}/man'
  629. ac_prev=
  630. ac_dashdash=
  631. for ac_option
  632. do
  633. # If the previous option needs an argument, assign it.
  634. if test -n "$ac_prev"; then
  635. eval $ac_prev=\$ac_option
  636. ac_prev=
  637. continue
  638. fi
  639. case $ac_option in
  640. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  641. *) ac_optarg=yes ;;
  642. esac
  643. # Accept the important Cygnus configure options, so we can diagnose typos.
  644. case $ac_dashdash$ac_option in
  645. --)
  646. ac_dashdash=yes ;;
  647. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  648. ac_prev=bindir ;;
  649. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  650. bindir=$ac_optarg ;;
  651. -build | --build | --buil | --bui | --bu)
  652. ac_prev=build_alias ;;
  653. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  654. build_alias=$ac_optarg ;;
  655. -cache-file | --cache-file | --cache-fil | --cache-fi \
  656. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  657. ac_prev=cache_file ;;
  658. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  659. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  660. cache_file=$ac_optarg ;;
  661. --config-cache | -C)
  662. cache_file=config.cache ;;
  663. -datadir | --datadir | --datadi | --datad)
  664. ac_prev=datadir ;;
  665. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  666. datadir=$ac_optarg ;;
  667. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  668. | --dataroo | --dataro | --datar)
  669. ac_prev=datarootdir ;;
  670. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  671. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  672. datarootdir=$ac_optarg ;;
  673. -disable-* | --disable-*)
  674. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  675. # Reject names that are not valid shell variable names.
  676. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  677. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  678. { (exit 1); exit 1; }; }
  679. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  680. eval enable_$ac_feature=no ;;
  681. -docdir | --docdir | --docdi | --doc | --do)
  682. ac_prev=docdir ;;
  683. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  684. docdir=$ac_optarg ;;
  685. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  686. ac_prev=dvidir ;;
  687. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  688. dvidir=$ac_optarg ;;
  689. -enable-* | --enable-*)
  690. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  691. # Reject names that are not valid shell variable names.
  692. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  693. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  694. { (exit 1); exit 1; }; }
  695. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  696. eval enable_$ac_feature=\$ac_optarg ;;
  697. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  698. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  699. | --exec | --exe | --ex)
  700. ac_prev=exec_prefix ;;
  701. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  702. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  703. | --exec=* | --exe=* | --ex=*)
  704. exec_prefix=$ac_optarg ;;
  705. -gas | --gas | --ga | --g)
  706. # Obsolete; use --with-gas.
  707. with_gas=yes ;;
  708. -help | --help | --hel | --he | -h)
  709. ac_init_help=long ;;
  710. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  711. ac_init_help=recursive ;;
  712. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  713. ac_init_help=short ;;
  714. -host | --host | --hos | --ho)
  715. ac_prev=host_alias ;;
  716. -host=* | --host=* | --hos=* | --ho=*)
  717. host_alias=$ac_optarg ;;
  718. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  719. ac_prev=htmldir ;;
  720. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  721. | --ht=*)
  722. htmldir=$ac_optarg ;;
  723. -includedir | --includedir | --includedi | --included | --include \
  724. | --includ | --inclu | --incl | --inc)
  725. ac_prev=includedir ;;
  726. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  727. | --includ=* | --inclu=* | --incl=* | --inc=*)
  728. includedir=$ac_optarg ;;
  729. -infodir | --infodir | --infodi | --infod | --info | --inf)
  730. ac_prev=infodir ;;
  731. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  732. infodir=$ac_optarg ;;
  733. -libdir | --libdir | --libdi | --libd)
  734. ac_prev=libdir ;;
  735. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  736. libdir=$ac_optarg ;;
  737. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  738. | --libexe | --libex | --libe)
  739. ac_prev=libexecdir ;;
  740. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  741. | --libexe=* | --libex=* | --libe=*)
  742. libexecdir=$ac_optarg ;;
  743. -localedir | --localedir | --localedi | --localed | --locale)
  744. ac_prev=localedir ;;
  745. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  746. localedir=$ac_optarg ;;
  747. -localstatedir | --localstatedir | --localstatedi | --localstated \
  748. | --localstate | --localstat | --localsta | --localst | --locals)
  749. ac_prev=localstatedir ;;
  750. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  751. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  752. localstatedir=$ac_optarg ;;
  753. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  754. ac_prev=mandir ;;
  755. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  756. mandir=$ac_optarg ;;
  757. -nfp | --nfp | --nf)
  758. # Obsolete; use --without-fp.
  759. with_fp=no ;;
  760. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  761. | --no-cr | --no-c | -n)
  762. no_create=yes ;;
  763. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  764. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  765. no_recursion=yes ;;
  766. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  767. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  768. | --oldin | --oldi | --old | --ol | --o)
  769. ac_prev=oldincludedir ;;
  770. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  771. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  772. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  773. oldincludedir=$ac_optarg ;;
  774. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  775. ac_prev=prefix ;;
  776. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  777. prefix=$ac_optarg ;;
  778. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  779. | --program-pre | --program-pr | --program-p)
  780. ac_prev=program_prefix ;;
  781. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  782. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  783. program_prefix=$ac_optarg ;;
  784. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  785. | --program-suf | --program-su | --program-s)
  786. ac_prev=program_suffix ;;
  787. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  788. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  789. program_suffix=$ac_optarg ;;
  790. -program-transform-name | --program-transform-name \
  791. | --program-transform-nam | --program-transform-na \
  792. | --program-transform-n | --program-transform- \
  793. | --program-transform | --program-transfor \
  794. | --program-transfo | --program-transf \
  795. | --program-trans | --program-tran \
  796. | --progr-tra | --program-tr | --program-t)
  797. ac_prev=program_transform_name ;;
  798. -program-transform-name=* | --program-transform-name=* \
  799. | --program-transform-nam=* | --program-transform-na=* \
  800. | --program-transform-n=* | --program-transform-=* \
  801. | --program-transform=* | --program-transfor=* \
  802. | --program-transfo=* | --program-transf=* \
  803. | --program-trans=* | --program-tran=* \
  804. | --progr-tra=* | --program-tr=* | --program-t=*)
  805. program_transform_name=$ac_optarg ;;
  806. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  807. ac_prev=pdfdir ;;
  808. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  809. pdfdir=$ac_optarg ;;
  810. -psdir | --psdir | --psdi | --psd | --ps)
  811. ac_prev=psdir ;;
  812. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  813. psdir=$ac_optarg ;;
  814. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  815. | -silent | --silent | --silen | --sile | --sil)
  816. silent=yes ;;
  817. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  818. ac_prev=sbindir ;;
  819. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  820. | --sbi=* | --sb=*)
  821. sbindir=$ac_optarg ;;
  822. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  823. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  824. | --sharedst | --shareds | --shared | --share | --shar \
  825. | --sha | --sh)
  826. ac_prev=sharedstatedir ;;
  827. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  828. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  829. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  830. | --sha=* | --sh=*)
  831. sharedstatedir=$ac_optarg ;;
  832. -site | --site | --sit)
  833. ac_prev=site ;;
  834. -site=* | --site=* | --sit=*)
  835. site=$ac_optarg ;;
  836. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  837. ac_prev=srcdir ;;
  838. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  839. srcdir=$ac_optarg ;;
  840. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  841. | --syscon | --sysco | --sysc | --sys | --sy)
  842. ac_prev=sysconfdir ;;
  843. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  844. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  845. sysconfdir=$ac_optarg ;;
  846. -target | --target | --targe | --targ | --tar | --ta | --t)
  847. ac_prev=target_alias ;;
  848. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  849. target_alias=$ac_optarg ;;
  850. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  851. verbose=yes ;;
  852. -version | --version | --versio | --versi | --vers | -V)
  853. ac_init_version=: ;;
  854. -with-* | --with-*)
  855. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  856. # Reject names that are not valid shell variable names.
  857. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  858. { echo "$as_me: error: invalid package name: $ac_package" >&2
  859. { (exit 1); exit 1; }; }
  860. ac_package=`echo $ac_package| sed 's/-/_/g'`
  861. eval with_$ac_package=\$ac_optarg ;;
  862. -without-* | --without-*)
  863. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  864. # Reject names that are not valid shell variable names.
  865. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  866. { echo "$as_me: error: invalid package name: $ac_package" >&2
  867. { (exit 1); exit 1; }; }
  868. ac_package=`echo $ac_package | sed 's/-/_/g'`
  869. eval with_$ac_package=no ;;
  870. --x)
  871. # Obsolete; use --with-x.
  872. with_x=yes ;;
  873. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  874. | --x-incl | --x-inc | --x-in | --x-i)
  875. ac_prev=x_includes ;;
  876. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  877. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  878. x_includes=$ac_optarg ;;
  879. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  880. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  881. ac_prev=x_libraries ;;
  882. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  883. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  884. x_libraries=$ac_optarg ;;
  885. -*) { echo "$as_me: error: unrecognized option: $ac_option
  886. Try \`$0 --help' for more information." >&2
  887. { (exit 1); exit 1; }; }
  888. ;;
  889. *=*)
  890. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  891. # Reject names that are not valid shell variable names.
  892. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  893. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  894. { (exit 1); exit 1; }; }
  895. eval $ac_envvar=\$ac_optarg
  896. export $ac_envvar ;;
  897. *)
  898. # FIXME: should be removed in autoconf 3.0.
  899. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  900. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  901. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  902. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  903. ;;
  904. esac
  905. done
  906. if test -n "$ac_prev"; then
  907. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  908. { echo "$as_me: error: missing argument to $ac_option" >&2
  909. { (exit 1); exit 1; }; }
  910. fi
  911. # Be sure to have absolute directory names.
  912. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  913. datadir sysconfdir sharedstatedir localstatedir includedir \
  914. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  915. libdir localedir mandir
  916. do
  917. eval ac_val=\$$ac_var
  918. case $ac_val in
  919. [\\/$]* | ?:[\\/]* ) continue;;
  920. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  921. esac
  922. { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  923. { (exit 1); exit 1; }; }
  924. done
  925. # There might be people who depend on the old broken behavior: `$host'
  926. # used to hold the argument of --host etc.
  927. # FIXME: To remove some day.
  928. build=$build_alias
  929. host=$host_alias
  930. target=$target_alias
  931. # FIXME: To remove some day.
  932. if test "x$host_alias" != x; then
  933. if test "x$build_alias" = x; then
  934. cross_compiling=maybe
  935. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  936. If a cross compiler is detected then cross compile mode will be used." >&2
  937. elif test "x$build_alias" != "x$host_alias"; then
  938. cross_compiling=yes
  939. fi
  940. fi
  941. ac_tool_prefix=
  942. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  943. test "$silent" = yes && exec 6>/dev/null
  944. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  945. ac_ls_di=`ls -di .` &&
  946. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  947. { echo "$as_me: error: Working directory cannot be determined" >&2
  948. { (exit 1); exit 1; }; }
  949. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  950. { echo "$as_me: error: pwd does not report name of working directory" >&2
  951. { (exit 1); exit 1; }; }
  952. # Find the source files, if location was not specified.
  953. if test -z "$srcdir"; then
  954. ac_srcdir_defaulted=yes
  955. # Try the directory containing this script, then the parent directory.
  956. ac_confdir=`$as_dirname -- "$0" ||
  957. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  958. X"$0" : 'X\(//\)[^/]' \| \
  959. X"$0" : 'X\(//\)$' \| \
  960. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  961. echo X"$0" |
  962. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  963. s//\1/
  964. q
  965. }
  966. /^X\(\/\/\)[^/].*/{
  967. s//\1/
  968. q
  969. }
  970. /^X\(\/\/\)$/{
  971. s//\1/
  972. q
  973. }
  974. /^X\(\/\).*/{
  975. s//\1/
  976. q
  977. }
  978. s/.*/./; q'`
  979. srcdir=$ac_confdir
  980. if test ! -r "$srcdir/$ac_unique_file"; then
  981. srcdir=..
  982. fi
  983. else
  984. ac_srcdir_defaulted=no
  985. fi
  986. if test ! -r "$srcdir/$ac_unique_file"; then
  987. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  988. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  989. { (exit 1); exit 1; }; }
  990. fi
  991. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  992. ac_abs_confdir=`(
  993. cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  994. { (exit 1); exit 1; }; }
  995. pwd)`
  996. # When building in place, set srcdir=.
  997. if test "$ac_abs_confdir" = "$ac_pwd"; then
  998. srcdir=.
  999. fi
  1000. # Remove unnecessary trailing slashes from srcdir.
  1001. # Double slashes in file names in object file debugging info
  1002. # mess up M-x gdb in Emacs.
  1003. case $srcdir in
  1004. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1005. esac
  1006. for ac_var in $ac_precious_vars; do
  1007. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1008. eval ac_env_${ac_var}_value=\$${ac_var}
  1009. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1010. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1011. done
  1012. #
  1013. # Report the --help message.
  1014. #
  1015. if test "$ac_init_help" = "long"; then
  1016. # Omit some internal or obsolete options to make the list less imposing.
  1017. # This message is too long to be a string in the A/UX 3.1 sh.
  1018. cat <<_ACEOF
  1019. \`configure' configures this package to adapt to many kinds of systems.
  1020. Usage: $0 [OPTION]... [VAR=VALUE]...
  1021. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1022. VAR=VALUE. See below for descriptions of some of the useful variables.
  1023. Defaults for the options are specified in brackets.
  1024. Configuration:
  1025. -h, --help display this help and exit
  1026. --help=short display options specific to this package
  1027. --help=recursive display the short help of all the included packages
  1028. -V, --version display version information and exit
  1029. -q, --quiet, --silent do not print \`checking...' messages
  1030. --cache-file=FILE cache test results in FILE [disabled]
  1031. -C, --config-cache alias for \`--cache-file=config.cache'
  1032. -n, --no-create do not create output files
  1033. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1034. Installation directories:
  1035. --prefix=PREFIX install architecture-independent files in PREFIX
  1036. [$ac_default_prefix]
  1037. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1038. [PREFIX]
  1039. By default, \`make install' will install all the files in
  1040. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1041. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1042. for instance \`--prefix=\$HOME'.
  1043. For better control, use the options below.
  1044. Fine tuning of the installation directories:
  1045. --bindir=DIR user executables [EPREFIX/bin]
  1046. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1047. --libexecdir=DIR program executables [EPREFIX/libexec]
  1048. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1049. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1050. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1051. --libdir=DIR object code libraries [EPREFIX/lib]
  1052. --includedir=DIR C header files [PREFIX/include]
  1053. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1054. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1055. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1056. --infodir=DIR info documentation [DATAROOTDIR/info]
  1057. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1058. --mandir=DIR man documentation [DATAROOTDIR/man]
  1059. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1060. --htmldir=DIR html documentation [DOCDIR]
  1061. --dvidir=DIR dvi documentation [DOCDIR]
  1062. --pdfdir=DIR pdf documentation [DOCDIR]
  1063. --psdir=DIR ps documentation [DOCDIR]
  1064. _ACEOF
  1065. cat <<\_ACEOF
  1066. _ACEOF
  1067. fi
  1068. if test -n "$ac_init_help"; then
  1069. cat <<\_ACEOF
  1070. Optional Features:
  1071. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1072. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1073. --enable-gcc-warnings Enable verbose warnings (only for gcc)
  1074. Optional Packages:
  1075. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1076. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1077. --with-cflags Specify additional compiler flags
  1078. --with-cppflags Specify additional preprocessor flags
  1079. --with-ldflags Specify additional linker flags
  1080. --with-libs Specify additional libraries to link with
  1081. Some influential environment variables:
  1082. CC C compiler command
  1083. CFLAGS C compiler flags
  1084. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1085. nonstandard directory <lib dir>
  1086. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1087. you have headers in a nonstandard directory <include dir>
  1088. CPP C preprocessor
  1089. Use these variables to override the choices made by `configure' or to help
  1090. it to find libraries and programs with nonstandard names/locations.
  1091. _ACEOF
  1092. ac_status=$?
  1093. fi
  1094. if test "$ac_init_help" = "recursive"; then
  1095. # If there are subdirs, report their specific --help.
  1096. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1097. test -d "$ac_dir" || continue
  1098. ac_builddir=.
  1099. case "$ac_dir" in
  1100. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1101. *)
  1102. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1103. # A ".." for each directory in $ac_dir_suffix.
  1104. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1105. case $ac_top_builddir_sub in
  1106. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1107. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1108. esac ;;
  1109. esac
  1110. ac_abs_top_builddir=$ac_pwd
  1111. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1112. # for backward compatibility:
  1113. ac_top_builddir=$ac_top_build_prefix
  1114. case $srcdir in
  1115. .) # We are building in place.
  1116. ac_srcdir=.
  1117. ac_top_srcdir=$ac_top_builddir_sub
  1118. ac_abs_top_srcdir=$ac_pwd ;;
  1119. [\\/]* | ?:[\\/]* ) # Absolute name.
  1120. ac_srcdir=$srcdir$ac_dir_suffix;
  1121. ac_top_srcdir=$srcdir
  1122. ac_abs_top_srcdir=$srcdir ;;
  1123. *) # Relative name.
  1124. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1125. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1126. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1127. esac
  1128. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1129. cd "$ac_dir" || { ac_status=$?; continue; }
  1130. # Check for guested configure.
  1131. if test -f "$ac_srcdir/configure.gnu"; then
  1132. echo &&
  1133. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1134. elif test -f "$ac_srcdir/configure"; then
  1135. echo &&
  1136. $SHELL "$ac_srcdir/configure" --help=recursive
  1137. else
  1138. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1139. fi || ac_status=$?
  1140. cd "$ac_pwd" || { ac_status=$?; break; }
  1141. done
  1142. fi
  1143. test -n "$ac_init_help" && exit $ac_status
  1144. if $ac_init_version; then
  1145. cat <<\_ACEOF
  1146. configure
  1147. generated by GNU Autoconf 2.60
  1148. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1149. 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1150. This configure script is free software; the Free Software Foundation
  1151. gives unlimited permission to copy, distribute and modify it.
  1152. _ACEOF
  1153. exit
  1154. fi
  1155. cat >config.log <<_ACEOF
  1156. This file contains any messages produced by compilers while
  1157. running configure, to aid debugging if configure makes a mistake.
  1158. It was created by $as_me, which was
  1159. generated by GNU Autoconf 2.60. Invocation command line was
  1160. $ $0 $@
  1161. _ACEOF
  1162. exec 5>>config.log
  1163. {
  1164. cat <<_ASUNAME
  1165. ## --------- ##
  1166. ## Platform. ##
  1167. ## --------- ##
  1168. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1169. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1170. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1171. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1172. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1173. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1174. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1175. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1176. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1177. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1178. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1179. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1180. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1181. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1182. _ASUNAME
  1183. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1184. for as_dir in $PATH
  1185. do
  1186. IFS=$as_save_IFS
  1187. test -z "$as_dir" && as_dir=.
  1188. echo "PATH: $as_dir"
  1189. done
  1190. IFS=$as_save_IFS
  1191. } >&5
  1192. cat >&5 <<_ACEOF
  1193. ## ----------- ##
  1194. ## Core tests. ##
  1195. ## ----------- ##
  1196. _ACEOF
  1197. # Keep a trace of the command line.
  1198. # Strip out --no-create and --no-recursion so they do not pile up.
  1199. # Strip out --silent because we don't want to record it for future runs.
  1200. # Also quote any args containing shell meta-characters.
  1201. # Make two passes to allow for proper duplicate-argument suppression.
  1202. ac_configure_args=
  1203. ac_configure_args0=
  1204. ac_configure_args1=
  1205. ac_must_keep_next=false
  1206. for ac_pass in 1 2
  1207. do
  1208. for ac_arg
  1209. do
  1210. case $ac_arg in
  1211. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1212. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1213. | -silent | --silent | --silen | --sile | --sil)
  1214. continue ;;
  1215. *\'*)
  1216. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1217. esac
  1218. case $ac_pass in
  1219. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1220. 2)
  1221. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1222. if test $ac_must_keep_next = true; then
  1223. ac_must_keep_next=false # Got value, back to normal.
  1224. else
  1225. case $ac_arg in
  1226. *=* | --config-cache | -C | -disable-* | --disable-* \
  1227. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1228. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1229. | -with-* | --with-* | -without-* | --without-* | --x)
  1230. case "$ac_configure_args0 " in
  1231. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1232. esac
  1233. ;;
  1234. -* ) ac_must_keep_next=true ;;
  1235. esac
  1236. fi
  1237. ac_configure_args="$ac_configure_args '$ac_arg'"
  1238. ;;
  1239. esac
  1240. done
  1241. done
  1242. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1243. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1244. # When interrupted or exit'd, cleanup temporary files, and complete
  1245. # config.log. We remove comments because anyway the quotes in there
  1246. # would cause problems or look ugly.
  1247. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1248. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1249. trap 'exit_status=$?
  1250. # Save into config.log some information that might help in debugging.
  1251. {
  1252. echo
  1253. cat <<\_ASBOX
  1254. ## ---------------- ##
  1255. ## Cache variables. ##
  1256. ## ---------------- ##
  1257. _ASBOX
  1258. echo
  1259. # The following way of writing the cache mishandles newlines in values,
  1260. (
  1261. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1262. eval ac_val=\$$ac_var
  1263. case $ac_val in #(
  1264. *${as_nl}*)
  1265. case $ac_var in #(
  1266. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1267. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1268. esac
  1269. case $ac_var in #(
  1270. _ | IFS | as_nl) ;; #(
  1271. *) $as_unset $ac_var ;;
  1272. esac ;;
  1273. esac
  1274. done
  1275. (set) 2>&1 |
  1276. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1277. *${as_nl}ac_space=\ *)
  1278. sed -n \
  1279. "s/'\''/'\''\\\\'\'''\''/g;
  1280. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1281. ;; #(
  1282. *)
  1283. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1284. ;;
  1285. esac |
  1286. sort
  1287. )
  1288. echo
  1289. cat <<\_ASBOX
  1290. ## ----------------- ##
  1291. ## Output variables. ##
  1292. ## ----------------- ##
  1293. _ASBOX
  1294. echo
  1295. for ac_var in $ac_subst_vars
  1296. do
  1297. eval ac_val=\$$ac_var
  1298. case $ac_val in
  1299. *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1300. esac
  1301. echo "$ac_var='\''$ac_val'\''"
  1302. done | sort
  1303. echo
  1304. if test -n "$ac_subst_files"; then
  1305. cat <<\_ASBOX
  1306. ## ------------------- ##
  1307. ## File substitutions. ##
  1308. ## ------------------- ##
  1309. _ASBOX
  1310. echo
  1311. for ac_var in $ac_subst_files
  1312. do
  1313. eval ac_val=\$$ac_var
  1314. case $ac_val in
  1315. *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1316. esac
  1317. echo "$ac_var='\''$ac_val'\''"
  1318. done | sort
  1319. echo
  1320. fi
  1321. if test -s confdefs.h; then
  1322. cat <<\_ASBOX
  1323. ## ----------- ##
  1324. ## confdefs.h. ##
  1325. ## ----------- ##
  1326. _ASBOX
  1327. echo
  1328. cat confdefs.h
  1329. echo
  1330. fi
  1331. test "$ac_signal" != 0 &&
  1332. echo "$as_me: caught signal $ac_signal"
  1333. echo "$as_me: exit $exit_status"
  1334. } >&5
  1335. rm -f core *.core core.conftest.* &&
  1336. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1337. exit $exit_status
  1338. ' 0
  1339. for ac_signal in 1 2 13 15; do
  1340. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1341. done
  1342. ac_signal=0
  1343. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1344. rm -f -r conftest* confdefs.h
  1345. # Predefined preprocessor variables.
  1346. cat >>confdefs.h <<_ACEOF
  1347. #define PACKAGE_NAME "$PACKAGE_NAME"
  1348. _ACEOF
  1349. cat >>confdefs.h <<_ACEOF
  1350. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1351. _ACEOF
  1352. cat >>confdefs.h <<_ACEOF
  1353. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1354. _ACEOF
  1355. cat >>confdefs.h <<_ACEOF
  1356. #define PACKAGE_STRING "$PACKAGE_STRING"
  1357. _ACEOF
  1358. cat >>confdefs.h <<_ACEOF
  1359. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1360. _ACEOF
  1361. # Let the site file select an alternate cache file if it wants to.
  1362. # Prefer explicitly selected file to automatically selected ones.
  1363. if test -n "$CONFIG_SITE"; then
  1364. set x "$CONFIG_SITE"
  1365. elif test "x$prefix" != xNONE; then
  1366. set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1367. else
  1368. set x "$ac_default_prefix/share/config.site" \
  1369. "$ac_default_prefix/etc/config.site"
  1370. fi
  1371. shift
  1372. for ac_site_file
  1373. do
  1374. if test -r "$ac_site_file"; then
  1375. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1376. echo "$as_me: loading site script $ac_site_file" >&6;}
  1377. sed 's/^/| /' "$ac_site_file" >&5
  1378. . "$ac_site_file"
  1379. fi
  1380. done
  1381. if test -r "$cache_file"; then
  1382. # Some versions of bash will fail to source /dev/null (special
  1383. # files actually), so we avoid doing that.
  1384. if test -f "$cache_file"; then
  1385. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1386. echo "$as_me: loading cache $cache_file" >&6;}
  1387. case $cache_file in
  1388. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1389. *) . "./$cache_file";;
  1390. esac
  1391. fi
  1392. else
  1393. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1394. echo "$as_me: creating cache $cache_file" >&6;}
  1395. >$cache_file
  1396. fi
  1397. # Check that the precious variables saved in the cache have kept the same
  1398. # value.
  1399. ac_cache_corrupted=false
  1400. for ac_var in $ac_precious_vars; do
  1401. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1402. eval ac_new_set=\$ac_env_${ac_var}_set
  1403. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1404. eval ac_new_val=\$ac_env_${ac_var}_value
  1405. case $ac_old_set,$ac_new_set in
  1406. set,)
  1407. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1408. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1409. ac_cache_corrupted=: ;;
  1410. ,set)
  1411. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1412. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1413. ac_cache_corrupted=: ;;
  1414. ,);;
  1415. *)
  1416. if test "x$ac_old_val" != "x$ac_new_val"; then
  1417. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1418. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1419. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  1420. echo "$as_me: former value: $ac_old_val" >&2;}
  1421. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  1422. echo "$as_me: current value: $ac_new_val" >&2;}
  1423. ac_cache_corrupted=:
  1424. fi;;
  1425. esac
  1426. # Pass precious variables to config.status.
  1427. if test "$ac_new_set" = set; then
  1428. case $ac_new_val in
  1429. *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1430. *) ac_arg=$ac_var=$ac_new_val ;;
  1431. esac
  1432. case " $ac_configure_args " in
  1433. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1434. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1435. esac
  1436. fi
  1437. done
  1438. if $ac_cache_corrupted; then
  1439. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1440. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1441. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1442. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1443. { (exit 1); exit 1; }; }
  1444. fi
  1445. ac_ext=c
  1446. ac_cpp='$CPP $CPPFLAGS'
  1447. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1448. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1449. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1450. ac_config_headers="$ac_config_headers config.h"
  1451. ac_ext=c
  1452. ac_cpp='$CPP $CPPFLAGS'
  1453. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1454. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1455. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1456. if test -n "$ac_tool_prefix"; then
  1457. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  1458. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  1459. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1460. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1461. if test "${ac_cv_prog_CC+set}" = set; then
  1462. echo $ECHO_N "(cached) $ECHO_C" >&6
  1463. else
  1464. if test -n "$CC"; then
  1465. ac_cv_prog_CC="$CC" # Let the user override the test.
  1466. else
  1467. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1468. for as_dir in $PATH
  1469. do
  1470. IFS=$as_save_IFS
  1471. test -z "$as_dir" && as_dir=.
  1472. for ac_exec_ext in '' $ac_executable_extensions; do
  1473. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1474. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  1475. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1476. break 2
  1477. fi
  1478. done
  1479. done
  1480. IFS=$as_save_IFS
  1481. fi
  1482. fi
  1483. CC=$ac_cv_prog_CC
  1484. if test -n "$CC"; then
  1485. { echo "$as_me:$LINENO: result: $CC" >&5
  1486. echo "${ECHO_T}$CC" >&6; }
  1487. else
  1488. { echo "$as_me:$LINENO: result: no" >&5
  1489. echo "${ECHO_T}no" >&6; }
  1490. fi
  1491. fi
  1492. if test -z "$ac_cv_prog_CC"; then
  1493. ac_ct_CC=$CC
  1494. # Extract the first word of "gcc", so it can be a program name with args.
  1495. set dummy gcc; ac_word=$2
  1496. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1497. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1498. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1499. echo $ECHO_N "(cached) $ECHO_C" >&6
  1500. else
  1501. if test -n "$ac_ct_CC"; then
  1502. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1503. else
  1504. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1505. for as_dir in $PATH
  1506. do
  1507. IFS=$as_save_IFS
  1508. test -z "$as_dir" && as_dir=.
  1509. for ac_exec_ext in '' $ac_executable_extensions; do
  1510. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1511. ac_cv_prog_ac_ct_CC="gcc"
  1512. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1513. break 2
  1514. fi
  1515. done
  1516. done
  1517. IFS=$as_save_IFS
  1518. fi
  1519. fi
  1520. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1521. if test -n "$ac_ct_CC"; then
  1522. { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1523. echo "${ECHO_T}$ac_ct_CC" >&6; }
  1524. else
  1525. { echo "$as_me:$LINENO: result: no" >&5
  1526. echo "${ECHO_T}no" >&6; }
  1527. fi
  1528. if test "x$ac_ct_CC" = x; then
  1529. CC=""
  1530. else
  1531. case $cross_compiling:$ac_tool_warned in
  1532. yes:)
  1533. { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1534. whose name does not start with the host triplet. If you think this
  1535. configuration is useful to you, please write to autoconf@gnu.org." >&5
  1536. echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1537. whose name does not start with the host triplet. If you think this
  1538. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1539. ac_tool_warned=yes ;;
  1540. esac
  1541. CC=$ac_ct_CC
  1542. fi
  1543. else
  1544. CC="$ac_cv_prog_CC"
  1545. fi
  1546. if test -z "$CC"; then
  1547. if test -n "$ac_tool_prefix"; then
  1548. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  1549. set dummy ${ac_tool_prefix}cc; ac_word=$2
  1550. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1551. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1552. if test "${ac_cv_prog_CC+set}" = set; then
  1553. echo $ECHO_N "(cached) $ECHO_C" >&6
  1554. else
  1555. if test -n "$CC"; then
  1556. ac_cv_prog_CC="$CC" # Let the user override the test.
  1557. else
  1558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1559. for as_dir in $PATH
  1560. do
  1561. IFS=$as_save_IFS
  1562. test -z "$as_dir" && as_dir=.
  1563. for ac_exec_ext in '' $ac_executable_extensions; do
  1564. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1565. ac_cv_prog_CC="${ac_tool_prefix}cc"
  1566. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1567. break 2
  1568. fi
  1569. done
  1570. done
  1571. IFS=$as_save_IFS
  1572. fi
  1573. fi
  1574. CC=$ac_cv_prog_CC
  1575. if test -n "$CC"; then
  1576. { echo "$as_me:$LINENO: result: $CC" >&5
  1577. echo "${ECHO_T}$CC" >&6; }
  1578. else
  1579. { echo "$as_me:$LINENO: result: no" >&5
  1580. echo "${ECHO_T}no" >&6; }
  1581. fi
  1582. fi
  1583. fi
  1584. if test -z "$CC"; then
  1585. # Extract the first word of "cc", so it can be a program name with args.
  1586. set dummy cc; ac_word=$2
  1587. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1588. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1589. if test "${ac_cv_prog_CC+set}" = set; then
  1590. echo $ECHO_N "(cached) $ECHO_C" >&6
  1591. else
  1592. if test -n "$CC"; then
  1593. ac_cv_prog_CC="$CC" # Let the user override the test.
  1594. else
  1595. ac_prog_rejected=no
  1596. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1597. for as_dir in $PATH
  1598. do
  1599. IFS=$as_save_IFS
  1600. test -z "$as_dir" && as_dir=.
  1601. for ac_exec_ext in '' $ac_executable_extensions; do
  1602. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1603. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  1604. ac_prog_rejected=yes
  1605. continue
  1606. fi
  1607. ac_cv_prog_CC="cc"
  1608. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1609. break 2
  1610. fi
  1611. done
  1612. done
  1613. IFS=$as_save_IFS
  1614. if test $ac_prog_rejected = yes; then
  1615. # We found a bogon in the path, so make sure we never use it.
  1616. set dummy $ac_cv_prog_CC
  1617. shift
  1618. if test $# != 0; then
  1619. # We chose a different compiler from the bogus one.
  1620. # However, it has the same basename, so the bogon will be chosen
  1621. # first if we set CC to just the basename; use the full file name.
  1622. shift
  1623. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  1624. fi
  1625. fi
  1626. fi
  1627. fi
  1628. CC=$ac_cv_prog_CC
  1629. if test -n "$CC"; then
  1630. { echo "$as_me:$LINENO: result: $CC" >&5
  1631. echo "${ECHO_T}$CC" >&6; }
  1632. else
  1633. { echo "$as_me:$LINENO: result: no" >&5
  1634. echo "${ECHO_T}no" >&6; }
  1635. fi
  1636. fi
  1637. if test -z "$CC"; then
  1638. if test -n "$ac_tool_prefix"; then
  1639. for ac_prog in cl.exe
  1640. do
  1641. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1642. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1643. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1644. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1645. if test "${ac_cv_prog_CC+set}" = set; then
  1646. echo $ECHO_N "(cached) $ECHO_C" >&6
  1647. else
  1648. if test -n "$CC"; then
  1649. ac_cv_prog_CC="$CC" # Let the user override the test.
  1650. else
  1651. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1652. for as_dir in $PATH
  1653. do
  1654. IFS=$as_save_IFS
  1655. test -z "$as_dir" && as_dir=.
  1656. for ac_exec_ext in '' $ac_executable_extensions; do
  1657. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1658. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1659. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1660. break 2
  1661. fi
  1662. done
  1663. done
  1664. IFS=$as_save_IFS
  1665. fi
  1666. fi
  1667. CC=$ac_cv_prog_CC
  1668. if test -n "$CC"; then
  1669. { echo "$as_me:$LINENO: result: $CC" >&5
  1670. echo "${ECHO_T}$CC" >&6; }
  1671. else
  1672. { echo "$as_me:$LINENO: result: no" >&5
  1673. echo "${ECHO_T}no" >&6; }
  1674. fi
  1675. test -n "$CC" && break
  1676. done
  1677. fi
  1678. if test -z "$CC"; then
  1679. ac_ct_CC=$CC
  1680. for ac_prog in cl.exe
  1681. do
  1682. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1683. set dummy $ac_prog; ac_word=$2
  1684. { echo "$as_me:$LINENO: checking for $ac_word" >&5
  1685. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  1686. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  1687. echo $ECHO_N "(cached) $ECHO_C" >&6
  1688. else
  1689. if test -n "$ac_ct_CC"; then
  1690. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1691. else
  1692. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1693. for as_dir in $PATH
  1694. do
  1695. IFS=$as_save_IFS
  1696. test -z "$as_dir" && as_dir=.
  1697. for ac_exec_ext in '' $ac_executable_extensions; do
  1698. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
  1699. ac_cv_prog_ac_ct_CC="$ac_prog"
  1700. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1701. break 2
  1702. fi
  1703. done
  1704. done
  1705. IFS=$as_save_IFS
  1706. fi
  1707. fi
  1708. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1709. if test -n "$ac_ct_CC"; then
  1710. { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  1711. echo "${ECHO_T}$ac_ct_CC" >&6; }
  1712. else
  1713. { echo "$as_me:$LINENO: result: no" >&5
  1714. echo "${ECHO_T}no" >&6; }
  1715. fi
  1716. test -n "$ac_ct_CC" && break
  1717. done
  1718. if test "x$ac_ct_CC" = x; then
  1719. CC=""
  1720. else
  1721. case $cross_compiling:$ac_tool_warned in
  1722. yes:)
  1723. { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  1724. whose name does not start with the host triplet. If you think this
  1725. configuration is useful to you, please write to autoconf@gnu.org." >&5
  1726. echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  1727. whose name does not start with the host triplet. If you think this
  1728. configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  1729. ac_tool_warned=yes ;;
  1730. esac
  1731. CC=$ac_ct_CC
  1732. fi
  1733. fi
  1734. fi
  1735. test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  1736. See \`config.log' for more details." >&5
  1737. echo "$as_me: error: no acceptable C compiler found in \$PATH
  1738. See \`config.log' for more details." >&2;}
  1739. { (exit 1); exit 1; }; }
  1740. # Provide some information about the compiler.
  1741. echo "$as_me:$LINENO: checking for C compiler version" >&5
  1742. ac_compiler=`set X $ac_compile; echo $2`
  1743. { (ac_try="$ac_compiler --version >&5"
  1744. case "(($ac_try" in
  1745. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1746. *) ac_try_echo=$ac_try;;
  1747. esac
  1748. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1749. (eval "$ac_compiler --version >&5") 2>&5
  1750. ac_status=$?
  1751. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1752. (exit $ac_status); }
  1753. { (ac_try="$ac_compiler -v >&5"
  1754. case "(($ac_try" in
  1755. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1756. *) ac_try_echo=$ac_try;;
  1757. esac
  1758. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1759. (eval "$ac_compiler -v >&5") 2>&5
  1760. ac_status=$?
  1761. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1762. (exit $ac_status); }
  1763. { (ac_try="$ac_compiler -V >&5"
  1764. case "(($ac_try" in
  1765. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1766. *) ac_try_echo=$ac_try;;
  1767. esac
  1768. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1769. (eval "$ac_compiler -V >&5") 2>&5
  1770. ac_status=$?
  1771. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1772. (exit $ac_status); }
  1773. cat >conftest.$ac_ext <<_ACEOF
  1774. /* confdefs.h. */
  1775. _ACEOF
  1776. cat confdefs.h >>conftest.$ac_ext
  1777. cat >>conftest.$ac_ext <<_ACEOF
  1778. /* end confdefs.h. */
  1779. int
  1780. main ()
  1781. {
  1782. ;
  1783. return 0;
  1784. }
  1785. _ACEOF
  1786. ac_clean_files_save=$ac_clean_files
  1787. ac_clean_files="$ac_clean_files a.out a.exe b.out"
  1788. # Try to create an executable without -o first, disregard a.out.
  1789. # It will help us diagnose broken compilers, and finding out an intuition
  1790. # of exeext.
  1791. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  1792. echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  1793. ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1794. #
  1795. # List of possible output files, starting from the most likely.
  1796. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  1797. # only as a last resort. b.out is created by i960 compilers.
  1798. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  1799. #
  1800. # The IRIX 6 linker writes into existing files which may not be
  1801. # executable, retaining their permissions. Remove them first so a
  1802. # subsequent execution test works.
  1803. ac_rmfiles=
  1804. for ac_file in $ac_files
  1805. do
  1806. case $ac_file in
  1807. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1808. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1809. esac
  1810. done
  1811. rm -f $ac_rmfiles
  1812. if { (ac_try="$ac_link_default"
  1813. case "(($ac_try" in
  1814. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1815. *) ac_try_echo=$ac_try;;
  1816. esac
  1817. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1818. (eval "$ac_link_default") 2>&5
  1819. ac_status=$?
  1820. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1821. (exit $ac_status); }; then
  1822. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1823. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1824. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  1825. # so that the user can short-circuit this test for compilers unknown to
  1826. # Autoconf.
  1827. for ac_file in $ac_files
  1828. do
  1829. test -f "$ac_file" || continue
  1830. case $ac_file in
  1831. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  1832. ;;
  1833. [ab].out )
  1834. # We found the default executable, but exeext='' is most
  1835. # certainly right.
  1836. break;;
  1837. *.* )
  1838. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1839. then :; else
  1840. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1841. fi
  1842. # We set ac_cv_exeext here because the later test for it is not
  1843. # safe: cross compilers may not add the suffix if given an `-o'
  1844. # argument, so we may need to know it at that point already.
  1845. # Even if this section looks crufty: it has the advantage of
  1846. # actually working.
  1847. break;;
  1848. * )
  1849. break;;
  1850. esac
  1851. done
  1852. test "$ac_cv_exeext" = no && ac_cv_exeext=
  1853. else
  1854. echo "$as_me: failed program was:" >&5
  1855. sed 's/^/| /' conftest.$ac_ext >&5
  1856. { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  1857. See \`config.log' for more details." >&5
  1858. echo "$as_me: error: C compiler cannot create executables
  1859. See \`config.log' for more details." >&2;}
  1860. { (exit 77); exit 77; }; }
  1861. fi
  1862. ac_exeext=$ac_cv_exeext
  1863. { echo "$as_me:$LINENO: result: $ac_file" >&5
  1864. echo "${ECHO_T}$ac_file" >&6; }
  1865. # Check that the compiler produces executables we can run. If not, either
  1866. # the compiler is broken, or we cross compile.
  1867. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  1868. echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  1869. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  1870. # If not cross compiling, check that we can run a simple program.
  1871. if test "$cross_compiling" != yes; then
  1872. if { ac_try='./$ac_file'
  1873. { (case "(($ac_try" in
  1874. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1875. *) ac_try_echo=$ac_try;;
  1876. esac
  1877. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1878. (eval "$ac_try") 2>&5
  1879. ac_status=$?
  1880. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1881. (exit $ac_status); }; }; then
  1882. cross_compiling=no
  1883. else
  1884. if test "$cross_compiling" = maybe; then
  1885. cross_compiling=yes
  1886. else
  1887. { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  1888. If you meant to cross compile, use \`--host'.
  1889. See \`config.log' for more details." >&5
  1890. echo "$as_me: error: cannot run C compiled programs.
  1891. If you meant to cross compile, use \`--host'.
  1892. See \`config.log' for more details." >&2;}
  1893. { (exit 1); exit 1; }; }
  1894. fi
  1895. fi
  1896. fi
  1897. { echo "$as_me:$LINENO: result: yes" >&5
  1898. echo "${ECHO_T}yes" >&6; }
  1899. rm -f a.out a.exe conftest$ac_cv_exeext b.out
  1900. ac_clean_files=$ac_clean_files_save
  1901. # Check that the compiler produces executables we can run. If not, either
  1902. # the compiler is broken, or we cross compile.
  1903. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  1904. echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  1905. { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  1906. echo "${ECHO_T}$cross_compiling" >&6; }
  1907. { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  1908. echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  1909. if { (ac_try="$ac_link"
  1910. case "(($ac_try" in
  1911. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1912. *) ac_try_echo=$ac_try;;
  1913. esac
  1914. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1915. (eval "$ac_link") 2>&5
  1916. ac_status=$?
  1917. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1918. (exit $ac_status); }; then
  1919. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1920. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  1921. # work properly (i.e., refer to `conftest.exe'), while it won't with
  1922. # `rm'.
  1923. for ac_file in conftest.exe conftest conftest.*; do
  1924. test -f "$ac_file" || continue
  1925. case $ac_file in
  1926. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  1927. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1928. break;;
  1929. * ) break;;
  1930. esac
  1931. done
  1932. else
  1933. { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  1934. See \`config.log' for more details." >&5
  1935. echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  1936. See \`config.log' for more details." >&2;}
  1937. { (exit 1); exit 1; }; }
  1938. fi
  1939. rm -f conftest$ac_cv_exeext
  1940. { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  1941. echo "${ECHO_T}$ac_cv_exeext" >&6; }
  1942. rm -f conftest.$ac_ext
  1943. EXEEXT=$ac_cv_exeext
  1944. ac_exeext=$EXEEXT
  1945. { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  1946. echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  1947. if test "${ac_cv_objext+set}" = set; then
  1948. echo $ECHO_N "(cached) $ECHO_C" >&6
  1949. else
  1950. cat >conftest.$ac_ext <<_ACEOF
  1951. /* confdefs.h. */
  1952. _ACEOF
  1953. cat confdefs.h >>conftest.$ac_ext
  1954. cat >>conftest.$ac_ext <<_ACEOF
  1955. /* end confdefs.h. */
  1956. int
  1957. main ()
  1958. {
  1959. ;
  1960. return 0;
  1961. }
  1962. _ACEOF
  1963. rm -f conftest.o conftest.obj
  1964. if { (ac_try="$ac_compile"
  1965. case "(($ac_try" in
  1966. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1967. *) ac_try_echo=$ac_try;;
  1968. esac
  1969. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  1970. (eval "$ac_compile") 2>&5
  1971. ac_status=$?
  1972. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  1973. (exit $ac_status); }; then
  1974. for ac_file in conftest.o conftest.obj conftest.*; do
  1975. test -f "$ac_file" || continue;
  1976. case $ac_file in
  1977. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  1978. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1979. break;;
  1980. esac
  1981. done
  1982. else
  1983. echo "$as_me: failed program was:" >&5
  1984. sed 's/^/| /' conftest.$ac_ext >&5
  1985. { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  1986. See \`config.log' for more details." >&5
  1987. echo "$as_me: error: cannot compute suffix of object files: cannot compile
  1988. See \`config.log' for more details." >&2;}
  1989. { (exit 1); exit 1; }; }
  1990. fi
  1991. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1992. fi
  1993. { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  1994. echo "${ECHO_T}$ac_cv_objext" >&6; }
  1995. OBJEXT=$ac_cv_objext
  1996. ac_objext=$OBJEXT
  1997. { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  1998. echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  1999. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2000. echo $ECHO_N "(cached) $ECHO_C" >&6
  2001. else
  2002. cat >conftest.$ac_ext <<_ACEOF
  2003. /* confdefs.h. */
  2004. _ACEOF
  2005. cat confdefs.h >>conftest.$ac_ext
  2006. cat >>conftest.$ac_ext <<_ACEOF
  2007. /* end confdefs.h. */
  2008. int
  2009. main ()
  2010. {
  2011. #ifndef __GNUC__
  2012. choke me
  2013. #endif
  2014. ;
  2015. return 0;
  2016. }
  2017. _ACEOF
  2018. rm -f conftest.$ac_objext
  2019. if { (ac_try="$ac_compile"
  2020. case "(($ac_try" in
  2021. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2022. *) ac_try_echo=$ac_try;;
  2023. esac
  2024. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2025. (eval "$ac_compile") 2>conftest.er1
  2026. ac_status=$?
  2027. grep -v '^ *+' conftest.er1 >conftest.err
  2028. rm -f conftest.er1
  2029. cat conftest.err >&5
  2030. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2031. (exit $ac_status); } &&
  2032. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2033. { (case "(($ac_try" in
  2034. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2035. *) ac_try_echo=$ac_try;;
  2036. esac
  2037. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2038. (eval "$ac_try") 2>&5
  2039. ac_status=$?
  2040. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2041. (exit $ac_status); }; } &&
  2042. { ac_try='test -s conftest.$ac_objext'
  2043. { (case "(($ac_try" in
  2044. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2045. *) ac_try_echo=$ac_try;;
  2046. esac
  2047. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2048. (eval "$ac_try") 2>&5
  2049. ac_status=$?
  2050. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2051. (exit $ac_status); }; }; then
  2052. ac_compiler_gnu=yes
  2053. else
  2054. echo "$as_me: failed program was:" >&5
  2055. sed 's/^/| /' conftest.$ac_ext >&5
  2056. ac_compiler_gnu=no
  2057. fi
  2058. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2059. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2060. fi
  2061. { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  2062. echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  2063. GCC=`test $ac_compiler_gnu = yes && echo yes`
  2064. ac_test_CFLAGS=${CFLAGS+set}
  2065. ac_save_CFLAGS=$CFLAGS
  2066. { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  2067. echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  2068. if test "${ac_cv_prog_cc_g+set}" = set; then
  2069. echo $ECHO_N "(cached) $ECHO_C" >&6
  2070. else
  2071. ac_save_c_werror_flag=$ac_c_werror_flag
  2072. ac_c_werror_flag=yes
  2073. ac_cv_prog_cc_g=no
  2074. CFLAGS="-g"
  2075. cat >conftest.$ac_ext <<_ACEOF
  2076. /* confdefs.h. */
  2077. _ACEOF
  2078. cat confdefs.h >>conftest.$ac_ext
  2079. cat >>conftest.$ac_ext <<_ACEOF
  2080. /* end confdefs.h. */
  2081. int
  2082. main ()
  2083. {
  2084. ;
  2085. return 0;
  2086. }
  2087. _ACEOF
  2088. rm -f conftest.$ac_objext
  2089. if { (ac_try="$ac_compile"
  2090. case "(($ac_try" in
  2091. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2092. *) ac_try_echo=$ac_try;;
  2093. esac
  2094. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2095. (eval "$ac_compile") 2>conftest.er1
  2096. ac_status=$?
  2097. grep -v '^ *+' conftest.er1 >conftest.err
  2098. rm -f conftest.er1
  2099. cat conftest.err >&5
  2100. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2101. (exit $ac_status); } &&
  2102. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2103. { (case "(($ac_try" in
  2104. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2105. *) ac_try_echo=$ac_try;;
  2106. esac
  2107. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2108. (eval "$ac_try") 2>&5
  2109. ac_status=$?
  2110. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2111. (exit $ac_status); }; } &&
  2112. { ac_try='test -s conftest.$ac_objext'
  2113. { (case "(($ac_try" in
  2114. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2115. *) ac_try_echo=$ac_try;;
  2116. esac
  2117. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2118. (eval "$ac_try") 2>&5
  2119. ac_status=$?
  2120. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2121. (exit $ac_status); }; }; then
  2122. ac_cv_prog_cc_g=yes
  2123. else
  2124. echo "$as_me: failed program was:" >&5
  2125. sed 's/^/| /' conftest.$ac_ext >&5
  2126. CFLAGS=""
  2127. cat >conftest.$ac_ext <<_ACEOF
  2128. /* confdefs.h. */
  2129. _ACEOF
  2130. cat confdefs.h >>conftest.$ac_ext
  2131. cat >>conftest.$ac_ext <<_ACEOF
  2132. /* end confdefs.h. */
  2133. int
  2134. main ()
  2135. {
  2136. ;
  2137. return 0;
  2138. }
  2139. _ACEOF
  2140. rm -f conftest.$ac_objext
  2141. if { (ac_try="$ac_compile"
  2142. case "(($ac_try" in
  2143. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2144. *) ac_try_echo=$ac_try;;
  2145. esac
  2146. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2147. (eval "$ac_compile") 2>conftest.er1
  2148. ac_status=$?
  2149. grep -v '^ *+' conftest.er1 >conftest.err
  2150. rm -f conftest.er1
  2151. cat conftest.err >&5
  2152. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2153. (exit $ac_status); } &&
  2154. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2155. { (case "(($ac_try" in
  2156. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2157. *) ac_try_echo=$ac_try;;
  2158. esac
  2159. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2160. (eval "$ac_try") 2>&5
  2161. ac_status=$?
  2162. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2163. (exit $ac_status); }; } &&
  2164. { ac_try='test -s conftest.$ac_objext'
  2165. { (case "(($ac_try" in
  2166. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2167. *) ac_try_echo=$ac_try;;
  2168. esac
  2169. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2170. (eval "$ac_try") 2>&5
  2171. ac_status=$?
  2172. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2173. (exit $ac_status); }; }; then
  2174. :
  2175. else
  2176. echo "$as_me: failed program was:" >&5
  2177. sed 's/^/| /' conftest.$ac_ext >&5
  2178. ac_c_werror_flag=$ac_save_c_werror_flag
  2179. CFLAGS="-g"
  2180. cat >conftest.$ac_ext <<_ACEOF
  2181. /* confdefs.h. */
  2182. _ACEOF
  2183. cat confdefs.h >>conftest.$ac_ext
  2184. cat >>conftest.$ac_ext <<_ACEOF
  2185. /* end confdefs.h. */
  2186. int
  2187. main ()
  2188. {
  2189. ;
  2190. return 0;
  2191. }
  2192. _ACEOF
  2193. rm -f conftest.$ac_objext
  2194. if { (ac_try="$ac_compile"
  2195. case "(($ac_try" in
  2196. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2197. *) ac_try_echo=$ac_try;;
  2198. esac
  2199. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2200. (eval "$ac_compile") 2>conftest.er1
  2201. ac_status=$?
  2202. grep -v '^ *+' conftest.er1 >conftest.err
  2203. rm -f conftest.er1
  2204. cat conftest.err >&5
  2205. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2206. (exit $ac_status); } &&
  2207. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2208. { (case "(($ac_try" in
  2209. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2210. *) ac_try_echo=$ac_try;;
  2211. esac
  2212. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2213. (eval "$ac_try") 2>&5
  2214. ac_status=$?
  2215. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2216. (exit $ac_status); }; } &&
  2217. { ac_try='test -s conftest.$ac_objext'
  2218. { (case "(($ac_try" in
  2219. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2220. *) ac_try_echo=$ac_try;;
  2221. esac
  2222. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2223. (eval "$ac_try") 2>&5
  2224. ac_status=$?
  2225. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2226. (exit $ac_status); }; }; then
  2227. ac_cv_prog_cc_g=yes
  2228. else
  2229. echo "$as_me: failed program was:" >&5
  2230. sed 's/^/| /' conftest.$ac_ext >&5
  2231. fi
  2232. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2233. fi
  2234. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2235. fi
  2236. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2237. ac_c_werror_flag=$ac_save_c_werror_flag
  2238. fi
  2239. { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  2240. echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  2241. if test "$ac_test_CFLAGS" = set; then
  2242. CFLAGS=$ac_save_CFLAGS
  2243. elif test $ac_cv_prog_cc_g = yes; then
  2244. if test "$GCC" = yes; then
  2245. CFLAGS="-g -O2"
  2246. else
  2247. CFLAGS="-g"
  2248. fi
  2249. else
  2250. if test "$GCC" = yes; then
  2251. CFLAGS="-O2"
  2252. else
  2253. CFLAGS=
  2254. fi
  2255. fi
  2256. { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  2257. echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  2258. if test "${ac_cv_prog_cc_c89+set}" = set; then
  2259. echo $ECHO_N "(cached) $ECHO_C" >&6
  2260. else
  2261. ac_cv_prog_cc_c89=no
  2262. ac_save_CC=$CC
  2263. cat >conftest.$ac_ext <<_ACEOF
  2264. /* confdefs.h. */
  2265. _ACEOF
  2266. cat confdefs.h >>conftest.$ac_ext
  2267. cat >>conftest.$ac_ext <<_ACEOF
  2268. /* end confdefs.h. */
  2269. #include <stdarg.h>
  2270. #include <stdio.h>
  2271. #include <sys/types.h>
  2272. #include <sys/stat.h>
  2273. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2274. struct buf { int x; };
  2275. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2276. static char *e (p, i)
  2277. char **p;
  2278. int i;
  2279. {
  2280. return p[i];
  2281. }
  2282. static char *f (char * (*g) (char **, int), char **p, ...)
  2283. {
  2284. char *s;
  2285. va_list v;
  2286. va_start (v,p);
  2287. s = g (p, va_arg (v,int));
  2288. va_end (v);
  2289. return s;
  2290. }
  2291. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2292. function prototypes and stuff, but not '\xHH' hex character constants.
  2293. These don't provoke an error unfortunately, instead are silently treated
  2294. as 'x'. The following induces an error, until -std is added to get
  2295. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2296. array size at least. It's necessary to write '\x00'==0 to get something
  2297. that's true only with -std. */
  2298. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2299. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2300. inside strings and character constants. */
  2301. #define FOO(x) 'x'
  2302. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2303. int test (int i, double x);
  2304. struct s1 {int (*f) (int a);};
  2305. struct s2 {int (*f) (double a);};
  2306. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2307. int argc;
  2308. char **argv;
  2309. int
  2310. main ()
  2311. {
  2312. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2313. ;
  2314. return 0;
  2315. }
  2316. _ACEOF
  2317. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2318. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2319. do
  2320. CC="$ac_save_CC $ac_arg"
  2321. rm -f conftest.$ac_objext
  2322. if { (ac_try="$ac_compile"
  2323. case "(($ac_try" in
  2324. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2325. *) ac_try_echo=$ac_try;;
  2326. esac
  2327. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2328. (eval "$ac_compile") 2>conftest.er1
  2329. ac_status=$?
  2330. grep -v '^ *+' conftest.er1 >conftest.err
  2331. rm -f conftest.er1
  2332. cat conftest.err >&5
  2333. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2334. (exit $ac_status); } &&
  2335. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2336. { (case "(($ac_try" in
  2337. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2338. *) ac_try_echo=$ac_try;;
  2339. esac
  2340. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2341. (eval "$ac_try") 2>&5
  2342. ac_status=$?
  2343. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2344. (exit $ac_status); }; } &&
  2345. { ac_try='test -s conftest.$ac_objext'
  2346. { (case "(($ac_try" in
  2347. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2348. *) ac_try_echo=$ac_try;;
  2349. esac
  2350. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2351. (eval "$ac_try") 2>&5
  2352. ac_status=$?
  2353. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2354. (exit $ac_status); }; }; then
  2355. ac_cv_prog_cc_c89=$ac_arg
  2356. else
  2357. echo "$as_me: failed program was:" >&5
  2358. sed 's/^/| /' conftest.$ac_ext >&5
  2359. fi
  2360. rm -f core conftest.err conftest.$ac_objext
  2361. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2362. done
  2363. rm -f conftest.$ac_ext
  2364. CC=$ac_save_CC
  2365. fi
  2366. # AC_CACHE_VAL
  2367. case "x$ac_cv_prog_cc_c89" in
  2368. x)
  2369. { echo "$as_me:$LINENO: result: none needed" >&5
  2370. echo "${ECHO_T}none needed" >&6; } ;;
  2371. xno)
  2372. { echo "$as_me:$LINENO: result: unsupported" >&5
  2373. echo "${ECHO_T}unsupported" >&6; } ;;
  2374. *)
  2375. CC="$CC $ac_cv_prog_cc_c89"
  2376. { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  2377. echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  2378. esac
  2379. ac_ext=c
  2380. ac_cpp='$CPP $CPPFLAGS'
  2381. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2382. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2383. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2384. ac_aux_dir=
  2385. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2386. if test -f "$ac_dir/install-sh"; then
  2387. ac_aux_dir=$ac_dir
  2388. ac_install_sh="$ac_aux_dir/install-sh -c"
  2389. break
  2390. elif test -f "$ac_dir/install.sh"; then
  2391. ac_aux_dir=$ac_dir
  2392. ac_install_sh="$ac_aux_dir/install.sh -c"
  2393. break
  2394. elif test -f "$ac_dir/shtool"; then
  2395. ac_aux_dir=$ac_dir
  2396. ac_install_sh="$ac_aux_dir/shtool install -c"
  2397. break
  2398. fi
  2399. done
  2400. if test -z "$ac_aux_dir"; then
  2401. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  2402. echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  2403. { (exit 1); exit 1; }; }
  2404. fi
  2405. # These three variables are undocumented and unsupported,
  2406. # and are intended to be withdrawn in a future Autoconf release.
  2407. # They can cause serious problems if a builder's source tree is in a directory
  2408. # whose full name contains unusual characters.
  2409. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2410. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2411. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2412. # Find a good install program. We prefer a C program (faster),
  2413. # so one script is as good as another. But avoid the broken or
  2414. # incompatible versions:
  2415. # SysV /etc/install, /usr/sbin/install
  2416. # SunOS /usr/etc/install
  2417. # IRIX /sbin/install
  2418. # AIX /bin/install
  2419. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2420. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2421. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2422. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2423. # OS/2's system install, which has a completely different semantic
  2424. # ./install, which can be erroneously created by make from ./install.sh.
  2425. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2426. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  2427. if test -z "$INSTALL"; then
  2428. if test "${ac_cv_path_install+set}" = set; then
  2429. echo $ECHO_N "(cached) $ECHO_C" >&6
  2430. else
  2431. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2432. for as_dir in $PATH
  2433. do
  2434. IFS=$as_save_IFS
  2435. test -z "$as_dir" && as_dir=.
  2436. # Account for people who put trailing slashes in PATH elements.
  2437. case $as_dir/ in
  2438. ./ | .// | /cC/* | \
  2439. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2440. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2441. /usr/ucb/* ) ;;
  2442. *)
  2443. # OSF1 and SCO ODT 3.0 have their own names for install.
  2444. # Don't use installbsd from OSF since it installs stuff as root
  2445. # by default.
  2446. for ac_prog in ginstall scoinst install; do
  2447. for ac_exec_ext in '' $ac_executable_extensions; do
  2448. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2449. if test $ac_prog = install &&
  2450. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2451. # AIX install. It has an incompatible calling convention.
  2452. :
  2453. elif test $ac_prog = install &&
  2454. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2455. # program-specific install script used by HP pwplus--don't use.
  2456. :
  2457. else
  2458. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2459. break 3
  2460. fi
  2461. fi
  2462. done
  2463. done
  2464. ;;
  2465. esac
  2466. done
  2467. IFS=$as_save_IFS
  2468. fi
  2469. if test "${ac_cv_path_install+set}" = set; then
  2470. INSTALL=$ac_cv_path_install
  2471. else
  2472. # As a last resort, use the slow shell script. Don't cache a
  2473. # value for INSTALL within a source directory, because that will
  2474. # break other packages using the cache if that directory is
  2475. # removed, or if the value is a relative name.
  2476. INSTALL=$ac_install_sh
  2477. fi
  2478. fi
  2479. { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2480. echo "${ECHO_T}$INSTALL" >&6; }
  2481. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2482. # It thinks the first close brace ends the variable substitution.
  2483. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2484. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2485. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2486. # Optional verbose warnings for gcc, see below
  2487. WFLAGS="-Wall -Waggregate-return -Wcast-align -Wcast-qual"
  2488. WFLAGS="$WFLAGS -Wmissing-declarations -Wmissing-prototypes"
  2489. WFLAGS="$WFLAGS -Wno-conversion -Wpointer-arith -Wshadow"
  2490. WFLAGS="$WFLAGS -Wuninitialized -Wcast-align -Wcast-qual"
  2491. WFLAGS="$WFLAGS -WformatC=2 -Wformat-nonliteral -Wwrite-strings"
  2492. # Process flag arguments early, so they are available for tests later
  2493. # Check whether --enable-gcc-warnings was given.
  2494. if test "${enable_gcc_warnings+set}" = set; then
  2495. enableval=$enable_gcc_warnings; if test "x$enableval" = "xyes" ; then CFLAGS="$CFLAGS $WFLAGS"; fi
  2496. fi
  2497. # Check whether --with-cflags was given.
  2498. if test "${with_cflags+set}" = set; then
  2499. withval=$with_cflags; if test "x$withval" != "xno" ; then CFLAGS="$CFLAGS $withval"; fi
  2500. fi
  2501. # Check whether --with-cppflags was given.
  2502. if test "${with_cppflags+set}" = set; then
  2503. withval=$with_cppflags; if test "x$withval" != "xno"; then CPPFLAGS="$CPPFLAGS $withval"; fi
  2504. fi
  2505. # Check whether --with-ldflags was given.
  2506. if test "${with_ldflags+set}" = set; then
  2507. withval=$with_ldflags; if test "x$withval" != "xno" ; then LDFLAGS="$LDFLAGS $withval"; fi
  2508. fi
  2509. # Check whether --with-libs was given.
  2510. if test "${with_libs+set}" = set; then
  2511. withval=$with_libs; if test "x$withval" != "xno" ; then LIBS="$LIBS $withval"; fi
  2512. fi
  2513. ac_ext=c
  2514. ac_cpp='$CPP $CPPFLAGS'
  2515. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2516. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2517. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2518. { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  2519. echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  2520. # On Suns, sometimes $CPP names a directory.
  2521. if test -n "$CPP" && test -d "$CPP"; then
  2522. CPP=
  2523. fi
  2524. if test -z "$CPP"; then
  2525. if test "${ac_cv_prog_CPP+set}" = set; then
  2526. echo $ECHO_N "(cached) $ECHO_C" >&6
  2527. else
  2528. # Double quotes because CPP needs to be expanded
  2529. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  2530. do
  2531. ac_preproc_ok=false
  2532. for ac_c_preproc_warn_flag in '' yes
  2533. do
  2534. # Use a header file that comes with gcc, so configuring glibc
  2535. # with a fresh cross-compiler works.
  2536. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2537. # <limits.h> exists even on freestanding compilers.
  2538. # On the NeXT, cc -E runs the code through the compiler's parser,
  2539. # not just through cpp. "Syntax error" is here to catch this case.
  2540. cat >conftest.$ac_ext <<_ACEOF
  2541. /* confdefs.h. */
  2542. _ACEOF
  2543. cat confdefs.h >>conftest.$ac_ext
  2544. cat >>conftest.$ac_ext <<_ACEOF
  2545. /* end confdefs.h. */
  2546. #ifdef __STDC__
  2547. # include <limits.h>
  2548. #else
  2549. # include <assert.h>
  2550. #endif
  2551. Syntax error
  2552. _ACEOF
  2553. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2554. case "(($ac_try" in
  2555. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2556. *) ac_try_echo=$ac_try;;
  2557. esac
  2558. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2559. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2560. ac_status=$?
  2561. grep -v '^ *+' conftest.er1 >conftest.err
  2562. rm -f conftest.er1
  2563. cat conftest.err >&5
  2564. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2565. (exit $ac_status); } >/dev/null; then
  2566. if test -s conftest.err; then
  2567. ac_cpp_err=$ac_c_preproc_warn_flag
  2568. ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2569. else
  2570. ac_cpp_err=
  2571. fi
  2572. else
  2573. ac_cpp_err=yes
  2574. fi
  2575. if test -z "$ac_cpp_err"; then
  2576. :
  2577. else
  2578. echo "$as_me: failed program was:" >&5
  2579. sed 's/^/| /' conftest.$ac_ext >&5
  2580. # Broken: fails on valid input.
  2581. continue
  2582. fi
  2583. rm -f conftest.err conftest.$ac_ext
  2584. # OK, works on sane cases. Now check whether nonexistent headers
  2585. # can be detected and how.
  2586. cat >conftest.$ac_ext <<_ACEOF
  2587. /* confdefs.h. */
  2588. _ACEOF
  2589. cat confdefs.h >>conftest.$ac_ext
  2590. cat >>conftest.$ac_ext <<_ACEOF
  2591. /* end confdefs.h. */
  2592. #include <ac_nonexistent.h>
  2593. _ACEOF
  2594. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2595. case "(($ac_try" in
  2596. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2597. *) ac_try_echo=$ac_try;;
  2598. esac
  2599. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2600. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2601. ac_status=$?
  2602. grep -v '^ *+' conftest.er1 >conftest.err
  2603. rm -f conftest.er1
  2604. cat conftest.err >&5
  2605. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2606. (exit $ac_status); } >/dev/null; then
  2607. if test -s conftest.err; then
  2608. ac_cpp_err=$ac_c_preproc_warn_flag
  2609. ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2610. else
  2611. ac_cpp_err=
  2612. fi
  2613. else
  2614. ac_cpp_err=yes
  2615. fi
  2616. if test -z "$ac_cpp_err"; then
  2617. # Broken: success on invalid input.
  2618. continue
  2619. else
  2620. echo "$as_me: failed program was:" >&5
  2621. sed 's/^/| /' conftest.$ac_ext >&5
  2622. # Passes both tests.
  2623. ac_preproc_ok=:
  2624. break
  2625. fi
  2626. rm -f conftest.err conftest.$ac_ext
  2627. done
  2628. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2629. rm -f conftest.err conftest.$ac_ext
  2630. if $ac_preproc_ok; then
  2631. break
  2632. fi
  2633. done
  2634. ac_cv_prog_CPP=$CPP
  2635. fi
  2636. CPP=$ac_cv_prog_CPP
  2637. else
  2638. ac_cv_prog_CPP=$CPP
  2639. fi
  2640. { echo "$as_me:$LINENO: result: $CPP" >&5
  2641. echo "${ECHO_T}$CPP" >&6; }
  2642. ac_preproc_ok=false
  2643. for ac_c_preproc_warn_flag in '' yes
  2644. do
  2645. # Use a header file that comes with gcc, so configuring glibc
  2646. # with a fresh cross-compiler works.
  2647. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2648. # <limits.h> exists even on freestanding compilers.
  2649. # On the NeXT, cc -E runs the code through the compiler's parser,
  2650. # not just through cpp. "Syntax error" is here to catch this case.
  2651. cat >conftest.$ac_ext <<_ACEOF
  2652. /* confdefs.h. */
  2653. _ACEOF
  2654. cat confdefs.h >>conftest.$ac_ext
  2655. cat >>conftest.$ac_ext <<_ACEOF
  2656. /* end confdefs.h. */
  2657. #ifdef __STDC__
  2658. # include <limits.h>
  2659. #else
  2660. # include <assert.h>
  2661. #endif
  2662. Syntax error
  2663. _ACEOF
  2664. if { (ac_try="$ac_cpp conftest.$ac_ext"
  2665. case "(($ac_try" in
  2666. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2667. *) ac_try_echo=$ac_try;;
  2668. esac
  2669. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2670. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  2671. ac_status=$?
  2672. grep -v '^ *+' conftest.er1 >conftest.err
  2673. rm -f conftest.er1
  2674. cat conftest.err >&5
  2675. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2676. (exit $ac_status); } >/dev/null; then
  2677. if test -s conftest.err; then
  2678. ac_cpp_err=$ac_c_preproc_warn_flag
  2679. ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2680. else
  2681. ac_cpp_err=
  2682. fi
  2683. else
  2684. ac_cpp_err=yes
  2685. fi
  2686. if test -z "$ac_cpp_err"; 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; then
  2718. if test -s conftest.err; then
  2719. ac_cpp_err=$ac_c_preproc_warn_flag
  2720. ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  2721. else
  2722. ac_cpp_err=
  2723. fi
  2724. else
  2725. ac_cpp_err=yes
  2726. fi
  2727. if test -z "$ac_cpp_err"; then
  2728. # Broken: success on invalid input.
  2729. continue
  2730. else
  2731. echo "$as_me: failed program was:" >&5
  2732. sed 's/^/| /' conftest.$ac_ext >&5
  2733. # Passes both tests.
  2734. ac_preproc_ok=:
  2735. break
  2736. fi
  2737. rm -f conftest.err conftest.$ac_ext
  2738. done
  2739. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  2740. rm -f conftest.err conftest.$ac_ext
  2741. if $ac_preproc_ok; then
  2742. :
  2743. else
  2744. { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  2745. See \`config.log' for more details." >&5
  2746. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  2747. See \`config.log' for more details." >&2;}
  2748. { (exit 1); exit 1; }; }
  2749. fi
  2750. ac_ext=c
  2751. ac_cpp='$CPP $CPPFLAGS'
  2752. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2753. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2754. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2755. { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  2756. echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  2757. if test "${ac_cv_path_GREP+set}" = set; then
  2758. echo $ECHO_N "(cached) $ECHO_C" >&6
  2759. else
  2760. # Extract the first word of "grep ggrep" to use in msg output
  2761. if test -z "$GREP"; then
  2762. set dummy grep ggrep; ac_prog_name=$2
  2763. if test "${ac_cv_path_GREP+set}" = set; then
  2764. echo $ECHO_N "(cached) $ECHO_C" >&6
  2765. else
  2766. ac_path_GREP_found=false
  2767. # Loop through the user's path and test for each of PROGNAME-LIST
  2768. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2769. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  2770. do
  2771. IFS=$as_save_IFS
  2772. test -z "$as_dir" && as_dir=.
  2773. for ac_prog in grep ggrep; do
  2774. for ac_exec_ext in '' $ac_executable_extensions; do
  2775. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  2776. { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
  2777. # Check for GNU ac_path_GREP and select it if it is found.
  2778. # Check for GNU $ac_path_GREP
  2779. case `"$ac_path_GREP" --version 2>&1` in
  2780. *GNU*)
  2781. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  2782. *)
  2783. ac_count=0
  2784. echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  2785. while :
  2786. do
  2787. cat "conftest.in" "conftest.in" >"conftest.tmp"
  2788. mv "conftest.tmp" "conftest.in"
  2789. cp "conftest.in" "conftest.nl"
  2790. echo 'GREP' >> "conftest.nl"
  2791. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  2792. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  2793. ac_count=`expr $ac_count + 1`
  2794. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  2795. # Best one so far, save it but keep looking for a better one
  2796. ac_cv_path_GREP="$ac_path_GREP"
  2797. ac_path_GREP_max=$ac_count
  2798. fi
  2799. # 10*(2^10) chars as input seems more than enough
  2800. test $ac_count -gt 10 && break
  2801. done
  2802. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  2803. esac
  2804. $ac_path_GREP_found && break 3
  2805. done
  2806. done
  2807. done
  2808. IFS=$as_save_IFS
  2809. fi
  2810. GREP="$ac_cv_path_GREP"
  2811. if test -z "$GREP"; then
  2812. { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  2813. echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  2814. { (exit 1); exit 1; }; }
  2815. fi
  2816. else
  2817. ac_cv_path_GREP=$GREP
  2818. fi
  2819. fi
  2820. { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  2821. echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  2822. GREP="$ac_cv_path_GREP"
  2823. { echo "$as_me:$LINENO: checking for egrep" >&5
  2824. echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  2825. if test "${ac_cv_path_EGREP+set}" = set; then
  2826. echo $ECHO_N "(cached) $ECHO_C" >&6
  2827. else
  2828. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  2829. then ac_cv_path_EGREP="$GREP -E"
  2830. else
  2831. # Extract the first word of "egrep" to use in msg output
  2832. if test -z "$EGREP"; then
  2833. set dummy egrep; ac_prog_name=$2
  2834. if test "${ac_cv_path_EGREP+set}" = set; then
  2835. echo $ECHO_N "(cached) $ECHO_C" >&6
  2836. else
  2837. ac_path_EGREP_found=false
  2838. # Loop through the user's path and test for each of PROGNAME-LIST
  2839. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2840. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  2841. do
  2842. IFS=$as_save_IFS
  2843. test -z "$as_dir" && as_dir=.
  2844. for ac_prog in egrep; do
  2845. for ac_exec_ext in '' $ac_executable_extensions; do
  2846. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  2847. { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
  2848. # Check for GNU ac_path_EGREP and select it if it is found.
  2849. # Check for GNU $ac_path_EGREP
  2850. case `"$ac_path_EGREP" --version 2>&1` in
  2851. *GNU*)
  2852. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  2853. *)
  2854. ac_count=0
  2855. echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  2856. while :
  2857. do
  2858. cat "conftest.in" "conftest.in" >"conftest.tmp"
  2859. mv "conftest.tmp" "conftest.in"
  2860. cp "conftest.in" "conftest.nl"
  2861. echo 'EGREP' >> "conftest.nl"
  2862. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  2863. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  2864. ac_count=`expr $ac_count + 1`
  2865. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  2866. # Best one so far, save it but keep looking for a better one
  2867. ac_cv_path_EGREP="$ac_path_EGREP"
  2868. ac_path_EGREP_max=$ac_count
  2869. fi
  2870. # 10*(2^10) chars as input seems more than enough
  2871. test $ac_count -gt 10 && break
  2872. done
  2873. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  2874. esac
  2875. $ac_path_EGREP_found && break 3
  2876. done
  2877. done
  2878. done
  2879. IFS=$as_save_IFS
  2880. fi
  2881. EGREP="$ac_cv_path_EGREP"
  2882. if test -z "$EGREP"; then
  2883. { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  2884. echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  2885. { (exit 1); exit 1; }; }
  2886. fi
  2887. else
  2888. ac_cv_path_EGREP=$EGREP
  2889. fi
  2890. fi
  2891. fi
  2892. { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  2893. echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  2894. EGREP="$ac_cv_path_EGREP"
  2895. { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  2896. echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  2897. if test "${ac_cv_header_stdc+set}" = set; then
  2898. echo $ECHO_N "(cached) $ECHO_C" >&6
  2899. else
  2900. cat >conftest.$ac_ext <<_ACEOF
  2901. /* confdefs.h. */
  2902. _ACEOF
  2903. cat confdefs.h >>conftest.$ac_ext
  2904. cat >>conftest.$ac_ext <<_ACEOF
  2905. /* end confdefs.h. */
  2906. #include <stdlib.h>
  2907. #include <stdarg.h>
  2908. #include <string.h>
  2909. #include <float.h>
  2910. int
  2911. main ()
  2912. {
  2913. ;
  2914. return 0;
  2915. }
  2916. _ACEOF
  2917. rm -f conftest.$ac_objext
  2918. if { (ac_try="$ac_compile"
  2919. case "(($ac_try" in
  2920. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2921. *) ac_try_echo=$ac_try;;
  2922. esac
  2923. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2924. (eval "$ac_compile") 2>conftest.er1
  2925. ac_status=$?
  2926. grep -v '^ *+' conftest.er1 >conftest.err
  2927. rm -f conftest.er1
  2928. cat conftest.err >&5
  2929. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2930. (exit $ac_status); } &&
  2931. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  2932. { (case "(($ac_try" in
  2933. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2934. *) ac_try_echo=$ac_try;;
  2935. esac
  2936. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2937. (eval "$ac_try") 2>&5
  2938. ac_status=$?
  2939. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2940. (exit $ac_status); }; } &&
  2941. { ac_try='test -s conftest.$ac_objext'
  2942. { (case "(($ac_try" in
  2943. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2944. *) ac_try_echo=$ac_try;;
  2945. esac
  2946. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2947. (eval "$ac_try") 2>&5
  2948. ac_status=$?
  2949. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2950. (exit $ac_status); }; }; then
  2951. ac_cv_header_stdc=yes
  2952. else
  2953. echo "$as_me: failed program was:" >&5
  2954. sed 's/^/| /' conftest.$ac_ext >&5
  2955. ac_cv_header_stdc=no
  2956. fi
  2957. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2958. if test $ac_cv_header_stdc = yes; then
  2959. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  2960. cat >conftest.$ac_ext <<_ACEOF
  2961. /* confdefs.h. */
  2962. _ACEOF
  2963. cat confdefs.h >>conftest.$ac_ext
  2964. cat >>conftest.$ac_ext <<_ACEOF
  2965. /* end confdefs.h. */
  2966. #include <string.h>
  2967. _ACEOF
  2968. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2969. $EGREP "memchr" >/dev/null 2>&1; then
  2970. :
  2971. else
  2972. ac_cv_header_stdc=no
  2973. fi
  2974. rm -f conftest*
  2975. fi
  2976. if test $ac_cv_header_stdc = yes; then
  2977. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  2978. cat >conftest.$ac_ext <<_ACEOF
  2979. /* confdefs.h. */
  2980. _ACEOF
  2981. cat confdefs.h >>conftest.$ac_ext
  2982. cat >>conftest.$ac_ext <<_ACEOF
  2983. /* end confdefs.h. */
  2984. #include <stdlib.h>
  2985. _ACEOF
  2986. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  2987. $EGREP "free" >/dev/null 2>&1; then
  2988. :
  2989. else
  2990. ac_cv_header_stdc=no
  2991. fi
  2992. rm -f conftest*
  2993. fi
  2994. if test $ac_cv_header_stdc = yes; then
  2995. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  2996. if test "$cross_compiling" = yes; then
  2997. :
  2998. else
  2999. cat >conftest.$ac_ext <<_ACEOF
  3000. /* confdefs.h. */
  3001. _ACEOF
  3002. cat confdefs.h >>conftest.$ac_ext
  3003. cat >>conftest.$ac_ext <<_ACEOF
  3004. /* end confdefs.h. */
  3005. #include <ctype.h>
  3006. #include <stdlib.h>
  3007. #if ((' ' & 0x0FF) == 0x020)
  3008. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  3009. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  3010. #else
  3011. # define ISLOWER(c) \
  3012. (('a' <= (c) && (c) <= 'i') \
  3013. || ('j' <= (c) && (c) <= 'r') \
  3014. || ('s' <= (c) && (c) <= 'z'))
  3015. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  3016. #endif
  3017. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  3018. int
  3019. main ()
  3020. {
  3021. int i;
  3022. for (i = 0; i < 256; i++)
  3023. if (XOR (islower (i), ISLOWER (i))
  3024. || toupper (i) != TOUPPER (i))
  3025. return 2;
  3026. return 0;
  3027. }
  3028. _ACEOF
  3029. rm -f conftest$ac_exeext
  3030. if { (ac_try="$ac_link"
  3031. case "(($ac_try" in
  3032. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3033. *) ac_try_echo=$ac_try;;
  3034. esac
  3035. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3036. (eval "$ac_link") 2>&5
  3037. ac_status=$?
  3038. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3039. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  3040. { (case "(($ac_try" in
  3041. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3042. *) ac_try_echo=$ac_try;;
  3043. esac
  3044. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3045. (eval "$ac_try") 2>&5
  3046. ac_status=$?
  3047. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3048. (exit $ac_status); }; }; then
  3049. :
  3050. else
  3051. echo "$as_me: program exited with status $ac_status" >&5
  3052. echo "$as_me: failed program was:" >&5
  3053. sed 's/^/| /' conftest.$ac_ext >&5
  3054. ( exit $ac_status )
  3055. ac_cv_header_stdc=no
  3056. fi
  3057. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  3058. fi
  3059. fi
  3060. fi
  3061. { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  3062. echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  3063. if test $ac_cv_header_stdc = yes; then
  3064. cat >>confdefs.h <<\_ACEOF
  3065. #define STDC_HEADERS 1
  3066. _ACEOF
  3067. fi
  3068. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  3069. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  3070. inttypes.h stdint.h unistd.h
  3071. do
  3072. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3073. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3074. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3075. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3076. echo $ECHO_N "(cached) $ECHO_C" >&6
  3077. else
  3078. cat >conftest.$ac_ext <<_ACEOF
  3079. /* confdefs.h. */
  3080. _ACEOF
  3081. cat confdefs.h >>conftest.$ac_ext
  3082. cat >>conftest.$ac_ext <<_ACEOF
  3083. /* end confdefs.h. */
  3084. $ac_includes_default
  3085. #include <$ac_header>
  3086. _ACEOF
  3087. rm -f conftest.$ac_objext
  3088. if { (ac_try="$ac_compile"
  3089. case "(($ac_try" in
  3090. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3091. *) ac_try_echo=$ac_try;;
  3092. esac
  3093. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3094. (eval "$ac_compile") 2>conftest.er1
  3095. ac_status=$?
  3096. grep -v '^ *+' conftest.er1 >conftest.err
  3097. rm -f conftest.er1
  3098. cat conftest.err >&5
  3099. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3100. (exit $ac_status); } &&
  3101. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3102. { (case "(($ac_try" in
  3103. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3104. *) ac_try_echo=$ac_try;;
  3105. esac
  3106. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3107. (eval "$ac_try") 2>&5
  3108. ac_status=$?
  3109. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3110. (exit $ac_status); }; } &&
  3111. { ac_try='test -s conftest.$ac_objext'
  3112. { (case "(($ac_try" in
  3113. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3114. *) ac_try_echo=$ac_try;;
  3115. esac
  3116. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3117. (eval "$ac_try") 2>&5
  3118. ac_status=$?
  3119. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3120. (exit $ac_status); }; }; then
  3121. eval "$as_ac_Header=yes"
  3122. else
  3123. echo "$as_me: failed program was:" >&5
  3124. sed 's/^/| /' conftest.$ac_ext >&5
  3125. eval "$as_ac_Header=no"
  3126. fi
  3127. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3128. fi
  3129. ac_res=`eval echo '${'$as_ac_Header'}'`
  3130. { echo "$as_me:$LINENO: result: $ac_res" >&5
  3131. echo "${ECHO_T}$ac_res" >&6; }
  3132. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3133. cat >>confdefs.h <<_ACEOF
  3134. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3135. _ACEOF
  3136. fi
  3137. done
  3138. for ac_header in net/bpf.h pcap.h pcap-bpf.h
  3139. do
  3140. as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  3141. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3142. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3143. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3144. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3145. echo $ECHO_N "(cached) $ECHO_C" >&6
  3146. fi
  3147. ac_res=`eval echo '${'$as_ac_Header'}'`
  3148. { echo "$as_me:$LINENO: result: $ac_res" >&5
  3149. echo "${ECHO_T}$ac_res" >&6; }
  3150. else
  3151. # Is the header compilable?
  3152. { echo "$as_me:$LINENO: checking $ac_header usability" >&5
  3153. echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
  3154. cat >conftest.$ac_ext <<_ACEOF
  3155. /* confdefs.h. */
  3156. _ACEOF
  3157. cat confdefs.h >>conftest.$ac_ext
  3158. cat >>conftest.$ac_ext <<_ACEOF
  3159. /* end confdefs.h. */
  3160. $ac_includes_default
  3161. #include <$ac_header>
  3162. _ACEOF
  3163. rm -f conftest.$ac_objext
  3164. if { (ac_try="$ac_compile"
  3165. case "(($ac_try" in
  3166. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3167. *) ac_try_echo=$ac_try;;
  3168. esac
  3169. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3170. (eval "$ac_compile") 2>conftest.er1
  3171. ac_status=$?
  3172. grep -v '^ *+' conftest.er1 >conftest.err
  3173. rm -f conftest.er1
  3174. cat conftest.err >&5
  3175. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3176. (exit $ac_status); } &&
  3177. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3178. { (case "(($ac_try" in
  3179. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3180. *) ac_try_echo=$ac_try;;
  3181. esac
  3182. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3183. (eval "$ac_try") 2>&5
  3184. ac_status=$?
  3185. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3186. (exit $ac_status); }; } &&
  3187. { ac_try='test -s conftest.$ac_objext'
  3188. { (case "(($ac_try" in
  3189. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3190. *) ac_try_echo=$ac_try;;
  3191. esac
  3192. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3193. (eval "$ac_try") 2>&5
  3194. ac_status=$?
  3195. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3196. (exit $ac_status); }; }; then
  3197. ac_header_compiler=yes
  3198. else
  3199. echo "$as_me: failed program was:" >&5
  3200. sed 's/^/| /' conftest.$ac_ext >&5
  3201. ac_header_compiler=no
  3202. fi
  3203. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3204. { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  3205. echo "${ECHO_T}$ac_header_compiler" >&6; }
  3206. # Is the header present?
  3207. { echo "$as_me:$LINENO: checking $ac_header presence" >&5
  3208. echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
  3209. cat >conftest.$ac_ext <<_ACEOF
  3210. /* confdefs.h. */
  3211. _ACEOF
  3212. cat confdefs.h >>conftest.$ac_ext
  3213. cat >>conftest.$ac_ext <<_ACEOF
  3214. /* end confdefs.h. */
  3215. #include <$ac_header>
  3216. _ACEOF
  3217. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3218. case "(($ac_try" in
  3219. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3220. *) ac_try_echo=$ac_try;;
  3221. esac
  3222. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3223. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3224. ac_status=$?
  3225. grep -v '^ *+' conftest.er1 >conftest.err
  3226. rm -f conftest.er1
  3227. cat conftest.err >&5
  3228. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3229. (exit $ac_status); } >/dev/null; then
  3230. if test -s conftest.err; then
  3231. ac_cpp_err=$ac_c_preproc_warn_flag
  3232. ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  3233. else
  3234. ac_cpp_err=
  3235. fi
  3236. else
  3237. ac_cpp_err=yes
  3238. fi
  3239. if test -z "$ac_cpp_err"; then
  3240. ac_header_preproc=yes
  3241. else
  3242. echo "$as_me: failed program was:" >&5
  3243. sed 's/^/| /' conftest.$ac_ext >&5
  3244. ac_header_preproc=no
  3245. fi
  3246. rm -f conftest.err conftest.$ac_ext
  3247. { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  3248. echo "${ECHO_T}$ac_header_preproc" >&6; }
  3249. # So? What about this header?
  3250. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  3251. yes:no: )
  3252. { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  3253. echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3254. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  3255. echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  3256. ac_header_preproc=yes
  3257. ;;
  3258. no:yes:* )
  3259. { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  3260. echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  3261. { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  3262. echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  3263. { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  3264. echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  3265. { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  3266. echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  3267. { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  3268. echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  3269. { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  3270. echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  3271. ;;
  3272. esac
  3273. { echo "$as_me:$LINENO: checking for $ac_header" >&5
  3274. echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  3275. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  3276. echo $ECHO_N "(cached) $ECHO_C" >&6
  3277. else
  3278. eval "$as_ac_Header=\$ac_header_preproc"
  3279. fi
  3280. ac_res=`eval echo '${'$as_ac_Header'}'`
  3281. { echo "$as_me:$LINENO: result: $ac_res" >&5
  3282. echo "${ECHO_T}$ac_res" >&6; }
  3283. fi
  3284. if test `eval echo '${'$as_ac_Header'}'` = yes; then
  3285. cat >>confdefs.h <<_ACEOF
  3286. #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  3287. _ACEOF
  3288. fi
  3289. done
  3290. { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
  3291. echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
  3292. if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
  3293. echo $ECHO_N "(cached) $ECHO_C" >&6
  3294. else
  3295. cat >conftest.$ac_ext <<_ACEOF
  3296. /* confdefs.h. */
  3297. _ACEOF
  3298. cat confdefs.h >>conftest.$ac_ext
  3299. cat >>conftest.$ac_ext <<_ACEOF
  3300. /* end confdefs.h. */
  3301. #include <sys/types.h>
  3302. #include <sys/socket.h>
  3303. int
  3304. main ()
  3305. {
  3306. static struct sockaddr ac_aggr;
  3307. if (ac_aggr.sa_len)
  3308. return 0;
  3309. ;
  3310. return 0;
  3311. }
  3312. _ACEOF
  3313. rm -f conftest.$ac_objext
  3314. if { (ac_try="$ac_compile"
  3315. case "(($ac_try" in
  3316. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3317. *) ac_try_echo=$ac_try;;
  3318. esac
  3319. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3320. (eval "$ac_compile") 2>conftest.er1
  3321. ac_status=$?
  3322. grep -v '^ *+' conftest.er1 >conftest.err
  3323. rm -f conftest.er1
  3324. cat conftest.err >&5
  3325. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3326. (exit $ac_status); } &&
  3327. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3328. { (case "(($ac_try" in
  3329. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3330. *) ac_try_echo=$ac_try;;
  3331. esac
  3332. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3333. (eval "$ac_try") 2>&5
  3334. ac_status=$?
  3335. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3336. (exit $ac_status); }; } &&
  3337. { ac_try='test -s conftest.$ac_objext'
  3338. { (case "(($ac_try" in
  3339. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3340. *) ac_try_echo=$ac_try;;
  3341. esac
  3342. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3343. (eval "$ac_try") 2>&5
  3344. ac_status=$?
  3345. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3346. (exit $ac_status); }; }; then
  3347. ac_cv_member_struct_sockaddr_sa_len=yes
  3348. else
  3349. echo "$as_me: failed program was:" >&5
  3350. sed 's/^/| /' conftest.$ac_ext >&5
  3351. cat >conftest.$ac_ext <<_ACEOF
  3352. /* confdefs.h. */
  3353. _ACEOF
  3354. cat confdefs.h >>conftest.$ac_ext
  3355. cat >>conftest.$ac_ext <<_ACEOF
  3356. /* end confdefs.h. */
  3357. #include <sys/types.h>
  3358. #include <sys/socket.h>
  3359. int
  3360. main ()
  3361. {
  3362. static struct sockaddr ac_aggr;
  3363. if (sizeof ac_aggr.sa_len)
  3364. return 0;
  3365. ;
  3366. return 0;
  3367. }
  3368. _ACEOF
  3369. rm -f conftest.$ac_objext
  3370. if { (ac_try="$ac_compile"
  3371. case "(($ac_try" in
  3372. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3373. *) ac_try_echo=$ac_try;;
  3374. esac
  3375. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3376. (eval "$ac_compile") 2>conftest.er1
  3377. ac_status=$?
  3378. grep -v '^ *+' conftest.er1 >conftest.err
  3379. rm -f conftest.er1
  3380. cat conftest.err >&5
  3381. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3382. (exit $ac_status); } &&
  3383. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3384. { (case "(($ac_try" in
  3385. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386. *) ac_try_echo=$ac_try;;
  3387. esac
  3388. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3389. (eval "$ac_try") 2>&5
  3390. ac_status=$?
  3391. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3392. (exit $ac_status); }; } &&
  3393. { ac_try='test -s conftest.$ac_objext'
  3394. { (case "(($ac_try" in
  3395. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3396. *) ac_try_echo=$ac_try;;
  3397. esac
  3398. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3399. (eval "$ac_try") 2>&5
  3400. ac_status=$?
  3401. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3402. (exit $ac_status); }; }; then
  3403. ac_cv_member_struct_sockaddr_sa_len=yes
  3404. else
  3405. echo "$as_me: failed program was:" >&5
  3406. sed 's/^/| /' conftest.$ac_ext >&5
  3407. ac_cv_member_struct_sockaddr_sa_len=no
  3408. fi
  3409. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3410. fi
  3411. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3412. fi
  3413. { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
  3414. echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
  3415. if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
  3416. cat >>confdefs.h <<\_ACEOF
  3417. #define SOCK_HAS_LEN 1
  3418. _ACEOF
  3419. fi
  3420. { echo "$as_me:$LINENO: checking for struct ip6_ext.ip6e_nxt" >&5
  3421. echo $ECHO_N "checking for struct ip6_ext.ip6e_nxt... $ECHO_C" >&6; }
  3422. if test "${ac_cv_member_struct_ip6_ext_ip6e_nxt+set}" = set; then
  3423. echo $ECHO_N "(cached) $ECHO_C" >&6
  3424. else
  3425. cat >conftest.$ac_ext <<_ACEOF
  3426. /* confdefs.h. */
  3427. _ACEOF
  3428. cat confdefs.h >>conftest.$ac_ext
  3429. cat >>conftest.$ac_ext <<_ACEOF
  3430. /* end confdefs.h. */
  3431. #include <sys/types.h>
  3432. #include <sys/socket.h>
  3433. #include <netinet/in.h>
  3434. #include <netinet/ip6.h>
  3435. int
  3436. main ()
  3437. {
  3438. static struct ip6_ext ac_aggr;
  3439. if (ac_aggr.ip6e_nxt)
  3440. return 0;
  3441. ;
  3442. return 0;
  3443. }
  3444. _ACEOF
  3445. rm -f conftest.$ac_objext
  3446. if { (ac_try="$ac_compile"
  3447. case "(($ac_try" in
  3448. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3449. *) ac_try_echo=$ac_try;;
  3450. esac
  3451. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3452. (eval "$ac_compile") 2>conftest.er1
  3453. ac_status=$?
  3454. grep -v '^ *+' conftest.er1 >conftest.err
  3455. rm -f conftest.er1
  3456. cat conftest.err >&5
  3457. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3458. (exit $ac_status); } &&
  3459. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3460. { (case "(($ac_try" in
  3461. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3462. *) ac_try_echo=$ac_try;;
  3463. esac
  3464. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3465. (eval "$ac_try") 2>&5
  3466. ac_status=$?
  3467. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3468. (exit $ac_status); }; } &&
  3469. { ac_try='test -s conftest.$ac_objext'
  3470. { (case "(($ac_try" in
  3471. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3472. *) ac_try_echo=$ac_try;;
  3473. esac
  3474. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3475. (eval "$ac_try") 2>&5
  3476. ac_status=$?
  3477. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3478. (exit $ac_status); }; }; then
  3479. ac_cv_member_struct_ip6_ext_ip6e_nxt=yes
  3480. else
  3481. echo "$as_me: failed program was:" >&5
  3482. sed 's/^/| /' conftest.$ac_ext >&5
  3483. cat >conftest.$ac_ext <<_ACEOF
  3484. /* confdefs.h. */
  3485. _ACEOF
  3486. cat confdefs.h >>conftest.$ac_ext
  3487. cat >>conftest.$ac_ext <<_ACEOF
  3488. /* end confdefs.h. */
  3489. #include <sys/types.h>
  3490. #include <sys/socket.h>
  3491. #include <netinet/in.h>
  3492. #include <netinet/ip6.h>
  3493. int
  3494. main ()
  3495. {
  3496. static struct ip6_ext ac_aggr;
  3497. if (sizeof ac_aggr.ip6e_nxt)
  3498. return 0;
  3499. ;
  3500. return 0;
  3501. }
  3502. _ACEOF
  3503. rm -f conftest.$ac_objext
  3504. if { (ac_try="$ac_compile"
  3505. case "(($ac_try" in
  3506. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3507. *) ac_try_echo=$ac_try;;
  3508. esac
  3509. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3510. (eval "$ac_compile") 2>conftest.er1
  3511. ac_status=$?
  3512. grep -v '^ *+' conftest.er1 >conftest.err
  3513. rm -f conftest.er1
  3514. cat conftest.err >&5
  3515. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3516. (exit $ac_status); } &&
  3517. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3518. { (case "(($ac_try" in
  3519. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3520. *) ac_try_echo=$ac_try;;
  3521. esac
  3522. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3523. (eval "$ac_try") 2>&5
  3524. ac_status=$?
  3525. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3526. (exit $ac_status); }; } &&
  3527. { ac_try='test -s conftest.$ac_objext'
  3528. { (case "(($ac_try" in
  3529. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3530. *) ac_try_echo=$ac_try;;
  3531. esac
  3532. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3533. (eval "$ac_try") 2>&5
  3534. ac_status=$?
  3535. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3536. (exit $ac_status); }; }; then
  3537. ac_cv_member_struct_ip6_ext_ip6e_nxt=yes
  3538. else
  3539. echo "$as_me: failed program was:" >&5
  3540. sed 's/^/| /' conftest.$ac_ext >&5
  3541. ac_cv_member_struct_ip6_ext_ip6e_nxt=no
  3542. fi
  3543. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3544. fi
  3545. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3546. fi
  3547. { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ip6_ext_ip6e_nxt" >&5
  3548. echo "${ECHO_T}$ac_cv_member_struct_ip6_ext_ip6e_nxt" >&6; }
  3549. if test $ac_cv_member_struct_ip6_ext_ip6e_nxt = yes; then
  3550. cat >>confdefs.h <<\_ACEOF
  3551. #define HAVE_STRUCT_IP6_EXT 1
  3552. _ACEOF
  3553. fi
  3554. { echo "$as_me:$LINENO: checking for library containing daemon" >&5
  3555. echo $ECHO_N "checking for library containing daemon... $ECHO_C" >&6; }
  3556. if test "${ac_cv_search_daemon+set}" = set; then
  3557. echo $ECHO_N "(cached) $ECHO_C" >&6
  3558. else
  3559. ac_func_search_save_LIBS=$LIBS
  3560. cat >conftest.$ac_ext <<_ACEOF
  3561. /* confdefs.h. */
  3562. _ACEOF
  3563. cat confdefs.h >>conftest.$ac_ext
  3564. cat >>conftest.$ac_ext <<_ACEOF
  3565. /* end confdefs.h. */
  3566. /* Override any GCC internal prototype to avoid an error.
  3567. Use char because int might match the return type of a GCC
  3568. builtin and then its argument prototype would still apply. */
  3569. #ifdef __cplusplus
  3570. extern "C"
  3571. #endif
  3572. char daemon ();
  3573. int
  3574. main ()
  3575. {
  3576. return daemon ();
  3577. ;
  3578. return 0;
  3579. }
  3580. _ACEOF
  3581. for ac_lib in '' bsd; do
  3582. if test -z "$ac_lib"; then
  3583. ac_res="none required"
  3584. else
  3585. ac_res=-l$ac_lib
  3586. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3587. fi
  3588. rm -f conftest.$ac_objext conftest$ac_exeext
  3589. if { (ac_try="$ac_link"
  3590. case "(($ac_try" in
  3591. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3592. *) ac_try_echo=$ac_try;;
  3593. esac
  3594. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3595. (eval "$ac_link") 2>conftest.er1
  3596. ac_status=$?
  3597. grep -v '^ *+' conftest.er1 >conftest.err
  3598. rm -f conftest.er1
  3599. cat conftest.err >&5
  3600. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3601. (exit $ac_status); } &&
  3602. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3603. { (case "(($ac_try" in
  3604. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3605. *) ac_try_echo=$ac_try;;
  3606. esac
  3607. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3608. (eval "$ac_try") 2>&5
  3609. ac_status=$?
  3610. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3611. (exit $ac_status); }; } &&
  3612. { ac_try='test -s conftest$ac_exeext'
  3613. { (case "(($ac_try" in
  3614. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3615. *) ac_try_echo=$ac_try;;
  3616. esac
  3617. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3618. (eval "$ac_try") 2>&5
  3619. ac_status=$?
  3620. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3621. (exit $ac_status); }; }; then
  3622. ac_cv_search_daemon=$ac_res
  3623. else
  3624. echo "$as_me: failed program was:" >&5
  3625. sed 's/^/| /' conftest.$ac_ext >&5
  3626. fi
  3627. rm -f core conftest.err conftest.$ac_objext \
  3628. conftest$ac_exeext
  3629. if test "${ac_cv_search_daemon+set}" = set; then
  3630. break
  3631. fi
  3632. done
  3633. if test "${ac_cv_search_daemon+set}" = set; then
  3634. :
  3635. else
  3636. ac_cv_search_daemon=no
  3637. fi
  3638. rm conftest.$ac_ext
  3639. LIBS=$ac_func_search_save_LIBS
  3640. fi
  3641. { echo "$as_me:$LINENO: result: $ac_cv_search_daemon" >&5
  3642. echo "${ECHO_T}$ac_cv_search_daemon" >&6; }
  3643. ac_res=$ac_cv_search_daemon
  3644. if test "$ac_res" != no; then
  3645. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3646. fi
  3647. { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
  3648. echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
  3649. if test "${ac_cv_search_gethostbyname+set}" = set; then
  3650. echo $ECHO_N "(cached) $ECHO_C" >&6
  3651. else
  3652. ac_func_search_save_LIBS=$LIBS
  3653. cat >conftest.$ac_ext <<_ACEOF
  3654. /* confdefs.h. */
  3655. _ACEOF
  3656. cat confdefs.h >>conftest.$ac_ext
  3657. cat >>conftest.$ac_ext <<_ACEOF
  3658. /* end confdefs.h. */
  3659. /* Override any GCC internal prototype to avoid an error.
  3660. Use char because int might match the return type of a GCC
  3661. builtin and then its argument prototype would still apply. */
  3662. #ifdef __cplusplus
  3663. extern "C"
  3664. #endif
  3665. char gethostbyname ();
  3666. int
  3667. main ()
  3668. {
  3669. return gethostbyname ();
  3670. ;
  3671. return 0;
  3672. }
  3673. _ACEOF
  3674. for ac_lib in '' nsl; do
  3675. if test -z "$ac_lib"; then
  3676. ac_res="none required"
  3677. else
  3678. ac_res=-l$ac_lib
  3679. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3680. fi
  3681. rm -f conftest.$ac_objext conftest$ac_exeext
  3682. if { (ac_try="$ac_link"
  3683. case "(($ac_try" in
  3684. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3685. *) ac_try_echo=$ac_try;;
  3686. esac
  3687. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3688. (eval "$ac_link") 2>conftest.er1
  3689. ac_status=$?
  3690. grep -v '^ *+' conftest.er1 >conftest.err
  3691. rm -f conftest.er1
  3692. cat conftest.err >&5
  3693. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3694. (exit $ac_status); } &&
  3695. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3696. { (case "(($ac_try" in
  3697. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3698. *) ac_try_echo=$ac_try;;
  3699. esac
  3700. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3701. (eval "$ac_try") 2>&5
  3702. ac_status=$?
  3703. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3704. (exit $ac_status); }; } &&
  3705. { ac_try='test -s conftest$ac_exeext'
  3706. { (case "(($ac_try" in
  3707. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3708. *) ac_try_echo=$ac_try;;
  3709. esac
  3710. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3711. (eval "$ac_try") 2>&5
  3712. ac_status=$?
  3713. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3714. (exit $ac_status); }; }; then
  3715. ac_cv_search_gethostbyname=$ac_res
  3716. else
  3717. echo "$as_me: failed program was:" >&5
  3718. sed 's/^/| /' conftest.$ac_ext >&5
  3719. fi
  3720. rm -f core conftest.err conftest.$ac_objext \
  3721. conftest$ac_exeext
  3722. if test "${ac_cv_search_gethostbyname+set}" = set; then
  3723. break
  3724. fi
  3725. done
  3726. if test "${ac_cv_search_gethostbyname+set}" = set; then
  3727. :
  3728. else
  3729. ac_cv_search_gethostbyname=no
  3730. fi
  3731. rm conftest.$ac_ext
  3732. LIBS=$ac_func_search_save_LIBS
  3733. fi
  3734. { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
  3735. echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
  3736. ac_res=$ac_cv_search_gethostbyname
  3737. if test "$ac_res" != no; then
  3738. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3739. fi
  3740. { echo "$as_me:$LINENO: checking for library containing socket" >&5
  3741. echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
  3742. if test "${ac_cv_search_socket+set}" = set; then
  3743. echo $ECHO_N "(cached) $ECHO_C" >&6
  3744. else
  3745. ac_func_search_save_LIBS=$LIBS
  3746. cat >conftest.$ac_ext <<_ACEOF
  3747. /* confdefs.h. */
  3748. _ACEOF
  3749. cat confdefs.h >>conftest.$ac_ext
  3750. cat >>conftest.$ac_ext <<_ACEOF
  3751. /* end confdefs.h. */
  3752. /* Override any GCC internal prototype to avoid an error.
  3753. Use char because int might match the return type of a GCC
  3754. builtin and then its argument prototype would still apply. */
  3755. #ifdef __cplusplus
  3756. extern "C"
  3757. #endif
  3758. char socket ();
  3759. int
  3760. main ()
  3761. {
  3762. return socket ();
  3763. ;
  3764. return 0;
  3765. }
  3766. _ACEOF
  3767. for ac_lib in '' socket; do
  3768. if test -z "$ac_lib"; then
  3769. ac_res="none required"
  3770. else
  3771. ac_res=-l$ac_lib
  3772. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3773. fi
  3774. rm -f conftest.$ac_objext conftest$ac_exeext
  3775. if { (ac_try="$ac_link"
  3776. case "(($ac_try" in
  3777. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3778. *) ac_try_echo=$ac_try;;
  3779. esac
  3780. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3781. (eval "$ac_link") 2>conftest.er1
  3782. ac_status=$?
  3783. grep -v '^ *+' conftest.er1 >conftest.err
  3784. rm -f conftest.er1
  3785. cat conftest.err >&5
  3786. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3787. (exit $ac_status); } &&
  3788. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3789. { (case "(($ac_try" in
  3790. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3791. *) ac_try_echo=$ac_try;;
  3792. esac
  3793. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3794. (eval "$ac_try") 2>&5
  3795. ac_status=$?
  3796. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3797. (exit $ac_status); }; } &&
  3798. { ac_try='test -s conftest$ac_exeext'
  3799. { (case "(($ac_try" in
  3800. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3801. *) ac_try_echo=$ac_try;;
  3802. esac
  3803. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3804. (eval "$ac_try") 2>&5
  3805. ac_status=$?
  3806. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3807. (exit $ac_status); }; }; then
  3808. ac_cv_search_socket=$ac_res
  3809. else
  3810. echo "$as_me: failed program was:" >&5
  3811. sed 's/^/| /' conftest.$ac_ext >&5
  3812. fi
  3813. rm -f core conftest.err conftest.$ac_objext \
  3814. conftest$ac_exeext
  3815. if test "${ac_cv_search_socket+set}" = set; then
  3816. break
  3817. fi
  3818. done
  3819. if test "${ac_cv_search_socket+set}" = set; then
  3820. :
  3821. else
  3822. ac_cv_search_socket=no
  3823. fi
  3824. rm conftest.$ac_ext
  3825. LIBS=$ac_func_search_save_LIBS
  3826. fi
  3827. { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
  3828. echo "${ECHO_T}$ac_cv_search_socket" >&6; }
  3829. ac_res=$ac_cv_search_socket
  3830. if test "$ac_res" != no; then
  3831. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3832. fi
  3833. { echo "$as_me:$LINENO: checking for pcap_open_live in -lpcap" >&5
  3834. echo $ECHO_N "checking for pcap_open_live in -lpcap... $ECHO_C" >&6; }
  3835. if test "${ac_cv_lib_pcap_pcap_open_live+set}" = set; then
  3836. echo $ECHO_N "(cached) $ECHO_C" >&6
  3837. else
  3838. ac_check_lib_save_LIBS=$LIBS
  3839. LIBS="-lpcap $LIBS"
  3840. cat >conftest.$ac_ext <<_ACEOF
  3841. /* confdefs.h. */
  3842. _ACEOF
  3843. cat confdefs.h >>conftest.$ac_ext
  3844. cat >>conftest.$ac_ext <<_ACEOF
  3845. /* end confdefs.h. */
  3846. /* Override any GCC internal prototype to avoid an error.
  3847. Use char because int might match the return type of a GCC
  3848. builtin and then its argument prototype would still apply. */
  3849. #ifdef __cplusplus
  3850. extern "C"
  3851. #endif
  3852. char pcap_open_live ();
  3853. int
  3854. main ()
  3855. {
  3856. return pcap_open_live ();
  3857. ;
  3858. return 0;
  3859. }
  3860. _ACEOF
  3861. rm -f conftest.$ac_objext conftest$ac_exeext
  3862. if { (ac_try="$ac_link"
  3863. case "(($ac_try" in
  3864. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3865. *) ac_try_echo=$ac_try;;
  3866. esac
  3867. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3868. (eval "$ac_link") 2>conftest.er1
  3869. ac_status=$?
  3870. grep -v '^ *+' conftest.er1 >conftest.err
  3871. rm -f conftest.er1
  3872. cat conftest.err >&5
  3873. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3874. (exit $ac_status); } &&
  3875. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3876. { (case "(($ac_try" in
  3877. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3878. *) ac_try_echo=$ac_try;;
  3879. esac
  3880. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3881. (eval "$ac_try") 2>&5
  3882. ac_status=$?
  3883. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3884. (exit $ac_status); }; } &&
  3885. { ac_try='test -s conftest$ac_exeext'
  3886. { (case "(($ac_try" in
  3887. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3888. *) ac_try_echo=$ac_try;;
  3889. esac
  3890. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3891. (eval "$ac_try") 2>&5
  3892. ac_status=$?
  3893. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3894. (exit $ac_status); }; }; then
  3895. ac_cv_lib_pcap_pcap_open_live=yes
  3896. else
  3897. echo "$as_me: failed program was:" >&5
  3898. sed 's/^/| /' conftest.$ac_ext >&5
  3899. ac_cv_lib_pcap_pcap_open_live=no
  3900. fi
  3901. rm -f core conftest.err conftest.$ac_objext \
  3902. conftest$ac_exeext conftest.$ac_ext
  3903. LIBS=$ac_check_lib_save_LIBS
  3904. fi
  3905. { echo "$as_me:$LINENO: result: $ac_cv_lib_pcap_pcap_open_live" >&5
  3906. echo "${ECHO_T}$ac_cv_lib_pcap_pcap_open_live" >&6; }
  3907. if test $ac_cv_lib_pcap_pcap_open_live = yes; then
  3908. cat >>confdefs.h <<_ACEOF
  3909. #define HAVE_LIBPCAP 1
  3910. _ACEOF
  3911. LIBS="-lpcap $LIBS"
  3912. fi
  3913. for ac_func in closefrom daemon setresuid setreuid setresgid setgid strlcpy strlcat
  3914. do
  3915. as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
  3916. { echo "$as_me:$LINENO: checking for $ac_func" >&5
  3917. echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
  3918. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  3919. echo $ECHO_N "(cached) $ECHO_C" >&6
  3920. else
  3921. cat >conftest.$ac_ext <<_ACEOF
  3922. /* confdefs.h. */
  3923. _ACEOF
  3924. cat confdefs.h >>conftest.$ac_ext
  3925. cat >>conftest.$ac_ext <<_ACEOF
  3926. /* end confdefs.h. */
  3927. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  3928. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3929. #define $ac_func innocuous_$ac_func
  3930. /* System header to define __stub macros and hopefully few prototypes,
  3931. which can conflict with char $ac_func (); below.
  3932. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3933. <limits.h> exists even on freestanding compilers. */
  3934. #ifdef __STDC__
  3935. # include <limits.h>
  3936. #else
  3937. # include <assert.h>
  3938. #endif
  3939. #undef $ac_func
  3940. /* Override any GCC internal prototype to avoid an error.
  3941. Use char because int might match the return type of a GCC
  3942. builtin and then its argument prototype would still apply. */
  3943. #ifdef __cplusplus
  3944. extern "C"
  3945. #endif
  3946. char $ac_func ();
  3947. /* The GNU C library defines this for functions which it implements
  3948. to always fail with ENOSYS. Some functions are actually named
  3949. something starting with __ and the normal name is an alias. */
  3950. #if defined __stub_$ac_func || defined __stub___$ac_func
  3951. choke me
  3952. #endif
  3953. int
  3954. main ()
  3955. {
  3956. return $ac_func ();
  3957. ;
  3958. return 0;
  3959. }
  3960. _ACEOF
  3961. rm -f conftest.$ac_objext conftest$ac_exeext
  3962. if { (ac_try="$ac_link"
  3963. case "(($ac_try" in
  3964. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3965. *) ac_try_echo=$ac_try;;
  3966. esac
  3967. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3968. (eval "$ac_link") 2>conftest.er1
  3969. ac_status=$?
  3970. grep -v '^ *+' conftest.er1 >conftest.err
  3971. rm -f conftest.er1
  3972. cat conftest.err >&5
  3973. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3974. (exit $ac_status); } &&
  3975. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  3976. { (case "(($ac_try" in
  3977. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3978. *) ac_try_echo=$ac_try;;
  3979. esac
  3980. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3981. (eval "$ac_try") 2>&5
  3982. ac_status=$?
  3983. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3984. (exit $ac_status); }; } &&
  3985. { ac_try='test -s conftest$ac_exeext'
  3986. { (case "(($ac_try" in
  3987. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3988. *) ac_try_echo=$ac_try;;
  3989. esac
  3990. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3991. (eval "$ac_try") 2>&5
  3992. ac_status=$?
  3993. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3994. (exit $ac_status); }; }; then
  3995. eval "$as_ac_var=yes"
  3996. else
  3997. echo "$as_me: failed program was:" >&5
  3998. sed 's/^/| /' conftest.$ac_ext >&5
  3999. eval "$as_ac_var=no"
  4000. fi
  4001. rm -f core conftest.err conftest.$ac_objext \
  4002. conftest$ac_exeext conftest.$ac_ext
  4003. fi
  4004. ac_res=`eval echo '${'$as_ac_var'}'`
  4005. { echo "$as_me:$LINENO: result: $ac_res" >&5
  4006. echo "${ECHO_T}$ac_res" >&6; }
  4007. if test `eval echo '${'$as_ac_var'}'` = yes; then
  4008. cat >>confdefs.h <<_ACEOF
  4009. #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4010. _ACEOF
  4011. fi
  4012. done
  4013. { echo "$as_me:$LINENO: checking for u_int64_t" >&5
  4014. echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
  4015. if test "${ac_cv_type_u_int64_t+set}" = set; then
  4016. echo $ECHO_N "(cached) $ECHO_C" >&6
  4017. else
  4018. cat >conftest.$ac_ext <<_ACEOF
  4019. /* confdefs.h. */
  4020. _ACEOF
  4021. cat confdefs.h >>conftest.$ac_ext
  4022. cat >>conftest.$ac_ext <<_ACEOF
  4023. /* end confdefs.h. */
  4024. $ac_includes_default
  4025. typedef u_int64_t ac__type_new_;
  4026. int
  4027. main ()
  4028. {
  4029. if ((ac__type_new_ *) 0)
  4030. return 0;
  4031. if (sizeof (ac__type_new_))
  4032. return 0;
  4033. ;
  4034. return 0;
  4035. }
  4036. _ACEOF
  4037. rm -f conftest.$ac_objext
  4038. if { (ac_try="$ac_compile"
  4039. case "(($ac_try" in
  4040. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4041. *) ac_try_echo=$ac_try;;
  4042. esac
  4043. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4044. (eval "$ac_compile") 2>conftest.er1
  4045. ac_status=$?
  4046. grep -v '^ *+' conftest.er1 >conftest.err
  4047. rm -f conftest.er1
  4048. cat conftest.err >&5
  4049. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4050. (exit $ac_status); } &&
  4051. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4052. { (case "(($ac_try" in
  4053. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4054. *) ac_try_echo=$ac_try;;
  4055. esac
  4056. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4057. (eval "$ac_try") 2>&5
  4058. ac_status=$?
  4059. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4060. (exit $ac_status); }; } &&
  4061. { ac_try='test -s conftest.$ac_objext'
  4062. { (case "(($ac_try" in
  4063. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4064. *) ac_try_echo=$ac_try;;
  4065. esac
  4066. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4067. (eval "$ac_try") 2>&5
  4068. ac_status=$?
  4069. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4070. (exit $ac_status); }; }; then
  4071. ac_cv_type_u_int64_t=yes
  4072. else
  4073. echo "$as_me: failed program was:" >&5
  4074. sed 's/^/| /' conftest.$ac_ext >&5
  4075. ac_cv_type_u_int64_t=no
  4076. fi
  4077. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4078. fi
  4079. { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
  4080. echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
  4081. if test $ac_cv_type_u_int64_t = yes; then
  4082. cat >>confdefs.h <<_ACEOF
  4083. #define HAVE_U_INT64_T 1
  4084. _ACEOF
  4085. fi
  4086. { echo "$as_me:$LINENO: checking for int64_t" >&5
  4087. echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
  4088. if test "${ac_cv_type_int64_t+set}" = set; then
  4089. echo $ECHO_N "(cached) $ECHO_C" >&6
  4090. else
  4091. cat >conftest.$ac_ext <<_ACEOF
  4092. /* confdefs.h. */
  4093. _ACEOF
  4094. cat confdefs.h >>conftest.$ac_ext
  4095. cat >>conftest.$ac_ext <<_ACEOF
  4096. /* end confdefs.h. */
  4097. $ac_includes_default
  4098. typedef int64_t ac__type_new_;
  4099. int
  4100. main ()
  4101. {
  4102. if ((ac__type_new_ *) 0)
  4103. return 0;
  4104. if (sizeof (ac__type_new_))
  4105. return 0;
  4106. ;
  4107. return 0;
  4108. }
  4109. _ACEOF
  4110. rm -f conftest.$ac_objext
  4111. if { (ac_try="$ac_compile"
  4112. case "(($ac_try" in
  4113. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4114. *) ac_try_echo=$ac_try;;
  4115. esac
  4116. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4117. (eval "$ac_compile") 2>conftest.er1
  4118. ac_status=$?
  4119. grep -v '^ *+' conftest.er1 >conftest.err
  4120. rm -f conftest.er1
  4121. cat conftest.err >&5
  4122. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4123. (exit $ac_status); } &&
  4124. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4125. { (case "(($ac_try" in
  4126. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4127. *) ac_try_echo=$ac_try;;
  4128. esac
  4129. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4130. (eval "$ac_try") 2>&5
  4131. ac_status=$?
  4132. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4133. (exit $ac_status); }; } &&
  4134. { ac_try='test -s conftest.$ac_objext'
  4135. { (case "(($ac_try" in
  4136. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4137. *) ac_try_echo=$ac_try;;
  4138. esac
  4139. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4140. (eval "$ac_try") 2>&5
  4141. ac_status=$?
  4142. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4143. (exit $ac_status); }; }; then
  4144. ac_cv_type_int64_t=yes
  4145. else
  4146. echo "$as_me: failed program was:" >&5
  4147. sed 's/^/| /' conftest.$ac_ext >&5
  4148. ac_cv_type_int64_t=no
  4149. fi
  4150. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4151. fi
  4152. { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
  4153. echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
  4154. if test $ac_cv_type_int64_t = yes; then
  4155. cat >>confdefs.h <<_ACEOF
  4156. #define HAVE_INT64_T 1
  4157. _ACEOF
  4158. fi
  4159. { echo "$as_me:$LINENO: checking for uint64_t" >&5
  4160. echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
  4161. if test "${ac_cv_type_uint64_t+set}" = set; then
  4162. echo $ECHO_N "(cached) $ECHO_C" >&6
  4163. else
  4164. cat >conftest.$ac_ext <<_ACEOF
  4165. /* confdefs.h. */
  4166. _ACEOF
  4167. cat confdefs.h >>conftest.$ac_ext
  4168. cat >>conftest.$ac_ext <<_ACEOF
  4169. /* end confdefs.h. */
  4170. $ac_includes_default
  4171. typedef uint64_t ac__type_new_;
  4172. int
  4173. main ()
  4174. {
  4175. if ((ac__type_new_ *) 0)
  4176. return 0;
  4177. if (sizeof (ac__type_new_))
  4178. return 0;
  4179. ;
  4180. return 0;
  4181. }
  4182. _ACEOF
  4183. rm -f conftest.$ac_objext
  4184. if { (ac_try="$ac_compile"
  4185. case "(($ac_try" in
  4186. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4187. *) ac_try_echo=$ac_try;;
  4188. esac
  4189. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4190. (eval "$ac_compile") 2>conftest.er1
  4191. ac_status=$?
  4192. grep -v '^ *+' conftest.er1 >conftest.err
  4193. rm -f conftest.er1
  4194. cat conftest.err >&5
  4195. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4196. (exit $ac_status); } &&
  4197. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4198. { (case "(($ac_try" in
  4199. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4200. *) ac_try_echo=$ac_try;;
  4201. esac
  4202. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4203. (eval "$ac_try") 2>&5
  4204. ac_status=$?
  4205. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4206. (exit $ac_status); }; } &&
  4207. { ac_try='test -s conftest.$ac_objext'
  4208. { (case "(($ac_try" in
  4209. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4210. *) ac_try_echo=$ac_try;;
  4211. esac
  4212. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4213. (eval "$ac_try") 2>&5
  4214. ac_status=$?
  4215. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4216. (exit $ac_status); }; }; then
  4217. ac_cv_type_uint64_t=yes
  4218. else
  4219. echo "$as_me: failed program was:" >&5
  4220. sed 's/^/| /' conftest.$ac_ext >&5
  4221. ac_cv_type_uint64_t=no
  4222. fi
  4223. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4224. fi
  4225. { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
  4226. echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
  4227. if test $ac_cv_type_uint64_t = yes; then
  4228. cat >>confdefs.h <<_ACEOF
  4229. #define HAVE_UINT64_T 1
  4230. _ACEOF
  4231. fi
  4232. { echo "$as_me:$LINENO: checking for u_int32_t" >&5
  4233. echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
  4234. if test "${ac_cv_type_u_int32_t+set}" = set; then
  4235. echo $ECHO_N "(cached) $ECHO_C" >&6
  4236. else
  4237. cat >conftest.$ac_ext <<_ACEOF
  4238. /* confdefs.h. */
  4239. _ACEOF
  4240. cat confdefs.h >>conftest.$ac_ext
  4241. cat >>conftest.$ac_ext <<_ACEOF
  4242. /* end confdefs.h. */
  4243. $ac_includes_default
  4244. typedef u_int32_t ac__type_new_;
  4245. int
  4246. main ()
  4247. {
  4248. if ((ac__type_new_ *) 0)
  4249. return 0;
  4250. if (sizeof (ac__type_new_))
  4251. return 0;
  4252. ;
  4253. return 0;
  4254. }
  4255. _ACEOF
  4256. rm -f conftest.$ac_objext
  4257. if { (ac_try="$ac_compile"
  4258. case "(($ac_try" in
  4259. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4260. *) ac_try_echo=$ac_try;;
  4261. esac
  4262. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4263. (eval "$ac_compile") 2>conftest.er1
  4264. ac_status=$?
  4265. grep -v '^ *+' conftest.er1 >conftest.err
  4266. rm -f conftest.er1
  4267. cat conftest.err >&5
  4268. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4269. (exit $ac_status); } &&
  4270. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4271. { (case "(($ac_try" in
  4272. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4273. *) ac_try_echo=$ac_try;;
  4274. esac
  4275. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4276. (eval "$ac_try") 2>&5
  4277. ac_status=$?
  4278. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4279. (exit $ac_status); }; } &&
  4280. { ac_try='test -s conftest.$ac_objext'
  4281. { (case "(($ac_try" in
  4282. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4283. *) ac_try_echo=$ac_try;;
  4284. esac
  4285. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4286. (eval "$ac_try") 2>&5
  4287. ac_status=$?
  4288. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4289. (exit $ac_status); }; }; then
  4290. ac_cv_type_u_int32_t=yes
  4291. else
  4292. echo "$as_me: failed program was:" >&5
  4293. sed 's/^/| /' conftest.$ac_ext >&5
  4294. ac_cv_type_u_int32_t=no
  4295. fi
  4296. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4297. fi
  4298. { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
  4299. echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
  4300. if test $ac_cv_type_u_int32_t = yes; then
  4301. cat >>confdefs.h <<_ACEOF
  4302. #define HAVE_U_INT32_T 1
  4303. _ACEOF
  4304. fi
  4305. { echo "$as_me:$LINENO: checking for int32_t" >&5
  4306. echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
  4307. if test "${ac_cv_type_int32_t+set}" = set; then
  4308. echo $ECHO_N "(cached) $ECHO_C" >&6
  4309. else
  4310. cat >conftest.$ac_ext <<_ACEOF
  4311. /* confdefs.h. */
  4312. _ACEOF
  4313. cat confdefs.h >>conftest.$ac_ext
  4314. cat >>conftest.$ac_ext <<_ACEOF
  4315. /* end confdefs.h. */
  4316. $ac_includes_default
  4317. typedef int32_t ac__type_new_;
  4318. int
  4319. main ()
  4320. {
  4321. if ((ac__type_new_ *) 0)
  4322. return 0;
  4323. if (sizeof (ac__type_new_))
  4324. return 0;
  4325. ;
  4326. return 0;
  4327. }
  4328. _ACEOF
  4329. rm -f conftest.$ac_objext
  4330. if { (ac_try="$ac_compile"
  4331. case "(($ac_try" in
  4332. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4333. *) ac_try_echo=$ac_try;;
  4334. esac
  4335. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4336. (eval "$ac_compile") 2>conftest.er1
  4337. ac_status=$?
  4338. grep -v '^ *+' conftest.er1 >conftest.err
  4339. rm -f conftest.er1
  4340. cat conftest.err >&5
  4341. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4342. (exit $ac_status); } &&
  4343. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4344. { (case "(($ac_try" in
  4345. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4346. *) ac_try_echo=$ac_try;;
  4347. esac
  4348. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4349. (eval "$ac_try") 2>&5
  4350. ac_status=$?
  4351. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4352. (exit $ac_status); }; } &&
  4353. { ac_try='test -s conftest.$ac_objext'
  4354. { (case "(($ac_try" in
  4355. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4356. *) ac_try_echo=$ac_try;;
  4357. esac
  4358. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4359. (eval "$ac_try") 2>&5
  4360. ac_status=$?
  4361. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4362. (exit $ac_status); }; }; then
  4363. ac_cv_type_int32_t=yes
  4364. else
  4365. echo "$as_me: failed program was:" >&5
  4366. sed 's/^/| /' conftest.$ac_ext >&5
  4367. ac_cv_type_int32_t=no
  4368. fi
  4369. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4370. fi
  4371. { echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
  4372. echo "${ECHO_T}$ac_cv_type_int32_t" >&6; }
  4373. if test $ac_cv_type_int32_t = yes; then
  4374. cat >>confdefs.h <<_ACEOF
  4375. #define HAVE_INT32_T 1
  4376. _ACEOF
  4377. fi
  4378. { echo "$as_me:$LINENO: checking for uint32_t" >&5
  4379. echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
  4380. if test "${ac_cv_type_uint32_t+set}" = set; then
  4381. echo $ECHO_N "(cached) $ECHO_C" >&6
  4382. else
  4383. cat >conftest.$ac_ext <<_ACEOF
  4384. /* confdefs.h. */
  4385. _ACEOF
  4386. cat confdefs.h >>conftest.$ac_ext
  4387. cat >>conftest.$ac_ext <<_ACEOF
  4388. /* end confdefs.h. */
  4389. $ac_includes_default
  4390. typedef uint32_t ac__type_new_;
  4391. int
  4392. main ()
  4393. {
  4394. if ((ac__type_new_ *) 0)
  4395. return 0;
  4396. if (sizeof (ac__type_new_))
  4397. return 0;
  4398. ;
  4399. return 0;
  4400. }
  4401. _ACEOF
  4402. rm -f conftest.$ac_objext
  4403. if { (ac_try="$ac_compile"
  4404. case "(($ac_try" in
  4405. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4406. *) ac_try_echo=$ac_try;;
  4407. esac
  4408. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4409. (eval "$ac_compile") 2>conftest.er1
  4410. ac_status=$?
  4411. grep -v '^ *+' conftest.er1 >conftest.err
  4412. rm -f conftest.er1
  4413. cat conftest.err >&5
  4414. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4415. (exit $ac_status); } &&
  4416. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4417. { (case "(($ac_try" in
  4418. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4419. *) ac_try_echo=$ac_try;;
  4420. esac
  4421. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4422. (eval "$ac_try") 2>&5
  4423. ac_status=$?
  4424. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4425. (exit $ac_status); }; } &&
  4426. { ac_try='test -s conftest.$ac_objext'
  4427. { (case "(($ac_try" in
  4428. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4429. *) ac_try_echo=$ac_try;;
  4430. esac
  4431. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4432. (eval "$ac_try") 2>&5
  4433. ac_status=$?
  4434. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4435. (exit $ac_status); }; }; then
  4436. ac_cv_type_uint32_t=yes
  4437. else
  4438. echo "$as_me: failed program was:" >&5
  4439. sed 's/^/| /' conftest.$ac_ext >&5
  4440. ac_cv_type_uint32_t=no
  4441. fi
  4442. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4443. fi
  4444. { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
  4445. echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
  4446. if test $ac_cv_type_uint32_t = yes; then
  4447. cat >>confdefs.h <<_ACEOF
  4448. #define HAVE_UINT32_T 1
  4449. _ACEOF
  4450. fi
  4451. { echo "$as_me:$LINENO: checking for u_int16_t" >&5
  4452. echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
  4453. if test "${ac_cv_type_u_int16_t+set}" = set; then
  4454. echo $ECHO_N "(cached) $ECHO_C" >&6
  4455. else
  4456. cat >conftest.$ac_ext <<_ACEOF
  4457. /* confdefs.h. */
  4458. _ACEOF
  4459. cat confdefs.h >>conftest.$ac_ext
  4460. cat >>conftest.$ac_ext <<_ACEOF
  4461. /* end confdefs.h. */
  4462. $ac_includes_default
  4463. typedef u_int16_t ac__type_new_;
  4464. int
  4465. main ()
  4466. {
  4467. if ((ac__type_new_ *) 0)
  4468. return 0;
  4469. if (sizeof (ac__type_new_))
  4470. return 0;
  4471. ;
  4472. return 0;
  4473. }
  4474. _ACEOF
  4475. rm -f conftest.$ac_objext
  4476. if { (ac_try="$ac_compile"
  4477. case "(($ac_try" in
  4478. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4479. *) ac_try_echo=$ac_try;;
  4480. esac
  4481. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4482. (eval "$ac_compile") 2>conftest.er1
  4483. ac_status=$?
  4484. grep -v '^ *+' conftest.er1 >conftest.err
  4485. rm -f conftest.er1
  4486. cat conftest.err >&5
  4487. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4488. (exit $ac_status); } &&
  4489. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4490. { (case "(($ac_try" in
  4491. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4492. *) ac_try_echo=$ac_try;;
  4493. esac
  4494. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4495. (eval "$ac_try") 2>&5
  4496. ac_status=$?
  4497. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4498. (exit $ac_status); }; } &&
  4499. { ac_try='test -s conftest.$ac_objext'
  4500. { (case "(($ac_try" in
  4501. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4502. *) ac_try_echo=$ac_try;;
  4503. esac
  4504. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4505. (eval "$ac_try") 2>&5
  4506. ac_status=$?
  4507. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4508. (exit $ac_status); }; }; then
  4509. ac_cv_type_u_int16_t=yes
  4510. else
  4511. echo "$as_me: failed program was:" >&5
  4512. sed 's/^/| /' conftest.$ac_ext >&5
  4513. ac_cv_type_u_int16_t=no
  4514. fi
  4515. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4516. fi
  4517. { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
  4518. echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
  4519. if test $ac_cv_type_u_int16_t = yes; then
  4520. cat >>confdefs.h <<_ACEOF
  4521. #define HAVE_U_INT16_T 1
  4522. _ACEOF
  4523. fi
  4524. { echo "$as_me:$LINENO: checking for int16_t" >&5
  4525. echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
  4526. if test "${ac_cv_type_int16_t+set}" = set; then
  4527. echo $ECHO_N "(cached) $ECHO_C" >&6
  4528. else
  4529. cat >conftest.$ac_ext <<_ACEOF
  4530. /* confdefs.h. */
  4531. _ACEOF
  4532. cat confdefs.h >>conftest.$ac_ext
  4533. cat >>conftest.$ac_ext <<_ACEOF
  4534. /* end confdefs.h. */
  4535. $ac_includes_default
  4536. typedef int16_t ac__type_new_;
  4537. int
  4538. main ()
  4539. {
  4540. if ((ac__type_new_ *) 0)
  4541. return 0;
  4542. if (sizeof (ac__type_new_))
  4543. return 0;
  4544. ;
  4545. return 0;
  4546. }
  4547. _ACEOF
  4548. rm -f conftest.$ac_objext
  4549. if { (ac_try="$ac_compile"
  4550. case "(($ac_try" in
  4551. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4552. *) ac_try_echo=$ac_try;;
  4553. esac
  4554. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4555. (eval "$ac_compile") 2>conftest.er1
  4556. ac_status=$?
  4557. grep -v '^ *+' conftest.er1 >conftest.err
  4558. rm -f conftest.er1
  4559. cat conftest.err >&5
  4560. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4561. (exit $ac_status); } &&
  4562. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4563. { (case "(($ac_try" in
  4564. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4565. *) ac_try_echo=$ac_try;;
  4566. esac
  4567. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4568. (eval "$ac_try") 2>&5
  4569. ac_status=$?
  4570. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4571. (exit $ac_status); }; } &&
  4572. { ac_try='test -s conftest.$ac_objext'
  4573. { (case "(($ac_try" in
  4574. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4575. *) ac_try_echo=$ac_try;;
  4576. esac
  4577. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4578. (eval "$ac_try") 2>&5
  4579. ac_status=$?
  4580. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4581. (exit $ac_status); }; }; then
  4582. ac_cv_type_int16_t=yes
  4583. else
  4584. echo "$as_me: failed program was:" >&5
  4585. sed 's/^/| /' conftest.$ac_ext >&5
  4586. ac_cv_type_int16_t=no
  4587. fi
  4588. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4589. fi
  4590. { echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
  4591. echo "${ECHO_T}$ac_cv_type_int16_t" >&6; }
  4592. if test $ac_cv_type_int16_t = yes; then
  4593. cat >>confdefs.h <<_ACEOF
  4594. #define HAVE_INT16_T 1
  4595. _ACEOF
  4596. fi
  4597. { echo "$as_me:$LINENO: checking for uint16_t" >&5
  4598. echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
  4599. if test "${ac_cv_type_uint16_t+set}" = set; then
  4600. echo $ECHO_N "(cached) $ECHO_C" >&6
  4601. else
  4602. cat >conftest.$ac_ext <<_ACEOF
  4603. /* confdefs.h. */
  4604. _ACEOF
  4605. cat confdefs.h >>conftest.$ac_ext
  4606. cat >>conftest.$ac_ext <<_ACEOF
  4607. /* end confdefs.h. */
  4608. $ac_includes_default
  4609. typedef uint16_t ac__type_new_;
  4610. int
  4611. main ()
  4612. {
  4613. if ((ac__type_new_ *) 0)
  4614. return 0;
  4615. if (sizeof (ac__type_new_))
  4616. return 0;
  4617. ;
  4618. return 0;
  4619. }
  4620. _ACEOF
  4621. rm -f conftest.$ac_objext
  4622. if { (ac_try="$ac_compile"
  4623. case "(($ac_try" in
  4624. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4625. *) ac_try_echo=$ac_try;;
  4626. esac
  4627. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4628. (eval "$ac_compile") 2>conftest.er1
  4629. ac_status=$?
  4630. grep -v '^ *+' conftest.er1 >conftest.err
  4631. rm -f conftest.er1
  4632. cat conftest.err >&5
  4633. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4634. (exit $ac_status); } &&
  4635. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4636. { (case "(($ac_try" in
  4637. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4638. *) ac_try_echo=$ac_try;;
  4639. esac
  4640. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4641. (eval "$ac_try") 2>&5
  4642. ac_status=$?
  4643. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4644. (exit $ac_status); }; } &&
  4645. { ac_try='test -s conftest.$ac_objext'
  4646. { (case "(($ac_try" in
  4647. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4648. *) ac_try_echo=$ac_try;;
  4649. esac
  4650. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4651. (eval "$ac_try") 2>&5
  4652. ac_status=$?
  4653. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4654. (exit $ac_status); }; }; then
  4655. ac_cv_type_uint16_t=yes
  4656. else
  4657. echo "$as_me: failed program was:" >&5
  4658. sed 's/^/| /' conftest.$ac_ext >&5
  4659. ac_cv_type_uint16_t=no
  4660. fi
  4661. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4662. fi
  4663. { echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
  4664. echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
  4665. if test $ac_cv_type_uint16_t = yes; then
  4666. cat >>confdefs.h <<_ACEOF
  4667. #define HAVE_UINT16_T 1
  4668. _ACEOF
  4669. fi
  4670. { echo "$as_me:$LINENO: checking for u_int8_t" >&5
  4671. echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6; }
  4672. if test "${ac_cv_type_u_int8_t+set}" = set; then
  4673. echo $ECHO_N "(cached) $ECHO_C" >&6
  4674. else
  4675. cat >conftest.$ac_ext <<_ACEOF
  4676. /* confdefs.h. */
  4677. _ACEOF
  4678. cat confdefs.h >>conftest.$ac_ext
  4679. cat >>conftest.$ac_ext <<_ACEOF
  4680. /* end confdefs.h. */
  4681. $ac_includes_default
  4682. typedef u_int8_t ac__type_new_;
  4683. int
  4684. main ()
  4685. {
  4686. if ((ac__type_new_ *) 0)
  4687. return 0;
  4688. if (sizeof (ac__type_new_))
  4689. return 0;
  4690. ;
  4691. return 0;
  4692. }
  4693. _ACEOF
  4694. rm -f conftest.$ac_objext
  4695. if { (ac_try="$ac_compile"
  4696. case "(($ac_try" in
  4697. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4698. *) ac_try_echo=$ac_try;;
  4699. esac
  4700. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4701. (eval "$ac_compile") 2>conftest.er1
  4702. ac_status=$?
  4703. grep -v '^ *+' conftest.er1 >conftest.err
  4704. rm -f conftest.er1
  4705. cat conftest.err >&5
  4706. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4707. (exit $ac_status); } &&
  4708. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4709. { (case "(($ac_try" in
  4710. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4711. *) ac_try_echo=$ac_try;;
  4712. esac
  4713. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4714. (eval "$ac_try") 2>&5
  4715. ac_status=$?
  4716. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4717. (exit $ac_status); }; } &&
  4718. { ac_try='test -s conftest.$ac_objext'
  4719. { (case "(($ac_try" in
  4720. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4721. *) ac_try_echo=$ac_try;;
  4722. esac
  4723. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4724. (eval "$ac_try") 2>&5
  4725. ac_status=$?
  4726. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4727. (exit $ac_status); }; }; then
  4728. ac_cv_type_u_int8_t=yes
  4729. else
  4730. echo "$as_me: failed program was:" >&5
  4731. sed 's/^/| /' conftest.$ac_ext >&5
  4732. ac_cv_type_u_int8_t=no
  4733. fi
  4734. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4735. fi
  4736. { echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
  4737. echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6; }
  4738. if test $ac_cv_type_u_int8_t = yes; then
  4739. cat >>confdefs.h <<_ACEOF
  4740. #define HAVE_U_INT8_T 1
  4741. _ACEOF
  4742. fi
  4743. { echo "$as_me:$LINENO: checking for int8_t" >&5
  4744. echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
  4745. if test "${ac_cv_type_int8_t+set}" = set; then
  4746. echo $ECHO_N "(cached) $ECHO_C" >&6
  4747. else
  4748. cat >conftest.$ac_ext <<_ACEOF
  4749. /* confdefs.h. */
  4750. _ACEOF
  4751. cat confdefs.h >>conftest.$ac_ext
  4752. cat >>conftest.$ac_ext <<_ACEOF
  4753. /* end confdefs.h. */
  4754. $ac_includes_default
  4755. typedef int8_t ac__type_new_;
  4756. int
  4757. main ()
  4758. {
  4759. if ((ac__type_new_ *) 0)
  4760. return 0;
  4761. if (sizeof (ac__type_new_))
  4762. return 0;
  4763. ;
  4764. return 0;
  4765. }
  4766. _ACEOF
  4767. rm -f conftest.$ac_objext
  4768. if { (ac_try="$ac_compile"
  4769. case "(($ac_try" in
  4770. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4771. *) ac_try_echo=$ac_try;;
  4772. esac
  4773. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4774. (eval "$ac_compile") 2>conftest.er1
  4775. ac_status=$?
  4776. grep -v '^ *+' conftest.er1 >conftest.err
  4777. rm -f conftest.er1
  4778. cat conftest.err >&5
  4779. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4780. (exit $ac_status); } &&
  4781. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4782. { (case "(($ac_try" in
  4783. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4784. *) ac_try_echo=$ac_try;;
  4785. esac
  4786. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4787. (eval "$ac_try") 2>&5
  4788. ac_status=$?
  4789. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4790. (exit $ac_status); }; } &&
  4791. { ac_try='test -s conftest.$ac_objext'
  4792. { (case "(($ac_try" in
  4793. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4794. *) ac_try_echo=$ac_try;;
  4795. esac
  4796. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4797. (eval "$ac_try") 2>&5
  4798. ac_status=$?
  4799. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4800. (exit $ac_status); }; }; then
  4801. ac_cv_type_int8_t=yes
  4802. else
  4803. echo "$as_me: failed program was:" >&5
  4804. sed 's/^/| /' conftest.$ac_ext >&5
  4805. ac_cv_type_int8_t=no
  4806. fi
  4807. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4808. fi
  4809. { echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
  4810. echo "${ECHO_T}$ac_cv_type_int8_t" >&6; }
  4811. if test $ac_cv_type_int8_t = yes; then
  4812. cat >>confdefs.h <<_ACEOF
  4813. #define HAVE_INT8_T 1
  4814. _ACEOF
  4815. fi
  4816. { echo "$as_me:$LINENO: checking for uint8_t" >&5
  4817. echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
  4818. if test "${ac_cv_type_uint8_t+set}" = set; then
  4819. echo $ECHO_N "(cached) $ECHO_C" >&6
  4820. else
  4821. cat >conftest.$ac_ext <<_ACEOF
  4822. /* confdefs.h. */
  4823. _ACEOF
  4824. cat confdefs.h >>conftest.$ac_ext
  4825. cat >>conftest.$ac_ext <<_ACEOF
  4826. /* end confdefs.h. */
  4827. $ac_includes_default
  4828. typedef uint8_t ac__type_new_;
  4829. int
  4830. main ()
  4831. {
  4832. if ((ac__type_new_ *) 0)
  4833. return 0;
  4834. if (sizeof (ac__type_new_))
  4835. return 0;
  4836. ;
  4837. return 0;
  4838. }
  4839. _ACEOF
  4840. rm -f conftest.$ac_objext
  4841. if { (ac_try="$ac_compile"
  4842. case "(($ac_try" in
  4843. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4844. *) ac_try_echo=$ac_try;;
  4845. esac
  4846. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4847. (eval "$ac_compile") 2>conftest.er1
  4848. ac_status=$?
  4849. grep -v '^ *+' conftest.er1 >conftest.err
  4850. rm -f conftest.er1
  4851. cat conftest.err >&5
  4852. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4853. (exit $ac_status); } &&
  4854. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4855. { (case "(($ac_try" in
  4856. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4857. *) ac_try_echo=$ac_try;;
  4858. esac
  4859. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4860. (eval "$ac_try") 2>&5
  4861. ac_status=$?
  4862. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4863. (exit $ac_status); }; } &&
  4864. { ac_try='test -s conftest.$ac_objext'
  4865. { (case "(($ac_try" in
  4866. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4867. *) ac_try_echo=$ac_try;;
  4868. esac
  4869. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4870. (eval "$ac_try") 2>&5
  4871. ac_status=$?
  4872. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4873. (exit $ac_status); }; }; then
  4874. ac_cv_type_uint8_t=yes
  4875. else
  4876. echo "$as_me: failed program was:" >&5
  4877. sed 's/^/| /' conftest.$ac_ext >&5
  4878. ac_cv_type_uint8_t=no
  4879. fi
  4880. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4881. fi
  4882. { echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
  4883. echo "${ECHO_T}$ac_cv_type_uint8_t" >&6; }
  4884. if test $ac_cv_type_uint8_t = yes; then
  4885. cat >>confdefs.h <<_ACEOF
  4886. #define HAVE_UINT8_T 1
  4887. _ACEOF
  4888. fi
  4889. { echo "$as_me:$LINENO: checking for char" >&5
  4890. echo $ECHO_N "checking for char... $ECHO_C" >&6; }
  4891. if test "${ac_cv_type_char+set}" = set; then
  4892. echo $ECHO_N "(cached) $ECHO_C" >&6
  4893. else
  4894. cat >conftest.$ac_ext <<_ACEOF
  4895. /* confdefs.h. */
  4896. _ACEOF
  4897. cat confdefs.h >>conftest.$ac_ext
  4898. cat >>conftest.$ac_ext <<_ACEOF
  4899. /* end confdefs.h. */
  4900. $ac_includes_default
  4901. typedef char ac__type_new_;
  4902. int
  4903. main ()
  4904. {
  4905. if ((ac__type_new_ *) 0)
  4906. return 0;
  4907. if (sizeof (ac__type_new_))
  4908. return 0;
  4909. ;
  4910. return 0;
  4911. }
  4912. _ACEOF
  4913. rm -f conftest.$ac_objext
  4914. if { (ac_try="$ac_compile"
  4915. case "(($ac_try" in
  4916. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4917. *) ac_try_echo=$ac_try;;
  4918. esac
  4919. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4920. (eval "$ac_compile") 2>conftest.er1
  4921. ac_status=$?
  4922. grep -v '^ *+' conftest.er1 >conftest.err
  4923. rm -f conftest.er1
  4924. cat conftest.err >&5
  4925. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4926. (exit $ac_status); } &&
  4927. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  4928. { (case "(($ac_try" in
  4929. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4930. *) ac_try_echo=$ac_try;;
  4931. esac
  4932. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4933. (eval "$ac_try") 2>&5
  4934. ac_status=$?
  4935. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4936. (exit $ac_status); }; } &&
  4937. { ac_try='test -s conftest.$ac_objext'
  4938. { (case "(($ac_try" in
  4939. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4940. *) ac_try_echo=$ac_try;;
  4941. esac
  4942. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4943. (eval "$ac_try") 2>&5
  4944. ac_status=$?
  4945. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4946. (exit $ac_status); }; }; then
  4947. ac_cv_type_char=yes
  4948. else
  4949. echo "$as_me: failed program was:" >&5
  4950. sed 's/^/| /' conftest.$ac_ext >&5
  4951. ac_cv_type_char=no
  4952. fi
  4953. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4954. fi
  4955. { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
  4956. echo "${ECHO_T}$ac_cv_type_char" >&6; }
  4957. { echo "$as_me:$LINENO: checking size of char" >&5
  4958. echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
  4959. if test "${ac_cv_sizeof_char+set}" = set; then
  4960. echo $ECHO_N "(cached) $ECHO_C" >&6
  4961. else
  4962. if test "$ac_cv_type_char" = yes; then
  4963. # The cast to long int works around a bug in the HP C Compiler
  4964. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  4965. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  4966. # This bug is HP SR number 8606223364.
  4967. if test "$cross_compiling" = yes; then
  4968. # Depending upon the size, compute the lo and hi bounds.
  4969. cat >conftest.$ac_ext <<_ACEOF
  4970. /* confdefs.h. */
  4971. _ACEOF
  4972. cat confdefs.h >>conftest.$ac_ext
  4973. cat >>conftest.$ac_ext <<_ACEOF
  4974. /* end confdefs.h. */
  4975. $ac_includes_default
  4976. typedef char ac__type_sizeof_;
  4977. int
  4978. main ()
  4979. {
  4980. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  4981. test_array [0] = 0
  4982. ;
  4983. return 0;
  4984. }
  4985. _ACEOF
  4986. rm -f conftest.$ac_objext
  4987. if { (ac_try="$ac_compile"
  4988. case "(($ac_try" in
  4989. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4990. *) ac_try_echo=$ac_try;;
  4991. esac
  4992. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4993. (eval "$ac_compile") 2>conftest.er1
  4994. ac_status=$?
  4995. grep -v '^ *+' conftest.er1 >conftest.err
  4996. rm -f conftest.er1
  4997. cat conftest.err >&5
  4998. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4999. (exit $ac_status); } &&
  5000. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5001. { (case "(($ac_try" in
  5002. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5003. *) ac_try_echo=$ac_try;;
  5004. esac
  5005. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5006. (eval "$ac_try") 2>&5
  5007. ac_status=$?
  5008. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5009. (exit $ac_status); }; } &&
  5010. { ac_try='test -s conftest.$ac_objext'
  5011. { (case "(($ac_try" in
  5012. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5013. *) ac_try_echo=$ac_try;;
  5014. esac
  5015. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5016. (eval "$ac_try") 2>&5
  5017. ac_status=$?
  5018. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5019. (exit $ac_status); }; }; then
  5020. ac_lo=0 ac_mid=0
  5021. while :; do
  5022. cat >conftest.$ac_ext <<_ACEOF
  5023. /* confdefs.h. */
  5024. _ACEOF
  5025. cat confdefs.h >>conftest.$ac_ext
  5026. cat >>conftest.$ac_ext <<_ACEOF
  5027. /* end confdefs.h. */
  5028. $ac_includes_default
  5029. typedef char ac__type_sizeof_;
  5030. int
  5031. main ()
  5032. {
  5033. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5034. test_array [0] = 0
  5035. ;
  5036. return 0;
  5037. }
  5038. _ACEOF
  5039. rm -f conftest.$ac_objext
  5040. if { (ac_try="$ac_compile"
  5041. case "(($ac_try" in
  5042. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5043. *) ac_try_echo=$ac_try;;
  5044. esac
  5045. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5046. (eval "$ac_compile") 2>conftest.er1
  5047. ac_status=$?
  5048. grep -v '^ *+' conftest.er1 >conftest.err
  5049. rm -f conftest.er1
  5050. cat conftest.err >&5
  5051. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5052. (exit $ac_status); } &&
  5053. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5054. { (case "(($ac_try" in
  5055. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5056. *) ac_try_echo=$ac_try;;
  5057. esac
  5058. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5059. (eval "$ac_try") 2>&5
  5060. ac_status=$?
  5061. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5062. (exit $ac_status); }; } &&
  5063. { ac_try='test -s conftest.$ac_objext'
  5064. { (case "(($ac_try" in
  5065. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5066. *) ac_try_echo=$ac_try;;
  5067. esac
  5068. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5069. (eval "$ac_try") 2>&5
  5070. ac_status=$?
  5071. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5072. (exit $ac_status); }; }; then
  5073. ac_hi=$ac_mid; break
  5074. else
  5075. echo "$as_me: failed program was:" >&5
  5076. sed 's/^/| /' conftest.$ac_ext >&5
  5077. ac_lo=`expr $ac_mid + 1`
  5078. if test $ac_lo -le $ac_mid; then
  5079. ac_lo= ac_hi=
  5080. break
  5081. fi
  5082. ac_mid=`expr 2 '*' $ac_mid + 1`
  5083. fi
  5084. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5085. done
  5086. else
  5087. echo "$as_me: failed program was:" >&5
  5088. sed 's/^/| /' conftest.$ac_ext >&5
  5089. cat >conftest.$ac_ext <<_ACEOF
  5090. /* confdefs.h. */
  5091. _ACEOF
  5092. cat confdefs.h >>conftest.$ac_ext
  5093. cat >>conftest.$ac_ext <<_ACEOF
  5094. /* end confdefs.h. */
  5095. $ac_includes_default
  5096. typedef char ac__type_sizeof_;
  5097. int
  5098. main ()
  5099. {
  5100. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  5101. test_array [0] = 0
  5102. ;
  5103. return 0;
  5104. }
  5105. _ACEOF
  5106. rm -f conftest.$ac_objext
  5107. if { (ac_try="$ac_compile"
  5108. case "(($ac_try" in
  5109. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5110. *) ac_try_echo=$ac_try;;
  5111. esac
  5112. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5113. (eval "$ac_compile") 2>conftest.er1
  5114. ac_status=$?
  5115. grep -v '^ *+' conftest.er1 >conftest.err
  5116. rm -f conftest.er1
  5117. cat conftest.err >&5
  5118. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5119. (exit $ac_status); } &&
  5120. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5121. { (case "(($ac_try" in
  5122. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5123. *) ac_try_echo=$ac_try;;
  5124. esac
  5125. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5126. (eval "$ac_try") 2>&5
  5127. ac_status=$?
  5128. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5129. (exit $ac_status); }; } &&
  5130. { ac_try='test -s conftest.$ac_objext'
  5131. { (case "(($ac_try" in
  5132. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5133. *) ac_try_echo=$ac_try;;
  5134. esac
  5135. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5136. (eval "$ac_try") 2>&5
  5137. ac_status=$?
  5138. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5139. (exit $ac_status); }; }; then
  5140. ac_hi=-1 ac_mid=-1
  5141. while :; do
  5142. cat >conftest.$ac_ext <<_ACEOF
  5143. /* confdefs.h. */
  5144. _ACEOF
  5145. cat confdefs.h >>conftest.$ac_ext
  5146. cat >>conftest.$ac_ext <<_ACEOF
  5147. /* end confdefs.h. */
  5148. $ac_includes_default
  5149. typedef char ac__type_sizeof_;
  5150. int
  5151. main ()
  5152. {
  5153. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  5154. test_array [0] = 0
  5155. ;
  5156. return 0;
  5157. }
  5158. _ACEOF
  5159. rm -f conftest.$ac_objext
  5160. if { (ac_try="$ac_compile"
  5161. case "(($ac_try" in
  5162. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5163. *) ac_try_echo=$ac_try;;
  5164. esac
  5165. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5166. (eval "$ac_compile") 2>conftest.er1
  5167. ac_status=$?
  5168. grep -v '^ *+' conftest.er1 >conftest.err
  5169. rm -f conftest.er1
  5170. cat conftest.err >&5
  5171. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5172. (exit $ac_status); } &&
  5173. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5174. { (case "(($ac_try" in
  5175. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5176. *) ac_try_echo=$ac_try;;
  5177. esac
  5178. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5179. (eval "$ac_try") 2>&5
  5180. ac_status=$?
  5181. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5182. (exit $ac_status); }; } &&
  5183. { ac_try='test -s conftest.$ac_objext'
  5184. { (case "(($ac_try" in
  5185. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5186. *) ac_try_echo=$ac_try;;
  5187. esac
  5188. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5189. (eval "$ac_try") 2>&5
  5190. ac_status=$?
  5191. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5192. (exit $ac_status); }; }; then
  5193. ac_lo=$ac_mid; break
  5194. else
  5195. echo "$as_me: failed program was:" >&5
  5196. sed 's/^/| /' conftest.$ac_ext >&5
  5197. ac_hi=`expr '(' $ac_mid ')' - 1`
  5198. if test $ac_mid -le $ac_hi; then
  5199. ac_lo= ac_hi=
  5200. break
  5201. fi
  5202. ac_mid=`expr 2 '*' $ac_mid`
  5203. fi
  5204. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5205. done
  5206. else
  5207. echo "$as_me: failed program was:" >&5
  5208. sed 's/^/| /' conftest.$ac_ext >&5
  5209. ac_lo= ac_hi=
  5210. fi
  5211. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5212. fi
  5213. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5214. # Binary search between lo and hi bounds.
  5215. while test "x$ac_lo" != "x$ac_hi"; do
  5216. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  5217. cat >conftest.$ac_ext <<_ACEOF
  5218. /* confdefs.h. */
  5219. _ACEOF
  5220. cat confdefs.h >>conftest.$ac_ext
  5221. cat >>conftest.$ac_ext <<_ACEOF
  5222. /* end confdefs.h. */
  5223. $ac_includes_default
  5224. typedef char ac__type_sizeof_;
  5225. int
  5226. main ()
  5227. {
  5228. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5229. test_array [0] = 0
  5230. ;
  5231. return 0;
  5232. }
  5233. _ACEOF
  5234. rm -f conftest.$ac_objext
  5235. if { (ac_try="$ac_compile"
  5236. case "(($ac_try" in
  5237. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5238. *) ac_try_echo=$ac_try;;
  5239. esac
  5240. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5241. (eval "$ac_compile") 2>conftest.er1
  5242. ac_status=$?
  5243. grep -v '^ *+' conftest.er1 >conftest.err
  5244. rm -f conftest.er1
  5245. cat conftest.err >&5
  5246. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5247. (exit $ac_status); } &&
  5248. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5249. { (case "(($ac_try" in
  5250. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5251. *) ac_try_echo=$ac_try;;
  5252. esac
  5253. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5254. (eval "$ac_try") 2>&5
  5255. ac_status=$?
  5256. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5257. (exit $ac_status); }; } &&
  5258. { ac_try='test -s conftest.$ac_objext'
  5259. { (case "(($ac_try" in
  5260. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5261. *) ac_try_echo=$ac_try;;
  5262. esac
  5263. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5264. (eval "$ac_try") 2>&5
  5265. ac_status=$?
  5266. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5267. (exit $ac_status); }; }; then
  5268. ac_hi=$ac_mid
  5269. else
  5270. echo "$as_me: failed program was:" >&5
  5271. sed 's/^/| /' conftest.$ac_ext >&5
  5272. ac_lo=`expr '(' $ac_mid ')' + 1`
  5273. fi
  5274. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5275. done
  5276. case $ac_lo in
  5277. ?*) ac_cv_sizeof_char=$ac_lo;;
  5278. '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  5279. See \`config.log' for more details." >&5
  5280. echo "$as_me: error: cannot compute sizeof (char)
  5281. See \`config.log' for more details." >&2;}
  5282. { (exit 77); exit 77; }; } ;;
  5283. esac
  5284. else
  5285. cat >conftest.$ac_ext <<_ACEOF
  5286. /* confdefs.h. */
  5287. _ACEOF
  5288. cat confdefs.h >>conftest.$ac_ext
  5289. cat >>conftest.$ac_ext <<_ACEOF
  5290. /* end confdefs.h. */
  5291. $ac_includes_default
  5292. typedef char ac__type_sizeof_;
  5293. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5294. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5295. #include <stdio.h>
  5296. #include <stdlib.h>
  5297. int
  5298. main ()
  5299. {
  5300. FILE *f = fopen ("conftest.val", "w");
  5301. if (! f)
  5302. return 1;
  5303. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  5304. {
  5305. long int i = longval ();
  5306. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5307. return 1;
  5308. fprintf (f, "%ld\n", i);
  5309. }
  5310. else
  5311. {
  5312. unsigned long int i = ulongval ();
  5313. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5314. return 1;
  5315. fprintf (f, "%lu\n", i);
  5316. }
  5317. return ferror (f) || fclose (f) != 0;
  5318. ;
  5319. return 0;
  5320. }
  5321. _ACEOF
  5322. rm -f conftest$ac_exeext
  5323. if { (ac_try="$ac_link"
  5324. case "(($ac_try" in
  5325. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5326. *) ac_try_echo=$ac_try;;
  5327. esac
  5328. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5329. (eval "$ac_link") 2>&5
  5330. ac_status=$?
  5331. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5332. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5333. { (case "(($ac_try" in
  5334. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5335. *) ac_try_echo=$ac_try;;
  5336. esac
  5337. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5338. (eval "$ac_try") 2>&5
  5339. ac_status=$?
  5340. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5341. (exit $ac_status); }; }; then
  5342. ac_cv_sizeof_char=`cat conftest.val`
  5343. else
  5344. echo "$as_me: program exited with status $ac_status" >&5
  5345. echo "$as_me: failed program was:" >&5
  5346. sed 's/^/| /' conftest.$ac_ext >&5
  5347. ( exit $ac_status )
  5348. { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
  5349. See \`config.log' for more details." >&5
  5350. echo "$as_me: error: cannot compute sizeof (char)
  5351. See \`config.log' for more details." >&2;}
  5352. { (exit 77); exit 77; }; }
  5353. fi
  5354. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5355. fi
  5356. rm -f conftest.val
  5357. else
  5358. ac_cv_sizeof_char=0
  5359. fi
  5360. fi
  5361. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
  5362. echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
  5363. cat >>confdefs.h <<_ACEOF
  5364. #define SIZEOF_CHAR $ac_cv_sizeof_char
  5365. _ACEOF
  5366. { echo "$as_me:$LINENO: checking for short int" >&5
  5367. echo $ECHO_N "checking for short int... $ECHO_C" >&6; }
  5368. if test "${ac_cv_type_short_int+set}" = set; then
  5369. echo $ECHO_N "(cached) $ECHO_C" >&6
  5370. else
  5371. cat >conftest.$ac_ext <<_ACEOF
  5372. /* confdefs.h. */
  5373. _ACEOF
  5374. cat confdefs.h >>conftest.$ac_ext
  5375. cat >>conftest.$ac_ext <<_ACEOF
  5376. /* end confdefs.h. */
  5377. $ac_includes_default
  5378. typedef short int ac__type_new_;
  5379. int
  5380. main ()
  5381. {
  5382. if ((ac__type_new_ *) 0)
  5383. return 0;
  5384. if (sizeof (ac__type_new_))
  5385. return 0;
  5386. ;
  5387. return 0;
  5388. }
  5389. _ACEOF
  5390. rm -f conftest.$ac_objext
  5391. if { (ac_try="$ac_compile"
  5392. case "(($ac_try" in
  5393. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5394. *) ac_try_echo=$ac_try;;
  5395. esac
  5396. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5397. (eval "$ac_compile") 2>conftest.er1
  5398. ac_status=$?
  5399. grep -v '^ *+' conftest.er1 >conftest.err
  5400. rm -f conftest.er1
  5401. cat conftest.err >&5
  5402. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5403. (exit $ac_status); } &&
  5404. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5405. { (case "(($ac_try" in
  5406. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5407. *) ac_try_echo=$ac_try;;
  5408. esac
  5409. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5410. (eval "$ac_try") 2>&5
  5411. ac_status=$?
  5412. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5413. (exit $ac_status); }; } &&
  5414. { ac_try='test -s conftest.$ac_objext'
  5415. { (case "(($ac_try" in
  5416. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5417. *) ac_try_echo=$ac_try;;
  5418. esac
  5419. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5420. (eval "$ac_try") 2>&5
  5421. ac_status=$?
  5422. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5423. (exit $ac_status); }; }; then
  5424. ac_cv_type_short_int=yes
  5425. else
  5426. echo "$as_me: failed program was:" >&5
  5427. sed 's/^/| /' conftest.$ac_ext >&5
  5428. ac_cv_type_short_int=no
  5429. fi
  5430. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5431. fi
  5432. { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
  5433. echo "${ECHO_T}$ac_cv_type_short_int" >&6; }
  5434. { echo "$as_me:$LINENO: checking size of short int" >&5
  5435. echo $ECHO_N "checking size of short int... $ECHO_C" >&6; }
  5436. if test "${ac_cv_sizeof_short_int+set}" = set; then
  5437. echo $ECHO_N "(cached) $ECHO_C" >&6
  5438. else
  5439. if test "$ac_cv_type_short_int" = yes; then
  5440. # The cast to long int works around a bug in the HP C Compiler
  5441. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5442. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5443. # This bug is HP SR number 8606223364.
  5444. if test "$cross_compiling" = yes; then
  5445. # Depending upon the size, compute the lo and hi bounds.
  5446. cat >conftest.$ac_ext <<_ACEOF
  5447. /* confdefs.h. */
  5448. _ACEOF
  5449. cat confdefs.h >>conftest.$ac_ext
  5450. cat >>conftest.$ac_ext <<_ACEOF
  5451. /* end confdefs.h. */
  5452. $ac_includes_default
  5453. typedef short int ac__type_sizeof_;
  5454. int
  5455. main ()
  5456. {
  5457. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  5458. test_array [0] = 0
  5459. ;
  5460. return 0;
  5461. }
  5462. _ACEOF
  5463. rm -f conftest.$ac_objext
  5464. if { (ac_try="$ac_compile"
  5465. case "(($ac_try" in
  5466. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5467. *) ac_try_echo=$ac_try;;
  5468. esac
  5469. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5470. (eval "$ac_compile") 2>conftest.er1
  5471. ac_status=$?
  5472. grep -v '^ *+' conftest.er1 >conftest.err
  5473. rm -f conftest.er1
  5474. cat conftest.err >&5
  5475. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5476. (exit $ac_status); } &&
  5477. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5478. { (case "(($ac_try" in
  5479. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5480. *) ac_try_echo=$ac_try;;
  5481. esac
  5482. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5483. (eval "$ac_try") 2>&5
  5484. ac_status=$?
  5485. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5486. (exit $ac_status); }; } &&
  5487. { ac_try='test -s conftest.$ac_objext'
  5488. { (case "(($ac_try" in
  5489. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5490. *) ac_try_echo=$ac_try;;
  5491. esac
  5492. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5493. (eval "$ac_try") 2>&5
  5494. ac_status=$?
  5495. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5496. (exit $ac_status); }; }; then
  5497. ac_lo=0 ac_mid=0
  5498. while :; do
  5499. cat >conftest.$ac_ext <<_ACEOF
  5500. /* confdefs.h. */
  5501. _ACEOF
  5502. cat confdefs.h >>conftest.$ac_ext
  5503. cat >>conftest.$ac_ext <<_ACEOF
  5504. /* end confdefs.h. */
  5505. $ac_includes_default
  5506. typedef short int ac__type_sizeof_;
  5507. int
  5508. main ()
  5509. {
  5510. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5511. test_array [0] = 0
  5512. ;
  5513. return 0;
  5514. }
  5515. _ACEOF
  5516. rm -f conftest.$ac_objext
  5517. if { (ac_try="$ac_compile"
  5518. case "(($ac_try" in
  5519. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5520. *) ac_try_echo=$ac_try;;
  5521. esac
  5522. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5523. (eval "$ac_compile") 2>conftest.er1
  5524. ac_status=$?
  5525. grep -v '^ *+' conftest.er1 >conftest.err
  5526. rm -f conftest.er1
  5527. cat conftest.err >&5
  5528. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5529. (exit $ac_status); } &&
  5530. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5531. { (case "(($ac_try" in
  5532. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5533. *) ac_try_echo=$ac_try;;
  5534. esac
  5535. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5536. (eval "$ac_try") 2>&5
  5537. ac_status=$?
  5538. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5539. (exit $ac_status); }; } &&
  5540. { ac_try='test -s conftest.$ac_objext'
  5541. { (case "(($ac_try" in
  5542. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5543. *) ac_try_echo=$ac_try;;
  5544. esac
  5545. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5546. (eval "$ac_try") 2>&5
  5547. ac_status=$?
  5548. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5549. (exit $ac_status); }; }; then
  5550. ac_hi=$ac_mid; break
  5551. else
  5552. echo "$as_me: failed program was:" >&5
  5553. sed 's/^/| /' conftest.$ac_ext >&5
  5554. ac_lo=`expr $ac_mid + 1`
  5555. if test $ac_lo -le $ac_mid; then
  5556. ac_lo= ac_hi=
  5557. break
  5558. fi
  5559. ac_mid=`expr 2 '*' $ac_mid + 1`
  5560. fi
  5561. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5562. done
  5563. else
  5564. echo "$as_me: failed program was:" >&5
  5565. sed 's/^/| /' conftest.$ac_ext >&5
  5566. cat >conftest.$ac_ext <<_ACEOF
  5567. /* confdefs.h. */
  5568. _ACEOF
  5569. cat confdefs.h >>conftest.$ac_ext
  5570. cat >>conftest.$ac_ext <<_ACEOF
  5571. /* end confdefs.h. */
  5572. $ac_includes_default
  5573. typedef short int ac__type_sizeof_;
  5574. int
  5575. main ()
  5576. {
  5577. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  5578. test_array [0] = 0
  5579. ;
  5580. return 0;
  5581. }
  5582. _ACEOF
  5583. rm -f conftest.$ac_objext
  5584. if { (ac_try="$ac_compile"
  5585. case "(($ac_try" in
  5586. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5587. *) ac_try_echo=$ac_try;;
  5588. esac
  5589. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5590. (eval "$ac_compile") 2>conftest.er1
  5591. ac_status=$?
  5592. grep -v '^ *+' conftest.er1 >conftest.err
  5593. rm -f conftest.er1
  5594. cat conftest.err >&5
  5595. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5596. (exit $ac_status); } &&
  5597. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5598. { (case "(($ac_try" in
  5599. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5600. *) ac_try_echo=$ac_try;;
  5601. esac
  5602. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5603. (eval "$ac_try") 2>&5
  5604. ac_status=$?
  5605. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5606. (exit $ac_status); }; } &&
  5607. { ac_try='test -s conftest.$ac_objext'
  5608. { (case "(($ac_try" in
  5609. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5610. *) ac_try_echo=$ac_try;;
  5611. esac
  5612. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5613. (eval "$ac_try") 2>&5
  5614. ac_status=$?
  5615. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5616. (exit $ac_status); }; }; then
  5617. ac_hi=-1 ac_mid=-1
  5618. while :; do
  5619. cat >conftest.$ac_ext <<_ACEOF
  5620. /* confdefs.h. */
  5621. _ACEOF
  5622. cat confdefs.h >>conftest.$ac_ext
  5623. cat >>conftest.$ac_ext <<_ACEOF
  5624. /* end confdefs.h. */
  5625. $ac_includes_default
  5626. typedef short int ac__type_sizeof_;
  5627. int
  5628. main ()
  5629. {
  5630. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  5631. test_array [0] = 0
  5632. ;
  5633. return 0;
  5634. }
  5635. _ACEOF
  5636. rm -f conftest.$ac_objext
  5637. if { (ac_try="$ac_compile"
  5638. case "(($ac_try" in
  5639. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5640. *) ac_try_echo=$ac_try;;
  5641. esac
  5642. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5643. (eval "$ac_compile") 2>conftest.er1
  5644. ac_status=$?
  5645. grep -v '^ *+' conftest.er1 >conftest.err
  5646. rm -f conftest.er1
  5647. cat conftest.err >&5
  5648. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5649. (exit $ac_status); } &&
  5650. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5651. { (case "(($ac_try" in
  5652. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5653. *) ac_try_echo=$ac_try;;
  5654. esac
  5655. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5656. (eval "$ac_try") 2>&5
  5657. ac_status=$?
  5658. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5659. (exit $ac_status); }; } &&
  5660. { ac_try='test -s conftest.$ac_objext'
  5661. { (case "(($ac_try" in
  5662. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5663. *) ac_try_echo=$ac_try;;
  5664. esac
  5665. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5666. (eval "$ac_try") 2>&5
  5667. ac_status=$?
  5668. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5669. (exit $ac_status); }; }; then
  5670. ac_lo=$ac_mid; break
  5671. else
  5672. echo "$as_me: failed program was:" >&5
  5673. sed 's/^/| /' conftest.$ac_ext >&5
  5674. ac_hi=`expr '(' $ac_mid ')' - 1`
  5675. if test $ac_mid -le $ac_hi; then
  5676. ac_lo= ac_hi=
  5677. break
  5678. fi
  5679. ac_mid=`expr 2 '*' $ac_mid`
  5680. fi
  5681. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5682. done
  5683. else
  5684. echo "$as_me: failed program was:" >&5
  5685. sed 's/^/| /' conftest.$ac_ext >&5
  5686. ac_lo= ac_hi=
  5687. fi
  5688. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5689. fi
  5690. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5691. # Binary search between lo and hi bounds.
  5692. while test "x$ac_lo" != "x$ac_hi"; do
  5693. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  5694. cat >conftest.$ac_ext <<_ACEOF
  5695. /* confdefs.h. */
  5696. _ACEOF
  5697. cat confdefs.h >>conftest.$ac_ext
  5698. cat >>conftest.$ac_ext <<_ACEOF
  5699. /* end confdefs.h. */
  5700. $ac_includes_default
  5701. typedef short int ac__type_sizeof_;
  5702. int
  5703. main ()
  5704. {
  5705. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5706. test_array [0] = 0
  5707. ;
  5708. return 0;
  5709. }
  5710. _ACEOF
  5711. rm -f conftest.$ac_objext
  5712. if { (ac_try="$ac_compile"
  5713. case "(($ac_try" in
  5714. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5715. *) ac_try_echo=$ac_try;;
  5716. esac
  5717. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5718. (eval "$ac_compile") 2>conftest.er1
  5719. ac_status=$?
  5720. grep -v '^ *+' conftest.er1 >conftest.err
  5721. rm -f conftest.er1
  5722. cat conftest.err >&5
  5723. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5724. (exit $ac_status); } &&
  5725. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5726. { (case "(($ac_try" in
  5727. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5728. *) ac_try_echo=$ac_try;;
  5729. esac
  5730. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5731. (eval "$ac_try") 2>&5
  5732. ac_status=$?
  5733. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5734. (exit $ac_status); }; } &&
  5735. { ac_try='test -s conftest.$ac_objext'
  5736. { (case "(($ac_try" in
  5737. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5738. *) ac_try_echo=$ac_try;;
  5739. esac
  5740. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5741. (eval "$ac_try") 2>&5
  5742. ac_status=$?
  5743. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5744. (exit $ac_status); }; }; then
  5745. ac_hi=$ac_mid
  5746. else
  5747. echo "$as_me: failed program was:" >&5
  5748. sed 's/^/| /' conftest.$ac_ext >&5
  5749. ac_lo=`expr '(' $ac_mid ')' + 1`
  5750. fi
  5751. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5752. done
  5753. case $ac_lo in
  5754. ?*) ac_cv_sizeof_short_int=$ac_lo;;
  5755. '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
  5756. See \`config.log' for more details." >&5
  5757. echo "$as_me: error: cannot compute sizeof (short int)
  5758. See \`config.log' for more details." >&2;}
  5759. { (exit 77); exit 77; }; } ;;
  5760. esac
  5761. else
  5762. cat >conftest.$ac_ext <<_ACEOF
  5763. /* confdefs.h. */
  5764. _ACEOF
  5765. cat confdefs.h >>conftest.$ac_ext
  5766. cat >>conftest.$ac_ext <<_ACEOF
  5767. /* end confdefs.h. */
  5768. $ac_includes_default
  5769. typedef short int ac__type_sizeof_;
  5770. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5771. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  5772. #include <stdio.h>
  5773. #include <stdlib.h>
  5774. int
  5775. main ()
  5776. {
  5777. FILE *f = fopen ("conftest.val", "w");
  5778. if (! f)
  5779. return 1;
  5780. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  5781. {
  5782. long int i = longval ();
  5783. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5784. return 1;
  5785. fprintf (f, "%ld\n", i);
  5786. }
  5787. else
  5788. {
  5789. unsigned long int i = ulongval ();
  5790. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  5791. return 1;
  5792. fprintf (f, "%lu\n", i);
  5793. }
  5794. return ferror (f) || fclose (f) != 0;
  5795. ;
  5796. return 0;
  5797. }
  5798. _ACEOF
  5799. rm -f conftest$ac_exeext
  5800. if { (ac_try="$ac_link"
  5801. case "(($ac_try" in
  5802. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5803. *) ac_try_echo=$ac_try;;
  5804. esac
  5805. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5806. (eval "$ac_link") 2>&5
  5807. ac_status=$?
  5808. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5809. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5810. { (case "(($ac_try" in
  5811. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5812. *) ac_try_echo=$ac_try;;
  5813. esac
  5814. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5815. (eval "$ac_try") 2>&5
  5816. ac_status=$?
  5817. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5818. (exit $ac_status); }; }; then
  5819. ac_cv_sizeof_short_int=`cat conftest.val`
  5820. else
  5821. echo "$as_me: program exited with status $ac_status" >&5
  5822. echo "$as_me: failed program was:" >&5
  5823. sed 's/^/| /' conftest.$ac_ext >&5
  5824. ( exit $ac_status )
  5825. { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
  5826. See \`config.log' for more details." >&5
  5827. echo "$as_me: error: cannot compute sizeof (short int)
  5828. See \`config.log' for more details." >&2;}
  5829. { (exit 77); exit 77; }; }
  5830. fi
  5831. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5832. fi
  5833. rm -f conftest.val
  5834. else
  5835. ac_cv_sizeof_short_int=0
  5836. fi
  5837. fi
  5838. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
  5839. echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; }
  5840. cat >>confdefs.h <<_ACEOF
  5841. #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
  5842. _ACEOF
  5843. { echo "$as_me:$LINENO: checking for int" >&5
  5844. echo $ECHO_N "checking for int... $ECHO_C" >&6; }
  5845. if test "${ac_cv_type_int+set}" = set; then
  5846. echo $ECHO_N "(cached) $ECHO_C" >&6
  5847. else
  5848. cat >conftest.$ac_ext <<_ACEOF
  5849. /* confdefs.h. */
  5850. _ACEOF
  5851. cat confdefs.h >>conftest.$ac_ext
  5852. cat >>conftest.$ac_ext <<_ACEOF
  5853. /* end confdefs.h. */
  5854. $ac_includes_default
  5855. typedef int ac__type_new_;
  5856. int
  5857. main ()
  5858. {
  5859. if ((ac__type_new_ *) 0)
  5860. return 0;
  5861. if (sizeof (ac__type_new_))
  5862. return 0;
  5863. ;
  5864. return 0;
  5865. }
  5866. _ACEOF
  5867. rm -f conftest.$ac_objext
  5868. if { (ac_try="$ac_compile"
  5869. case "(($ac_try" in
  5870. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5871. *) ac_try_echo=$ac_try;;
  5872. esac
  5873. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5874. (eval "$ac_compile") 2>conftest.er1
  5875. ac_status=$?
  5876. grep -v '^ *+' conftest.er1 >conftest.err
  5877. rm -f conftest.er1
  5878. cat conftest.err >&5
  5879. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5880. (exit $ac_status); } &&
  5881. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5882. { (case "(($ac_try" in
  5883. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5884. *) ac_try_echo=$ac_try;;
  5885. esac
  5886. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5887. (eval "$ac_try") 2>&5
  5888. ac_status=$?
  5889. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5890. (exit $ac_status); }; } &&
  5891. { ac_try='test -s conftest.$ac_objext'
  5892. { (case "(($ac_try" in
  5893. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5894. *) ac_try_echo=$ac_try;;
  5895. esac
  5896. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5897. (eval "$ac_try") 2>&5
  5898. ac_status=$?
  5899. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5900. (exit $ac_status); }; }; then
  5901. ac_cv_type_int=yes
  5902. else
  5903. echo "$as_me: failed program was:" >&5
  5904. sed 's/^/| /' conftest.$ac_ext >&5
  5905. ac_cv_type_int=no
  5906. fi
  5907. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5908. fi
  5909. { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
  5910. echo "${ECHO_T}$ac_cv_type_int" >&6; }
  5911. { echo "$as_me:$LINENO: checking size of int" >&5
  5912. echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
  5913. if test "${ac_cv_sizeof_int+set}" = set; then
  5914. echo $ECHO_N "(cached) $ECHO_C" >&6
  5915. else
  5916. if test "$ac_cv_type_int" = yes; then
  5917. # The cast to long int works around a bug in the HP C Compiler
  5918. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5919. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5920. # This bug is HP SR number 8606223364.
  5921. if test "$cross_compiling" = yes; then
  5922. # Depending upon the size, compute the lo and hi bounds.
  5923. cat >conftest.$ac_ext <<_ACEOF
  5924. /* confdefs.h. */
  5925. _ACEOF
  5926. cat confdefs.h >>conftest.$ac_ext
  5927. cat >>conftest.$ac_ext <<_ACEOF
  5928. /* end confdefs.h. */
  5929. $ac_includes_default
  5930. typedef int ac__type_sizeof_;
  5931. int
  5932. main ()
  5933. {
  5934. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  5935. test_array [0] = 0
  5936. ;
  5937. return 0;
  5938. }
  5939. _ACEOF
  5940. rm -f conftest.$ac_objext
  5941. if { (ac_try="$ac_compile"
  5942. case "(($ac_try" in
  5943. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5944. *) ac_try_echo=$ac_try;;
  5945. esac
  5946. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5947. (eval "$ac_compile") 2>conftest.er1
  5948. ac_status=$?
  5949. grep -v '^ *+' conftest.er1 >conftest.err
  5950. rm -f conftest.er1
  5951. cat conftest.err >&5
  5952. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5953. (exit $ac_status); } &&
  5954. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  5955. { (case "(($ac_try" in
  5956. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5957. *) ac_try_echo=$ac_try;;
  5958. esac
  5959. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5960. (eval "$ac_try") 2>&5
  5961. ac_status=$?
  5962. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5963. (exit $ac_status); }; } &&
  5964. { ac_try='test -s conftest.$ac_objext'
  5965. { (case "(($ac_try" in
  5966. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5967. *) ac_try_echo=$ac_try;;
  5968. esac
  5969. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5970. (eval "$ac_try") 2>&5
  5971. ac_status=$?
  5972. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5973. (exit $ac_status); }; }; then
  5974. ac_lo=0 ac_mid=0
  5975. while :; do
  5976. cat >conftest.$ac_ext <<_ACEOF
  5977. /* confdefs.h. */
  5978. _ACEOF
  5979. cat confdefs.h >>conftest.$ac_ext
  5980. cat >>conftest.$ac_ext <<_ACEOF
  5981. /* end confdefs.h. */
  5982. $ac_includes_default
  5983. typedef int ac__type_sizeof_;
  5984. int
  5985. main ()
  5986. {
  5987. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5988. test_array [0] = 0
  5989. ;
  5990. return 0;
  5991. }
  5992. _ACEOF
  5993. rm -f conftest.$ac_objext
  5994. if { (ac_try="$ac_compile"
  5995. case "(($ac_try" in
  5996. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5997. *) ac_try_echo=$ac_try;;
  5998. esac
  5999. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6000. (eval "$ac_compile") 2>conftest.er1
  6001. ac_status=$?
  6002. grep -v '^ *+' conftest.er1 >conftest.err
  6003. rm -f conftest.er1
  6004. cat conftest.err >&5
  6005. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6006. (exit $ac_status); } &&
  6007. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6008. { (case "(($ac_try" in
  6009. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6010. *) ac_try_echo=$ac_try;;
  6011. esac
  6012. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6013. (eval "$ac_try") 2>&5
  6014. ac_status=$?
  6015. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6016. (exit $ac_status); }; } &&
  6017. { ac_try='test -s conftest.$ac_objext'
  6018. { (case "(($ac_try" in
  6019. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6020. *) ac_try_echo=$ac_try;;
  6021. esac
  6022. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6023. (eval "$ac_try") 2>&5
  6024. ac_status=$?
  6025. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6026. (exit $ac_status); }; }; then
  6027. ac_hi=$ac_mid; break
  6028. else
  6029. echo "$as_me: failed program was:" >&5
  6030. sed 's/^/| /' conftest.$ac_ext >&5
  6031. ac_lo=`expr $ac_mid + 1`
  6032. if test $ac_lo -le $ac_mid; then
  6033. ac_lo= ac_hi=
  6034. break
  6035. fi
  6036. ac_mid=`expr 2 '*' $ac_mid + 1`
  6037. fi
  6038. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6039. done
  6040. else
  6041. echo "$as_me: failed program was:" >&5
  6042. sed 's/^/| /' conftest.$ac_ext >&5
  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 int ac__type_sizeof_;
  6051. int
  6052. main ()
  6053. {
  6054. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  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. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6075. { (case "(($ac_try" in
  6076. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6077. *) ac_try_echo=$ac_try;;
  6078. esac
  6079. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6080. (eval "$ac_try") 2>&5
  6081. ac_status=$?
  6082. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6083. (exit $ac_status); }; } &&
  6084. { ac_try='test -s conftest.$ac_objext'
  6085. { (case "(($ac_try" in
  6086. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6087. *) ac_try_echo=$ac_try;;
  6088. esac
  6089. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6090. (eval "$ac_try") 2>&5
  6091. ac_status=$?
  6092. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6093. (exit $ac_status); }; }; then
  6094. ac_hi=-1 ac_mid=-1
  6095. while :; do
  6096. cat >conftest.$ac_ext <<_ACEOF
  6097. /* confdefs.h. */
  6098. _ACEOF
  6099. cat confdefs.h >>conftest.$ac_ext
  6100. cat >>conftest.$ac_ext <<_ACEOF
  6101. /* end confdefs.h. */
  6102. $ac_includes_default
  6103. typedef int ac__type_sizeof_;
  6104. int
  6105. main ()
  6106. {
  6107. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  6108. test_array [0] = 0
  6109. ;
  6110. return 0;
  6111. }
  6112. _ACEOF
  6113. rm -f conftest.$ac_objext
  6114. if { (ac_try="$ac_compile"
  6115. case "(($ac_try" in
  6116. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6117. *) ac_try_echo=$ac_try;;
  6118. esac
  6119. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6120. (eval "$ac_compile") 2>conftest.er1
  6121. ac_status=$?
  6122. grep -v '^ *+' conftest.er1 >conftest.err
  6123. rm -f conftest.er1
  6124. cat conftest.err >&5
  6125. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6126. (exit $ac_status); } &&
  6127. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6128. { (case "(($ac_try" in
  6129. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6130. *) ac_try_echo=$ac_try;;
  6131. esac
  6132. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6133. (eval "$ac_try") 2>&5
  6134. ac_status=$?
  6135. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6136. (exit $ac_status); }; } &&
  6137. { ac_try='test -s conftest.$ac_objext'
  6138. { (case "(($ac_try" in
  6139. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6140. *) ac_try_echo=$ac_try;;
  6141. esac
  6142. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6143. (eval "$ac_try") 2>&5
  6144. ac_status=$?
  6145. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6146. (exit $ac_status); }; }; then
  6147. ac_lo=$ac_mid; break
  6148. else
  6149. echo "$as_me: failed program was:" >&5
  6150. sed 's/^/| /' conftest.$ac_ext >&5
  6151. ac_hi=`expr '(' $ac_mid ')' - 1`
  6152. if test $ac_mid -le $ac_hi; then
  6153. ac_lo= ac_hi=
  6154. break
  6155. fi
  6156. ac_mid=`expr 2 '*' $ac_mid`
  6157. fi
  6158. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6159. done
  6160. else
  6161. echo "$as_me: failed program was:" >&5
  6162. sed 's/^/| /' conftest.$ac_ext >&5
  6163. ac_lo= ac_hi=
  6164. fi
  6165. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6166. fi
  6167. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6168. # Binary search between lo and hi bounds.
  6169. while test "x$ac_lo" != "x$ac_hi"; do
  6170. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6171. cat >conftest.$ac_ext <<_ACEOF
  6172. /* confdefs.h. */
  6173. _ACEOF
  6174. cat confdefs.h >>conftest.$ac_ext
  6175. cat >>conftest.$ac_ext <<_ACEOF
  6176. /* end confdefs.h. */
  6177. $ac_includes_default
  6178. typedef int ac__type_sizeof_;
  6179. int
  6180. main ()
  6181. {
  6182. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6183. test_array [0] = 0
  6184. ;
  6185. return 0;
  6186. }
  6187. _ACEOF
  6188. rm -f conftest.$ac_objext
  6189. if { (ac_try="$ac_compile"
  6190. case "(($ac_try" in
  6191. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6192. *) ac_try_echo=$ac_try;;
  6193. esac
  6194. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6195. (eval "$ac_compile") 2>conftest.er1
  6196. ac_status=$?
  6197. grep -v '^ *+' conftest.er1 >conftest.err
  6198. rm -f conftest.er1
  6199. cat conftest.err >&5
  6200. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6201. (exit $ac_status); } &&
  6202. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6203. { (case "(($ac_try" in
  6204. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6205. *) ac_try_echo=$ac_try;;
  6206. esac
  6207. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6208. (eval "$ac_try") 2>&5
  6209. ac_status=$?
  6210. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6211. (exit $ac_status); }; } &&
  6212. { ac_try='test -s conftest.$ac_objext'
  6213. { (case "(($ac_try" in
  6214. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6215. *) ac_try_echo=$ac_try;;
  6216. esac
  6217. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6218. (eval "$ac_try") 2>&5
  6219. ac_status=$?
  6220. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6221. (exit $ac_status); }; }; then
  6222. ac_hi=$ac_mid
  6223. else
  6224. echo "$as_me: failed program was:" >&5
  6225. sed 's/^/| /' conftest.$ac_ext >&5
  6226. ac_lo=`expr '(' $ac_mid ')' + 1`
  6227. fi
  6228. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6229. done
  6230. case $ac_lo in
  6231. ?*) ac_cv_sizeof_int=$ac_lo;;
  6232. '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  6233. See \`config.log' for more details." >&5
  6234. echo "$as_me: error: cannot compute sizeof (int)
  6235. See \`config.log' for more details." >&2;}
  6236. { (exit 77); exit 77; }; } ;;
  6237. esac
  6238. else
  6239. cat >conftest.$ac_ext <<_ACEOF
  6240. /* confdefs.h. */
  6241. _ACEOF
  6242. cat confdefs.h >>conftest.$ac_ext
  6243. cat >>conftest.$ac_ext <<_ACEOF
  6244. /* end confdefs.h. */
  6245. $ac_includes_default
  6246. typedef int ac__type_sizeof_;
  6247. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6248. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6249. #include <stdio.h>
  6250. #include <stdlib.h>
  6251. int
  6252. main ()
  6253. {
  6254. FILE *f = fopen ("conftest.val", "w");
  6255. if (! f)
  6256. return 1;
  6257. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  6258. {
  6259. long int i = longval ();
  6260. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6261. return 1;
  6262. fprintf (f, "%ld\n", i);
  6263. }
  6264. else
  6265. {
  6266. unsigned long int i = ulongval ();
  6267. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6268. return 1;
  6269. fprintf (f, "%lu\n", i);
  6270. }
  6271. return ferror (f) || fclose (f) != 0;
  6272. ;
  6273. return 0;
  6274. }
  6275. _ACEOF
  6276. rm -f conftest$ac_exeext
  6277. if { (ac_try="$ac_link"
  6278. case "(($ac_try" in
  6279. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6280. *) ac_try_echo=$ac_try;;
  6281. esac
  6282. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6283. (eval "$ac_link") 2>&5
  6284. ac_status=$?
  6285. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6286. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6287. { (case "(($ac_try" in
  6288. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6289. *) ac_try_echo=$ac_try;;
  6290. esac
  6291. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6292. (eval "$ac_try") 2>&5
  6293. ac_status=$?
  6294. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6295. (exit $ac_status); }; }; then
  6296. ac_cv_sizeof_int=`cat conftest.val`
  6297. else
  6298. echo "$as_me: program exited with status $ac_status" >&5
  6299. echo "$as_me: failed program was:" >&5
  6300. sed 's/^/| /' conftest.$ac_ext >&5
  6301. ( exit $ac_status )
  6302. { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
  6303. See \`config.log' for more details." >&5
  6304. echo "$as_me: error: cannot compute sizeof (int)
  6305. See \`config.log' for more details." >&2;}
  6306. { (exit 77); exit 77; }; }
  6307. fi
  6308. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6309. fi
  6310. rm -f conftest.val
  6311. else
  6312. ac_cv_sizeof_int=0
  6313. fi
  6314. fi
  6315. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
  6316. echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
  6317. cat >>confdefs.h <<_ACEOF
  6318. #define SIZEOF_INT $ac_cv_sizeof_int
  6319. _ACEOF
  6320. { echo "$as_me:$LINENO: checking for long int" >&5
  6321. echo $ECHO_N "checking for long int... $ECHO_C" >&6; }
  6322. if test "${ac_cv_type_long_int+set}" = set; then
  6323. echo $ECHO_N "(cached) $ECHO_C" >&6
  6324. else
  6325. cat >conftest.$ac_ext <<_ACEOF
  6326. /* confdefs.h. */
  6327. _ACEOF
  6328. cat confdefs.h >>conftest.$ac_ext
  6329. cat >>conftest.$ac_ext <<_ACEOF
  6330. /* end confdefs.h. */
  6331. $ac_includes_default
  6332. typedef long int ac__type_new_;
  6333. int
  6334. main ()
  6335. {
  6336. if ((ac__type_new_ *) 0)
  6337. return 0;
  6338. if (sizeof (ac__type_new_))
  6339. return 0;
  6340. ;
  6341. return 0;
  6342. }
  6343. _ACEOF
  6344. rm -f conftest.$ac_objext
  6345. if { (ac_try="$ac_compile"
  6346. case "(($ac_try" in
  6347. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6348. *) ac_try_echo=$ac_try;;
  6349. esac
  6350. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6351. (eval "$ac_compile") 2>conftest.er1
  6352. ac_status=$?
  6353. grep -v '^ *+' conftest.er1 >conftest.err
  6354. rm -f conftest.er1
  6355. cat conftest.err >&5
  6356. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6357. (exit $ac_status); } &&
  6358. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6359. { (case "(($ac_try" in
  6360. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6361. *) ac_try_echo=$ac_try;;
  6362. esac
  6363. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6364. (eval "$ac_try") 2>&5
  6365. ac_status=$?
  6366. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6367. (exit $ac_status); }; } &&
  6368. { ac_try='test -s conftest.$ac_objext'
  6369. { (case "(($ac_try" in
  6370. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6371. *) ac_try_echo=$ac_try;;
  6372. esac
  6373. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6374. (eval "$ac_try") 2>&5
  6375. ac_status=$?
  6376. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6377. (exit $ac_status); }; }; then
  6378. ac_cv_type_long_int=yes
  6379. else
  6380. echo "$as_me: failed program was:" >&5
  6381. sed 's/^/| /' conftest.$ac_ext >&5
  6382. ac_cv_type_long_int=no
  6383. fi
  6384. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6385. fi
  6386. { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
  6387. echo "${ECHO_T}$ac_cv_type_long_int" >&6; }
  6388. { echo "$as_me:$LINENO: checking size of long int" >&5
  6389. echo $ECHO_N "checking size of long int... $ECHO_C" >&6; }
  6390. if test "${ac_cv_sizeof_long_int+set}" = set; then
  6391. echo $ECHO_N "(cached) $ECHO_C" >&6
  6392. else
  6393. if test "$ac_cv_type_long_int" = yes; then
  6394. # The cast to long int works around a bug in the HP C Compiler
  6395. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6396. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6397. # This bug is HP SR number 8606223364.
  6398. if test "$cross_compiling" = yes; then
  6399. # Depending upon the size, compute the lo and hi bounds.
  6400. cat >conftest.$ac_ext <<_ACEOF
  6401. /* confdefs.h. */
  6402. _ACEOF
  6403. cat confdefs.h >>conftest.$ac_ext
  6404. cat >>conftest.$ac_ext <<_ACEOF
  6405. /* end confdefs.h. */
  6406. $ac_includes_default
  6407. typedef long int ac__type_sizeof_;
  6408. int
  6409. main ()
  6410. {
  6411. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  6412. test_array [0] = 0
  6413. ;
  6414. return 0;
  6415. }
  6416. _ACEOF
  6417. rm -f conftest.$ac_objext
  6418. if { (ac_try="$ac_compile"
  6419. case "(($ac_try" in
  6420. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6421. *) ac_try_echo=$ac_try;;
  6422. esac
  6423. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6424. (eval "$ac_compile") 2>conftest.er1
  6425. ac_status=$?
  6426. grep -v '^ *+' conftest.er1 >conftest.err
  6427. rm -f conftest.er1
  6428. cat conftest.err >&5
  6429. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6430. (exit $ac_status); } &&
  6431. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6432. { (case "(($ac_try" in
  6433. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6434. *) ac_try_echo=$ac_try;;
  6435. esac
  6436. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6437. (eval "$ac_try") 2>&5
  6438. ac_status=$?
  6439. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6440. (exit $ac_status); }; } &&
  6441. { ac_try='test -s conftest.$ac_objext'
  6442. { (case "(($ac_try" in
  6443. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6444. *) ac_try_echo=$ac_try;;
  6445. esac
  6446. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6447. (eval "$ac_try") 2>&5
  6448. ac_status=$?
  6449. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6450. (exit $ac_status); }; }; then
  6451. ac_lo=0 ac_mid=0
  6452. while :; do
  6453. cat >conftest.$ac_ext <<_ACEOF
  6454. /* confdefs.h. */
  6455. _ACEOF
  6456. cat confdefs.h >>conftest.$ac_ext
  6457. cat >>conftest.$ac_ext <<_ACEOF
  6458. /* end confdefs.h. */
  6459. $ac_includes_default
  6460. typedef long int ac__type_sizeof_;
  6461. int
  6462. main ()
  6463. {
  6464. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6465. test_array [0] = 0
  6466. ;
  6467. return 0;
  6468. }
  6469. _ACEOF
  6470. rm -f conftest.$ac_objext
  6471. if { (ac_try="$ac_compile"
  6472. case "(($ac_try" in
  6473. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6474. *) ac_try_echo=$ac_try;;
  6475. esac
  6476. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6477. (eval "$ac_compile") 2>conftest.er1
  6478. ac_status=$?
  6479. grep -v '^ *+' conftest.er1 >conftest.err
  6480. rm -f conftest.er1
  6481. cat conftest.err >&5
  6482. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6483. (exit $ac_status); } &&
  6484. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6485. { (case "(($ac_try" in
  6486. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6487. *) ac_try_echo=$ac_try;;
  6488. esac
  6489. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6490. (eval "$ac_try") 2>&5
  6491. ac_status=$?
  6492. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6493. (exit $ac_status); }; } &&
  6494. { ac_try='test -s conftest.$ac_objext'
  6495. { (case "(($ac_try" in
  6496. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6497. *) ac_try_echo=$ac_try;;
  6498. esac
  6499. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6500. (eval "$ac_try") 2>&5
  6501. ac_status=$?
  6502. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6503. (exit $ac_status); }; }; then
  6504. ac_hi=$ac_mid; break
  6505. else
  6506. echo "$as_me: failed program was:" >&5
  6507. sed 's/^/| /' conftest.$ac_ext >&5
  6508. ac_lo=`expr $ac_mid + 1`
  6509. if test $ac_lo -le $ac_mid; then
  6510. ac_lo= ac_hi=
  6511. break
  6512. fi
  6513. ac_mid=`expr 2 '*' $ac_mid + 1`
  6514. fi
  6515. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6516. done
  6517. else
  6518. echo "$as_me: failed program was:" >&5
  6519. sed 's/^/| /' conftest.$ac_ext >&5
  6520. cat >conftest.$ac_ext <<_ACEOF
  6521. /* confdefs.h. */
  6522. _ACEOF
  6523. cat confdefs.h >>conftest.$ac_ext
  6524. cat >>conftest.$ac_ext <<_ACEOF
  6525. /* end confdefs.h. */
  6526. $ac_includes_default
  6527. typedef long int ac__type_sizeof_;
  6528. int
  6529. main ()
  6530. {
  6531. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  6532. test_array [0] = 0
  6533. ;
  6534. return 0;
  6535. }
  6536. _ACEOF
  6537. rm -f conftest.$ac_objext
  6538. if { (ac_try="$ac_compile"
  6539. case "(($ac_try" in
  6540. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6541. *) ac_try_echo=$ac_try;;
  6542. esac
  6543. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6544. (eval "$ac_compile") 2>conftest.er1
  6545. ac_status=$?
  6546. grep -v '^ *+' conftest.er1 >conftest.err
  6547. rm -f conftest.er1
  6548. cat conftest.err >&5
  6549. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6550. (exit $ac_status); } &&
  6551. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6552. { (case "(($ac_try" in
  6553. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6554. *) ac_try_echo=$ac_try;;
  6555. esac
  6556. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6557. (eval "$ac_try") 2>&5
  6558. ac_status=$?
  6559. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6560. (exit $ac_status); }; } &&
  6561. { ac_try='test -s conftest.$ac_objext'
  6562. { (case "(($ac_try" in
  6563. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6564. *) ac_try_echo=$ac_try;;
  6565. esac
  6566. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6567. (eval "$ac_try") 2>&5
  6568. ac_status=$?
  6569. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6570. (exit $ac_status); }; }; then
  6571. ac_hi=-1 ac_mid=-1
  6572. while :; do
  6573. cat >conftest.$ac_ext <<_ACEOF
  6574. /* confdefs.h. */
  6575. _ACEOF
  6576. cat confdefs.h >>conftest.$ac_ext
  6577. cat >>conftest.$ac_ext <<_ACEOF
  6578. /* end confdefs.h. */
  6579. $ac_includes_default
  6580. typedef long int ac__type_sizeof_;
  6581. int
  6582. main ()
  6583. {
  6584. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  6585. test_array [0] = 0
  6586. ;
  6587. return 0;
  6588. }
  6589. _ACEOF
  6590. rm -f conftest.$ac_objext
  6591. if { (ac_try="$ac_compile"
  6592. case "(($ac_try" in
  6593. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6594. *) ac_try_echo=$ac_try;;
  6595. esac
  6596. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6597. (eval "$ac_compile") 2>conftest.er1
  6598. ac_status=$?
  6599. grep -v '^ *+' conftest.er1 >conftest.err
  6600. rm -f conftest.er1
  6601. cat conftest.err >&5
  6602. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6603. (exit $ac_status); } &&
  6604. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6605. { (case "(($ac_try" in
  6606. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6607. *) ac_try_echo=$ac_try;;
  6608. esac
  6609. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6610. (eval "$ac_try") 2>&5
  6611. ac_status=$?
  6612. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6613. (exit $ac_status); }; } &&
  6614. { ac_try='test -s conftest.$ac_objext'
  6615. { (case "(($ac_try" in
  6616. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6617. *) ac_try_echo=$ac_try;;
  6618. esac
  6619. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6620. (eval "$ac_try") 2>&5
  6621. ac_status=$?
  6622. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6623. (exit $ac_status); }; }; then
  6624. ac_lo=$ac_mid; break
  6625. else
  6626. echo "$as_me: failed program was:" >&5
  6627. sed 's/^/| /' conftest.$ac_ext >&5
  6628. ac_hi=`expr '(' $ac_mid ')' - 1`
  6629. if test $ac_mid -le $ac_hi; then
  6630. ac_lo= ac_hi=
  6631. break
  6632. fi
  6633. ac_mid=`expr 2 '*' $ac_mid`
  6634. fi
  6635. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6636. done
  6637. else
  6638. echo "$as_me: failed program was:" >&5
  6639. sed 's/^/| /' conftest.$ac_ext >&5
  6640. ac_lo= ac_hi=
  6641. fi
  6642. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6643. fi
  6644. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6645. # Binary search between lo and hi bounds.
  6646. while test "x$ac_lo" != "x$ac_hi"; do
  6647. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6648. cat >conftest.$ac_ext <<_ACEOF
  6649. /* confdefs.h. */
  6650. _ACEOF
  6651. cat confdefs.h >>conftest.$ac_ext
  6652. cat >>conftest.$ac_ext <<_ACEOF
  6653. /* end confdefs.h. */
  6654. $ac_includes_default
  6655. typedef long int ac__type_sizeof_;
  6656. int
  6657. main ()
  6658. {
  6659. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6660. test_array [0] = 0
  6661. ;
  6662. return 0;
  6663. }
  6664. _ACEOF
  6665. rm -f conftest.$ac_objext
  6666. if { (ac_try="$ac_compile"
  6667. case "(($ac_try" in
  6668. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6669. *) ac_try_echo=$ac_try;;
  6670. esac
  6671. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6672. (eval "$ac_compile") 2>conftest.er1
  6673. ac_status=$?
  6674. grep -v '^ *+' conftest.er1 >conftest.err
  6675. rm -f conftest.er1
  6676. cat conftest.err >&5
  6677. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6678. (exit $ac_status); } &&
  6679. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6680. { (case "(($ac_try" in
  6681. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6682. *) ac_try_echo=$ac_try;;
  6683. esac
  6684. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6685. (eval "$ac_try") 2>&5
  6686. ac_status=$?
  6687. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6688. (exit $ac_status); }; } &&
  6689. { ac_try='test -s conftest.$ac_objext'
  6690. { (case "(($ac_try" in
  6691. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6692. *) ac_try_echo=$ac_try;;
  6693. esac
  6694. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6695. (eval "$ac_try") 2>&5
  6696. ac_status=$?
  6697. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6698. (exit $ac_status); }; }; then
  6699. ac_hi=$ac_mid
  6700. else
  6701. echo "$as_me: failed program was:" >&5
  6702. sed 's/^/| /' conftest.$ac_ext >&5
  6703. ac_lo=`expr '(' $ac_mid ')' + 1`
  6704. fi
  6705. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6706. done
  6707. case $ac_lo in
  6708. ?*) ac_cv_sizeof_long_int=$ac_lo;;
  6709. '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
  6710. See \`config.log' for more details." >&5
  6711. echo "$as_me: error: cannot compute sizeof (long int)
  6712. See \`config.log' for more details." >&2;}
  6713. { (exit 77); exit 77; }; } ;;
  6714. esac
  6715. else
  6716. cat >conftest.$ac_ext <<_ACEOF
  6717. /* confdefs.h. */
  6718. _ACEOF
  6719. cat confdefs.h >>conftest.$ac_ext
  6720. cat >>conftest.$ac_ext <<_ACEOF
  6721. /* end confdefs.h. */
  6722. $ac_includes_default
  6723. typedef long int ac__type_sizeof_;
  6724. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6725. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6726. #include <stdio.h>
  6727. #include <stdlib.h>
  6728. int
  6729. main ()
  6730. {
  6731. FILE *f = fopen ("conftest.val", "w");
  6732. if (! f)
  6733. return 1;
  6734. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  6735. {
  6736. long int i = longval ();
  6737. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6738. return 1;
  6739. fprintf (f, "%ld\n", i);
  6740. }
  6741. else
  6742. {
  6743. unsigned long int i = ulongval ();
  6744. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6745. return 1;
  6746. fprintf (f, "%lu\n", i);
  6747. }
  6748. return ferror (f) || fclose (f) != 0;
  6749. ;
  6750. return 0;
  6751. }
  6752. _ACEOF
  6753. rm -f conftest$ac_exeext
  6754. if { (ac_try="$ac_link"
  6755. case "(($ac_try" in
  6756. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6757. *) ac_try_echo=$ac_try;;
  6758. esac
  6759. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6760. (eval "$ac_link") 2>&5
  6761. ac_status=$?
  6762. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6763. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6764. { (case "(($ac_try" in
  6765. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6766. *) ac_try_echo=$ac_try;;
  6767. esac
  6768. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6769. (eval "$ac_try") 2>&5
  6770. ac_status=$?
  6771. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6772. (exit $ac_status); }; }; then
  6773. ac_cv_sizeof_long_int=`cat conftest.val`
  6774. else
  6775. echo "$as_me: program exited with status $ac_status" >&5
  6776. echo "$as_me: failed program was:" >&5
  6777. sed 's/^/| /' conftest.$ac_ext >&5
  6778. ( exit $ac_status )
  6779. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
  6780. See \`config.log' for more details." >&5
  6781. echo "$as_me: error: cannot compute sizeof (long int)
  6782. See \`config.log' for more details." >&2;}
  6783. { (exit 77); exit 77; }; }
  6784. fi
  6785. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6786. fi
  6787. rm -f conftest.val
  6788. else
  6789. ac_cv_sizeof_long_int=0
  6790. fi
  6791. fi
  6792. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
  6793. echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; }
  6794. cat >>confdefs.h <<_ACEOF
  6795. #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
  6796. _ACEOF
  6797. { echo "$as_me:$LINENO: checking for long long int" >&5
  6798. echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
  6799. if test "${ac_cv_type_long_long_int+set}" = set; then
  6800. echo $ECHO_N "(cached) $ECHO_C" >&6
  6801. else
  6802. cat >conftest.$ac_ext <<_ACEOF
  6803. /* confdefs.h. */
  6804. _ACEOF
  6805. cat confdefs.h >>conftest.$ac_ext
  6806. cat >>conftest.$ac_ext <<_ACEOF
  6807. /* end confdefs.h. */
  6808. $ac_includes_default
  6809. typedef long long int ac__type_new_;
  6810. int
  6811. main ()
  6812. {
  6813. if ((ac__type_new_ *) 0)
  6814. return 0;
  6815. if (sizeof (ac__type_new_))
  6816. return 0;
  6817. ;
  6818. return 0;
  6819. }
  6820. _ACEOF
  6821. rm -f conftest.$ac_objext
  6822. if { (ac_try="$ac_compile"
  6823. case "(($ac_try" in
  6824. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6825. *) ac_try_echo=$ac_try;;
  6826. esac
  6827. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6828. (eval "$ac_compile") 2>conftest.er1
  6829. ac_status=$?
  6830. grep -v '^ *+' conftest.er1 >conftest.err
  6831. rm -f conftest.er1
  6832. cat conftest.err >&5
  6833. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6834. (exit $ac_status); } &&
  6835. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6836. { (case "(($ac_try" in
  6837. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6838. *) ac_try_echo=$ac_try;;
  6839. esac
  6840. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6841. (eval "$ac_try") 2>&5
  6842. ac_status=$?
  6843. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6844. (exit $ac_status); }; } &&
  6845. { ac_try='test -s conftest.$ac_objext'
  6846. { (case "(($ac_try" in
  6847. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6848. *) ac_try_echo=$ac_try;;
  6849. esac
  6850. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6851. (eval "$ac_try") 2>&5
  6852. ac_status=$?
  6853. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6854. (exit $ac_status); }; }; then
  6855. ac_cv_type_long_long_int=yes
  6856. else
  6857. echo "$as_me: failed program was:" >&5
  6858. sed 's/^/| /' conftest.$ac_ext >&5
  6859. ac_cv_type_long_long_int=no
  6860. fi
  6861. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6862. fi
  6863. { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
  6864. echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
  6865. { echo "$as_me:$LINENO: checking size of long long int" >&5
  6866. echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; }
  6867. if test "${ac_cv_sizeof_long_long_int+set}" = set; then
  6868. echo $ECHO_N "(cached) $ECHO_C" >&6
  6869. else
  6870. if test "$ac_cv_type_long_long_int" = yes; then
  6871. # The cast to long int works around a bug in the HP C Compiler
  6872. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6873. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6874. # This bug is HP SR number 8606223364.
  6875. if test "$cross_compiling" = yes; then
  6876. # Depending upon the size, compute the lo and hi bounds.
  6877. cat >conftest.$ac_ext <<_ACEOF
  6878. /* confdefs.h. */
  6879. _ACEOF
  6880. cat confdefs.h >>conftest.$ac_ext
  6881. cat >>conftest.$ac_ext <<_ACEOF
  6882. /* end confdefs.h. */
  6883. $ac_includes_default
  6884. typedef long long int ac__type_sizeof_;
  6885. int
  6886. main ()
  6887. {
  6888. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  6889. test_array [0] = 0
  6890. ;
  6891. return 0;
  6892. }
  6893. _ACEOF
  6894. rm -f conftest.$ac_objext
  6895. if { (ac_try="$ac_compile"
  6896. case "(($ac_try" in
  6897. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6898. *) ac_try_echo=$ac_try;;
  6899. esac
  6900. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6901. (eval "$ac_compile") 2>conftest.er1
  6902. ac_status=$?
  6903. grep -v '^ *+' conftest.er1 >conftest.err
  6904. rm -f conftest.er1
  6905. cat conftest.err >&5
  6906. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6907. (exit $ac_status); } &&
  6908. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6909. { (case "(($ac_try" in
  6910. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6911. *) ac_try_echo=$ac_try;;
  6912. esac
  6913. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6914. (eval "$ac_try") 2>&5
  6915. ac_status=$?
  6916. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6917. (exit $ac_status); }; } &&
  6918. { ac_try='test -s conftest.$ac_objext'
  6919. { (case "(($ac_try" in
  6920. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6921. *) ac_try_echo=$ac_try;;
  6922. esac
  6923. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6924. (eval "$ac_try") 2>&5
  6925. ac_status=$?
  6926. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6927. (exit $ac_status); }; }; then
  6928. ac_lo=0 ac_mid=0
  6929. while :; do
  6930. cat >conftest.$ac_ext <<_ACEOF
  6931. /* confdefs.h. */
  6932. _ACEOF
  6933. cat confdefs.h >>conftest.$ac_ext
  6934. cat >>conftest.$ac_ext <<_ACEOF
  6935. /* end confdefs.h. */
  6936. $ac_includes_default
  6937. typedef long long int ac__type_sizeof_;
  6938. int
  6939. main ()
  6940. {
  6941. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  6942. test_array [0] = 0
  6943. ;
  6944. return 0;
  6945. }
  6946. _ACEOF
  6947. rm -f conftest.$ac_objext
  6948. if { (ac_try="$ac_compile"
  6949. case "(($ac_try" in
  6950. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6951. *) ac_try_echo=$ac_try;;
  6952. esac
  6953. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6954. (eval "$ac_compile") 2>conftest.er1
  6955. ac_status=$?
  6956. grep -v '^ *+' conftest.er1 >conftest.err
  6957. rm -f conftest.er1
  6958. cat conftest.err >&5
  6959. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6960. (exit $ac_status); } &&
  6961. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  6962. { (case "(($ac_try" in
  6963. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6964. *) ac_try_echo=$ac_try;;
  6965. esac
  6966. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6967. (eval "$ac_try") 2>&5
  6968. ac_status=$?
  6969. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6970. (exit $ac_status); }; } &&
  6971. { ac_try='test -s conftest.$ac_objext'
  6972. { (case "(($ac_try" in
  6973. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6974. *) ac_try_echo=$ac_try;;
  6975. esac
  6976. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6977. (eval "$ac_try") 2>&5
  6978. ac_status=$?
  6979. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6980. (exit $ac_status); }; }; then
  6981. ac_hi=$ac_mid; break
  6982. else
  6983. echo "$as_me: failed program was:" >&5
  6984. sed 's/^/| /' conftest.$ac_ext >&5
  6985. ac_lo=`expr $ac_mid + 1`
  6986. if test $ac_lo -le $ac_mid; then
  6987. ac_lo= ac_hi=
  6988. break
  6989. fi
  6990. ac_mid=`expr 2 '*' $ac_mid + 1`
  6991. fi
  6992. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6993. done
  6994. else
  6995. echo "$as_me: failed program was:" >&5
  6996. sed 's/^/| /' conftest.$ac_ext >&5
  6997. cat >conftest.$ac_ext <<_ACEOF
  6998. /* confdefs.h. */
  6999. _ACEOF
  7000. cat confdefs.h >>conftest.$ac_ext
  7001. cat >>conftest.$ac_ext <<_ACEOF
  7002. /* end confdefs.h. */
  7003. $ac_includes_default
  7004. typedef long long int ac__type_sizeof_;
  7005. int
  7006. main ()
  7007. {
  7008. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  7009. test_array [0] = 0
  7010. ;
  7011. return 0;
  7012. }
  7013. _ACEOF
  7014. rm -f conftest.$ac_objext
  7015. if { (ac_try="$ac_compile"
  7016. case "(($ac_try" in
  7017. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7018. *) ac_try_echo=$ac_try;;
  7019. esac
  7020. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7021. (eval "$ac_compile") 2>conftest.er1
  7022. ac_status=$?
  7023. grep -v '^ *+' conftest.er1 >conftest.err
  7024. rm -f conftest.er1
  7025. cat conftest.err >&5
  7026. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7027. (exit $ac_status); } &&
  7028. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7029. { (case "(($ac_try" in
  7030. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7031. *) ac_try_echo=$ac_try;;
  7032. esac
  7033. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7034. (eval "$ac_try") 2>&5
  7035. ac_status=$?
  7036. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7037. (exit $ac_status); }; } &&
  7038. { ac_try='test -s conftest.$ac_objext'
  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_try") 2>&5
  7045. ac_status=$?
  7046. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7047. (exit $ac_status); }; }; then
  7048. ac_hi=-1 ac_mid=-1
  7049. while :; do
  7050. cat >conftest.$ac_ext <<_ACEOF
  7051. /* confdefs.h. */
  7052. _ACEOF
  7053. cat confdefs.h >>conftest.$ac_ext
  7054. cat >>conftest.$ac_ext <<_ACEOF
  7055. /* end confdefs.h. */
  7056. $ac_includes_default
  7057. typedef long long int ac__type_sizeof_;
  7058. int
  7059. main ()
  7060. {
  7061. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  7062. test_array [0] = 0
  7063. ;
  7064. return 0;
  7065. }
  7066. _ACEOF
  7067. rm -f conftest.$ac_objext
  7068. if { (ac_try="$ac_compile"
  7069. case "(($ac_try" in
  7070. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7071. *) ac_try_echo=$ac_try;;
  7072. esac
  7073. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7074. (eval "$ac_compile") 2>conftest.er1
  7075. ac_status=$?
  7076. grep -v '^ *+' conftest.er1 >conftest.err
  7077. rm -f conftest.er1
  7078. cat conftest.err >&5
  7079. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7080. (exit $ac_status); } &&
  7081. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7082. { (case "(($ac_try" in
  7083. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7084. *) ac_try_echo=$ac_try;;
  7085. esac
  7086. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7087. (eval "$ac_try") 2>&5
  7088. ac_status=$?
  7089. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7090. (exit $ac_status); }; } &&
  7091. { ac_try='test -s conftest.$ac_objext'
  7092. { (case "(($ac_try" in
  7093. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7094. *) ac_try_echo=$ac_try;;
  7095. esac
  7096. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7097. (eval "$ac_try") 2>&5
  7098. ac_status=$?
  7099. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7100. (exit $ac_status); }; }; then
  7101. ac_lo=$ac_mid; break
  7102. else
  7103. echo "$as_me: failed program was:" >&5
  7104. sed 's/^/| /' conftest.$ac_ext >&5
  7105. ac_hi=`expr '(' $ac_mid ')' - 1`
  7106. if test $ac_mid -le $ac_hi; then
  7107. ac_lo= ac_hi=
  7108. break
  7109. fi
  7110. ac_mid=`expr 2 '*' $ac_mid`
  7111. fi
  7112. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7113. done
  7114. else
  7115. echo "$as_me: failed program was:" >&5
  7116. sed 's/^/| /' conftest.$ac_ext >&5
  7117. ac_lo= ac_hi=
  7118. fi
  7119. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7120. fi
  7121. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7122. # Binary search between lo and hi bounds.
  7123. while test "x$ac_lo" != "x$ac_hi"; do
  7124. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  7125. cat >conftest.$ac_ext <<_ACEOF
  7126. /* confdefs.h. */
  7127. _ACEOF
  7128. cat confdefs.h >>conftest.$ac_ext
  7129. cat >>conftest.$ac_ext <<_ACEOF
  7130. /* end confdefs.h. */
  7131. $ac_includes_default
  7132. typedef long long int ac__type_sizeof_;
  7133. int
  7134. main ()
  7135. {
  7136. static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  7137. test_array [0] = 0
  7138. ;
  7139. return 0;
  7140. }
  7141. _ACEOF
  7142. rm -f conftest.$ac_objext
  7143. if { (ac_try="$ac_compile"
  7144. case "(($ac_try" in
  7145. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7146. *) ac_try_echo=$ac_try;;
  7147. esac
  7148. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7149. (eval "$ac_compile") 2>conftest.er1
  7150. ac_status=$?
  7151. grep -v '^ *+' conftest.er1 >conftest.err
  7152. rm -f conftest.er1
  7153. cat conftest.err >&5
  7154. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7155. (exit $ac_status); } &&
  7156. { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
  7157. { (case "(($ac_try" in
  7158. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7159. *) ac_try_echo=$ac_try;;
  7160. esac
  7161. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7162. (eval "$ac_try") 2>&5
  7163. ac_status=$?
  7164. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7165. (exit $ac_status); }; } &&
  7166. { ac_try='test -s conftest.$ac_objext'
  7167. { (case "(($ac_try" in
  7168. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7169. *) ac_try_echo=$ac_try;;
  7170. esac
  7171. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7172. (eval "$ac_try") 2>&5
  7173. ac_status=$?
  7174. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7175. (exit $ac_status); }; }; then
  7176. ac_hi=$ac_mid
  7177. else
  7178. echo "$as_me: failed program was:" >&5
  7179. sed 's/^/| /' conftest.$ac_ext >&5
  7180. ac_lo=`expr '(' $ac_mid ')' + 1`
  7181. fi
  7182. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7183. done
  7184. case $ac_lo in
  7185. ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
  7186. '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
  7187. See \`config.log' for more details." >&5
  7188. echo "$as_me: error: cannot compute sizeof (long long int)
  7189. See \`config.log' for more details." >&2;}
  7190. { (exit 77); exit 77; }; } ;;
  7191. esac
  7192. else
  7193. cat >conftest.$ac_ext <<_ACEOF
  7194. /* confdefs.h. */
  7195. _ACEOF
  7196. cat confdefs.h >>conftest.$ac_ext
  7197. cat >>conftest.$ac_ext <<_ACEOF
  7198. /* end confdefs.h. */
  7199. $ac_includes_default
  7200. typedef long long int ac__type_sizeof_;
  7201. static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7202. static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  7203. #include <stdio.h>
  7204. #include <stdlib.h>
  7205. int
  7206. main ()
  7207. {
  7208. FILE *f = fopen ("conftest.val", "w");
  7209. if (! f)
  7210. return 1;
  7211. if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  7212. {
  7213. long int i = longval ();
  7214. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7215. return 1;
  7216. fprintf (f, "%ld\n", i);
  7217. }
  7218. else
  7219. {
  7220. unsigned long int i = ulongval ();
  7221. if (i != ((long int) (sizeof (ac__type_sizeof_))))
  7222. return 1;
  7223. fprintf (f, "%lu\n", i);
  7224. }
  7225. return ferror (f) || fclose (f) != 0;
  7226. ;
  7227. return 0;
  7228. }
  7229. _ACEOF
  7230. rm -f conftest$ac_exeext
  7231. if { (ac_try="$ac_link"
  7232. case "(($ac_try" in
  7233. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7234. *) ac_try_echo=$ac_try;;
  7235. esac
  7236. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7237. (eval "$ac_link") 2>&5
  7238. ac_status=$?
  7239. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7240. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7241. { (case "(($ac_try" in
  7242. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7243. *) ac_try_echo=$ac_try;;
  7244. esac
  7245. eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7246. (eval "$ac_try") 2>&5
  7247. ac_status=$?
  7248. echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7249. (exit $ac_status); }; }; then
  7250. ac_cv_sizeof_long_long_int=`cat conftest.val`
  7251. else
  7252. echo "$as_me: program exited with status $ac_status" >&5
  7253. echo "$as_me: failed program was:" >&5
  7254. sed 's/^/| /' conftest.$ac_ext >&5
  7255. ( exit $ac_status )
  7256. { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
  7257. See \`config.log' for more details." >&5
  7258. echo "$as_me: error: cannot compute sizeof (long long int)
  7259. See \`config.log' for more details." >&2;}
  7260. { (exit 77); exit 77; }; }
  7261. fi
  7262. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7263. fi
  7264. rm -f conftest.val
  7265. else
  7266. ac_cv_sizeof_long_long_int=0
  7267. fi
  7268. fi
  7269. { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
  7270. echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; }
  7271. cat >>confdefs.h <<_ACEOF
  7272. #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
  7273. _ACEOF
  7274. if test "x$ac_cv_type_uint8_t" = "xyes" ; then
  7275. cat >>confdefs.h <<\_ACEOF
  7276. #define OUR_CFG_U_INT8_T uint8_t
  7277. _ACEOF
  7278. elif test "x$ac_cv_sizeof_char" = "x1" ; then
  7279. cat >>confdefs.h <<\_ACEOF
  7280. #define OUR_CFG_U_INT8_T unsigned char
  7281. _ACEOF
  7282. else
  7283. { { echo "$as_me:$LINENO: error: No 8-bit unsigned int type found" >&5
  7284. echo "$as_me: error: No 8-bit unsigned int type found" >&2;}
  7285. { (exit 1); exit 1; }; }
  7286. fi
  7287. if test "x$ac_cv_sizeof_char" = "x1" ; then
  7288. cat >>confdefs.h <<\_ACEOF
  7289. #define OUR_CFG_INT8_T signed char
  7290. _ACEOF
  7291. else
  7292. { { echo "$as_me:$LINENO: error: No 8-bit signed int type found" >&5
  7293. echo "$as_me: error: No 8-bit signed int type found" >&2;}
  7294. { (exit 1); exit 1; }; }
  7295. fi
  7296. if test "x$ac_cv_type_uint16_t" = "xyes" ; then
  7297. cat >>confdefs.h <<\_ACEOF
  7298. #define OUR_CFG_U_INT16_T uint16_t
  7299. _ACEOF
  7300. elif test "x$ac_cv_sizeof_short_int" = "x2" ; then
  7301. cat >>confdefs.h <<\_ACEOF
  7302. #define OUR_CFG_U_INT16_T unsigned short int
  7303. _ACEOF
  7304. else
  7305. { { echo "$as_me:$LINENO: error: No 16-bit unsigned int type found" >&5
  7306. echo "$as_me: error: No 16-bit unsigned int type found" >&2;}
  7307. { (exit 1); exit 1; }; }
  7308. fi
  7309. if test "x$ac_cv_sizeof_short_int" = "x2" ; then
  7310. cat >>confdefs.h <<\_ACEOF
  7311. #define OUR_CFG_INT16_T short int
  7312. _ACEOF
  7313. else
  7314. { { echo "$as_me:$LINENO: error: No 16-bit signed int type found" >&5
  7315. echo "$as_me: error: No 16-bit signed int type found" >&2;}
  7316. { (exit 1); exit 1; }; }
  7317. fi
  7318. if test "x$ac_cv_type_uint32_t" = "xyes" ; then
  7319. cat >>confdefs.h <<\_ACEOF
  7320. #define OUR_CFG_U_INT32_T uint32_t
  7321. _ACEOF
  7322. elif test "x$ac_cv_sizeof_int" = "x4" ; then
  7323. cat >>confdefs.h <<\_ACEOF
  7324. #define OUR_CFG_U_INT32_T unsigned int
  7325. _ACEOF
  7326. else
  7327. { { echo "$as_me:$LINENO: error: No 32-bit unsigned int type found" >&5
  7328. echo "$as_me: error: No 32-bit unsigned int type found" >&2;}
  7329. { (exit 1); exit 1; }; }
  7330. fi
  7331. if test "x$ac_cv_sizeof_int" = "x4" ; then
  7332. cat >>confdefs.h <<\_ACEOF
  7333. #define OUR_CFG_INT32_T int
  7334. _ACEOF
  7335. else
  7336. { { echo "$as_me:$LINENO: error: No 32-bit signed int type found" >&5
  7337. echo "$as_me: error: No 32-bit signed int type found" >&2;}
  7338. { (exit 1); exit 1; }; }
  7339. fi
  7340. if test "x$ac_cv_type_uint64_t" = "xyes" ; then
  7341. cat >>confdefs.h <<\_ACEOF
  7342. #define OUR_CFG_U_INT64_T uint64_t
  7343. _ACEOF
  7344. elif test "x$ac_cv_sizeof_long_int" = "x8" ; then
  7345. cat >>confdefs.h <<\_ACEOF
  7346. #define OUR_CFG_U_INT64_T unsigned long int
  7347. _ACEOF
  7348. elif test "x$ac_cv_sizeof_long_long_int" = "x8" ; then
  7349. cat >>confdefs.h <<\_ACEOF
  7350. #define OUR_CFG_U_INT64_T unsigned long long int
  7351. _ACEOF
  7352. else
  7353. { { echo "$as_me:$LINENO: error: No 64-bit unsigned int type found" >&5
  7354. echo "$as_me: error: No 64-bit unsigned int type found" >&2;}
  7355. { (exit 1); exit 1; }; }
  7356. fi
  7357. if test "x$ac_cv_sizeof_long_int" = "x8" ; then
  7358. cat >>confdefs.h <<\_ACEOF
  7359. #define OUR_CFG_INT64_T long int
  7360. _ACEOF
  7361. elif test "x$ac_cv_sizeof_long_long_int" = "x8" ; then
  7362. cat >>confdefs.h <<\_ACEOF
  7363. #define OUR_CFG_INT64_T long long int
  7364. _ACEOF
  7365. else
  7366. { { echo "$as_me:$LINENO: error: No 64-bit signed int type found" >&5
  7367. echo "$as_me: error: No 64-bit signed int type found" >&2;}
  7368. { (exit 1); exit 1; }; }
  7369. fi
  7370. if test "x$ac_cv_header_pcap_bpf_h" != "xyes" && \
  7371. test "x$ac_cv_header_net_bpf_h" != "xyes" ; then
  7372. { { echo "$as_me:$LINENO: error: No BPF header found" >&5
  7373. echo "$as_me: error: No BPF header found" >&2;}
  7374. { (exit 1); exit 1; }; }
  7375. fi
  7376. if test "x$ac_cv_header_pcap_h" != "xyes" ; then
  7377. { { echo "$as_me:$LINENO: error: No pcap.h header found" >&5
  7378. echo "$as_me: error: No pcap.h header found" >&2;}
  7379. { (exit 1); exit 1; }; }
  7380. fi
  7381. if test "x$ac_cv_lib_pcap_pcap_open_live" != "xyes" ; then
  7382. { { echo "$as_me:$LINENO: error: libpcap not found" >&5
  7383. echo "$as_me: error: libpcap not found" >&2;}
  7384. { (exit 1); exit 1; }; }
  7385. fi
  7386. ac_config_files="$ac_config_files Makefile"
  7387. cat >confcache <<\_ACEOF
  7388. # This file is a shell script that caches the results of configure
  7389. # tests run on this system so they can be shared between configure
  7390. # scripts and configure runs, see configure's option --config-cache.
  7391. # It is not useful on other systems. If it contains results you don't
  7392. # want to keep, you may remove or edit it.
  7393. #
  7394. # config.status only pays attention to the cache file if you give it
  7395. # the --recheck option to rerun configure.
  7396. #
  7397. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  7398. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  7399. # following values.
  7400. _ACEOF
  7401. # The following way of writing the cache mishandles newlines in values,
  7402. # but we know of no workaround that is simple, portable, and efficient.
  7403. # So, we kill variables containing newlines.
  7404. # Ultrix sh set writes to stderr and can't be redirected directly,
  7405. # and sets the high bit in the cache file unless we assign to the vars.
  7406. (
  7407. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  7408. eval ac_val=\$$ac_var
  7409. case $ac_val in #(
  7410. *${as_nl}*)
  7411. case $ac_var in #(
  7412. *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  7413. echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  7414. esac
  7415. case $ac_var in #(
  7416. _ | IFS | as_nl) ;; #(
  7417. *) $as_unset $ac_var ;;
  7418. esac ;;
  7419. esac
  7420. done
  7421. (set) 2>&1 |
  7422. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  7423. *${as_nl}ac_space=\ *)
  7424. # `set' does not quote correctly, so add quotes (double-quote
  7425. # substitution turns \\\\ into \\, and sed turns \\ into \).
  7426. sed -n \
  7427. "s/'/'\\\\''/g;
  7428. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  7429. ;; #(
  7430. *)
  7431. # `set' quotes correctly as required by POSIX, so do not add quotes.
  7432. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  7433. ;;
  7434. esac |
  7435. sort
  7436. ) |
  7437. sed '
  7438. /^ac_cv_env_/b end
  7439. t clear
  7440. :clear
  7441. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  7442. t end
  7443. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  7444. :end' >>confcache
  7445. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  7446. if test -w "$cache_file"; then
  7447. test "x$cache_file" != "x/dev/null" &&
  7448. { echo "$as_me:$LINENO: updating cache $cache_file" >&5
  7449. echo "$as_me: updating cache $cache_file" >&6;}
  7450. cat confcache >$cache_file
  7451. else
  7452. { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  7453. echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  7454. fi
  7455. fi
  7456. rm -f confcache
  7457. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  7458. # Let make expand exec_prefix.
  7459. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  7460. DEFS=-DHAVE_CONFIG_H
  7461. ac_libobjs=
  7462. ac_ltlibobjs=
  7463. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  7464. # 1. Remove the extension, and $U if already installed.
  7465. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  7466. ac_i=`echo "$ac_i" | sed "$ac_script"`
  7467. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  7468. # will be set to the directory where LIBOBJS objects are built.
  7469. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  7470. ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  7471. done
  7472. LIBOBJS=$ac_libobjs
  7473. LTLIBOBJS=$ac_ltlibobjs
  7474. : ${CONFIG_STATUS=./config.status}
  7475. ac_clean_files_save=$ac_clean_files
  7476. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  7477. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  7478. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  7479. cat >$CONFIG_STATUS <<_ACEOF
  7480. #! $SHELL
  7481. # Generated by $as_me.
  7482. # Run this file to recreate the current configuration.
  7483. # Compiler output produced by configure, useful for debugging
  7484. # configure, is in config.log if it exists.
  7485. debug=false
  7486. ac_cs_recheck=false
  7487. ac_cs_silent=false
  7488. SHELL=\${CONFIG_SHELL-$SHELL}
  7489. _ACEOF
  7490. cat >>$CONFIG_STATUS <<\_ACEOF
  7491. ## --------------------- ##
  7492. ## M4sh Initialization. ##
  7493. ## --------------------- ##
  7494. # Be Bourne compatible
  7495. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  7496. emulate sh
  7497. NULLCMD=:
  7498. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  7499. # is contrary to our usage. Disable this feature.
  7500. alias -g '${1+"$@"}'='"$@"'
  7501. setopt NO_GLOB_SUBST
  7502. else
  7503. case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
  7504. fi
  7505. BIN_SH=xpg4; export BIN_SH # for Tru64
  7506. DUALCASE=1; export DUALCASE # for MKS sh
  7507. # PATH needs CR
  7508. # Avoid depending upon Character Ranges.
  7509. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  7510. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  7511. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  7512. as_cr_digits='0123456789'
  7513. as_cr_alnum=$as_cr_Letters$as_cr_digits
  7514. # The user is always right.
  7515. if test "${PATH_SEPARATOR+set}" != set; then
  7516. echo "#! /bin/sh" >conf$$.sh
  7517. echo "exit 0" >>conf$$.sh
  7518. chmod +x conf$$.sh
  7519. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  7520. PATH_SEPARATOR=';'
  7521. else
  7522. PATH_SEPARATOR=:
  7523. fi
  7524. rm -f conf$$.sh
  7525. fi
  7526. # Support unset when possible.
  7527. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7528. as_unset=unset
  7529. else
  7530. as_unset=false
  7531. fi
  7532. # IFS
  7533. # We need space, tab and new line, in precisely that order. Quoting is
  7534. # there to prevent editors from complaining about space-tab.
  7535. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  7536. # splitting by setting IFS to empty value.)
  7537. as_nl='
  7538. '
  7539. IFS=" "" $as_nl"
  7540. # Find who we are. Look in the path if we contain no directory separator.
  7541. case $0 in
  7542. *[\\/]* ) as_myself=$0 ;;
  7543. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7544. for as_dir in $PATH
  7545. do
  7546. IFS=$as_save_IFS
  7547. test -z "$as_dir" && as_dir=.
  7548. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  7549. done
  7550. IFS=$as_save_IFS
  7551. ;;
  7552. esac
  7553. # We did not find ourselves, most probably we were run as `sh COMMAND'
  7554. # in which case we are not to be found in the path.
  7555. if test "x$as_myself" = x; then
  7556. as_myself=$0
  7557. fi
  7558. if test ! -f "$as_myself"; then
  7559. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  7560. { (exit 1); exit 1; }
  7561. fi
  7562. # Work around bugs in pre-3.0 UWIN ksh.
  7563. for as_var in ENV MAIL MAILPATH
  7564. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7565. done
  7566. PS1='$ '
  7567. PS2='> '
  7568. PS4='+ '
  7569. # NLS nuisances.
  7570. for as_var in \
  7571. LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  7572. LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  7573. LC_TELEPHONE LC_TIME
  7574. do
  7575. if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
  7576. eval $as_var=C; export $as_var
  7577. else
  7578. ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  7579. fi
  7580. done
  7581. # Required to use basename.
  7582. if expr a : '\(a\)' >/dev/null 2>&1 &&
  7583. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7584. as_expr=expr
  7585. else
  7586. as_expr=false
  7587. fi
  7588. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  7589. as_basename=basename
  7590. else
  7591. as_basename=false
  7592. fi
  7593. # Name of the executable.
  7594. as_me=`$as_basename -- "$0" ||
  7595. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  7596. X"$0" : 'X\(//\)$' \| \
  7597. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  7598. echo X/"$0" |
  7599. sed '/^.*\/\([^/][^/]*\)\/*$/{
  7600. s//\1/
  7601. q
  7602. }
  7603. /^X\/\(\/\/\)$/{
  7604. s//\1/
  7605. q
  7606. }
  7607. /^X\/\(\/\).*/{
  7608. s//\1/
  7609. q
  7610. }
  7611. s/.*/./; q'`
  7612. # CDPATH.
  7613. $as_unset CDPATH
  7614. as_lineno_1=$LINENO
  7615. as_lineno_2=$LINENO
  7616. test "x$as_lineno_1" != "x$as_lineno_2" &&
  7617. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  7618. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  7619. # uniformly replaced by the line number. The first 'sed' inserts a
  7620. # line-number line after each line using $LINENO; the second 'sed'
  7621. # does the real work. The second script uses 'N' to pair each
  7622. # line-number line with the line containing $LINENO, and appends
  7623. # trailing '-' during substitution so that $LINENO is not a special
  7624. # case at line end.
  7625. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  7626. # scripts with optimization help from Paolo Bonzini. Blame Lee
  7627. # E. McMahon (1931-1989) for sed's syntax. :-)
  7628. sed -n '
  7629. p
  7630. /[$]LINENO/=
  7631. ' <$as_myself |
  7632. sed '
  7633. s/[$]LINENO.*/&-/
  7634. t lineno
  7635. b
  7636. :lineno
  7637. N
  7638. :loop
  7639. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  7640. t loop
  7641. s/-\n.*//
  7642. ' >$as_me.lineno &&
  7643. chmod +x "$as_me.lineno" ||
  7644. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  7645. { (exit 1); exit 1; }; }
  7646. # Don't try to exec as it changes $[0], causing all sort of problems
  7647. # (the dirname of $[0] is not the place where we might find the
  7648. # original and so on. Autoconf is especially sensitive to this).
  7649. . "./$as_me.lineno"
  7650. # Exit status is that of the last command.
  7651. exit
  7652. }
  7653. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  7654. as_dirname=dirname
  7655. else
  7656. as_dirname=false
  7657. fi
  7658. ECHO_C= ECHO_N= ECHO_T=
  7659. case `echo -n x` in
  7660. -n*)
  7661. case `echo 'x\c'` in
  7662. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  7663. *) ECHO_C='\c';;
  7664. esac;;
  7665. *)
  7666. ECHO_N='-n';;
  7667. esac
  7668. if expr a : '\(a\)' >/dev/null 2>&1 &&
  7669. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  7670. as_expr=expr
  7671. else
  7672. as_expr=false
  7673. fi
  7674. rm -f conf$$ conf$$.exe conf$$.file
  7675. if test -d conf$$.dir; then
  7676. rm -f conf$$.dir/conf$$.file
  7677. else
  7678. rm -f conf$$.dir
  7679. mkdir conf$$.dir
  7680. fi
  7681. echo >conf$$.file
  7682. if ln -s conf$$.file conf$$ 2>/dev/null; then
  7683. as_ln_s='ln -s'
  7684. # ... but there are two gotchas:
  7685. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  7686. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  7687. # In both cases, we have to default to `cp -p'.
  7688. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  7689. as_ln_s='cp -p'
  7690. elif ln conf$$.file conf$$ 2>/dev/null; then
  7691. as_ln_s=ln
  7692. else
  7693. as_ln_s='cp -p'
  7694. fi
  7695. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  7696. rmdir conf$$.dir 2>/dev/null
  7697. if mkdir -p . 2>/dev/null; then
  7698. as_mkdir_p=:
  7699. else
  7700. test -d ./-p && rmdir ./-p
  7701. as_mkdir_p=false
  7702. fi
  7703. # Find out whether ``test -x'' works. Don't use a zero-byte file, as
  7704. # systems may use methods other than mode bits to determine executability.
  7705. cat >conf$$.file <<_ASEOF
  7706. #! /bin/sh
  7707. exit 0
  7708. _ASEOF
  7709. chmod +x conf$$.file
  7710. if test -x conf$$.file >/dev/null 2>&1; then
  7711. as_executable_p="test -x"
  7712. else
  7713. as_executable_p=:
  7714. fi
  7715. rm -f conf$$.file
  7716. # Sed expression to map a string onto a valid CPP name.
  7717. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  7718. # Sed expression to map a string onto a valid variable name.
  7719. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  7720. exec 6>&1
  7721. # Save the log message, to keep $[0] and so on meaningful, and to
  7722. # report actual input values of CONFIG_FILES etc. instead of their
  7723. # values after options handling.
  7724. ac_log="
  7725. This file was extended by $as_me, which was
  7726. generated by GNU Autoconf 2.60. Invocation command line was
  7727. CONFIG_FILES = $CONFIG_FILES
  7728. CONFIG_HEADERS = $CONFIG_HEADERS
  7729. CONFIG_LINKS = $CONFIG_LINKS
  7730. CONFIG_COMMANDS = $CONFIG_COMMANDS
  7731. $ $0 $@
  7732. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  7733. "
  7734. _ACEOF
  7735. cat >>$CONFIG_STATUS <<_ACEOF
  7736. # Files that config.status was made for.
  7737. config_files="$ac_config_files"
  7738. config_headers="$ac_config_headers"
  7739. _ACEOF
  7740. cat >>$CONFIG_STATUS <<\_ACEOF
  7741. ac_cs_usage="\
  7742. \`$as_me' instantiates files from templates according to the
  7743. current configuration.
  7744. Usage: $0 [OPTIONS] [FILE]...
  7745. -h, --help print this help, then exit
  7746. -V, --version print version number, then exit
  7747. -q, --quiet do not print progress messages
  7748. -d, --debug don't remove temporary files
  7749. --recheck update $as_me by reconfiguring in the same conditions
  7750. --file=FILE[:TEMPLATE]
  7751. instantiate the configuration file FILE
  7752. --header=FILE[:TEMPLATE]
  7753. instantiate the configuration header FILE
  7754. Configuration files:
  7755. $config_files
  7756. Configuration headers:
  7757. $config_headers
  7758. Report bugs to <bug-autoconf@gnu.org>."
  7759. _ACEOF
  7760. cat >>$CONFIG_STATUS <<_ACEOF
  7761. ac_cs_version="\\
  7762. config.status
  7763. configured by $0, generated by GNU Autoconf 2.60,
  7764. with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  7765. Copyright (C) 2006 Free Software Foundation, Inc.
  7766. This config.status script is free software; the Free Software Foundation
  7767. gives unlimited permission to copy, distribute and modify it."
  7768. ac_pwd='$ac_pwd'
  7769. srcdir='$srcdir'
  7770. INSTALL='$INSTALL'
  7771. _ACEOF
  7772. cat >>$CONFIG_STATUS <<\_ACEOF
  7773. # If no file are specified by the user, then we need to provide default
  7774. # value. By we need to know if files were specified by the user.
  7775. ac_need_defaults=:
  7776. while test $# != 0
  7777. do
  7778. case $1 in
  7779. --*=*)
  7780. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  7781. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  7782. ac_shift=:
  7783. ;;
  7784. *)
  7785. ac_option=$1
  7786. ac_optarg=$2
  7787. ac_shift=shift
  7788. ;;
  7789. esac
  7790. case $ac_option in
  7791. # Handling of the options.
  7792. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  7793. ac_cs_recheck=: ;;
  7794. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  7795. echo "$ac_cs_version"; exit ;;
  7796. --debug | --debu | --deb | --de | --d | -d )
  7797. debug=: ;;
  7798. --file | --fil | --fi | --f )
  7799. $ac_shift
  7800. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  7801. ac_need_defaults=false;;
  7802. --header | --heade | --head | --hea )
  7803. $ac_shift
  7804. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  7805. ac_need_defaults=false;;
  7806. --he | --h)
  7807. # Conflict between --help and --header
  7808. { echo "$as_me: error: ambiguous option: $1
  7809. Try \`$0 --help' for more information." >&2
  7810. { (exit 1); exit 1; }; };;
  7811. --help | --hel | -h )
  7812. echo "$ac_cs_usage"; exit ;;
  7813. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  7814. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  7815. ac_cs_silent=: ;;
  7816. # This is an error.
  7817. -*) { echo "$as_me: error: unrecognized option: $1
  7818. Try \`$0 --help' for more information." >&2
  7819. { (exit 1); exit 1; }; } ;;
  7820. *) ac_config_targets="$ac_config_targets $1"
  7821. ac_need_defaults=false ;;
  7822. esac
  7823. shift
  7824. done
  7825. ac_configure_extra_args=
  7826. if $ac_cs_silent; then
  7827. exec 6>/dev/null
  7828. ac_configure_extra_args="$ac_configure_extra_args --silent"
  7829. fi
  7830. _ACEOF
  7831. cat >>$CONFIG_STATUS <<_ACEOF
  7832. if \$ac_cs_recheck; then
  7833. echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  7834. CONFIG_SHELL=$SHELL
  7835. export CONFIG_SHELL
  7836. exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  7837. fi
  7838. _ACEOF
  7839. cat >>$CONFIG_STATUS <<\_ACEOF
  7840. exec 5>>config.log
  7841. {
  7842. echo
  7843. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  7844. ## Running $as_me. ##
  7845. _ASBOX
  7846. echo "$ac_log"
  7847. } >&5
  7848. _ACEOF
  7849. cat >>$CONFIG_STATUS <<_ACEOF
  7850. _ACEOF
  7851. cat >>$CONFIG_STATUS <<\_ACEOF
  7852. # Handling of arguments.
  7853. for ac_config_target in $ac_config_targets
  7854. do
  7855. case $ac_config_target in
  7856. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  7857. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  7858. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  7859. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  7860. { (exit 1); exit 1; }; };;
  7861. esac
  7862. done
  7863. # If the user did not use the arguments to specify the items to instantiate,
  7864. # then the envvar interface is used. Set only those that are not.
  7865. # We use the long form for the default assignment because of an extremely
  7866. # bizarre bug on SunOS 4.1.3.
  7867. if $ac_need_defaults; then
  7868. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  7869. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  7870. fi
  7871. # Have a temporary directory for convenience. Make it in the build tree
  7872. # simply because there is no reason against having it here, and in addition,
  7873. # creating and moving files from /tmp can sometimes cause problems.
  7874. # Hook for its removal unless debugging.
  7875. # Note that there is a small window in which the directory will not be cleaned:
  7876. # after its creation but before its name has been assigned to `$tmp'.
  7877. $debug ||
  7878. {
  7879. tmp=
  7880. trap 'exit_status=$?
  7881. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  7882. ' 0
  7883. trap '{ (exit 1); exit 1; }' 1 2 13 15
  7884. }
  7885. # Create a (secure) tmp directory for tmp files.
  7886. {
  7887. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  7888. test -n "$tmp" && test -d "$tmp"
  7889. } ||
  7890. {
  7891. tmp=./conf$$-$RANDOM
  7892. (umask 077 && mkdir "$tmp")
  7893. } ||
  7894. {
  7895. echo "$me: cannot create a temporary directory in ." >&2
  7896. { (exit 1); exit 1; }
  7897. }
  7898. #
  7899. # Set up the sed scripts for CONFIG_FILES section.
  7900. #
  7901. # No need to generate the scripts if there are no CONFIG_FILES.
  7902. # This happens for instance when ./config.status config.h
  7903. if test -n "$CONFIG_FILES"; then
  7904. _ACEOF
  7905. ac_delim='%!_!# '
  7906. for ac_last_try in false false false false false :; do
  7907. cat >conf$$subs.sed <<_ACEOF
  7908. SHELL!$SHELL$ac_delim
  7909. PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
  7910. PACKAGE_NAME!$PACKAGE_NAME$ac_delim
  7911. PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
  7912. PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
  7913. PACKAGE_STRING!$PACKAGE_STRING$ac_delim
  7914. PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
  7915. exec_prefix!$exec_prefix$ac_delim
  7916. prefix!$prefix$ac_delim
  7917. program_transform_name!$program_transform_name$ac_delim
  7918. bindir!$bindir$ac_delim
  7919. sbindir!$sbindir$ac_delim
  7920. libexecdir!$libexecdir$ac_delim
  7921. datarootdir!$datarootdir$ac_delim
  7922. datadir!$datadir$ac_delim
  7923. sysconfdir!$sysconfdir$ac_delim
  7924. sharedstatedir!$sharedstatedir$ac_delim
  7925. localstatedir!$localstatedir$ac_delim
  7926. includedir!$includedir$ac_delim
  7927. oldincludedir!$oldincludedir$ac_delim
  7928. docdir!$docdir$ac_delim
  7929. infodir!$infodir$ac_delim
  7930. htmldir!$htmldir$ac_delim
  7931. dvidir!$dvidir$ac_delim
  7932. pdfdir!$pdfdir$ac_delim
  7933. psdir!$psdir$ac_delim
  7934. libdir!$libdir$ac_delim
  7935. localedir!$localedir$ac_delim
  7936. mandir!$mandir$ac_delim
  7937. DEFS!$DEFS$ac_delim
  7938. ECHO_C!$ECHO_C$ac_delim
  7939. ECHO_N!$ECHO_N$ac_delim
  7940. ECHO_T!$ECHO_T$ac_delim
  7941. LIBS!$LIBS$ac_delim
  7942. build_alias!$build_alias$ac_delim
  7943. host_alias!$host_alias$ac_delim
  7944. target_alias!$target_alias$ac_delim
  7945. CC!$CC$ac_delim
  7946. CFLAGS!$CFLAGS$ac_delim
  7947. LDFLAGS!$LDFLAGS$ac_delim
  7948. CPPFLAGS!$CPPFLAGS$ac_delim
  7949. ac_ct_CC!$ac_ct_CC$ac_delim
  7950. EXEEXT!$EXEEXT$ac_delim
  7951. OBJEXT!$OBJEXT$ac_delim
  7952. INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
  7953. INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
  7954. INSTALL_DATA!$INSTALL_DATA$ac_delim
  7955. CPP!$CPP$ac_delim
  7956. GREP!$GREP$ac_delim
  7957. EGREP!$EGREP$ac_delim
  7958. LIBOBJS!$LIBOBJS$ac_delim
  7959. LTLIBOBJS!$LTLIBOBJS$ac_delim
  7960. _ACEOF
  7961. if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
  7962. break
  7963. elif $ac_last_try; then
  7964. { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  7965. echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  7966. { (exit 1); exit 1; }; }
  7967. else
  7968. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  7969. fi
  7970. done
  7971. ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
  7972. if test -n "$ac_eof"; then
  7973. ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  7974. ac_eof=`expr $ac_eof + 1`
  7975. fi
  7976. cat >>$CONFIG_STATUS <<_ACEOF
  7977. cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
  7978. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
  7979. _ACEOF
  7980. sed '
  7981. s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
  7982. s/^/s,@/; s/!/@,|#_!!_#|/
  7983. :n
  7984. t n
  7985. s/'"$ac_delim"'$/,g/; t
  7986. s/$/\\/; p
  7987. N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
  7988. ' >>$CONFIG_STATUS <conf$$subs.sed
  7989. rm -f conf$$subs.sed
  7990. cat >>$CONFIG_STATUS <<_ACEOF
  7991. :end
  7992. s/|#_!!_#|//g
  7993. CEOF$ac_eof
  7994. _ACEOF
  7995. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  7996. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  7997. # trailing colons and then remove the whole line if VPATH becomes empty
  7998. # (actually we leave an empty line to preserve line numbers).
  7999. if test "x$srcdir" = x.; then
  8000. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  8001. s/:*\$(srcdir):*/:/
  8002. s/:*\${srcdir}:*/:/
  8003. s/:*@srcdir@:*/:/
  8004. s/^\([^=]*=[ ]*\):*/\1/
  8005. s/:*$//
  8006. s/^[^=]*=[ ]*$//
  8007. }'
  8008. fi
  8009. cat >>$CONFIG_STATUS <<\_ACEOF
  8010. fi # test -n "$CONFIG_FILES"
  8011. for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
  8012. do
  8013. case $ac_tag in
  8014. :[FHLC]) ac_mode=$ac_tag; continue;;
  8015. esac
  8016. case $ac_mode$ac_tag in
  8017. :[FHL]*:*);;
  8018. :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
  8019. echo "$as_me: error: Invalid tag $ac_tag." >&2;}
  8020. { (exit 1); exit 1; }; };;
  8021. :[FH]-) ac_tag=-:-;;
  8022. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  8023. esac
  8024. ac_save_IFS=$IFS
  8025. IFS=:
  8026. set x $ac_tag
  8027. IFS=$ac_save_IFS
  8028. shift
  8029. ac_file=$1
  8030. shift
  8031. case $ac_mode in
  8032. :L) ac_source=$1;;
  8033. :[FH])
  8034. ac_file_inputs=
  8035. for ac_f
  8036. do
  8037. case $ac_f in
  8038. -) ac_f="$tmp/stdin";;
  8039. *) # Look for the file first in the build tree, then in the source tree
  8040. # (if the path is not absolute). The absolute path cannot be DOS-style,
  8041. # because $ac_f cannot contain `:'.
  8042. test -f "$ac_f" ||
  8043. case $ac_f in
  8044. [\\/$]*) false;;
  8045. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  8046. esac ||
  8047. { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  8048. echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  8049. { (exit 1); exit 1; }; };;
  8050. esac
  8051. ac_file_inputs="$ac_file_inputs $ac_f"
  8052. done
  8053. # Let's still pretend it is `configure' which instantiates (i.e., don't
  8054. # use $as_me), people would be surprised to read:
  8055. # /* config.h. Generated by config.status. */
  8056. configure_input="Generated from "`IFS=:
  8057. echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
  8058. if test x"$ac_file" != x-; then
  8059. configure_input="$ac_file. $configure_input"
  8060. { echo "$as_me:$LINENO: creating $ac_file" >&5
  8061. echo "$as_me: creating $ac_file" >&6;}
  8062. fi
  8063. case $ac_tag in
  8064. *:-:* | *:-) cat >"$tmp/stdin";;
  8065. esac
  8066. ;;
  8067. esac
  8068. ac_dir=`$as_dirname -- "$ac_file" ||
  8069. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8070. X"$ac_file" : 'X\(//\)[^/]' \| \
  8071. X"$ac_file" : 'X\(//\)$' \| \
  8072. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  8073. echo X"$ac_file" |
  8074. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8075. s//\1/
  8076. q
  8077. }
  8078. /^X\(\/\/\)[^/].*/{
  8079. s//\1/
  8080. q
  8081. }
  8082. /^X\(\/\/\)$/{
  8083. s//\1/
  8084. q
  8085. }
  8086. /^X\(\/\).*/{
  8087. s//\1/
  8088. q
  8089. }
  8090. s/.*/./; q'`
  8091. { as_dir="$ac_dir"
  8092. case $as_dir in #(
  8093. -*) as_dir=./$as_dir;;
  8094. esac
  8095. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  8096. as_dirs=
  8097. while :; do
  8098. case $as_dir in #(
  8099. *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
  8100. *) as_qdir=$as_dir;;
  8101. esac
  8102. as_dirs="'$as_qdir' $as_dirs"
  8103. as_dir=`$as_dirname -- "$as_dir" ||
  8104. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  8105. X"$as_dir" : 'X\(//\)[^/]' \| \
  8106. X"$as_dir" : 'X\(//\)$' \| \
  8107. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  8108. echo X"$as_dir" |
  8109. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  8110. s//\1/
  8111. q
  8112. }
  8113. /^X\(\/\/\)[^/].*/{
  8114. s//\1/
  8115. q
  8116. }
  8117. /^X\(\/\/\)$/{
  8118. s//\1/
  8119. q
  8120. }
  8121. /^X\(\/\).*/{
  8122. s//\1/
  8123. q
  8124. }
  8125. s/.*/./; q'`
  8126. test -d "$as_dir" && break
  8127. done
  8128. test -z "$as_dirs" || eval "mkdir $as_dirs"
  8129. } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  8130. echo "$as_me: error: cannot create directory $as_dir" >&2;}
  8131. { (exit 1); exit 1; }; }; }
  8132. ac_builddir=.
  8133. case "$ac_dir" in
  8134. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8135. *)
  8136. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  8137. # A ".." for each directory in $ac_dir_suffix.
  8138. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  8139. case $ac_top_builddir_sub in
  8140. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  8141. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  8142. esac ;;
  8143. esac
  8144. ac_abs_top_builddir=$ac_pwd
  8145. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  8146. # for backward compatibility:
  8147. ac_top_builddir=$ac_top_build_prefix
  8148. case $srcdir in
  8149. .) # We are building in place.
  8150. ac_srcdir=.
  8151. ac_top_srcdir=$ac_top_builddir_sub
  8152. ac_abs_top_srcdir=$ac_pwd ;;
  8153. [\\/]* | ?:[\\/]* ) # Absolute name.
  8154. ac_srcdir=$srcdir$ac_dir_suffix;
  8155. ac_top_srcdir=$srcdir
  8156. ac_abs_top_srcdir=$srcdir ;;
  8157. *) # Relative name.
  8158. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  8159. ac_top_srcdir=$ac_top_build_prefix$srcdir
  8160. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  8161. esac
  8162. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  8163. case $ac_mode in
  8164. :F)
  8165. #
  8166. # CONFIG_FILE
  8167. #
  8168. case $INSTALL in
  8169. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  8170. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  8171. esac
  8172. _ACEOF
  8173. cat >>$CONFIG_STATUS <<\_ACEOF
  8174. # If the template does not know about datarootdir, expand it.
  8175. # FIXME: This hack should be removed a few years after 2.60.
  8176. ac_datarootdir_hack=; ac_datarootdir_seen=
  8177. case `sed -n '/datarootdir/ {
  8178. p
  8179. q
  8180. }
  8181. /@datadir@/p
  8182. /@docdir@/p
  8183. /@infodir@/p
  8184. /@localedir@/p
  8185. /@mandir@/p
  8186. ' $ac_file_inputs` in
  8187. *datarootdir*) ac_datarootdir_seen=yes;;
  8188. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  8189. { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  8190. echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  8191. _ACEOF
  8192. cat >>$CONFIG_STATUS <<_ACEOF
  8193. ac_datarootdir_hack='
  8194. s&@datadir@&$datadir&g
  8195. s&@docdir@&$docdir&g
  8196. s&@infodir@&$infodir&g
  8197. s&@localedir@&$localedir&g
  8198. s&@mandir@&$mandir&g
  8199. s&\\\${datarootdir}&$datarootdir&g' ;;
  8200. esac
  8201. _ACEOF
  8202. # Neutralize VPATH when `$srcdir' = `.'.
  8203. # Shell code in configure.ac might set extrasub.
  8204. # FIXME: do we really want to maintain this feature?
  8205. cat >>$CONFIG_STATUS <<_ACEOF
  8206. sed "$ac_vpsub
  8207. $extrasub
  8208. _ACEOF
  8209. cat >>$CONFIG_STATUS <<\_ACEOF
  8210. :t
  8211. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  8212. s&@configure_input@&$configure_input&;t t
  8213. s&@top_builddir@&$ac_top_builddir_sub&;t t
  8214. s&@srcdir@&$ac_srcdir&;t t
  8215. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  8216. s&@top_srcdir@&$ac_top_srcdir&;t t
  8217. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  8218. s&@builddir@&$ac_builddir&;t t
  8219. s&@abs_builddir@&$ac_abs_builddir&;t t
  8220. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  8221. s&@INSTALL@&$ac_INSTALL&;t t
  8222. $ac_datarootdir_hack
  8223. " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
  8224. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  8225. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  8226. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  8227. { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8228. which seems to be undefined. Please make sure it is defined." >&5
  8229. echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  8230. which seems to be undefined. Please make sure it is defined." >&2;}
  8231. rm -f "$tmp/stdin"
  8232. case $ac_file in
  8233. -) cat "$tmp/out"; rm -f "$tmp/out";;
  8234. *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  8235. esac
  8236. ;;
  8237. :H)
  8238. #
  8239. # CONFIG_HEADER
  8240. #
  8241. _ACEOF
  8242. # Transform confdefs.h into a sed script `conftest.defines', that
  8243. # substitutes the proper values into config.h.in to produce config.h.
  8244. rm -f conftest.defines conftest.tail
  8245. # First, append a space to every undef/define line, to ease matching.
  8246. echo 's/$/ /' >conftest.defines
  8247. # Then, protect against being on the right side of a sed subst, or in
  8248. # an unquoted here document, in config.status. If some macros were
  8249. # called several times there might be several #defines for the same
  8250. # symbol, which is useless. But do not sort them, since the last
  8251. # AC_DEFINE must be honored.
  8252. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  8253. # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
  8254. # NAME is the cpp macro being defined, VALUE is the value it is being given.
  8255. # PARAMS is the parameter list in the macro definition--in most cases, it's
  8256. # just an empty string.
  8257. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
  8258. ac_dB='\\)[ (].*,\\1define\\2'
  8259. ac_dC=' '
  8260. ac_dD=' ,'
  8261. uniq confdefs.h |
  8262. sed -n '
  8263. t rset
  8264. :rset
  8265. s/^[ ]*#[ ]*define[ ][ ]*//
  8266. t ok
  8267. d
  8268. :ok
  8269. s/[\\&,]/\\&/g
  8270. s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
  8271. s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
  8272. ' >>conftest.defines
  8273. # Remove the space that was appended to ease matching.
  8274. # Then replace #undef with comments. This is necessary, for
  8275. # example, in the case of _POSIX_SOURCE, which is predefined and required
  8276. # on some systems where configure will not decide to define it.
  8277. # (The regexp can be short, since the line contains either #define or #undef.)
  8278. echo 's/ $//
  8279. s,^[ #]*u.*,/* & */,' >>conftest.defines
  8280. # Break up conftest.defines:
  8281. ac_max_sed_lines=50
  8282. # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
  8283. # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
  8284. # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
  8285. # et cetera.
  8286. ac_in='$ac_file_inputs'
  8287. ac_out='"$tmp/out1"'
  8288. ac_nxt='"$tmp/out2"'
  8289. while :
  8290. do
  8291. # Write a here document:
  8292. cat >>$CONFIG_STATUS <<_ACEOF
  8293. # First, check the format of the line:
  8294. cat >"\$tmp/defines.sed" <<\\CEOF
  8295. /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
  8296. /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
  8297. b
  8298. :def
  8299. _ACEOF
  8300. sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
  8301. echo 'CEOF
  8302. sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
  8303. ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
  8304. sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
  8305. grep . conftest.tail >/dev/null || break
  8306. rm -f conftest.defines
  8307. mv conftest.tail conftest.defines
  8308. done
  8309. rm -f conftest.defines conftest.tail
  8310. echo "ac_result=$ac_in" >>$CONFIG_STATUS
  8311. cat >>$CONFIG_STATUS <<\_ACEOF
  8312. if test x"$ac_file" != x-; then
  8313. echo "/* $configure_input */" >"$tmp/config.h"
  8314. cat "$ac_result" >>"$tmp/config.h"
  8315. if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
  8316. { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  8317. echo "$as_me: $ac_file is unchanged" >&6;}
  8318. else
  8319. rm -f $ac_file
  8320. mv "$tmp/config.h" $ac_file
  8321. fi
  8322. else
  8323. echo "/* $configure_input */"
  8324. cat "$ac_result"
  8325. fi
  8326. rm -f "$tmp/out12"
  8327. ;;
  8328. esac
  8329. done # for ac_tag
  8330. { (exit 0); exit 0; }
  8331. _ACEOF
  8332. chmod +x $CONFIG_STATUS
  8333. ac_clean_files=$ac_clean_files_save
  8334. # configure is writing to config.log, and then calls config.status.
  8335. # config.status does its own redirection, appending to config.log.
  8336. # Unfortunately, on DOS this fails, as config.log is still kept open
  8337. # by configure, so config.status won't be able to write to it; its
  8338. # output is simply discarded. So we exec the FD to /dev/null,
  8339. # effectively closing config.log, so it can be properly (re)opened and
  8340. # appended to by config.status. When coming back to configure, we
  8341. # need to make the FD available again.
  8342. if test "$no_create" != yes; then
  8343. ac_cs_success=:
  8344. ac_config_status_args=
  8345. test "$silent" = yes &&
  8346. ac_config_status_args="$ac_config_status_args --quiet"
  8347. exec 5>/dev/null
  8348. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  8349. exec 5>>config.log
  8350. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  8351. # would make configure fail if this is the last instruction.
  8352. $ac_cs_success || { (exit 1); exit 1; }
  8353. fi