configure 203 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69.
  4. #
  5. #
  6. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  7. #
  8. #
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## -------------------- ##
  12. ## M4sh Initialization. ##
  13. ## -------------------- ##
  14. # Be more Bourne compatible
  15. DUALCASE=1; export DUALCASE # for MKS sh
  16. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  17. emulate sh
  18. NULLCMD=:
  19. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20. # is contrary to our usage. Disable this feature.
  21. alias -g '${1+"$@"}'='"$@"'
  22. setopt NO_GLOB_SUBST
  23. else
  24. case `(set -o) 2>/dev/null` in #(
  25. *posix*) :
  26. set -o posix ;; #(
  27. *) :
  28. ;;
  29. esac
  30. fi
  31. as_nl='
  32. '
  33. export as_nl
  34. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  35. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  36. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  37. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  38. # Prefer a ksh shell builtin over an external printf program on Solaris,
  39. # but without wasting forks for bash or zsh.
  40. if test -z "$BASH_VERSION$ZSH_VERSION" \
  41. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  42. as_echo='print -r --'
  43. as_echo_n='print -rn --'
  44. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  45. as_echo='printf %s\n'
  46. as_echo_n='printf %s'
  47. else
  48. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  49. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  50. as_echo_n='/usr/ucb/echo -n'
  51. else
  52. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  53. as_echo_n_body='eval
  54. arg=$1;
  55. case $arg in #(
  56. *"$as_nl"*)
  57. expr "X$arg" : "X\\(.*\\)$as_nl";
  58. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  59. esac;
  60. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  61. '
  62. export as_echo_n_body
  63. as_echo_n='sh -c $as_echo_n_body as_echo'
  64. fi
  65. export as_echo_body
  66. as_echo='sh -c $as_echo_body as_echo'
  67. fi
  68. # The user is always right.
  69. if test "${PATH_SEPARATOR+set}" != set; then
  70. PATH_SEPARATOR=:
  71. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  72. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  73. PATH_SEPARATOR=';'
  74. }
  75. fi
  76. # IFS
  77. # We need space, tab and new line, in precisely that order. Quoting is
  78. # there to prevent editors from complaining about space-tab.
  79. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  80. # splitting by setting IFS to empty value.)
  81. IFS=" "" $as_nl"
  82. # Find who we are. Look in the path if we contain no directory separator.
  83. as_myself=
  84. case $0 in #((
  85. *[\\/]* ) as_myself=$0 ;;
  86. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  87. for as_dir in $PATH
  88. do
  89. IFS=$as_save_IFS
  90. test -z "$as_dir" && as_dir=.
  91. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  92. done
  93. IFS=$as_save_IFS
  94. ;;
  95. esac
  96. # We did not find ourselves, most probably we were run as `sh COMMAND'
  97. # in which case we are not to be found in the path.
  98. if test "x$as_myself" = x; then
  99. as_myself=$0
  100. fi
  101. if test ! -f "$as_myself"; then
  102. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  103. exit 1
  104. fi
  105. # Unset variables that we do not need and which cause bugs (e.g. in
  106. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  107. # suppresses any "Segmentation fault" message there. '((' could
  108. # trigger a bug in pdksh 5.2.14.
  109. for as_var in BASH_ENV ENV MAIL MAILPATH
  110. do eval test x\${$as_var+set} = xset \
  111. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  112. done
  113. PS1='$ '
  114. PS2='> '
  115. PS4='+ '
  116. # NLS nuisances.
  117. LC_ALL=C
  118. export LC_ALL
  119. LANGUAGE=C
  120. export LANGUAGE
  121. # CDPATH.
  122. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  123. # Use a proper internal environment variable to ensure we don't fall
  124. # into an infinite loop, continuously re-executing ourselves.
  125. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  126. _as_can_reexec=no; export _as_can_reexec;
  127. # We cannot yet assume a decent shell, so we have to provide a
  128. # neutralization value for shells without unset; and this also
  129. # works around shells that cannot unset nonexistent variables.
  130. # Preserve -v and -x to the replacement shell.
  131. BASH_ENV=/dev/null
  132. ENV=/dev/null
  133. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  134. case $- in # ((((
  135. *v*x* | *x*v* ) as_opts=-vx ;;
  136. *v* ) as_opts=-v ;;
  137. *x* ) as_opts=-x ;;
  138. * ) as_opts= ;;
  139. esac
  140. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  141. # Admittedly, this is quite paranoid, since all the known shells bail
  142. # out after a failed `exec'.
  143. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  144. as_fn_exit 255
  145. fi
  146. # We don't want this to propagate to other subprocesses.
  147. { _as_can_reexec=; unset _as_can_reexec;}
  148. if test "x$CONFIG_SHELL" = x; then
  149. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  150. emulate sh
  151. NULLCMD=:
  152. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  153. # is contrary to our usage. Disable this feature.
  154. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  155. setopt NO_GLOB_SUBST
  156. else
  157. case \`(set -o) 2>/dev/null\` in #(
  158. *posix*) :
  159. set -o posix ;; #(
  160. *) :
  161. ;;
  162. esac
  163. fi
  164. "
  165. as_required="as_fn_return () { (exit \$1); }
  166. as_fn_success () { as_fn_return 0; }
  167. as_fn_failure () { as_fn_return 1; }
  168. as_fn_ret_success () { return 0; }
  169. as_fn_ret_failure () { return 1; }
  170. exitcode=0
  171. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  172. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  173. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  174. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  175. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  176. else
  177. exitcode=1; echo positional parameters were not saved.
  178. fi
  179. test x\$exitcode = x0 || exit 1
  180. test -x / || exit 1"
  181. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  182. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  183. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  184. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  185. test \$(( 1 + 1 )) = 2 || exit 1"
  186. if (eval "$as_required") 2>/dev/null; then :
  187. as_have_required=yes
  188. else
  189. as_have_required=no
  190. fi
  191. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  192. else
  193. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  194. as_found=false
  195. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  196. do
  197. IFS=$as_save_IFS
  198. test -z "$as_dir" && as_dir=.
  199. as_found=:
  200. case $as_dir in #(
  201. /*)
  202. for as_base in sh bash ksh sh5; do
  203. # Try only shells that exist, to save several forks.
  204. as_shell=$as_dir/$as_base
  205. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  206. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  207. CONFIG_SHELL=$as_shell as_have_required=yes
  208. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  209. break 2
  210. fi
  211. fi
  212. done;;
  213. esac
  214. as_found=false
  215. done
  216. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  217. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  218. CONFIG_SHELL=$SHELL as_have_required=yes
  219. fi; }
  220. IFS=$as_save_IFS
  221. if test "x$CONFIG_SHELL" != x; then :
  222. export CONFIG_SHELL
  223. # We cannot yet assume a decent shell, so we have to provide a
  224. # neutralization value for shells without unset; and this also
  225. # works around shells that cannot unset nonexistent variables.
  226. # Preserve -v and -x to the replacement shell.
  227. BASH_ENV=/dev/null
  228. ENV=/dev/null
  229. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  230. case $- in # ((((
  231. *v*x* | *x*v* ) as_opts=-vx ;;
  232. *v* ) as_opts=-v ;;
  233. *x* ) as_opts=-x ;;
  234. * ) as_opts= ;;
  235. esac
  236. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  237. # Admittedly, this is quite paranoid, since all the known shells bail
  238. # out after a failed `exec'.
  239. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  240. exit 255
  241. fi
  242. if test x$as_have_required = xno; then :
  243. $as_echo "$0: This script requires a shell more modern than all"
  244. $as_echo "$0: the shells that I found on your system."
  245. if test x${ZSH_VERSION+set} = xset ; then
  246. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  247. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  248. else
  249. $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  250. $0: including any error possibly output before this
  251. $0: message. Then install a modern shell, or manually run
  252. $0: the script under such a shell if you do have one."
  253. fi
  254. exit 1
  255. fi
  256. fi
  257. fi
  258. SHELL=${CONFIG_SHELL-/bin/sh}
  259. export SHELL
  260. # Unset more variables known to interfere with behavior of common tools.
  261. CLICOLOR_FORCE= GREP_OPTIONS=
  262. unset CLICOLOR_FORCE GREP_OPTIONS
  263. ## --------------------- ##
  264. ## M4sh Shell Functions. ##
  265. ## --------------------- ##
  266. # as_fn_unset VAR
  267. # ---------------
  268. # Portably unset VAR.
  269. as_fn_unset ()
  270. {
  271. { eval $1=; unset $1;}
  272. }
  273. as_unset=as_fn_unset
  274. # as_fn_set_status STATUS
  275. # -----------------------
  276. # Set $? to STATUS, without forking.
  277. as_fn_set_status ()
  278. {
  279. return $1
  280. } # as_fn_set_status
  281. # as_fn_exit STATUS
  282. # -----------------
  283. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  284. as_fn_exit ()
  285. {
  286. set +e
  287. as_fn_set_status $1
  288. exit $1
  289. } # as_fn_exit
  290. # as_fn_mkdir_p
  291. # -------------
  292. # Create "$as_dir" as a directory, including parents if necessary.
  293. as_fn_mkdir_p ()
  294. {
  295. case $as_dir in #(
  296. -*) as_dir=./$as_dir;;
  297. esac
  298. test -d "$as_dir" || eval $as_mkdir_p || {
  299. as_dirs=
  300. while :; do
  301. case $as_dir in #(
  302. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  303. *) as_qdir=$as_dir;;
  304. esac
  305. as_dirs="'$as_qdir' $as_dirs"
  306. as_dir=`$as_dirname -- "$as_dir" ||
  307. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  308. X"$as_dir" : 'X\(//\)[^/]' \| \
  309. X"$as_dir" : 'X\(//\)$' \| \
  310. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  311. $as_echo X"$as_dir" |
  312. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  313. s//\1/
  314. q
  315. }
  316. /^X\(\/\/\)[^/].*/{
  317. s//\1/
  318. q
  319. }
  320. /^X\(\/\/\)$/{
  321. s//\1/
  322. q
  323. }
  324. /^X\(\/\).*/{
  325. s//\1/
  326. q
  327. }
  328. s/.*/./; q'`
  329. test -d "$as_dir" && break
  330. done
  331. test -z "$as_dirs" || eval "mkdir $as_dirs"
  332. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  333. } # as_fn_mkdir_p
  334. # as_fn_executable_p FILE
  335. # -----------------------
  336. # Test if FILE is an executable regular file.
  337. as_fn_executable_p ()
  338. {
  339. test -f "$1" && test -x "$1"
  340. } # as_fn_executable_p
  341. # as_fn_append VAR VALUE
  342. # ----------------------
  343. # Append the text in VALUE to the end of the definition contained in VAR. Take
  344. # advantage of any shell optimizations that allow amortized linear growth over
  345. # repeated appends, instead of the typical quadratic growth present in naive
  346. # implementations.
  347. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  348. eval 'as_fn_append ()
  349. {
  350. eval $1+=\$2
  351. }'
  352. else
  353. as_fn_append ()
  354. {
  355. eval $1=\$$1\$2
  356. }
  357. fi # as_fn_append
  358. # as_fn_arith ARG...
  359. # ------------------
  360. # Perform arithmetic evaluation on the ARGs, and store the result in the
  361. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  362. # must be portable across $(()) and expr.
  363. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  364. eval 'as_fn_arith ()
  365. {
  366. as_val=$(( $* ))
  367. }'
  368. else
  369. as_fn_arith ()
  370. {
  371. as_val=`expr "$@" || test $? -eq 1`
  372. }
  373. fi # as_fn_arith
  374. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  375. # ----------------------------------------
  376. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  377. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  378. # script with STATUS, using 1 if that was 0.
  379. as_fn_error ()
  380. {
  381. as_status=$1; test $as_status -eq 0 && as_status=1
  382. if test "$4"; then
  383. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  384. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  385. fi
  386. $as_echo "$as_me: error: $2" >&2
  387. as_fn_exit $as_status
  388. } # as_fn_error
  389. if expr a : '\(a\)' >/dev/null 2>&1 &&
  390. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  391. as_expr=expr
  392. else
  393. as_expr=false
  394. fi
  395. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  396. as_basename=basename
  397. else
  398. as_basename=false
  399. fi
  400. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  401. as_dirname=dirname
  402. else
  403. as_dirname=false
  404. fi
  405. as_me=`$as_basename -- "$0" ||
  406. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  407. X"$0" : 'X\(//\)$' \| \
  408. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  409. $as_echo X/"$0" |
  410. sed '/^.*\/\([^/][^/]*\)\/*$/{
  411. s//\1/
  412. q
  413. }
  414. /^X\/\(\/\/\)$/{
  415. s//\1/
  416. q
  417. }
  418. /^X\/\(\/\).*/{
  419. s//\1/
  420. q
  421. }
  422. s/.*/./; q'`
  423. # Avoid depending upon Character Ranges.
  424. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  425. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  426. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  427. as_cr_digits='0123456789'
  428. as_cr_alnum=$as_cr_Letters$as_cr_digits
  429. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  430. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  431. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  432. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  433. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  434. sed -n '
  435. p
  436. /[$]LINENO/=
  437. ' <$as_myself |
  438. sed '
  439. s/[$]LINENO.*/&-/
  440. t lineno
  441. b
  442. :lineno
  443. N
  444. :loop
  445. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  446. t loop
  447. s/-\n.*//
  448. ' >$as_me.lineno &&
  449. chmod +x "$as_me.lineno" ||
  450. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  451. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  452. # already done that, so ensure we don't try to do so again and fall
  453. # in an infinite loop. This has already happened in practice.
  454. _as_can_reexec=no; export _as_can_reexec
  455. # Don't try to exec as it changes $[0], causing all sort of problems
  456. # (the dirname of $[0] is not the place where we might find the
  457. # original and so on. Autoconf is especially sensitive to this).
  458. . "./$as_me.lineno"
  459. # Exit status is that of the last command.
  460. exit
  461. }
  462. ECHO_C= ECHO_N= ECHO_T=
  463. case `echo -n x` in #(((((
  464. -n*)
  465. case `echo 'xy\c'` in
  466. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  467. xy) ECHO_C='\c';;
  468. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  469. ECHO_T=' ';;
  470. esac;;
  471. *)
  472. ECHO_N='-n';;
  473. esac
  474. rm -f conf$$ conf$$.exe conf$$.file
  475. if test -d conf$$.dir; then
  476. rm -f conf$$.dir/conf$$.file
  477. else
  478. rm -f conf$$.dir
  479. mkdir conf$$.dir 2>/dev/null
  480. fi
  481. if (echo >conf$$.file) 2>/dev/null; then
  482. if ln -s conf$$.file conf$$ 2>/dev/null; then
  483. as_ln_s='ln -s'
  484. # ... but there are two gotchas:
  485. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  486. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  487. # In both cases, we have to default to `cp -pR'.
  488. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  489. as_ln_s='cp -pR'
  490. elif ln conf$$.file conf$$ 2>/dev/null; then
  491. as_ln_s=ln
  492. else
  493. as_ln_s='cp -pR'
  494. fi
  495. else
  496. as_ln_s='cp -pR'
  497. fi
  498. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  499. rmdir conf$$.dir 2>/dev/null
  500. if mkdir -p . 2>/dev/null; then
  501. as_mkdir_p='mkdir -p "$as_dir"'
  502. else
  503. test -d ./-p && rmdir ./-p
  504. as_mkdir_p=false
  505. fi
  506. as_test_x='test -x'
  507. as_executable_p=as_fn_executable_p
  508. # Sed expression to map a string onto a valid CPP name.
  509. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  510. # Sed expression to map a string onto a valid variable name.
  511. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  512. test -n "$DJDIR" || exec 7<&0 </dev/null
  513. exec 6>&1
  514. # Name of the host.
  515. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  516. # so uname gets run too.
  517. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  518. #
  519. # Initializations.
  520. #
  521. ac_default_prefix=/usr/local
  522. ac_clean_files=
  523. ac_config_libobj_dir=.
  524. LIBOBJS=
  525. cross_compiling=no
  526. subdirs=
  527. MFLAGS=
  528. MAKEFLAGS=
  529. # Identity of this package.
  530. PACKAGE_NAME=
  531. PACKAGE_TARNAME=
  532. PACKAGE_VERSION=
  533. PACKAGE_STRING=
  534. PACKAGE_BUGREPORT=
  535. PACKAGE_URL=
  536. ac_unique_file="c/prescheme.h"
  537. # Factoring default headers for most tests.
  538. ac_includes_default="\
  539. #include <stdio.h>
  540. #ifdef HAVE_SYS_TYPES_H
  541. # include <sys/types.h>
  542. #endif
  543. #ifdef HAVE_SYS_STAT_H
  544. # include <sys/stat.h>
  545. #endif
  546. #ifdef STDC_HEADERS
  547. # include <stdlib.h>
  548. # include <stddef.h>
  549. #else
  550. # ifdef HAVE_STDLIB_H
  551. # include <stdlib.h>
  552. # endif
  553. #endif
  554. #ifdef HAVE_STRING_H
  555. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  556. # include <memory.h>
  557. # endif
  558. # include <string.h>
  559. #endif
  560. #ifdef HAVE_STRINGS_H
  561. # include <strings.h>
  562. #endif
  563. #ifdef HAVE_INTTYPES_H
  564. # include <inttypes.h>
  565. #endif
  566. #ifdef HAVE_STDINT_H
  567. # include <stdint.h>
  568. #endif
  569. #ifdef HAVE_UNISTD_H
  570. # include <unistd.h>
  571. #endif"
  572. ac_subst_vars='LTLIBOBJS
  573. BIT_SUFFIX
  574. ADDITIONAL_EXTERNAL_OBJS
  575. ADDITIONAL_EXTERNALS
  576. GC_OBJS
  577. DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE
  578. DYNAMIC_EXTERNALS_LDFLAGS
  579. DYNAMIC_EXTERNALS_CFLAGS
  580. LD
  581. ASM_STYLE
  582. ASM_OBJECTS
  583. GLIB_LIBS
  584. GLIB_CFLAGS
  585. PKG_CONFIG
  586. LIBOBJS
  587. EGREP
  588. GREP
  589. CPP
  590. INSTALL_DATA
  591. INSTALL_SCRIPT
  592. INSTALL_PROGRAM
  593. LDFLAGS_VM
  594. OBJEXT
  595. EXEEXT
  596. ac_ct_CC
  597. CPPFLAGS
  598. LDFLAGS
  599. CFLAGS
  600. CC
  601. host_os
  602. host_vendor
  603. host_cpu
  604. host
  605. build_os
  606. build_vendor
  607. build_cpu
  608. build
  609. target_alias
  610. host_alias
  611. build_alias
  612. LIBS
  613. ECHO_T
  614. ECHO_N
  615. ECHO_C
  616. DEFS
  617. mandir
  618. localedir
  619. libdir
  620. psdir
  621. pdfdir
  622. dvidir
  623. htmldir
  624. infodir
  625. docdir
  626. oldincludedir
  627. includedir
  628. localstatedir
  629. sharedstatedir
  630. sysconfdir
  631. datadir
  632. datarootdir
  633. libexecdir
  634. sbindir
  635. bindir
  636. program_transform_name
  637. prefix
  638. exec_prefix
  639. PACKAGE_URL
  640. PACKAGE_BUGREPORT
  641. PACKAGE_STRING
  642. PACKAGE_VERSION
  643. PACKAGE_TARNAME
  644. PACKAGE_NAME
  645. PATH_SEPARATOR
  646. SHELL
  647. S48_GC_BIBOP
  648. S48_GC_TWOSPACE'
  649. ac_subst_files=''
  650. ac_user_opts='
  651. enable_option_checking
  652. enable_gc
  653. enable_force_32bit
  654. enable_universal_binary
  655. enable_largefile
  656. enable_glib
  657. enable_native_code
  658. '
  659. ac_precious_vars='build_alias
  660. host_alias
  661. target_alias
  662. CC
  663. CFLAGS
  664. LDFLAGS
  665. LIBS
  666. CPPFLAGS
  667. CPP
  668. PKG_CONFIG
  669. GLIB_CFLAGS
  670. GLIB_LIBS'
  671. # Initialize some variables set by options.
  672. ac_init_help=
  673. ac_init_version=false
  674. ac_unrecognized_opts=
  675. ac_unrecognized_sep=
  676. # The variables have the same names as the options, with
  677. # dashes changed to underlines.
  678. cache_file=/dev/null
  679. exec_prefix=NONE
  680. no_create=
  681. no_recursion=
  682. prefix=NONE
  683. program_prefix=NONE
  684. program_suffix=NONE
  685. program_transform_name=s,x,x,
  686. silent=
  687. site=
  688. srcdir=
  689. verbose=
  690. x_includes=NONE
  691. x_libraries=NONE
  692. # Installation directory options.
  693. # These are left unexpanded so users can "make install exec_prefix=/foo"
  694. # and all the variables that are supposed to be based on exec_prefix
  695. # by default will actually change.
  696. # Use braces instead of parens because sh, perl, etc. also accept them.
  697. # (The list follows the same order as the GNU Coding Standards.)
  698. bindir='${exec_prefix}/bin'
  699. sbindir='${exec_prefix}/sbin'
  700. libexecdir='${exec_prefix}/libexec'
  701. datarootdir='${prefix}/share'
  702. datadir='${datarootdir}'
  703. sysconfdir='${prefix}/etc'
  704. sharedstatedir='${prefix}/com'
  705. localstatedir='${prefix}/var'
  706. includedir='${prefix}/include'
  707. oldincludedir='/usr/include'
  708. docdir='${datarootdir}/doc/${PACKAGE}'
  709. infodir='${datarootdir}/info'
  710. htmldir='${docdir}'
  711. dvidir='${docdir}'
  712. pdfdir='${docdir}'
  713. psdir='${docdir}'
  714. libdir='${exec_prefix}/lib'
  715. localedir='${datarootdir}/locale'
  716. mandir='${datarootdir}/man'
  717. ac_prev=
  718. ac_dashdash=
  719. for ac_option
  720. do
  721. # If the previous option needs an argument, assign it.
  722. if test -n "$ac_prev"; then
  723. eval $ac_prev=\$ac_option
  724. ac_prev=
  725. continue
  726. fi
  727. case $ac_option in
  728. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  729. *=) ac_optarg= ;;
  730. *) ac_optarg=yes ;;
  731. esac
  732. # Accept the important Cygnus configure options, so we can diagnose typos.
  733. case $ac_dashdash$ac_option in
  734. --)
  735. ac_dashdash=yes ;;
  736. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  737. ac_prev=bindir ;;
  738. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  739. bindir=$ac_optarg ;;
  740. -build | --build | --buil | --bui | --bu)
  741. ac_prev=build_alias ;;
  742. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  743. build_alias=$ac_optarg ;;
  744. -cache-file | --cache-file | --cache-fil | --cache-fi \
  745. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  746. ac_prev=cache_file ;;
  747. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  748. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  749. cache_file=$ac_optarg ;;
  750. --config-cache | -C)
  751. cache_file=config.cache ;;
  752. -datadir | --datadir | --datadi | --datad)
  753. ac_prev=datadir ;;
  754. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  755. datadir=$ac_optarg ;;
  756. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  757. | --dataroo | --dataro | --datar)
  758. ac_prev=datarootdir ;;
  759. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  760. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  761. datarootdir=$ac_optarg ;;
  762. -disable-* | --disable-*)
  763. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  764. # Reject names that are not valid shell variable names.
  765. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  766. as_fn_error $? "invalid feature name: $ac_useropt"
  767. ac_useropt_orig=$ac_useropt
  768. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  769. case $ac_user_opts in
  770. *"
  771. "enable_$ac_useropt"
  772. "*) ;;
  773. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  774. ac_unrecognized_sep=', ';;
  775. esac
  776. eval enable_$ac_useropt=no ;;
  777. -docdir | --docdir | --docdi | --doc | --do)
  778. ac_prev=docdir ;;
  779. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  780. docdir=$ac_optarg ;;
  781. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  782. ac_prev=dvidir ;;
  783. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  784. dvidir=$ac_optarg ;;
  785. -enable-* | --enable-*)
  786. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  787. # Reject names that are not valid shell variable names.
  788. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  789. as_fn_error $? "invalid feature name: $ac_useropt"
  790. ac_useropt_orig=$ac_useropt
  791. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  792. case $ac_user_opts in
  793. *"
  794. "enable_$ac_useropt"
  795. "*) ;;
  796. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  797. ac_unrecognized_sep=', ';;
  798. esac
  799. eval enable_$ac_useropt=\$ac_optarg ;;
  800. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  801. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  802. | --exec | --exe | --ex)
  803. ac_prev=exec_prefix ;;
  804. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  805. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  806. | --exec=* | --exe=* | --ex=*)
  807. exec_prefix=$ac_optarg ;;
  808. -gas | --gas | --ga | --g)
  809. # Obsolete; use --with-gas.
  810. with_gas=yes ;;
  811. -help | --help | --hel | --he | -h)
  812. ac_init_help=long ;;
  813. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  814. ac_init_help=recursive ;;
  815. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  816. ac_init_help=short ;;
  817. -host | --host | --hos | --ho)
  818. ac_prev=host_alias ;;
  819. -host=* | --host=* | --hos=* | --ho=*)
  820. host_alias=$ac_optarg ;;
  821. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  822. ac_prev=htmldir ;;
  823. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  824. | --ht=*)
  825. htmldir=$ac_optarg ;;
  826. -includedir | --includedir | --includedi | --included | --include \
  827. | --includ | --inclu | --incl | --inc)
  828. ac_prev=includedir ;;
  829. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  830. | --includ=* | --inclu=* | --incl=* | --inc=*)
  831. includedir=$ac_optarg ;;
  832. -infodir | --infodir | --infodi | --infod | --info | --inf)
  833. ac_prev=infodir ;;
  834. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  835. infodir=$ac_optarg ;;
  836. -libdir | --libdir | --libdi | --libd)
  837. ac_prev=libdir ;;
  838. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  839. libdir=$ac_optarg ;;
  840. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  841. | --libexe | --libex | --libe)
  842. ac_prev=libexecdir ;;
  843. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  844. | --libexe=* | --libex=* | --libe=*)
  845. libexecdir=$ac_optarg ;;
  846. -localedir | --localedir | --localedi | --localed | --locale)
  847. ac_prev=localedir ;;
  848. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  849. localedir=$ac_optarg ;;
  850. -localstatedir | --localstatedir | --localstatedi | --localstated \
  851. | --localstate | --localstat | --localsta | --localst | --locals)
  852. ac_prev=localstatedir ;;
  853. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  854. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  855. localstatedir=$ac_optarg ;;
  856. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  857. ac_prev=mandir ;;
  858. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  859. mandir=$ac_optarg ;;
  860. -nfp | --nfp | --nf)
  861. # Obsolete; use --without-fp.
  862. with_fp=no ;;
  863. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  864. | --no-cr | --no-c | -n)
  865. no_create=yes ;;
  866. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  867. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  868. no_recursion=yes ;;
  869. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  870. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  871. | --oldin | --oldi | --old | --ol | --o)
  872. ac_prev=oldincludedir ;;
  873. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  874. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  875. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  876. oldincludedir=$ac_optarg ;;
  877. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  878. ac_prev=prefix ;;
  879. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  880. prefix=$ac_optarg ;;
  881. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  882. | --program-pre | --program-pr | --program-p)
  883. ac_prev=program_prefix ;;
  884. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  885. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  886. program_prefix=$ac_optarg ;;
  887. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  888. | --program-suf | --program-su | --program-s)
  889. ac_prev=program_suffix ;;
  890. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  891. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  892. program_suffix=$ac_optarg ;;
  893. -program-transform-name | --program-transform-name \
  894. | --program-transform-nam | --program-transform-na \
  895. | --program-transform-n | --program-transform- \
  896. | --program-transform | --program-transfor \
  897. | --program-transfo | --program-transf \
  898. | --program-trans | --program-tran \
  899. | --progr-tra | --program-tr | --program-t)
  900. ac_prev=program_transform_name ;;
  901. -program-transform-name=* | --program-transform-name=* \
  902. | --program-transform-nam=* | --program-transform-na=* \
  903. | --program-transform-n=* | --program-transform-=* \
  904. | --program-transform=* | --program-transfor=* \
  905. | --program-transfo=* | --program-transf=* \
  906. | --program-trans=* | --program-tran=* \
  907. | --progr-tra=* | --program-tr=* | --program-t=*)
  908. program_transform_name=$ac_optarg ;;
  909. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  910. ac_prev=pdfdir ;;
  911. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  912. pdfdir=$ac_optarg ;;
  913. -psdir | --psdir | --psdi | --psd | --ps)
  914. ac_prev=psdir ;;
  915. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  916. psdir=$ac_optarg ;;
  917. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  918. | -silent | --silent | --silen | --sile | --sil)
  919. silent=yes ;;
  920. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  921. ac_prev=sbindir ;;
  922. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  923. | --sbi=* | --sb=*)
  924. sbindir=$ac_optarg ;;
  925. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  926. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  927. | --sharedst | --shareds | --shared | --share | --shar \
  928. | --sha | --sh)
  929. ac_prev=sharedstatedir ;;
  930. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  931. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  932. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  933. | --sha=* | --sh=*)
  934. sharedstatedir=$ac_optarg ;;
  935. -site | --site | --sit)
  936. ac_prev=site ;;
  937. -site=* | --site=* | --sit=*)
  938. site=$ac_optarg ;;
  939. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  940. ac_prev=srcdir ;;
  941. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  942. srcdir=$ac_optarg ;;
  943. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  944. | --syscon | --sysco | --sysc | --sys | --sy)
  945. ac_prev=sysconfdir ;;
  946. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  947. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  948. sysconfdir=$ac_optarg ;;
  949. -target | --target | --targe | --targ | --tar | --ta | --t)
  950. ac_prev=target_alias ;;
  951. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  952. target_alias=$ac_optarg ;;
  953. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  954. verbose=yes ;;
  955. -version | --version | --versio | --versi | --vers | -V)
  956. ac_init_version=: ;;
  957. -with-* | --with-*)
  958. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  959. # Reject names that are not valid shell variable names.
  960. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  961. as_fn_error $? "invalid package name: $ac_useropt"
  962. ac_useropt_orig=$ac_useropt
  963. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  964. case $ac_user_opts in
  965. *"
  966. "with_$ac_useropt"
  967. "*) ;;
  968. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  969. ac_unrecognized_sep=', ';;
  970. esac
  971. eval with_$ac_useropt=\$ac_optarg ;;
  972. -without-* | --without-*)
  973. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  974. # Reject names that are not valid shell variable names.
  975. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  976. as_fn_error $? "invalid package name: $ac_useropt"
  977. ac_useropt_orig=$ac_useropt
  978. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  979. case $ac_user_opts in
  980. *"
  981. "with_$ac_useropt"
  982. "*) ;;
  983. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  984. ac_unrecognized_sep=', ';;
  985. esac
  986. eval with_$ac_useropt=no ;;
  987. --x)
  988. # Obsolete; use --with-x.
  989. with_x=yes ;;
  990. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  991. | --x-incl | --x-inc | --x-in | --x-i)
  992. ac_prev=x_includes ;;
  993. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  994. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  995. x_includes=$ac_optarg ;;
  996. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  997. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  998. ac_prev=x_libraries ;;
  999. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1000. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1001. x_libraries=$ac_optarg ;;
  1002. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1003. Try \`$0 --help' for more information"
  1004. ;;
  1005. *=*)
  1006. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1007. # Reject names that are not valid shell variable names.
  1008. case $ac_envvar in #(
  1009. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1010. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1011. esac
  1012. eval $ac_envvar=\$ac_optarg
  1013. export $ac_envvar ;;
  1014. *)
  1015. # FIXME: should be removed in autoconf 3.0.
  1016. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1017. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1018. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1019. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1020. ;;
  1021. esac
  1022. done
  1023. if test -n "$ac_prev"; then
  1024. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1025. as_fn_error $? "missing argument to $ac_option"
  1026. fi
  1027. if test -n "$ac_unrecognized_opts"; then
  1028. case $enable_option_checking in
  1029. no) ;;
  1030. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1031. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1032. esac
  1033. fi
  1034. # Check all directory arguments for consistency.
  1035. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1036. datadir sysconfdir sharedstatedir localstatedir includedir \
  1037. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1038. libdir localedir mandir
  1039. do
  1040. eval ac_val=\$$ac_var
  1041. # Remove trailing slashes.
  1042. case $ac_val in
  1043. */ )
  1044. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1045. eval $ac_var=\$ac_val;;
  1046. esac
  1047. # Be sure to have absolute directory names.
  1048. case $ac_val in
  1049. [\\/$]* | ?:[\\/]* ) continue;;
  1050. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1051. esac
  1052. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1053. done
  1054. # There might be people who depend on the old broken behavior: `$host'
  1055. # used to hold the argument of --host etc.
  1056. # FIXME: To remove some day.
  1057. build=$build_alias
  1058. host=$host_alias
  1059. target=$target_alias
  1060. # FIXME: To remove some day.
  1061. if test "x$host_alias" != x; then
  1062. if test "x$build_alias" = x; then
  1063. cross_compiling=maybe
  1064. elif test "x$build_alias" != "x$host_alias"; then
  1065. cross_compiling=yes
  1066. fi
  1067. fi
  1068. ac_tool_prefix=
  1069. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1070. test "$silent" = yes && exec 6>/dev/null
  1071. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1072. ac_ls_di=`ls -di .` &&
  1073. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1074. as_fn_error $? "working directory cannot be determined"
  1075. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1076. as_fn_error $? "pwd does not report name of working directory"
  1077. # Find the source files, if location was not specified.
  1078. if test -z "$srcdir"; then
  1079. ac_srcdir_defaulted=yes
  1080. # Try the directory containing this script, then the parent directory.
  1081. ac_confdir=`$as_dirname -- "$as_myself" ||
  1082. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1083. X"$as_myself" : 'X\(//\)[^/]' \| \
  1084. X"$as_myself" : 'X\(//\)$' \| \
  1085. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1086. $as_echo X"$as_myself" |
  1087. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1088. s//\1/
  1089. q
  1090. }
  1091. /^X\(\/\/\)[^/].*/{
  1092. s//\1/
  1093. q
  1094. }
  1095. /^X\(\/\/\)$/{
  1096. s//\1/
  1097. q
  1098. }
  1099. /^X\(\/\).*/{
  1100. s//\1/
  1101. q
  1102. }
  1103. s/.*/./; q'`
  1104. srcdir=$ac_confdir
  1105. if test ! -r "$srcdir/$ac_unique_file"; then
  1106. srcdir=..
  1107. fi
  1108. else
  1109. ac_srcdir_defaulted=no
  1110. fi
  1111. if test ! -r "$srcdir/$ac_unique_file"; then
  1112. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1113. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1114. fi
  1115. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1116. ac_abs_confdir=`(
  1117. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1118. pwd)`
  1119. # When building in place, set srcdir=.
  1120. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1121. srcdir=.
  1122. fi
  1123. # Remove unnecessary trailing slashes from srcdir.
  1124. # Double slashes in file names in object file debugging info
  1125. # mess up M-x gdb in Emacs.
  1126. case $srcdir in
  1127. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1128. esac
  1129. for ac_var in $ac_precious_vars; do
  1130. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1131. eval ac_env_${ac_var}_value=\$${ac_var}
  1132. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1133. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1134. done
  1135. #
  1136. # Report the --help message.
  1137. #
  1138. if test "$ac_init_help" = "long"; then
  1139. # Omit some internal or obsolete options to make the list less imposing.
  1140. # This message is too long to be a string in the A/UX 3.1 sh.
  1141. cat <<_ACEOF
  1142. \`configure' configures this package to adapt to many kinds of systems.
  1143. Usage: $0 [OPTION]... [VAR=VALUE]...
  1144. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1145. VAR=VALUE. See below for descriptions of some of the useful variables.
  1146. Defaults for the options are specified in brackets.
  1147. Configuration:
  1148. -h, --help display this help and exit
  1149. --help=short display options specific to this package
  1150. --help=recursive display the short help of all the included packages
  1151. -V, --version display version information and exit
  1152. -q, --quiet, --silent do not print \`checking ...' messages
  1153. --cache-file=FILE cache test results in FILE [disabled]
  1154. -C, --config-cache alias for \`--cache-file=config.cache'
  1155. -n, --no-create do not create output files
  1156. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1157. Installation directories:
  1158. --prefix=PREFIX install architecture-independent files in PREFIX
  1159. [$ac_default_prefix]
  1160. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1161. [PREFIX]
  1162. By default, \`make install' will install all the files in
  1163. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1164. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1165. for instance \`--prefix=\$HOME'.
  1166. For better control, use the options below.
  1167. Fine tuning of the installation directories:
  1168. --bindir=DIR user executables [EPREFIX/bin]
  1169. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1170. --libexecdir=DIR program executables [EPREFIX/libexec]
  1171. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1172. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1173. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1174. --libdir=DIR object code libraries [EPREFIX/lib]
  1175. --includedir=DIR C header files [PREFIX/include]
  1176. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1177. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1178. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1179. --infodir=DIR info documentation [DATAROOTDIR/info]
  1180. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1181. --mandir=DIR man documentation [DATAROOTDIR/man]
  1182. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1183. --htmldir=DIR html documentation [DOCDIR]
  1184. --dvidir=DIR dvi documentation [DOCDIR]
  1185. --pdfdir=DIR pdf documentation [DOCDIR]
  1186. --psdir=DIR ps documentation [DOCDIR]
  1187. _ACEOF
  1188. cat <<\_ACEOF
  1189. System types:
  1190. --build=BUILD configure for building on BUILD [guessed]
  1191. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1192. _ACEOF
  1193. fi
  1194. if test -n "$ac_init_help"; then
  1195. cat <<\_ACEOF
  1196. Optional Features:
  1197. --disable-option-checking ignore unrecognized --enable/--with options
  1198. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1199. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1200. --enable-gc=GC choose garbage collector (twospace, bibop), default
  1201. is bibop
  1202. --enable-force-32bit Build a 32bit binary on architectures where this is
  1203. not the default
  1204. --enable-universal-binary
  1205. Build MacOS X Universal Binary
  1206. --disable-largefile omit support for large files
  1207. --enable-glib Use the glib event loop
  1208. --enable-native code Include support for native-code compiler
  1209. Some influential environment variables:
  1210. CC C compiler command
  1211. CFLAGS C compiler flags
  1212. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1213. nonstandard directory <lib dir>
  1214. LIBS libraries to pass to the linker, e.g. -l<library>
  1215. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1216. you have headers in a nonstandard directory <include dir>
  1217. CPP C preprocessor
  1218. PKG_CONFIG path to pkg-config utility
  1219. GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1220. GLIB_LIBS linker flags for GLIB, overriding pkg-config
  1221. Use these variables to override the choices made by `configure' or to help
  1222. it to find libraries and programs with nonstandard names/locations.
  1223. Report bugs to the package provider.
  1224. _ACEOF
  1225. ac_status=$?
  1226. fi
  1227. if test "$ac_init_help" = "recursive"; then
  1228. # If there are subdirs, report their specific --help.
  1229. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1230. test -d "$ac_dir" ||
  1231. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1232. continue
  1233. ac_builddir=.
  1234. case "$ac_dir" in
  1235. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1236. *)
  1237. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1238. # A ".." for each directory in $ac_dir_suffix.
  1239. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1240. case $ac_top_builddir_sub in
  1241. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1242. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1243. esac ;;
  1244. esac
  1245. ac_abs_top_builddir=$ac_pwd
  1246. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1247. # for backward compatibility:
  1248. ac_top_builddir=$ac_top_build_prefix
  1249. case $srcdir in
  1250. .) # We are building in place.
  1251. ac_srcdir=.
  1252. ac_top_srcdir=$ac_top_builddir_sub
  1253. ac_abs_top_srcdir=$ac_pwd ;;
  1254. [\\/]* | ?:[\\/]* ) # Absolute name.
  1255. ac_srcdir=$srcdir$ac_dir_suffix;
  1256. ac_top_srcdir=$srcdir
  1257. ac_abs_top_srcdir=$srcdir ;;
  1258. *) # Relative name.
  1259. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1260. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1261. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1262. esac
  1263. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1264. cd "$ac_dir" || { ac_status=$?; continue; }
  1265. # Check for guested configure.
  1266. if test -f "$ac_srcdir/configure.gnu"; then
  1267. echo &&
  1268. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1269. elif test -f "$ac_srcdir/configure"; then
  1270. echo &&
  1271. $SHELL "$ac_srcdir/configure" --help=recursive
  1272. else
  1273. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1274. fi || ac_status=$?
  1275. cd "$ac_pwd" || { ac_status=$?; break; }
  1276. done
  1277. fi
  1278. test -n "$ac_init_help" && exit $ac_status
  1279. if $ac_init_version; then
  1280. cat <<\_ACEOF
  1281. configure
  1282. generated by GNU Autoconf 2.69
  1283. Copyright (C) 2012 Free Software Foundation, Inc.
  1284. This configure script is free software; the Free Software Foundation
  1285. gives unlimited permission to copy, distribute and modify it.
  1286. _ACEOF
  1287. exit
  1288. fi
  1289. ## ------------------------ ##
  1290. ## Autoconf initialization. ##
  1291. ## ------------------------ ##
  1292. # ac_fn_c_try_compile LINENO
  1293. # --------------------------
  1294. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1295. ac_fn_c_try_compile ()
  1296. {
  1297. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1298. rm -f conftest.$ac_objext
  1299. if { { ac_try="$ac_compile"
  1300. case "(($ac_try" in
  1301. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1302. *) ac_try_echo=$ac_try;;
  1303. esac
  1304. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1305. $as_echo "$ac_try_echo"; } >&5
  1306. (eval "$ac_compile") 2>conftest.err
  1307. ac_status=$?
  1308. if test -s conftest.err; then
  1309. grep -v '^ *+' conftest.err >conftest.er1
  1310. cat conftest.er1 >&5
  1311. mv -f conftest.er1 conftest.err
  1312. fi
  1313. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1314. test $ac_status = 0; } && {
  1315. test -z "$ac_c_werror_flag" ||
  1316. test ! -s conftest.err
  1317. } && test -s conftest.$ac_objext; then :
  1318. ac_retval=0
  1319. else
  1320. $as_echo "$as_me: failed program was:" >&5
  1321. sed 's/^/| /' conftest.$ac_ext >&5
  1322. ac_retval=1
  1323. fi
  1324. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1325. as_fn_set_status $ac_retval
  1326. } # ac_fn_c_try_compile
  1327. # ac_fn_c_try_run LINENO
  1328. # ----------------------
  1329. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1330. # that executables *can* be run.
  1331. ac_fn_c_try_run ()
  1332. {
  1333. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1334. if { { ac_try="$ac_link"
  1335. case "(($ac_try" in
  1336. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1337. *) ac_try_echo=$ac_try;;
  1338. esac
  1339. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1340. $as_echo "$ac_try_echo"; } >&5
  1341. (eval "$ac_link") 2>&5
  1342. ac_status=$?
  1343. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1344. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1345. { { case "(($ac_try" in
  1346. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1347. *) ac_try_echo=$ac_try;;
  1348. esac
  1349. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1350. $as_echo "$ac_try_echo"; } >&5
  1351. (eval "$ac_try") 2>&5
  1352. ac_status=$?
  1353. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1354. test $ac_status = 0; }; }; then :
  1355. ac_retval=0
  1356. else
  1357. $as_echo "$as_me: program exited with status $ac_status" >&5
  1358. $as_echo "$as_me: failed program was:" >&5
  1359. sed 's/^/| /' conftest.$ac_ext >&5
  1360. ac_retval=$ac_status
  1361. fi
  1362. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1363. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1364. as_fn_set_status $ac_retval
  1365. } # ac_fn_c_try_run
  1366. # ac_fn_c_try_link LINENO
  1367. # -----------------------
  1368. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1369. ac_fn_c_try_link ()
  1370. {
  1371. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1372. rm -f conftest.$ac_objext conftest$ac_exeext
  1373. if { { ac_try="$ac_link"
  1374. case "(($ac_try" in
  1375. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1376. *) ac_try_echo=$ac_try;;
  1377. esac
  1378. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1379. $as_echo "$ac_try_echo"; } >&5
  1380. (eval "$ac_link") 2>conftest.err
  1381. ac_status=$?
  1382. if test -s conftest.err; then
  1383. grep -v '^ *+' conftest.err >conftest.er1
  1384. cat conftest.er1 >&5
  1385. mv -f conftest.er1 conftest.err
  1386. fi
  1387. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1388. test $ac_status = 0; } && {
  1389. test -z "$ac_c_werror_flag" ||
  1390. test ! -s conftest.err
  1391. } && test -s conftest$ac_exeext && {
  1392. test "$cross_compiling" = yes ||
  1393. test -x conftest$ac_exeext
  1394. }; then :
  1395. ac_retval=0
  1396. else
  1397. $as_echo "$as_me: failed program was:" >&5
  1398. sed 's/^/| /' conftest.$ac_ext >&5
  1399. ac_retval=1
  1400. fi
  1401. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1402. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1403. # interfere with the next link command; also delete a directory that is
  1404. # left behind by Apple's compiler. We do this before executing the actions.
  1405. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1406. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1407. as_fn_set_status $ac_retval
  1408. } # ac_fn_c_try_link
  1409. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1410. # ----------------------------------------------------
  1411. # Tries to find if the field MEMBER exists in type AGGR, after including
  1412. # INCLUDES, setting cache variable VAR accordingly.
  1413. ac_fn_c_check_member ()
  1414. {
  1415. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  1417. $as_echo_n "checking for $2.$3... " >&6; }
  1418. if eval \${$4+:} false; then :
  1419. $as_echo_n "(cached) " >&6
  1420. else
  1421. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1422. /* end confdefs.h. */
  1423. $5
  1424. int
  1425. main ()
  1426. {
  1427. static $2 ac_aggr;
  1428. if (ac_aggr.$3)
  1429. return 0;
  1430. ;
  1431. return 0;
  1432. }
  1433. _ACEOF
  1434. if ac_fn_c_try_compile "$LINENO"; then :
  1435. eval "$4=yes"
  1436. else
  1437. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1438. /* end confdefs.h. */
  1439. $5
  1440. int
  1441. main ()
  1442. {
  1443. static $2 ac_aggr;
  1444. if (sizeof ac_aggr.$3)
  1445. return 0;
  1446. ;
  1447. return 0;
  1448. }
  1449. _ACEOF
  1450. if ac_fn_c_try_compile "$LINENO"; then :
  1451. eval "$4=yes"
  1452. else
  1453. eval "$4=no"
  1454. fi
  1455. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1456. fi
  1457. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1458. fi
  1459. eval ac_res=\$$4
  1460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1461. $as_echo "$ac_res" >&6; }
  1462. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1463. } # ac_fn_c_check_member
  1464. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1465. # -------------------------------------------
  1466. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1467. # variable VAR accordingly.
  1468. ac_fn_c_check_type ()
  1469. {
  1470. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1471. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1472. $as_echo_n "checking for $2... " >&6; }
  1473. if eval \${$3+:} false; then :
  1474. $as_echo_n "(cached) " >&6
  1475. else
  1476. eval "$3=no"
  1477. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1478. /* end confdefs.h. */
  1479. $4
  1480. int
  1481. main ()
  1482. {
  1483. if (sizeof ($2))
  1484. return 0;
  1485. ;
  1486. return 0;
  1487. }
  1488. _ACEOF
  1489. if ac_fn_c_try_compile "$LINENO"; then :
  1490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1491. /* end confdefs.h. */
  1492. $4
  1493. int
  1494. main ()
  1495. {
  1496. if (sizeof (($2)))
  1497. return 0;
  1498. ;
  1499. return 0;
  1500. }
  1501. _ACEOF
  1502. if ac_fn_c_try_compile "$LINENO"; then :
  1503. else
  1504. eval "$3=yes"
  1505. fi
  1506. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1507. fi
  1508. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1509. fi
  1510. eval ac_res=\$$3
  1511. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1512. $as_echo "$ac_res" >&6; }
  1513. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1514. } # ac_fn_c_check_type
  1515. # ac_fn_c_try_cpp LINENO
  1516. # ----------------------
  1517. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1518. ac_fn_c_try_cpp ()
  1519. {
  1520. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1521. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1522. case "(($ac_try" in
  1523. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1524. *) ac_try_echo=$ac_try;;
  1525. esac
  1526. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1527. $as_echo "$ac_try_echo"; } >&5
  1528. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1529. ac_status=$?
  1530. if test -s conftest.err; then
  1531. grep -v '^ *+' conftest.err >conftest.er1
  1532. cat conftest.er1 >&5
  1533. mv -f conftest.er1 conftest.err
  1534. fi
  1535. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1536. test $ac_status = 0; } > conftest.i && {
  1537. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1538. test ! -s conftest.err
  1539. }; then :
  1540. ac_retval=0
  1541. else
  1542. $as_echo "$as_me: failed program was:" >&5
  1543. sed 's/^/| /' conftest.$ac_ext >&5
  1544. ac_retval=1
  1545. fi
  1546. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1547. as_fn_set_status $ac_retval
  1548. } # ac_fn_c_try_cpp
  1549. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1550. # -------------------------------------------------------
  1551. # Tests whether HEADER exists and can be compiled using the include files in
  1552. # INCLUDES, setting the cache variable VAR accordingly.
  1553. ac_fn_c_check_header_compile ()
  1554. {
  1555. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1557. $as_echo_n "checking for $2... " >&6; }
  1558. if eval \${$3+:} false; then :
  1559. $as_echo_n "(cached) " >&6
  1560. else
  1561. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1562. /* end confdefs.h. */
  1563. $4
  1564. #include <$2>
  1565. _ACEOF
  1566. if ac_fn_c_try_compile "$LINENO"; then :
  1567. eval "$3=yes"
  1568. else
  1569. eval "$3=no"
  1570. fi
  1571. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1572. fi
  1573. eval ac_res=\$$3
  1574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1575. $as_echo "$ac_res" >&6; }
  1576. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1577. } # ac_fn_c_check_header_compile
  1578. # ac_fn_c_find_uintX_t LINENO BITS VAR
  1579. # ------------------------------------
  1580. # Finds an unsigned integer type with width BITS, setting cache variable VAR
  1581. # accordingly.
  1582. ac_fn_c_find_uintX_t ()
  1583. {
  1584. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1585. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
  1586. $as_echo_n "checking for uint$2_t... " >&6; }
  1587. if eval \${$3+:} false; then :
  1588. $as_echo_n "(cached) " >&6
  1589. else
  1590. eval "$3=no"
  1591. # Order is important - never check a type that is potentially smaller
  1592. # than half of the expected target width.
  1593. for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
  1594. 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
  1595. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1596. /* end confdefs.h. */
  1597. $ac_includes_default
  1598. int
  1599. main ()
  1600. {
  1601. static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
  1602. test_array [0] = 0;
  1603. return test_array [0];
  1604. ;
  1605. return 0;
  1606. }
  1607. _ACEOF
  1608. if ac_fn_c_try_compile "$LINENO"; then :
  1609. case $ac_type in #(
  1610. uint$2_t) :
  1611. eval "$3=yes" ;; #(
  1612. *) :
  1613. eval "$3=\$ac_type" ;;
  1614. esac
  1615. fi
  1616. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1617. if eval test \"x\$"$3"\" = x"no"; then :
  1618. else
  1619. break
  1620. fi
  1621. done
  1622. fi
  1623. eval ac_res=\$$3
  1624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1625. $as_echo "$ac_res" >&6; }
  1626. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1627. } # ac_fn_c_find_uintX_t
  1628. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1629. # -------------------------------------------------------
  1630. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1631. # the include files in INCLUDES and setting the cache variable VAR
  1632. # accordingly.
  1633. ac_fn_c_check_header_mongrel ()
  1634. {
  1635. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1636. if eval \${$3+:} false; then :
  1637. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1638. $as_echo_n "checking for $2... " >&6; }
  1639. if eval \${$3+:} false; then :
  1640. $as_echo_n "(cached) " >&6
  1641. fi
  1642. eval ac_res=\$$3
  1643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1644. $as_echo "$ac_res" >&6; }
  1645. else
  1646. # Is the header compilable?
  1647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1648. $as_echo_n "checking $2 usability... " >&6; }
  1649. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1650. /* end confdefs.h. */
  1651. $4
  1652. #include <$2>
  1653. _ACEOF
  1654. if ac_fn_c_try_compile "$LINENO"; then :
  1655. ac_header_compiler=yes
  1656. else
  1657. ac_header_compiler=no
  1658. fi
  1659. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1661. $as_echo "$ac_header_compiler" >&6; }
  1662. # Is the header present?
  1663. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1664. $as_echo_n "checking $2 presence... " >&6; }
  1665. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1666. /* end confdefs.h. */
  1667. #include <$2>
  1668. _ACEOF
  1669. if ac_fn_c_try_cpp "$LINENO"; then :
  1670. ac_header_preproc=yes
  1671. else
  1672. ac_header_preproc=no
  1673. fi
  1674. rm -f conftest.err conftest.i conftest.$ac_ext
  1675. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1676. $as_echo "$ac_header_preproc" >&6; }
  1677. # So? What about this header?
  1678. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1679. yes:no: )
  1680. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1681. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1682. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1683. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1684. ;;
  1685. no:yes:* )
  1686. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1687. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1688. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1689. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1690. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1691. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1692. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1693. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1694. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1695. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1696. ;;
  1697. esac
  1698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1699. $as_echo_n "checking for $2... " >&6; }
  1700. if eval \${$3+:} false; then :
  1701. $as_echo_n "(cached) " >&6
  1702. else
  1703. eval "$3=\$ac_header_compiler"
  1704. fi
  1705. eval ac_res=\$$3
  1706. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1707. $as_echo "$ac_res" >&6; }
  1708. fi
  1709. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1710. } # ac_fn_c_check_header_mongrel
  1711. # ac_fn_c_check_func LINENO FUNC VAR
  1712. # ----------------------------------
  1713. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1714. ac_fn_c_check_func ()
  1715. {
  1716. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1718. $as_echo_n "checking for $2... " >&6; }
  1719. if eval \${$3+:} false; then :
  1720. $as_echo_n "(cached) " >&6
  1721. else
  1722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1723. /* end confdefs.h. */
  1724. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1725. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1726. #define $2 innocuous_$2
  1727. /* System header to define __stub macros and hopefully few prototypes,
  1728. which can conflict with char $2 (); below.
  1729. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1730. <limits.h> exists even on freestanding compilers. */
  1731. #ifdef __STDC__
  1732. # include <limits.h>
  1733. #else
  1734. # include <assert.h>
  1735. #endif
  1736. #undef $2
  1737. /* Override any GCC internal prototype to avoid an error.
  1738. Use char because int might match the return type of a GCC
  1739. builtin and then its argument prototype would still apply. */
  1740. #ifdef __cplusplus
  1741. extern "C"
  1742. #endif
  1743. char $2 ();
  1744. /* The GNU C library defines this for functions which it implements
  1745. to always fail with ENOSYS. Some functions are actually named
  1746. something starting with __ and the normal name is an alias. */
  1747. #if defined __stub_$2 || defined __stub___$2
  1748. choke me
  1749. #endif
  1750. int
  1751. main ()
  1752. {
  1753. return $2 ();
  1754. ;
  1755. return 0;
  1756. }
  1757. _ACEOF
  1758. if ac_fn_c_try_link "$LINENO"; then :
  1759. eval "$3=yes"
  1760. else
  1761. eval "$3=no"
  1762. fi
  1763. rm -f core conftest.err conftest.$ac_objext \
  1764. conftest$ac_exeext conftest.$ac_ext
  1765. fi
  1766. eval ac_res=\$$3
  1767. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1768. $as_echo "$ac_res" >&6; }
  1769. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1770. } # ac_fn_c_check_func
  1771. cat >config.log <<_ACEOF
  1772. This file contains any messages produced by compilers while
  1773. running configure, to aid debugging if configure makes a mistake.
  1774. It was created by $as_me, which was
  1775. generated by GNU Autoconf 2.69. Invocation command line was
  1776. $ $0 $@
  1777. _ACEOF
  1778. exec 5>>config.log
  1779. {
  1780. cat <<_ASUNAME
  1781. ## --------- ##
  1782. ## Platform. ##
  1783. ## --------- ##
  1784. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1785. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1786. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1787. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1788. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1789. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1790. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1791. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1792. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1793. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1794. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1795. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1796. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1797. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1798. _ASUNAME
  1799. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1800. for as_dir in $PATH
  1801. do
  1802. IFS=$as_save_IFS
  1803. test -z "$as_dir" && as_dir=.
  1804. $as_echo "PATH: $as_dir"
  1805. done
  1806. IFS=$as_save_IFS
  1807. } >&5
  1808. cat >&5 <<_ACEOF
  1809. ## ----------- ##
  1810. ## Core tests. ##
  1811. ## ----------- ##
  1812. _ACEOF
  1813. # Keep a trace of the command line.
  1814. # Strip out --no-create and --no-recursion so they do not pile up.
  1815. # Strip out --silent because we don't want to record it for future runs.
  1816. # Also quote any args containing shell meta-characters.
  1817. # Make two passes to allow for proper duplicate-argument suppression.
  1818. ac_configure_args=
  1819. ac_configure_args0=
  1820. ac_configure_args1=
  1821. ac_must_keep_next=false
  1822. for ac_pass in 1 2
  1823. do
  1824. for ac_arg
  1825. do
  1826. case $ac_arg in
  1827. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1828. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1829. | -silent | --silent | --silen | --sile | --sil)
  1830. continue ;;
  1831. *\'*)
  1832. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1833. esac
  1834. case $ac_pass in
  1835. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1836. 2)
  1837. as_fn_append ac_configure_args1 " '$ac_arg'"
  1838. if test $ac_must_keep_next = true; then
  1839. ac_must_keep_next=false # Got value, back to normal.
  1840. else
  1841. case $ac_arg in
  1842. *=* | --config-cache | -C | -disable-* | --disable-* \
  1843. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1844. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1845. | -with-* | --with-* | -without-* | --without-* | --x)
  1846. case "$ac_configure_args0 " in
  1847. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1848. esac
  1849. ;;
  1850. -* ) ac_must_keep_next=true ;;
  1851. esac
  1852. fi
  1853. as_fn_append ac_configure_args " '$ac_arg'"
  1854. ;;
  1855. esac
  1856. done
  1857. done
  1858. { ac_configure_args0=; unset ac_configure_args0;}
  1859. { ac_configure_args1=; unset ac_configure_args1;}
  1860. # When interrupted or exit'd, cleanup temporary files, and complete
  1861. # config.log. We remove comments because anyway the quotes in there
  1862. # would cause problems or look ugly.
  1863. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1864. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1865. trap 'exit_status=$?
  1866. # Save into config.log some information that might help in debugging.
  1867. {
  1868. echo
  1869. $as_echo "## ---------------- ##
  1870. ## Cache variables. ##
  1871. ## ---------------- ##"
  1872. echo
  1873. # The following way of writing the cache mishandles newlines in values,
  1874. (
  1875. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1876. eval ac_val=\$$ac_var
  1877. case $ac_val in #(
  1878. *${as_nl}*)
  1879. case $ac_var in #(
  1880. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1881. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1882. esac
  1883. case $ac_var in #(
  1884. _ | IFS | as_nl) ;; #(
  1885. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1886. *) { eval $ac_var=; unset $ac_var;} ;;
  1887. esac ;;
  1888. esac
  1889. done
  1890. (set) 2>&1 |
  1891. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1892. *${as_nl}ac_space=\ *)
  1893. sed -n \
  1894. "s/'\''/'\''\\\\'\'''\''/g;
  1895. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1896. ;; #(
  1897. *)
  1898. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1899. ;;
  1900. esac |
  1901. sort
  1902. )
  1903. echo
  1904. $as_echo "## ----------------- ##
  1905. ## Output variables. ##
  1906. ## ----------------- ##"
  1907. echo
  1908. for ac_var in $ac_subst_vars
  1909. do
  1910. eval ac_val=\$$ac_var
  1911. case $ac_val in
  1912. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1913. esac
  1914. $as_echo "$ac_var='\''$ac_val'\''"
  1915. done | sort
  1916. echo
  1917. if test -n "$ac_subst_files"; then
  1918. $as_echo "## ------------------- ##
  1919. ## File substitutions. ##
  1920. ## ------------------- ##"
  1921. echo
  1922. for ac_var in $ac_subst_files
  1923. do
  1924. eval ac_val=\$$ac_var
  1925. case $ac_val in
  1926. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1927. esac
  1928. $as_echo "$ac_var='\''$ac_val'\''"
  1929. done | sort
  1930. echo
  1931. fi
  1932. if test -s confdefs.h; then
  1933. $as_echo "## ----------- ##
  1934. ## confdefs.h. ##
  1935. ## ----------- ##"
  1936. echo
  1937. cat confdefs.h
  1938. echo
  1939. fi
  1940. test "$ac_signal" != 0 &&
  1941. $as_echo "$as_me: caught signal $ac_signal"
  1942. $as_echo "$as_me: exit $exit_status"
  1943. } >&5
  1944. rm -f core *.core core.conftest.* &&
  1945. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1946. exit $exit_status
  1947. ' 0
  1948. for ac_signal in 1 2 13 15; do
  1949. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1950. done
  1951. ac_signal=0
  1952. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1953. rm -f -r conftest* confdefs.h
  1954. $as_echo "/* confdefs.h */" > confdefs.h
  1955. # Predefined preprocessor variables.
  1956. cat >>confdefs.h <<_ACEOF
  1957. #define PACKAGE_NAME "$PACKAGE_NAME"
  1958. _ACEOF
  1959. cat >>confdefs.h <<_ACEOF
  1960. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1961. _ACEOF
  1962. cat >>confdefs.h <<_ACEOF
  1963. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1964. _ACEOF
  1965. cat >>confdefs.h <<_ACEOF
  1966. #define PACKAGE_STRING "$PACKAGE_STRING"
  1967. _ACEOF
  1968. cat >>confdefs.h <<_ACEOF
  1969. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1970. _ACEOF
  1971. cat >>confdefs.h <<_ACEOF
  1972. #define PACKAGE_URL "$PACKAGE_URL"
  1973. _ACEOF
  1974. # Let the site file select an alternate cache file if it wants to.
  1975. # Prefer an explicitly selected file to automatically selected ones.
  1976. ac_site_file1=NONE
  1977. ac_site_file2=NONE
  1978. if test -n "$CONFIG_SITE"; then
  1979. # We do not want a PATH search for config.site.
  1980. case $CONFIG_SITE in #((
  1981. -*) ac_site_file1=./$CONFIG_SITE;;
  1982. */*) ac_site_file1=$CONFIG_SITE;;
  1983. *) ac_site_file1=./$CONFIG_SITE;;
  1984. esac
  1985. elif test "x$prefix" != xNONE; then
  1986. ac_site_file1=$prefix/share/config.site
  1987. ac_site_file2=$prefix/etc/config.site
  1988. else
  1989. ac_site_file1=$ac_default_prefix/share/config.site
  1990. ac_site_file2=$ac_default_prefix/etc/config.site
  1991. fi
  1992. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1993. do
  1994. test "x$ac_site_file" = xNONE && continue
  1995. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1996. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1997. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1998. sed 's/^/| /' "$ac_site_file" >&5
  1999. . "$ac_site_file" \
  2000. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2001. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2002. as_fn_error $? "failed to load site script $ac_site_file
  2003. See \`config.log' for more details" "$LINENO" 5; }
  2004. fi
  2005. done
  2006. if test -r "$cache_file"; then
  2007. # Some versions of bash will fail to source /dev/null (special files
  2008. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2009. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2010. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2011. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2012. case $cache_file in
  2013. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2014. *) . "./$cache_file";;
  2015. esac
  2016. fi
  2017. else
  2018. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2019. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2020. >$cache_file
  2021. fi
  2022. # Check that the precious variables saved in the cache have kept the same
  2023. # value.
  2024. ac_cache_corrupted=false
  2025. for ac_var in $ac_precious_vars; do
  2026. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2027. eval ac_new_set=\$ac_env_${ac_var}_set
  2028. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2029. eval ac_new_val=\$ac_env_${ac_var}_value
  2030. case $ac_old_set,$ac_new_set in
  2031. set,)
  2032. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2033. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2034. ac_cache_corrupted=: ;;
  2035. ,set)
  2036. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2037. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2038. ac_cache_corrupted=: ;;
  2039. ,);;
  2040. *)
  2041. if test "x$ac_old_val" != "x$ac_new_val"; then
  2042. # differences in whitespace do not lead to failure.
  2043. ac_old_val_w=`echo x $ac_old_val`
  2044. ac_new_val_w=`echo x $ac_new_val`
  2045. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2046. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2047. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2048. ac_cache_corrupted=:
  2049. else
  2050. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2051. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2052. eval $ac_var=\$ac_old_val
  2053. fi
  2054. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2055. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2056. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2057. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2058. fi;;
  2059. esac
  2060. # Pass precious variables to config.status.
  2061. if test "$ac_new_set" = set; then
  2062. case $ac_new_val in
  2063. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2064. *) ac_arg=$ac_var=$ac_new_val ;;
  2065. esac
  2066. case " $ac_configure_args " in
  2067. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2068. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2069. esac
  2070. fi
  2071. done
  2072. if $ac_cache_corrupted; then
  2073. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2074. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2075. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2076. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2077. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2078. fi
  2079. ## -------------------- ##
  2080. ## Main body of script. ##
  2081. ## -------------------- ##
  2082. ac_ext=c
  2083. ac_cpp='$CPP $CPPFLAGS'
  2084. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2085. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2086. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2087. ac_config_headers="$ac_config_headers c/sysdep.h"
  2088. ac_config_headers="$ac_config_headers c/scheme48arch.h"
  2089. ac_aux_dir=
  2090. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2091. if test -f "$ac_dir/install-sh"; then
  2092. ac_aux_dir=$ac_dir
  2093. ac_install_sh="$ac_aux_dir/install-sh -c"
  2094. break
  2095. elif test -f "$ac_dir/install.sh"; then
  2096. ac_aux_dir=$ac_dir
  2097. ac_install_sh="$ac_aux_dir/install.sh -c"
  2098. break
  2099. elif test -f "$ac_dir/shtool"; then
  2100. ac_aux_dir=$ac_dir
  2101. ac_install_sh="$ac_aux_dir/shtool install -c"
  2102. break
  2103. fi
  2104. done
  2105. if test -z "$ac_aux_dir"; then
  2106. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2107. fi
  2108. # These three variables are undocumented and unsupported,
  2109. # and are intended to be withdrawn in a future Autoconf release.
  2110. # They can cause serious problems if a builder's source tree is in a directory
  2111. # whose full name contains unusual characters.
  2112. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2113. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2114. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2115. # Make sure we can run config.sub.
  2116. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2117. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2119. $as_echo_n "checking build system type... " >&6; }
  2120. if ${ac_cv_build+:} false; then :
  2121. $as_echo_n "(cached) " >&6
  2122. else
  2123. ac_build_alias=$build_alias
  2124. test "x$ac_build_alias" = x &&
  2125. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2126. test "x$ac_build_alias" = x &&
  2127. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2128. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2129. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2130. fi
  2131. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2132. $as_echo "$ac_cv_build" >&6; }
  2133. case $ac_cv_build in
  2134. *-*-*) ;;
  2135. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2136. esac
  2137. build=$ac_cv_build
  2138. ac_save_IFS=$IFS; IFS='-'
  2139. set x $ac_cv_build
  2140. shift
  2141. build_cpu=$1
  2142. build_vendor=$2
  2143. shift; shift
  2144. # Remember, the first character of IFS is used to create $*,
  2145. # except with old shells:
  2146. build_os=$*
  2147. IFS=$ac_save_IFS
  2148. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2149. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2150. $as_echo_n "checking host system type... " >&6; }
  2151. if ${ac_cv_host+:} false; then :
  2152. $as_echo_n "(cached) " >&6
  2153. else
  2154. if test "x$host_alias" = x; then
  2155. ac_cv_host=$ac_cv_build
  2156. else
  2157. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2158. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2159. fi
  2160. fi
  2161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2162. $as_echo "$ac_cv_host" >&6; }
  2163. case $ac_cv_host in
  2164. *-*-*) ;;
  2165. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2166. esac
  2167. host=$ac_cv_host
  2168. ac_save_IFS=$IFS; IFS='-'
  2169. set x $ac_cv_host
  2170. shift
  2171. host_cpu=$1
  2172. host_vendor=$2
  2173. shift; shift
  2174. # Remember, the first character of IFS is used to create $*,
  2175. # except with old shells:
  2176. host_os=$*
  2177. IFS=$ac_save_IFS
  2178. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2179. ac_ext=c
  2180. ac_cpp='$CPP $CPPFLAGS'
  2181. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2182. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2183. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2184. if test -n "$ac_tool_prefix"; then
  2185. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2186. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2188. $as_echo_n "checking for $ac_word... " >&6; }
  2189. if ${ac_cv_prog_CC+:} false; then :
  2190. $as_echo_n "(cached) " >&6
  2191. else
  2192. if test -n "$CC"; then
  2193. ac_cv_prog_CC="$CC" # Let the user override the test.
  2194. else
  2195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2196. for as_dir in $PATH
  2197. do
  2198. IFS=$as_save_IFS
  2199. test -z "$as_dir" && as_dir=.
  2200. for ac_exec_ext in '' $ac_executable_extensions; do
  2201. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2202. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2203. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2204. break 2
  2205. fi
  2206. done
  2207. done
  2208. IFS=$as_save_IFS
  2209. fi
  2210. fi
  2211. CC=$ac_cv_prog_CC
  2212. if test -n "$CC"; then
  2213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2214. $as_echo "$CC" >&6; }
  2215. else
  2216. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2217. $as_echo "no" >&6; }
  2218. fi
  2219. fi
  2220. if test -z "$ac_cv_prog_CC"; then
  2221. ac_ct_CC=$CC
  2222. # Extract the first word of "gcc", so it can be a program name with args.
  2223. set dummy gcc; ac_word=$2
  2224. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2225. $as_echo_n "checking for $ac_word... " >&6; }
  2226. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2227. $as_echo_n "(cached) " >&6
  2228. else
  2229. if test -n "$ac_ct_CC"; then
  2230. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2231. else
  2232. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2233. for as_dir in $PATH
  2234. do
  2235. IFS=$as_save_IFS
  2236. test -z "$as_dir" && as_dir=.
  2237. for ac_exec_ext in '' $ac_executable_extensions; do
  2238. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2239. ac_cv_prog_ac_ct_CC="gcc"
  2240. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2241. break 2
  2242. fi
  2243. done
  2244. done
  2245. IFS=$as_save_IFS
  2246. fi
  2247. fi
  2248. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2249. if test -n "$ac_ct_CC"; then
  2250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2251. $as_echo "$ac_ct_CC" >&6; }
  2252. else
  2253. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2254. $as_echo "no" >&6; }
  2255. fi
  2256. if test "x$ac_ct_CC" = x; then
  2257. CC=""
  2258. else
  2259. case $cross_compiling:$ac_tool_warned in
  2260. yes:)
  2261. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2262. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2263. ac_tool_warned=yes ;;
  2264. esac
  2265. CC=$ac_ct_CC
  2266. fi
  2267. else
  2268. CC="$ac_cv_prog_CC"
  2269. fi
  2270. if test -z "$CC"; then
  2271. if test -n "$ac_tool_prefix"; then
  2272. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2273. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2275. $as_echo_n "checking for $ac_word... " >&6; }
  2276. if ${ac_cv_prog_CC+:} false; then :
  2277. $as_echo_n "(cached) " >&6
  2278. else
  2279. if test -n "$CC"; then
  2280. ac_cv_prog_CC="$CC" # Let the user override the test.
  2281. else
  2282. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2283. for as_dir in $PATH
  2284. do
  2285. IFS=$as_save_IFS
  2286. test -z "$as_dir" && as_dir=.
  2287. for ac_exec_ext in '' $ac_executable_extensions; do
  2288. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2289. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2290. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2291. break 2
  2292. fi
  2293. done
  2294. done
  2295. IFS=$as_save_IFS
  2296. fi
  2297. fi
  2298. CC=$ac_cv_prog_CC
  2299. if test -n "$CC"; then
  2300. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2301. $as_echo "$CC" >&6; }
  2302. else
  2303. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2304. $as_echo "no" >&6; }
  2305. fi
  2306. fi
  2307. fi
  2308. if test -z "$CC"; then
  2309. # Extract the first word of "cc", so it can be a program name with args.
  2310. set dummy cc; ac_word=$2
  2311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2312. $as_echo_n "checking for $ac_word... " >&6; }
  2313. if ${ac_cv_prog_CC+:} false; then :
  2314. $as_echo_n "(cached) " >&6
  2315. else
  2316. if test -n "$CC"; then
  2317. ac_cv_prog_CC="$CC" # Let the user override the test.
  2318. else
  2319. ac_prog_rejected=no
  2320. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2321. for as_dir in $PATH
  2322. do
  2323. IFS=$as_save_IFS
  2324. test -z "$as_dir" && as_dir=.
  2325. for ac_exec_ext in '' $ac_executable_extensions; do
  2326. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2327. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2328. ac_prog_rejected=yes
  2329. continue
  2330. fi
  2331. ac_cv_prog_CC="cc"
  2332. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2333. break 2
  2334. fi
  2335. done
  2336. done
  2337. IFS=$as_save_IFS
  2338. if test $ac_prog_rejected = yes; then
  2339. # We found a bogon in the path, so make sure we never use it.
  2340. set dummy $ac_cv_prog_CC
  2341. shift
  2342. if test $# != 0; then
  2343. # We chose a different compiler from the bogus one.
  2344. # However, it has the same basename, so the bogon will be chosen
  2345. # first if we set CC to just the basename; use the full file name.
  2346. shift
  2347. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2348. fi
  2349. fi
  2350. fi
  2351. fi
  2352. CC=$ac_cv_prog_CC
  2353. if test -n "$CC"; then
  2354. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2355. $as_echo "$CC" >&6; }
  2356. else
  2357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2358. $as_echo "no" >&6; }
  2359. fi
  2360. fi
  2361. if test -z "$CC"; then
  2362. if test -n "$ac_tool_prefix"; then
  2363. for ac_prog in cl.exe
  2364. do
  2365. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2366. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2368. $as_echo_n "checking for $ac_word... " >&6; }
  2369. if ${ac_cv_prog_CC+:} false; then :
  2370. $as_echo_n "(cached) " >&6
  2371. else
  2372. if test -n "$CC"; then
  2373. ac_cv_prog_CC="$CC" # Let the user override the test.
  2374. else
  2375. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2376. for as_dir in $PATH
  2377. do
  2378. IFS=$as_save_IFS
  2379. test -z "$as_dir" && as_dir=.
  2380. for ac_exec_ext in '' $ac_executable_extensions; do
  2381. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2382. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2383. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2384. break 2
  2385. fi
  2386. done
  2387. done
  2388. IFS=$as_save_IFS
  2389. fi
  2390. fi
  2391. CC=$ac_cv_prog_CC
  2392. if test -n "$CC"; then
  2393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2394. $as_echo "$CC" >&6; }
  2395. else
  2396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2397. $as_echo "no" >&6; }
  2398. fi
  2399. test -n "$CC" && break
  2400. done
  2401. fi
  2402. if test -z "$CC"; then
  2403. ac_ct_CC=$CC
  2404. for ac_prog in cl.exe
  2405. do
  2406. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2407. set dummy $ac_prog; ac_word=$2
  2408. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2409. $as_echo_n "checking for $ac_word... " >&6; }
  2410. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2411. $as_echo_n "(cached) " >&6
  2412. else
  2413. if test -n "$ac_ct_CC"; then
  2414. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2415. else
  2416. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2417. for as_dir in $PATH
  2418. do
  2419. IFS=$as_save_IFS
  2420. test -z "$as_dir" && as_dir=.
  2421. for ac_exec_ext in '' $ac_executable_extensions; do
  2422. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2423. ac_cv_prog_ac_ct_CC="$ac_prog"
  2424. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2425. break 2
  2426. fi
  2427. done
  2428. done
  2429. IFS=$as_save_IFS
  2430. fi
  2431. fi
  2432. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2433. if test -n "$ac_ct_CC"; then
  2434. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2435. $as_echo "$ac_ct_CC" >&6; }
  2436. else
  2437. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2438. $as_echo "no" >&6; }
  2439. fi
  2440. test -n "$ac_ct_CC" && break
  2441. done
  2442. if test "x$ac_ct_CC" = x; then
  2443. CC=""
  2444. else
  2445. case $cross_compiling:$ac_tool_warned in
  2446. yes:)
  2447. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2448. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2449. ac_tool_warned=yes ;;
  2450. esac
  2451. CC=$ac_ct_CC
  2452. fi
  2453. fi
  2454. fi
  2455. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2456. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2457. as_fn_error $? "no acceptable C compiler found in \$PATH
  2458. See \`config.log' for more details" "$LINENO" 5; }
  2459. # Provide some information about the compiler.
  2460. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2461. set X $ac_compile
  2462. ac_compiler=$2
  2463. for ac_option in --version -v -V -qversion; do
  2464. { { ac_try="$ac_compiler $ac_option >&5"
  2465. case "(($ac_try" in
  2466. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2467. *) ac_try_echo=$ac_try;;
  2468. esac
  2469. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2470. $as_echo "$ac_try_echo"; } >&5
  2471. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2472. ac_status=$?
  2473. if test -s conftest.err; then
  2474. sed '10a\
  2475. ... rest of stderr output deleted ...
  2476. 10q' conftest.err >conftest.er1
  2477. cat conftest.er1 >&5
  2478. fi
  2479. rm -f conftest.er1 conftest.err
  2480. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2481. test $ac_status = 0; }
  2482. done
  2483. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2484. /* end confdefs.h. */
  2485. int
  2486. main ()
  2487. {
  2488. ;
  2489. return 0;
  2490. }
  2491. _ACEOF
  2492. ac_clean_files_save=$ac_clean_files
  2493. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2494. # Try to create an executable without -o first, disregard a.out.
  2495. # It will help us diagnose broken compilers, and finding out an intuition
  2496. # of exeext.
  2497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2498. $as_echo_n "checking whether the C compiler works... " >&6; }
  2499. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2500. # The possible output files:
  2501. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2502. ac_rmfiles=
  2503. for ac_file in $ac_files
  2504. do
  2505. case $ac_file in
  2506. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2507. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2508. esac
  2509. done
  2510. rm -f $ac_rmfiles
  2511. if { { ac_try="$ac_link_default"
  2512. case "(($ac_try" in
  2513. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2514. *) ac_try_echo=$ac_try;;
  2515. esac
  2516. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2517. $as_echo "$ac_try_echo"; } >&5
  2518. (eval "$ac_link_default") 2>&5
  2519. ac_status=$?
  2520. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2521. test $ac_status = 0; }; then :
  2522. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2523. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2524. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2525. # so that the user can short-circuit this test for compilers unknown to
  2526. # Autoconf.
  2527. for ac_file in $ac_files ''
  2528. do
  2529. test -f "$ac_file" || continue
  2530. case $ac_file in
  2531. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2532. ;;
  2533. [ab].out )
  2534. # We found the default executable, but exeext='' is most
  2535. # certainly right.
  2536. break;;
  2537. *.* )
  2538. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2539. then :; else
  2540. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2541. fi
  2542. # We set ac_cv_exeext here because the later test for it is not
  2543. # safe: cross compilers may not add the suffix if given an `-o'
  2544. # argument, so we may need to know it at that point already.
  2545. # Even if this section looks crufty: it has the advantage of
  2546. # actually working.
  2547. break;;
  2548. * )
  2549. break;;
  2550. esac
  2551. done
  2552. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2553. else
  2554. ac_file=''
  2555. fi
  2556. if test -z "$ac_file"; then :
  2557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2558. $as_echo "no" >&6; }
  2559. $as_echo "$as_me: failed program was:" >&5
  2560. sed 's/^/| /' conftest.$ac_ext >&5
  2561. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2562. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2563. as_fn_error 77 "C compiler cannot create executables
  2564. See \`config.log' for more details" "$LINENO" 5; }
  2565. else
  2566. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2567. $as_echo "yes" >&6; }
  2568. fi
  2569. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  2570. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2571. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2572. $as_echo "$ac_file" >&6; }
  2573. ac_exeext=$ac_cv_exeext
  2574. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2575. ac_clean_files=$ac_clean_files_save
  2576. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2577. $as_echo_n "checking for suffix of executables... " >&6; }
  2578. if { { ac_try="$ac_link"
  2579. case "(($ac_try" in
  2580. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2581. *) ac_try_echo=$ac_try;;
  2582. esac
  2583. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2584. $as_echo "$ac_try_echo"; } >&5
  2585. (eval "$ac_link") 2>&5
  2586. ac_status=$?
  2587. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2588. test $ac_status = 0; }; then :
  2589. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2590. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2591. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2592. # `rm'.
  2593. for ac_file in conftest.exe conftest conftest.*; do
  2594. test -f "$ac_file" || continue
  2595. case $ac_file in
  2596. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2597. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2598. break;;
  2599. * ) break;;
  2600. esac
  2601. done
  2602. else
  2603. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2604. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2605. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2606. See \`config.log' for more details" "$LINENO" 5; }
  2607. fi
  2608. rm -f conftest conftest$ac_cv_exeext
  2609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2610. $as_echo "$ac_cv_exeext" >&6; }
  2611. rm -f conftest.$ac_ext
  2612. EXEEXT=$ac_cv_exeext
  2613. ac_exeext=$EXEEXT
  2614. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2615. /* end confdefs.h. */
  2616. #include <stdio.h>
  2617. int
  2618. main ()
  2619. {
  2620. FILE *f = fopen ("conftest.out", "w");
  2621. return ferror (f) || fclose (f) != 0;
  2622. ;
  2623. return 0;
  2624. }
  2625. _ACEOF
  2626. ac_clean_files="$ac_clean_files conftest.out"
  2627. # Check that the compiler produces executables we can run. If not, either
  2628. # the compiler is broken, or we cross compile.
  2629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2630. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2631. if test "$cross_compiling" != yes; then
  2632. { { ac_try="$ac_link"
  2633. case "(($ac_try" in
  2634. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2635. *) ac_try_echo=$ac_try;;
  2636. esac
  2637. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2638. $as_echo "$ac_try_echo"; } >&5
  2639. (eval "$ac_link") 2>&5
  2640. ac_status=$?
  2641. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2642. test $ac_status = 0; }
  2643. if { ac_try='./conftest$ac_cv_exeext'
  2644. { { case "(($ac_try" in
  2645. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2646. *) ac_try_echo=$ac_try;;
  2647. esac
  2648. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2649. $as_echo "$ac_try_echo"; } >&5
  2650. (eval "$ac_try") 2>&5
  2651. ac_status=$?
  2652. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2653. test $ac_status = 0; }; }; then
  2654. cross_compiling=no
  2655. else
  2656. if test "$cross_compiling" = maybe; then
  2657. cross_compiling=yes
  2658. else
  2659. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2660. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2661. as_fn_error $? "cannot run C compiled programs.
  2662. If you meant to cross compile, use \`--host'.
  2663. See \`config.log' for more details" "$LINENO" 5; }
  2664. fi
  2665. fi
  2666. fi
  2667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2668. $as_echo "$cross_compiling" >&6; }
  2669. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2670. ac_clean_files=$ac_clean_files_save
  2671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2672. $as_echo_n "checking for suffix of object files... " >&6; }
  2673. if ${ac_cv_objext+:} false; then :
  2674. $as_echo_n "(cached) " >&6
  2675. else
  2676. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2677. /* end confdefs.h. */
  2678. int
  2679. main ()
  2680. {
  2681. ;
  2682. return 0;
  2683. }
  2684. _ACEOF
  2685. rm -f conftest.o conftest.obj
  2686. if { { ac_try="$ac_compile"
  2687. case "(($ac_try" in
  2688. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2689. *) ac_try_echo=$ac_try;;
  2690. esac
  2691. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2692. $as_echo "$ac_try_echo"; } >&5
  2693. (eval "$ac_compile") 2>&5
  2694. ac_status=$?
  2695. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2696. test $ac_status = 0; }; then :
  2697. for ac_file in conftest.o conftest.obj conftest.*; do
  2698. test -f "$ac_file" || continue;
  2699. case $ac_file in
  2700. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2701. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2702. break;;
  2703. esac
  2704. done
  2705. else
  2706. $as_echo "$as_me: failed program was:" >&5
  2707. sed 's/^/| /' conftest.$ac_ext >&5
  2708. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2709. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2710. as_fn_error $? "cannot compute suffix of object files: cannot compile
  2711. See \`config.log' for more details" "$LINENO" 5; }
  2712. fi
  2713. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2714. fi
  2715. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2716. $as_echo "$ac_cv_objext" >&6; }
  2717. OBJEXT=$ac_cv_objext
  2718. ac_objext=$OBJEXT
  2719. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  2720. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  2721. if ${ac_cv_c_compiler_gnu+:} false; then :
  2722. $as_echo_n "(cached) " >&6
  2723. else
  2724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2725. /* end confdefs.h. */
  2726. int
  2727. main ()
  2728. {
  2729. #ifndef __GNUC__
  2730. choke me
  2731. #endif
  2732. ;
  2733. return 0;
  2734. }
  2735. _ACEOF
  2736. if ac_fn_c_try_compile "$LINENO"; then :
  2737. ac_compiler_gnu=yes
  2738. else
  2739. ac_compiler_gnu=no
  2740. fi
  2741. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2742. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  2743. fi
  2744. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  2745. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  2746. if test $ac_compiler_gnu = yes; then
  2747. GCC=yes
  2748. else
  2749. GCC=
  2750. fi
  2751. ac_test_CFLAGS=${CFLAGS+set}
  2752. ac_save_CFLAGS=$CFLAGS
  2753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  2754. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  2755. if ${ac_cv_prog_cc_g+:} false; then :
  2756. $as_echo_n "(cached) " >&6
  2757. else
  2758. ac_save_c_werror_flag=$ac_c_werror_flag
  2759. ac_c_werror_flag=yes
  2760. ac_cv_prog_cc_g=no
  2761. CFLAGS="-g"
  2762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2763. /* end confdefs.h. */
  2764. int
  2765. main ()
  2766. {
  2767. ;
  2768. return 0;
  2769. }
  2770. _ACEOF
  2771. if ac_fn_c_try_compile "$LINENO"; then :
  2772. ac_cv_prog_cc_g=yes
  2773. else
  2774. CFLAGS=""
  2775. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2776. /* end confdefs.h. */
  2777. int
  2778. main ()
  2779. {
  2780. ;
  2781. return 0;
  2782. }
  2783. _ACEOF
  2784. if ac_fn_c_try_compile "$LINENO"; then :
  2785. else
  2786. ac_c_werror_flag=$ac_save_c_werror_flag
  2787. CFLAGS="-g"
  2788. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2789. /* end confdefs.h. */
  2790. int
  2791. main ()
  2792. {
  2793. ;
  2794. return 0;
  2795. }
  2796. _ACEOF
  2797. if ac_fn_c_try_compile "$LINENO"; then :
  2798. ac_cv_prog_cc_g=yes
  2799. fi
  2800. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2801. fi
  2802. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2803. fi
  2804. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2805. ac_c_werror_flag=$ac_save_c_werror_flag
  2806. fi
  2807. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  2808. $as_echo "$ac_cv_prog_cc_g" >&6; }
  2809. if test "$ac_test_CFLAGS" = set; then
  2810. CFLAGS=$ac_save_CFLAGS
  2811. elif test $ac_cv_prog_cc_g = yes; then
  2812. if test "$GCC" = yes; then
  2813. CFLAGS="-g -O2"
  2814. else
  2815. CFLAGS="-g"
  2816. fi
  2817. else
  2818. if test "$GCC" = yes; then
  2819. CFLAGS="-O2"
  2820. else
  2821. CFLAGS=
  2822. fi
  2823. fi
  2824. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  2825. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  2826. if ${ac_cv_prog_cc_c89+:} false; then :
  2827. $as_echo_n "(cached) " >&6
  2828. else
  2829. ac_cv_prog_cc_c89=no
  2830. ac_save_CC=$CC
  2831. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2832. /* end confdefs.h. */
  2833. #include <stdarg.h>
  2834. #include <stdio.h>
  2835. struct stat;
  2836. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  2837. struct buf { int x; };
  2838. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  2839. static char *e (p, i)
  2840. char **p;
  2841. int i;
  2842. {
  2843. return p[i];
  2844. }
  2845. static char *f (char * (*g) (char **, int), char **p, ...)
  2846. {
  2847. char *s;
  2848. va_list v;
  2849. va_start (v,p);
  2850. s = g (p, va_arg (v,int));
  2851. va_end (v);
  2852. return s;
  2853. }
  2854. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  2855. function prototypes and stuff, but not '\xHH' hex character constants.
  2856. These don't provoke an error unfortunately, instead are silently treated
  2857. as 'x'. The following induces an error, until -std is added to get
  2858. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  2859. array size at least. It's necessary to write '\x00'==0 to get something
  2860. that's true only with -std. */
  2861. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  2862. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  2863. inside strings and character constants. */
  2864. #define FOO(x) 'x'
  2865. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  2866. int test (int i, double x);
  2867. struct s1 {int (*f) (int a);};
  2868. struct s2 {int (*f) (double a);};
  2869. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  2870. int argc;
  2871. char **argv;
  2872. int
  2873. main ()
  2874. {
  2875. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  2876. ;
  2877. return 0;
  2878. }
  2879. _ACEOF
  2880. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  2881. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  2882. do
  2883. CC="$ac_save_CC $ac_arg"
  2884. if ac_fn_c_try_compile "$LINENO"; then :
  2885. ac_cv_prog_cc_c89=$ac_arg
  2886. fi
  2887. rm -f core conftest.err conftest.$ac_objext
  2888. test "x$ac_cv_prog_cc_c89" != "xno" && break
  2889. done
  2890. rm -f conftest.$ac_ext
  2891. CC=$ac_save_CC
  2892. fi
  2893. # AC_CACHE_VAL
  2894. case "x$ac_cv_prog_cc_c89" in
  2895. x)
  2896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  2897. $as_echo "none needed" >&6; } ;;
  2898. xno)
  2899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  2900. $as_echo "unsupported" >&6; } ;;
  2901. *)
  2902. CC="$CC $ac_cv_prog_cc_c89"
  2903. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  2904. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  2905. esac
  2906. if test "x$ac_cv_prog_cc_c89" != xno; then :
  2907. fi
  2908. ac_ext=c
  2909. ac_cpp='$CPP $CPPFLAGS'
  2910. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2911. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2912. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2913. if test "$cross_compiling" = yes; then :
  2914. true
  2915. else
  2916. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2917. /* end confdefs.h. */
  2918. int main() { return 0;}
  2919. _ACEOF
  2920. if ac_fn_c_try_run "$LINENO"; then :
  2921. fi
  2922. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2923. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2924. fi
  2925. case "$target" in
  2926. *-*-aix*) if test -z "$CC" ; then
  2927. for ac_prog in cc_r xlc_r cc
  2928. do
  2929. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2930. set dummy $ac_prog; ac_word=$2
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2932. $as_echo_n "checking for $ac_word... " >&6; }
  2933. if ${ac_cv_prog_CC+:} false; then :
  2934. $as_echo_n "(cached) " >&6
  2935. else
  2936. if test -n "$CC"; then
  2937. ac_cv_prog_CC="$CC" # Let the user override the test.
  2938. else
  2939. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2940. for as_dir in $PATH
  2941. do
  2942. IFS=$as_save_IFS
  2943. test -z "$as_dir" && as_dir=.
  2944. for ac_exec_ext in '' $ac_executable_extensions; do
  2945. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2946. ac_cv_prog_CC="$ac_prog"
  2947. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2948. break 2
  2949. fi
  2950. done
  2951. done
  2952. IFS=$as_save_IFS
  2953. fi
  2954. fi
  2955. CC=$ac_cv_prog_CC
  2956. if test -n "$CC"; then
  2957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2958. $as_echo "$CC" >&6; }
  2959. else
  2960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2961. $as_echo "no" >&6; }
  2962. fi
  2963. test -n "$CC" && break
  2964. done
  2965. fi
  2966. ;;
  2967. esac
  2968. # Check whether --enable-gc was given.
  2969. if test "${enable_gc+set}" = set; then :
  2970. enableval=$enable_gc; case $enableval in
  2971. twospace )
  2972. $as_echo "#define S48_GC_TWOSPACE 1" >>confdefs.h
  2973. GC_OBJS='${GC_TWOSPACE_OBJS}' ;;
  2974. bibop )
  2975. $as_echo "#define S48_GC_BIBOP 1" >>confdefs.h
  2976. GC_OBJS='${GC_BIBOP_OBJS}' ;;
  2977. * ) as_fn_error $? "Invalid argument to --enable-gc" "$LINENO" 5 ;;
  2978. esac
  2979. else
  2980. $as_echo "#define S48_GC_BIBOP 1" >>confdefs.h
  2981. GC_OBJS='${GC_BIBOP_OBJS}'
  2982. fi
  2983. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we must build a 32bit binary" >&5
  2984. $as_echo_n "checking whether we must build a 32bit binary... " >&6; }
  2985. # Check whether --enable-force-32bit was given.
  2986. if test "${enable_force_32bit+set}" = set; then :
  2987. enableval=$enable_force_32bit; if test "$enable_force_32bit" != no; then
  2988. S48_FORCE_32_P="1"
  2989. BIT_SUFFIX="32"
  2990. case "$host" in
  2991. x86_64-*-linux-gnu )
  2992. CFLAGS="${CFLAGS} -m32";
  2993. LDFLAGS="${LDFLAGS} -m32";
  2994. ;;
  2995. *darwin* ) ;;
  2996. * ) as_fn_error $? "Don't know how to build a 32bit binary on this architecture" "$LINENO" 5
  2997. ;;
  2998. esac
  2999. $as_echo "#define BUILD_32BIT 1" >>confdefs.h
  3000. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3001. $as_echo "yes" >&6; }
  3002. else
  3003. S48_FORCE_32_P="0"
  3004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3005. $as_echo "no" >&6; }
  3006. fi
  3007. else
  3008. S48_FORCE_32_P="0"
  3009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3010. $as_echo "no" >&6; }
  3011. fi
  3012. { $as_echo "$as_me:${as_lineno-$LINENO}: checking bits per byte" >&5
  3013. $as_echo_n "checking bits per byte... " >&6; }
  3014. if ${ac_cv_bits_per_byte+:} false; then :
  3015. $as_echo_n "(cached) " >&6
  3016. else
  3017. if test "$cross_compiling" = yes; then :
  3018. as_fn_error $? "failed to compile test program" "$LINENO" 5
  3019. else
  3020. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3021. /* end confdefs.h. */
  3022. #include <stdio.h>
  3023. #include <stdlib.h>
  3024. main()
  3025. {
  3026. unsigned char c = 1;
  3027. int i = 0;
  3028. FILE *f=fopen("conftestval", "w");
  3029. if (!f) exit(1);
  3030. while (c != 0) {
  3031. i++;
  3032. c = c << 1;
  3033. }
  3034. fprintf(f, "%d\n", i);
  3035. exit(0);
  3036. }
  3037. _ACEOF
  3038. if ac_fn_c_try_run "$LINENO"; then :
  3039. ac_cv_bits_per_byte=`cat conftestval`
  3040. else
  3041. ac_cv_bits_per_byte=0
  3042. fi
  3043. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3044. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3045. fi
  3046. fi
  3047. if test "$ac_cv_bits_per_byte" = "0" -o "$ac_cv_bits_per_byte" = ""; then
  3048. as_fn_error $? "Unable to determine bits per byte, see config.log for details." "$LINENO" 5;
  3049. fi
  3050. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_bits_per_byte" >&5
  3051. $as_echo "$ac_cv_bits_per_byte" >&6; }
  3052. cat >>confdefs.h <<_ACEOF
  3053. #define BITS_PER_BYTE $ac_cv_bits_per_byte
  3054. _ACEOF
  3055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  3056. $as_echo_n "checking size of void *... " >&6; }
  3057. if ${ac_cv_sizeof_void_p+:} false; then :
  3058. $as_echo_n "(cached) " >&6
  3059. else
  3060. if test "$cross_compiling" = yes; then :
  3061. as_fn_error $? "failed to compile test program" "$LINENO" 5
  3062. else
  3063. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3064. /* end confdefs.h. */
  3065. #include <stdio.h>
  3066. #include <stdlib.h>
  3067. main()
  3068. {
  3069. FILE *f=fopen("conftestval", "w");
  3070. if (!f) exit(1);
  3071. fprintf(f, "%d\n", (int)sizeof(void *));
  3072. exit(0);
  3073. }
  3074. _ACEOF
  3075. if ac_fn_c_try_run "$LINENO"; then :
  3076. ac_cv_sizeof_void_p=`cat conftestval`
  3077. else
  3078. ac_cv_sizeof_void_p=0
  3079. fi
  3080. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3081. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3082. fi
  3083. fi
  3084. if test "$ac_cv_sizeof_void_p" = "0" -o "$ac_cv_sizeof_void_p" = ""; then
  3085. as_fn_error $? "Unable to determine sizeof (void *), see config.log for details." "$LINENO" 5;
  3086. fi
  3087. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  3088. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  3089. cat >>confdefs.h <<_ACEOF
  3090. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  3091. _ACEOF
  3092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIT_SUFFIX" >&5
  3093. $as_echo_n "checking for BIT_SUFFIX... " >&6; }
  3094. if test $BIT_SUFFIX; then
  3095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: You forced BIT_SUFFIX to be $BIT_SUFFIX." >&5
  3096. $as_echo "You forced BIT_SUFFIX to be $BIT_SUFFIX." >&6; }
  3097. else
  3098. BIT_SUFFIX=`expr $ac_cv_sizeof_void_p \* $ac_cv_bits_per_byte`
  3099. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BIT_SUFFIX" >&5
  3100. $as_echo "$BIT_SUFFIX" >&6; }
  3101. fi
  3102. cat >>confdefs.h <<_ACEOF
  3103. #define WORDSIZE $BIT_SUFFIX
  3104. _ACEOF
  3105. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are building a Universal Binary" >&5
  3106. $as_echo_n "checking whether we are building a Universal Binary... " >&6; }
  3107. # Check whether --enable-universal-binary was given.
  3108. if test "${enable_universal_binary+set}" = set; then :
  3109. enableval=$enable_universal_binary; if test "$enable_universal_binary" != no; then
  3110. case $host in
  3111. *darwin* ) S48_BUILD_UNIVERSAL_P="1"
  3112. $as_echo "#define BUILD_UNIVERSAL_BINARY 1" >>confdefs.h
  3113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3114. $as_echo "yes" >&6; }
  3115. ;;
  3116. * ) as_fn_error $? "--enable-universal-binary only works on Mac OS X" "$LINENO" 5
  3117. ;;
  3118. esac
  3119. else
  3120. S48_BUILD_UNIVERSAL_P="0"
  3121. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3122. $as_echo "no" >&6; }
  3123. fi
  3124. else
  3125. S48_BUILD_UNIVERSAL_P="0"
  3126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3127. $as_echo "no" >&6; }
  3128. fi
  3129. build_universal="$S48_BUILD_UNIVERSAL_P"
  3130. force_32="$S48_FORCE_32_P"
  3131. if test "$build_universal" = 1 -a "$force_32" = 1; then
  3132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument i386" >&5
  3133. $as_echo_n "checking for gcc argument i386... " >&6; }
  3134. save_CFLAGS="$CFLAGS"
  3135. save_LDFLAGS="$LDFLAGS"
  3136. CFLAGS="$CFLAGS -arch i386"
  3137. LDFLAGS="$LDFLAGS -arch i386"
  3138. compiles=0
  3139. links=0
  3140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3141. /* end confdefs.h. */
  3142. int
  3143. main ()
  3144. {
  3145. ;
  3146. return 0;
  3147. }
  3148. _ACEOF
  3149. if ac_fn_c_try_compile "$LINENO"; then :
  3150. compiles=1
  3151. else
  3152. compiles=0
  3153. fi
  3154. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3156. /* end confdefs.h. */
  3157. int
  3158. main ()
  3159. {
  3160. ;
  3161. return 0;
  3162. }
  3163. _ACEOF
  3164. if ac_fn_c_try_link "$LINENO"; then :
  3165. links=1
  3166. else
  3167. links=0
  3168. fi
  3169. rm -f core conftest.err conftest.$ac_objext \
  3170. conftest$ac_exeext conftest.$ac_ext
  3171. if test "$links" = "1" -a "$compiles" = "1"; then
  3172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3173. $as_echo "OK" >&6; }
  3174. else
  3175. CFLAGS="$save_CFLAGS"
  3176. LDFLAGS="$save_LDFLAGS"
  3177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3178. $as_echo "failed" >&6; }
  3179. fi
  3180. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument ppc" >&5
  3181. $as_echo_n "checking for gcc argument ppc... " >&6; }
  3182. save_CFLAGS="$CFLAGS"
  3183. save_LDFLAGS="$LDFLAGS"
  3184. CFLAGS="$CFLAGS -arch ppc"
  3185. LDFLAGS="$LDFLAGS -arch ppc"
  3186. compiles=0
  3187. links=0
  3188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3189. /* end confdefs.h. */
  3190. int
  3191. main ()
  3192. {
  3193. ;
  3194. return 0;
  3195. }
  3196. _ACEOF
  3197. if ac_fn_c_try_compile "$LINENO"; then :
  3198. compiles=1
  3199. else
  3200. compiles=0
  3201. fi
  3202. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3203. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3204. /* end confdefs.h. */
  3205. int
  3206. main ()
  3207. {
  3208. ;
  3209. return 0;
  3210. }
  3211. _ACEOF
  3212. if ac_fn_c_try_link "$LINENO"; then :
  3213. links=1
  3214. else
  3215. links=0
  3216. fi
  3217. rm -f core conftest.err conftest.$ac_objext \
  3218. conftest$ac_exeext conftest.$ac_ext
  3219. if test "$links" = "1" -a "$compiles" = "1"; then
  3220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3221. $as_echo "OK" >&6; }
  3222. else
  3223. CFLAGS="$save_CFLAGS"
  3224. LDFLAGS="$save_LDFLAGS"
  3225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3226. $as_echo "failed" >&6; }
  3227. fi
  3228. elif test "$build_universal" = 1 -a "$force_32" = 0; then
  3229. if test "$BIT_SUFFIX" = 32; then
  3230. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument i386" >&5
  3231. $as_echo_n "checking for gcc argument i386... " >&6; }
  3232. save_CFLAGS="$CFLAGS"
  3233. save_LDFLAGS="$LDFLAGS"
  3234. CFLAGS="$CFLAGS -arch i386"
  3235. LDFLAGS="$LDFLAGS -arch i386"
  3236. compiles=0
  3237. links=0
  3238. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3239. /* end confdefs.h. */
  3240. int
  3241. main ()
  3242. {
  3243. ;
  3244. return 0;
  3245. }
  3246. _ACEOF
  3247. if ac_fn_c_try_compile "$LINENO"; then :
  3248. compiles=1
  3249. else
  3250. compiles=0
  3251. fi
  3252. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3253. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3254. /* end confdefs.h. */
  3255. int
  3256. main ()
  3257. {
  3258. ;
  3259. return 0;
  3260. }
  3261. _ACEOF
  3262. if ac_fn_c_try_link "$LINENO"; then :
  3263. links=1
  3264. else
  3265. links=0
  3266. fi
  3267. rm -f core conftest.err conftest.$ac_objext \
  3268. conftest$ac_exeext conftest.$ac_ext
  3269. if test "$links" = "1" -a "$compiles" = "1"; then
  3270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3271. $as_echo "OK" >&6; }
  3272. else
  3273. CFLAGS="$save_CFLAGS"
  3274. LDFLAGS="$save_LDFLAGS"
  3275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3276. $as_echo "failed" >&6; }
  3277. fi
  3278. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument ppc" >&5
  3279. $as_echo_n "checking for gcc argument ppc... " >&6; }
  3280. save_CFLAGS="$CFLAGS"
  3281. save_LDFLAGS="$LDFLAGS"
  3282. CFLAGS="$CFLAGS -arch ppc"
  3283. LDFLAGS="$LDFLAGS -arch ppc"
  3284. compiles=0
  3285. links=0
  3286. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3287. /* end confdefs.h. */
  3288. int
  3289. main ()
  3290. {
  3291. ;
  3292. return 0;
  3293. }
  3294. _ACEOF
  3295. if ac_fn_c_try_compile "$LINENO"; then :
  3296. compiles=1
  3297. else
  3298. compiles=0
  3299. fi
  3300. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3302. /* end confdefs.h. */
  3303. int
  3304. main ()
  3305. {
  3306. ;
  3307. return 0;
  3308. }
  3309. _ACEOF
  3310. if ac_fn_c_try_link "$LINENO"; then :
  3311. links=1
  3312. else
  3313. links=0
  3314. fi
  3315. rm -f core conftest.err conftest.$ac_objext \
  3316. conftest$ac_exeext conftest.$ac_ext
  3317. if test "$links" = "1" -a "$compiles" = "1"; then
  3318. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3319. $as_echo "OK" >&6; }
  3320. else
  3321. CFLAGS="$save_CFLAGS"
  3322. LDFLAGS="$save_LDFLAGS"
  3323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3324. $as_echo "failed" >&6; }
  3325. fi
  3326. elif test "$BIT_SUFFIX" = 64; then
  3327. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument x86_64" >&5
  3328. $as_echo_n "checking for gcc argument x86_64... " >&6; }
  3329. save_CFLAGS="$CFLAGS"
  3330. save_LDFLAGS="$LDFLAGS"
  3331. CFLAGS="$CFLAGS -arch x86_64"
  3332. LDFLAGS="$LDFLAGS -arch x86_64"
  3333. compiles=0
  3334. links=0
  3335. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3336. /* end confdefs.h. */
  3337. int
  3338. main ()
  3339. {
  3340. ;
  3341. return 0;
  3342. }
  3343. _ACEOF
  3344. if ac_fn_c_try_compile "$LINENO"; then :
  3345. compiles=1
  3346. else
  3347. compiles=0
  3348. fi
  3349. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3350. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3351. /* end confdefs.h. */
  3352. int
  3353. main ()
  3354. {
  3355. ;
  3356. return 0;
  3357. }
  3358. _ACEOF
  3359. if ac_fn_c_try_link "$LINENO"; then :
  3360. links=1
  3361. else
  3362. links=0
  3363. fi
  3364. rm -f core conftest.err conftest.$ac_objext \
  3365. conftest$ac_exeext conftest.$ac_ext
  3366. if test "$links" = "1" -a "$compiles" = "1"; then
  3367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3368. $as_echo "OK" >&6; }
  3369. else
  3370. CFLAGS="$save_CFLAGS"
  3371. LDFLAGS="$save_LDFLAGS"
  3372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3373. $as_echo "failed" >&6; }
  3374. fi
  3375. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc argument ppc64" >&5
  3376. $as_echo_n "checking for gcc argument ppc64... " >&6; }
  3377. save_CFLAGS="$CFLAGS"
  3378. save_LDFLAGS="$LDFLAGS"
  3379. CFLAGS="$CFLAGS -arch ppc64"
  3380. LDFLAGS="$LDFLAGS -arch ppc64"
  3381. compiles=0
  3382. links=0
  3383. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3384. /* end confdefs.h. */
  3385. int
  3386. main ()
  3387. {
  3388. ;
  3389. return 0;
  3390. }
  3391. _ACEOF
  3392. if ac_fn_c_try_compile "$LINENO"; then :
  3393. compiles=1
  3394. else
  3395. compiles=0
  3396. fi
  3397. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3398. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3399. /* end confdefs.h. */
  3400. int
  3401. main ()
  3402. {
  3403. ;
  3404. return 0;
  3405. }
  3406. _ACEOF
  3407. if ac_fn_c_try_link "$LINENO"; then :
  3408. links=1
  3409. else
  3410. links=0
  3411. fi
  3412. rm -f core conftest.err conftest.$ac_objext \
  3413. conftest$ac_exeext conftest.$ac_ext
  3414. if test "$links" = "1" -a "$compiles" = "1"; then
  3415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: OK" >&5
  3416. $as_echo "OK" >&6; }
  3417. else
  3418. CFLAGS="$save_CFLAGS"
  3419. LDFLAGS="$save_LDFLAGS"
  3420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  3421. $as_echo "failed" >&6; }
  3422. fi
  3423. fi
  3424. fi
  3425. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile position independent code" >&5
  3426. $as_echo_n "checking how to compile position independent code... " >&6; }
  3427. case "$host_os" in
  3428. solaris* )
  3429. if test "$GCC" = "yes"; then
  3430. PIC="-fPIC"
  3431. else
  3432. # for SUN's compiler
  3433. PIC="-KPIC"
  3434. fi
  3435. ;;
  3436. darwin*|macosx* )
  3437. # Code on this platform is PIC by default
  3438. PIC=""
  3439. ;;
  3440. *)
  3441. PIC="-fPIC"
  3442. ;;
  3443. esac
  3444. if test "$PIC" = ""; then
  3445. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no extra option necessary" >&5
  3446. $as_echo "no extra option necessary" >&6; }
  3447. else
  3448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PIC" >&5
  3449. $as_echo "$PIC" >&6; }
  3450. fi
  3451. mkdir -p c/bibop
  3452. mkdir -p c/unix
  3453. mkdir -p c/net
  3454. mkdir -p c/r6rs
  3455. mkdir -p c/posix
  3456. mkdir -p c/fake
  3457. mkdir -p c/ffi-test
  3458. { $as_echo "$as_me:${as_lineno-$LINENO}: checking -rdynamic" >&5
  3459. $as_echo_n "checking -rdynamic... " >&6; }
  3460. oldLDFLAGS="$LDFLAGS"
  3461. LDFLAGS="$LDFLAGS -rdynamic"
  3462. if test "$cross_compiling" = yes; then :
  3463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3464. $as_echo "no" >&6; }
  3465. LDFLAGS="$oldLDFLAGS"
  3466. else
  3467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3468. /* end confdefs.h. */
  3469. int main() { return 0;}
  3470. _ACEOF
  3471. if ac_fn_c_try_run "$LINENO"; then :
  3472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3473. $as_echo "yes" >&6; }
  3474. else
  3475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3476. $as_echo "no" >&6; }
  3477. LDFLAGS="$oldLDFLAGS"
  3478. fi
  3479. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  3480. conftest.$ac_objext conftest.beam conftest.$ac_ext
  3481. fi
  3482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDFLAGS_VM" >&5
  3483. $as_echo_n "checking LDFLAGS_VM... " >&6; }
  3484. case "$host_os" in
  3485. aix* )
  3486. if test "$GCC" = "yes"; then
  3487. LDFLAGS_VM="-Xlinker -brtl -Xlinker -bE:$srcdir/c/scheme48.exp"
  3488. else
  3489. LDFLAGS_VM="-brtl -bE:$srcdir/c/scheme48.exp"
  3490. fi
  3491. ;;
  3492. * )
  3493. LDFLAGS_VM=
  3494. ;;
  3495. esac
  3496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDFLAGS_VM" >&5
  3497. $as_echo "$LDFLAGS_VM" >&6; }
  3498. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
  3499. $as_echo_n "checking for library containing strerror... " >&6; }
  3500. if ${ac_cv_search_strerror+:} false; then :
  3501. $as_echo_n "(cached) " >&6
  3502. else
  3503. ac_func_search_save_LIBS=$LIBS
  3504. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3505. /* end confdefs.h. */
  3506. /* Override any GCC internal prototype to avoid an error.
  3507. Use char because int might match the return type of a GCC
  3508. builtin and then its argument prototype would still apply. */
  3509. #ifdef __cplusplus
  3510. extern "C"
  3511. #endif
  3512. char strerror ();
  3513. int
  3514. main ()
  3515. {
  3516. return strerror ();
  3517. ;
  3518. return 0;
  3519. }
  3520. _ACEOF
  3521. for ac_lib in '' cposix; do
  3522. if test -z "$ac_lib"; then
  3523. ac_res="none required"
  3524. else
  3525. ac_res=-l$ac_lib
  3526. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  3527. fi
  3528. if ac_fn_c_try_link "$LINENO"; then :
  3529. ac_cv_search_strerror=$ac_res
  3530. fi
  3531. rm -f core conftest.err conftest.$ac_objext \
  3532. conftest$ac_exeext
  3533. if ${ac_cv_search_strerror+:} false; then :
  3534. break
  3535. fi
  3536. done
  3537. if ${ac_cv_search_strerror+:} false; then :
  3538. else
  3539. ac_cv_search_strerror=no
  3540. fi
  3541. rm conftest.$ac_ext
  3542. LIBS=$ac_func_search_save_LIBS
  3543. fi
  3544. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
  3545. $as_echo "$ac_cv_search_strerror" >&6; }
  3546. ac_res=$ac_cv_search_strerror
  3547. if test "$ac_res" != no; then :
  3548. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  3549. fi
  3550. # Check whether --enable-largefile was given.
  3551. if test "${enable_largefile+set}" = set; then :
  3552. enableval=$enable_largefile;
  3553. fi
  3554. if test "$enable_largefile" != no; then
  3555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  3556. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  3557. if ${ac_cv_sys_largefile_CC+:} false; then :
  3558. $as_echo_n "(cached) " >&6
  3559. else
  3560. ac_cv_sys_largefile_CC=no
  3561. if test "$GCC" != yes; then
  3562. ac_save_CC=$CC
  3563. while :; do
  3564. # IRIX 6.2 and later do not support large files by default,
  3565. # so use the C compiler's -n32 option if that helps.
  3566. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3567. /* end confdefs.h. */
  3568. #include <sys/types.h>
  3569. /* Check that off_t can represent 2**63 - 1 correctly.
  3570. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  3571. since some C++ compilers masquerading as C compilers
  3572. incorrectly reject 9223372036854775807. */
  3573. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  3574. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  3575. && LARGE_OFF_T % 2147483647 == 1)
  3576. ? 1 : -1];
  3577. int
  3578. main ()
  3579. {
  3580. ;
  3581. return 0;
  3582. }
  3583. _ACEOF
  3584. if ac_fn_c_try_compile "$LINENO"; then :
  3585. break
  3586. fi
  3587. rm -f core conftest.err conftest.$ac_objext
  3588. CC="$CC -n32"
  3589. if ac_fn_c_try_compile "$LINENO"; then :
  3590. ac_cv_sys_largefile_CC=' -n32'; break
  3591. fi
  3592. rm -f core conftest.err conftest.$ac_objext
  3593. break
  3594. done
  3595. CC=$ac_save_CC
  3596. rm -f conftest.$ac_ext
  3597. fi
  3598. fi
  3599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  3600. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  3601. if test "$ac_cv_sys_largefile_CC" != no; then
  3602. CC=$CC$ac_cv_sys_largefile_CC
  3603. fi
  3604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  3605. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  3606. if ${ac_cv_sys_file_offset_bits+:} false; then :
  3607. $as_echo_n "(cached) " >&6
  3608. else
  3609. while :; do
  3610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3611. /* end confdefs.h. */
  3612. #include <sys/types.h>
  3613. /* Check that off_t can represent 2**63 - 1 correctly.
  3614. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  3615. since some C++ compilers masquerading as C compilers
  3616. incorrectly reject 9223372036854775807. */
  3617. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  3618. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  3619. && LARGE_OFF_T % 2147483647 == 1)
  3620. ? 1 : -1];
  3621. int
  3622. main ()
  3623. {
  3624. ;
  3625. return 0;
  3626. }
  3627. _ACEOF
  3628. if ac_fn_c_try_compile "$LINENO"; then :
  3629. ac_cv_sys_file_offset_bits=no; break
  3630. fi
  3631. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3633. /* end confdefs.h. */
  3634. #define _FILE_OFFSET_BITS 64
  3635. #include <sys/types.h>
  3636. /* Check that off_t can represent 2**63 - 1 correctly.
  3637. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  3638. since some C++ compilers masquerading as C compilers
  3639. incorrectly reject 9223372036854775807. */
  3640. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  3641. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  3642. && LARGE_OFF_T % 2147483647 == 1)
  3643. ? 1 : -1];
  3644. int
  3645. main ()
  3646. {
  3647. ;
  3648. return 0;
  3649. }
  3650. _ACEOF
  3651. if ac_fn_c_try_compile "$LINENO"; then :
  3652. ac_cv_sys_file_offset_bits=64; break
  3653. fi
  3654. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3655. ac_cv_sys_file_offset_bits=unknown
  3656. break
  3657. done
  3658. fi
  3659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  3660. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  3661. case $ac_cv_sys_file_offset_bits in #(
  3662. no | unknown) ;;
  3663. *)
  3664. cat >>confdefs.h <<_ACEOF
  3665. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  3666. _ACEOF
  3667. ;;
  3668. esac
  3669. rm -rf conftest*
  3670. if test $ac_cv_sys_file_offset_bits = unknown; then
  3671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  3672. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  3673. if ${ac_cv_sys_large_files+:} false; then :
  3674. $as_echo_n "(cached) " >&6
  3675. else
  3676. while :; do
  3677. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3678. /* end confdefs.h. */
  3679. #include <sys/types.h>
  3680. /* Check that off_t can represent 2**63 - 1 correctly.
  3681. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  3682. since some C++ compilers masquerading as C compilers
  3683. incorrectly reject 9223372036854775807. */
  3684. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  3685. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  3686. && LARGE_OFF_T % 2147483647 == 1)
  3687. ? 1 : -1];
  3688. int
  3689. main ()
  3690. {
  3691. ;
  3692. return 0;
  3693. }
  3694. _ACEOF
  3695. if ac_fn_c_try_compile "$LINENO"; then :
  3696. ac_cv_sys_large_files=no; break
  3697. fi
  3698. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3699. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3700. /* end confdefs.h. */
  3701. #define _LARGE_FILES 1
  3702. #include <sys/types.h>
  3703. /* Check that off_t can represent 2**63 - 1 correctly.
  3704. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  3705. since some C++ compilers masquerading as C compilers
  3706. incorrectly reject 9223372036854775807. */
  3707. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  3708. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  3709. && LARGE_OFF_T % 2147483647 == 1)
  3710. ? 1 : -1];
  3711. int
  3712. main ()
  3713. {
  3714. ;
  3715. return 0;
  3716. }
  3717. _ACEOF
  3718. if ac_fn_c_try_compile "$LINENO"; then :
  3719. ac_cv_sys_large_files=1; break
  3720. fi
  3721. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3722. ac_cv_sys_large_files=unknown
  3723. break
  3724. done
  3725. fi
  3726. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  3727. $as_echo "$ac_cv_sys_large_files" >&6; }
  3728. case $ac_cv_sys_large_files in #(
  3729. no | unknown) ;;
  3730. *)
  3731. cat >>confdefs.h <<_ACEOF
  3732. #define _LARGE_FILES $ac_cv_sys_large_files
  3733. _ACEOF
  3734. ;;
  3735. esac
  3736. rm -rf conftest*
  3737. fi
  3738. fi
  3739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline keyword" >&5
  3740. $as_echo_n "checking for inline keyword... " >&6; }
  3741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3742. /* end confdefs.h. */
  3743. #include <stdio.h>
  3744. inline void f(void)
  3745. {
  3746. printf("inlined");
  3747. }
  3748. _ACEOF
  3749. if ac_fn_c_try_compile "$LINENO"; then :
  3750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3751. $as_echo "yes" >&6; }
  3752. $as_echo "#define HAVE_INLINE 1" >>confdefs.h
  3753. else
  3754. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3755. $as_echo "no" >&6; }
  3756. fi
  3757. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3758. # Find a good install program. We prefer a C program (faster),
  3759. # so one script is as good as another. But avoid the broken or
  3760. # incompatible versions:
  3761. # SysV /etc/install, /usr/sbin/install
  3762. # SunOS /usr/etc/install
  3763. # IRIX /sbin/install
  3764. # AIX /bin/install
  3765. # AmigaOS /C/install, which installs bootblocks on floppy discs
  3766. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  3767. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3768. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3769. # OS/2's system install, which has a completely different semantic
  3770. # ./install, which can be erroneously created by make from ./install.sh.
  3771. # Reject install programs that cannot install multiple files.
  3772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  3773. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  3774. if test -z "$INSTALL"; then
  3775. if ${ac_cv_path_install+:} false; then :
  3776. $as_echo_n "(cached) " >&6
  3777. else
  3778. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3779. for as_dir in $PATH
  3780. do
  3781. IFS=$as_save_IFS
  3782. test -z "$as_dir" && as_dir=.
  3783. # Account for people who put trailing slashes in PATH elements.
  3784. case $as_dir/ in #((
  3785. ./ | .// | /[cC]/* | \
  3786. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3787. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  3788. /usr/ucb/* ) ;;
  3789. *)
  3790. # OSF1 and SCO ODT 3.0 have their own names for install.
  3791. # Don't use installbsd from OSF since it installs stuff as root
  3792. # by default.
  3793. for ac_prog in ginstall scoinst install; do
  3794. for ac_exec_ext in '' $ac_executable_extensions; do
  3795. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3796. if test $ac_prog = install &&
  3797. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3798. # AIX install. It has an incompatible calling convention.
  3799. :
  3800. elif test $ac_prog = install &&
  3801. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3802. # program-specific install script used by HP pwplus--don't use.
  3803. :
  3804. else
  3805. rm -rf conftest.one conftest.two conftest.dir
  3806. echo one > conftest.one
  3807. echo two > conftest.two
  3808. mkdir conftest.dir
  3809. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  3810. test -s conftest.one && test -s conftest.two &&
  3811. test -s conftest.dir/conftest.one &&
  3812. test -s conftest.dir/conftest.two
  3813. then
  3814. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  3815. break 3
  3816. fi
  3817. fi
  3818. fi
  3819. done
  3820. done
  3821. ;;
  3822. esac
  3823. done
  3824. IFS=$as_save_IFS
  3825. rm -rf conftest.one conftest.two conftest.dir
  3826. fi
  3827. if test "${ac_cv_path_install+set}" = set; then
  3828. INSTALL=$ac_cv_path_install
  3829. else
  3830. # As a last resort, use the slow shell script. Don't cache a
  3831. # value for INSTALL within a source directory, because that will
  3832. # break other packages using the cache if that directory is
  3833. # removed, or if the value is a relative name.
  3834. INSTALL=$ac_install_sh
  3835. fi
  3836. fi
  3837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  3838. $as_echo "$INSTALL" >&6; }
  3839. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3840. # It thinks the first close brace ends the variable substitution.
  3841. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  3842. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  3843. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
  3845. $as_echo_n "checking for main in -lm... " >&6; }
  3846. if ${ac_cv_lib_m_main+:} false; then :
  3847. $as_echo_n "(cached) " >&6
  3848. else
  3849. ac_check_lib_save_LIBS=$LIBS
  3850. LIBS="-lm $LIBS"
  3851. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3852. /* end confdefs.h. */
  3853. int
  3854. main ()
  3855. {
  3856. return main ();
  3857. ;
  3858. return 0;
  3859. }
  3860. _ACEOF
  3861. if ac_fn_c_try_link "$LINENO"; then :
  3862. ac_cv_lib_m_main=yes
  3863. else
  3864. ac_cv_lib_m_main=no
  3865. fi
  3866. rm -f core conftest.err conftest.$ac_objext \
  3867. conftest$ac_exeext conftest.$ac_ext
  3868. LIBS=$ac_check_lib_save_LIBS
  3869. fi
  3870. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
  3871. $as_echo "$ac_cv_lib_m_main" >&6; }
  3872. if test "x$ac_cv_lib_m_main" = xyes; then :
  3873. cat >>confdefs.h <<_ACEOF
  3874. #define HAVE_LIBM 1
  3875. _ACEOF
  3876. LIBS="-lm $LIBS"
  3877. fi
  3878. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
  3879. $as_echo_n "checking for main in -ldl... " >&6; }
  3880. if ${ac_cv_lib_dl_main+:} false; then :
  3881. $as_echo_n "(cached) " >&6
  3882. else
  3883. ac_check_lib_save_LIBS=$LIBS
  3884. LIBS="-ldl $LIBS"
  3885. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3886. /* end confdefs.h. */
  3887. int
  3888. main ()
  3889. {
  3890. return main ();
  3891. ;
  3892. return 0;
  3893. }
  3894. _ACEOF
  3895. if ac_fn_c_try_link "$LINENO"; then :
  3896. ac_cv_lib_dl_main=yes
  3897. else
  3898. ac_cv_lib_dl_main=no
  3899. fi
  3900. rm -f core conftest.err conftest.$ac_objext \
  3901. conftest$ac_exeext conftest.$ac_ext
  3902. LIBS=$ac_check_lib_save_LIBS
  3903. fi
  3904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
  3905. $as_echo "$ac_cv_lib_dl_main" >&6; }
  3906. if test "x$ac_cv_lib_dl_main" = xyes; then :
  3907. cat >>confdefs.h <<_ACEOF
  3908. #define HAVE_LIBDL 1
  3909. _ACEOF
  3910. LIBS="-ldl $LIBS"
  3911. fi
  3912. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmld" >&5
  3913. $as_echo_n "checking for main in -lmld... " >&6; }
  3914. if ${ac_cv_lib_mld_main+:} false; then :
  3915. $as_echo_n "(cached) " >&6
  3916. else
  3917. ac_check_lib_save_LIBS=$LIBS
  3918. LIBS="-lmld $LIBS"
  3919. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3920. /* end confdefs.h. */
  3921. int
  3922. main ()
  3923. {
  3924. return main ();
  3925. ;
  3926. return 0;
  3927. }
  3928. _ACEOF
  3929. if ac_fn_c_try_link "$LINENO"; then :
  3930. ac_cv_lib_mld_main=yes
  3931. else
  3932. ac_cv_lib_mld_main=no
  3933. fi
  3934. rm -f core conftest.err conftest.$ac_objext \
  3935. conftest$ac_exeext conftest.$ac_ext
  3936. LIBS=$ac_check_lib_save_LIBS
  3937. fi
  3938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mld_main" >&5
  3939. $as_echo "$ac_cv_lib_mld_main" >&6; }
  3940. if test "x$ac_cv_lib_mld_main" = xyes; then :
  3941. cat >>confdefs.h <<_ACEOF
  3942. #define HAVE_LIBMLD 1
  3943. _ACEOF
  3944. LIBS="-lmld $LIBS"
  3945. fi
  3946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
  3947. $as_echo_n "checking for main in -lnsl... " >&6; }
  3948. if ${ac_cv_lib_nsl_main+:} false; then :
  3949. $as_echo_n "(cached) " >&6
  3950. else
  3951. ac_check_lib_save_LIBS=$LIBS
  3952. LIBS="-lnsl $LIBS"
  3953. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3954. /* end confdefs.h. */
  3955. int
  3956. main ()
  3957. {
  3958. return main ();
  3959. ;
  3960. return 0;
  3961. }
  3962. _ACEOF
  3963. if ac_fn_c_try_link "$LINENO"; then :
  3964. ac_cv_lib_nsl_main=yes
  3965. else
  3966. ac_cv_lib_nsl_main=no
  3967. fi
  3968. rm -f core conftest.err conftest.$ac_objext \
  3969. conftest$ac_exeext conftest.$ac_ext
  3970. LIBS=$ac_check_lib_save_LIBS
  3971. fi
  3972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
  3973. $as_echo "$ac_cv_lib_nsl_main" >&6; }
  3974. if test "x$ac_cv_lib_nsl_main" = xyes; then :
  3975. cat >>confdefs.h <<_ACEOF
  3976. #define HAVE_LIBNSL 1
  3977. _ACEOF
  3978. LIBS="-lnsl $LIBS"
  3979. fi
  3980. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgen" >&5
  3981. $as_echo_n "checking for main in -lgen... " >&6; }
  3982. if ${ac_cv_lib_gen_main+:} false; then :
  3983. $as_echo_n "(cached) " >&6
  3984. else
  3985. ac_check_lib_save_LIBS=$LIBS
  3986. LIBS="-lgen $LIBS"
  3987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3988. /* end confdefs.h. */
  3989. int
  3990. main ()
  3991. {
  3992. return main ();
  3993. ;
  3994. return 0;
  3995. }
  3996. _ACEOF
  3997. if ac_fn_c_try_link "$LINENO"; then :
  3998. ac_cv_lib_gen_main=yes
  3999. else
  4000. ac_cv_lib_gen_main=no
  4001. fi
  4002. rm -f core conftest.err conftest.$ac_objext \
  4003. conftest$ac_exeext conftest.$ac_ext
  4004. LIBS=$ac_check_lib_save_LIBS
  4005. fi
  4006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_main" >&5
  4007. $as_echo "$ac_cv_lib_gen_main" >&6; }
  4008. if test "x$ac_cv_lib_gen_main" = xyes; then :
  4009. cat >>confdefs.h <<_ACEOF
  4010. #define HAVE_LIBGEN 1
  4011. _ACEOF
  4012. LIBS="-lgen $LIBS"
  4013. fi
  4014. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
  4015. $as_echo_n "checking for main in -lsocket... " >&6; }
  4016. if ${ac_cv_lib_socket_main+:} false; then :
  4017. $as_echo_n "(cached) " >&6
  4018. else
  4019. ac_check_lib_save_LIBS=$LIBS
  4020. LIBS="-lsocket $LIBS"
  4021. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4022. /* end confdefs.h. */
  4023. int
  4024. main ()
  4025. {
  4026. return main ();
  4027. ;
  4028. return 0;
  4029. }
  4030. _ACEOF
  4031. if ac_fn_c_try_link "$LINENO"; then :
  4032. ac_cv_lib_socket_main=yes
  4033. else
  4034. ac_cv_lib_socket_main=no
  4035. fi
  4036. rm -f core conftest.err conftest.$ac_objext \
  4037. conftest$ac_exeext conftest.$ac_ext
  4038. LIBS=$ac_check_lib_save_LIBS
  4039. fi
  4040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
  4041. $as_echo "$ac_cv_lib_socket_main" >&6; }
  4042. if test "x$ac_cv_lib_socket_main" = xyes; then :
  4043. cat >>confdefs.h <<_ACEOF
  4044. #define HAVE_LIBSOCKET 1
  4045. _ACEOF
  4046. LIBS="-lsocket $LIBS"
  4047. fi
  4048. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5
  4049. $as_echo_n "checking for getpwnam in -lsun... " >&6; }
  4050. if ${ac_cv_lib_sun_getpwnam+:} false; then :
  4051. $as_echo_n "(cached) " >&6
  4052. else
  4053. ac_check_lib_save_LIBS=$LIBS
  4054. LIBS="-lsun $LIBS"
  4055. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4056. /* end confdefs.h. */
  4057. /* Override any GCC internal prototype to avoid an error.
  4058. Use char because int might match the return type of a GCC
  4059. builtin and then its argument prototype would still apply. */
  4060. #ifdef __cplusplus
  4061. extern "C"
  4062. #endif
  4063. char getpwnam ();
  4064. int
  4065. main ()
  4066. {
  4067. return getpwnam ();
  4068. ;
  4069. return 0;
  4070. }
  4071. _ACEOF
  4072. if ac_fn_c_try_link "$LINENO"; then :
  4073. ac_cv_lib_sun_getpwnam=yes
  4074. else
  4075. ac_cv_lib_sun_getpwnam=no
  4076. fi
  4077. rm -f core conftest.err conftest.$ac_objext \
  4078. conftest$ac_exeext conftest.$ac_ext
  4079. LIBS=$ac_check_lib_save_LIBS
  4080. fi
  4081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5
  4082. $as_echo "$ac_cv_lib_sun_getpwnam" >&6; }
  4083. if test "x$ac_cv_lib_sun_getpwnam" = xyes; then :
  4084. cat >>confdefs.h <<_ACEOF
  4085. #define HAVE_LIBSUN 1
  4086. _ACEOF
  4087. LIBS="-lsun $LIBS"
  4088. fi
  4089. echo checking for RISC/OS POSIX library lossage
  4090. if test -f /usr/posix/usr/lib/libc.a; then
  4091. LIBS="${LIBS} /usr/posix/usr/lib/libc.a"
  4092. fi
  4093. ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
  4094. "
  4095. if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
  4096. $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
  4097. fi
  4098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  4099. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  4100. if ${ac_cv_c_const+:} false; then :
  4101. $as_echo_n "(cached) " >&6
  4102. else
  4103. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4104. /* end confdefs.h. */
  4105. int
  4106. main ()
  4107. {
  4108. #ifndef __cplusplus
  4109. /* Ultrix mips cc rejects this sort of thing. */
  4110. typedef int charset[2];
  4111. const charset cs = { 0, 0 };
  4112. /* SunOS 4.1.1 cc rejects this. */
  4113. char const *const *pcpcc;
  4114. char **ppc;
  4115. /* NEC SVR4.0.2 mips cc rejects this. */
  4116. struct point {int x, y;};
  4117. static struct point const zero = {0,0};
  4118. /* AIX XL C 1.02.0.0 rejects this.
  4119. It does not let you subtract one const X* pointer from another in
  4120. an arm of an if-expression whose if-part is not a constant
  4121. expression */
  4122. const char *g = "string";
  4123. pcpcc = &g + (g ? g-g : 0);
  4124. /* HPUX 7.0 cc rejects these. */
  4125. ++pcpcc;
  4126. ppc = (char**) pcpcc;
  4127. pcpcc = (char const *const *) ppc;
  4128. { /* SCO 3.2v4 cc rejects this sort of thing. */
  4129. char tx;
  4130. char *t = &tx;
  4131. char const *s = 0 ? (char *) 0 : (char const *) 0;
  4132. *t++ = 0;
  4133. if (s) return 0;
  4134. }
  4135. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  4136. int x[] = {25, 17};
  4137. const int *foo = &x[0];
  4138. ++foo;
  4139. }
  4140. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  4141. typedef const int *iptr;
  4142. iptr p = 0;
  4143. ++p;
  4144. }
  4145. { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  4146. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  4147. struct s { int j; const int *ap[3]; } bx;
  4148. struct s *b = &bx; b->j = 5;
  4149. }
  4150. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  4151. const int foo = 10;
  4152. if (!foo) return 0;
  4153. }
  4154. return !cs[0] && !zero.x;
  4155. #endif
  4156. ;
  4157. return 0;
  4158. }
  4159. _ACEOF
  4160. if ac_fn_c_try_compile "$LINENO"; then :
  4161. ac_cv_c_const=yes
  4162. else
  4163. ac_cv_c_const=no
  4164. fi
  4165. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4166. fi
  4167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  4168. $as_echo "$ac_cv_c_const" >&6; }
  4169. if test $ac_cv_c_const = no; then
  4170. $as_echo "#define const /**/" >>confdefs.h
  4171. fi
  4172. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
  4173. $as_echo_n "checking for socklen_t... " >&6; }
  4174. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4175. /* end confdefs.h. */
  4176. #include <sys/types.h>
  4177. #include <sys/socket.h>
  4178. socklen_t x;
  4179. int
  4180. main ()
  4181. {
  4182. ;
  4183. return 0;
  4184. }
  4185. _ACEOF
  4186. if ac_fn_c_try_compile "$LINENO"; then :
  4187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4188. $as_echo "yes" >&6; }
  4189. else
  4190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4191. /* end confdefs.h. */
  4192. #include <sys/types.h>
  4193. #include <sys/socket.h>
  4194. int accept (int,
  4195. struct sockaddr *,
  4196. size_t *);
  4197. int
  4198. main ()
  4199. {
  4200. ;
  4201. return 0;
  4202. }
  4203. _ACEOF
  4204. if ac_fn_c_try_compile "$LINENO"; then :
  4205. { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t" >&5
  4206. $as_echo "size_t" >&6; }
  4207. $as_echo "#define socklen_t size_t" >>confdefs.h
  4208. else
  4209. { $as_echo "$as_me:${as_lineno-$LINENO}: result: int" >&5
  4210. $as_echo "int" >&6; }
  4211. $as_echo "#define socklen_t int" >>confdefs.h
  4212. fi
  4213. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4214. fi
  4215. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4216. { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
  4217. $as_echo_n "checking return type of signal handlers... " >&6; }
  4218. if ${ac_cv_type_signal+:} false; then :
  4219. $as_echo_n "(cached) " >&6
  4220. else
  4221. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4222. /* end confdefs.h. */
  4223. #include <sys/types.h>
  4224. #include <signal.h>
  4225. int
  4226. main ()
  4227. {
  4228. return *(signal (0, 0)) (0) == 1;
  4229. ;
  4230. return 0;
  4231. }
  4232. _ACEOF
  4233. if ac_fn_c_try_compile "$LINENO"; then :
  4234. ac_cv_type_signal=int
  4235. else
  4236. ac_cv_type_signal=void
  4237. fi
  4238. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4239. fi
  4240. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
  4241. $as_echo "$ac_cv_type_signal" >&6; }
  4242. cat >>confdefs.h <<_ACEOF
  4243. #define RETSIGTYPE $ac_cv_type_signal
  4244. _ACEOF
  4245. ac_ext=c
  4246. ac_cpp='$CPP $CPPFLAGS'
  4247. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4248. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4249. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  4251. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4252. # On Suns, sometimes $CPP names a directory.
  4253. if test -n "$CPP" && test -d "$CPP"; then
  4254. CPP=
  4255. fi
  4256. if test -z "$CPP"; then
  4257. if ${ac_cv_prog_CPP+:} false; then :
  4258. $as_echo_n "(cached) " >&6
  4259. else
  4260. # Double quotes because CPP needs to be expanded
  4261. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4262. do
  4263. ac_preproc_ok=false
  4264. for ac_c_preproc_warn_flag in '' yes
  4265. do
  4266. # Use a header file that comes with gcc, so configuring glibc
  4267. # with a fresh cross-compiler works.
  4268. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4269. # <limits.h> exists even on freestanding compilers.
  4270. # On the NeXT, cc -E runs the code through the compiler's parser,
  4271. # not just through cpp. "Syntax error" is here to catch this case.
  4272. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4273. /* end confdefs.h. */
  4274. #ifdef __STDC__
  4275. # include <limits.h>
  4276. #else
  4277. # include <assert.h>
  4278. #endif
  4279. Syntax error
  4280. _ACEOF
  4281. if ac_fn_c_try_cpp "$LINENO"; then :
  4282. else
  4283. # Broken: fails on valid input.
  4284. continue
  4285. fi
  4286. rm -f conftest.err conftest.i conftest.$ac_ext
  4287. # OK, works on sane cases. Now check whether nonexistent headers
  4288. # can be detected and how.
  4289. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4290. /* end confdefs.h. */
  4291. #include <ac_nonexistent.h>
  4292. _ACEOF
  4293. if ac_fn_c_try_cpp "$LINENO"; then :
  4294. # Broken: success on invalid input.
  4295. continue
  4296. else
  4297. # Passes both tests.
  4298. ac_preproc_ok=:
  4299. break
  4300. fi
  4301. rm -f conftest.err conftest.i conftest.$ac_ext
  4302. done
  4303. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4304. rm -f conftest.i conftest.err conftest.$ac_ext
  4305. if $ac_preproc_ok; then :
  4306. break
  4307. fi
  4308. done
  4309. ac_cv_prog_CPP=$CPP
  4310. fi
  4311. CPP=$ac_cv_prog_CPP
  4312. else
  4313. ac_cv_prog_CPP=$CPP
  4314. fi
  4315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  4316. $as_echo "$CPP" >&6; }
  4317. ac_preproc_ok=false
  4318. for ac_c_preproc_warn_flag in '' yes
  4319. do
  4320. # Use a header file that comes with gcc, so configuring glibc
  4321. # with a fresh cross-compiler works.
  4322. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4323. # <limits.h> exists even on freestanding compilers.
  4324. # On the NeXT, cc -E runs the code through the compiler's parser,
  4325. # not just through cpp. "Syntax error" is here to catch this case.
  4326. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4327. /* end confdefs.h. */
  4328. #ifdef __STDC__
  4329. # include <limits.h>
  4330. #else
  4331. # include <assert.h>
  4332. #endif
  4333. Syntax error
  4334. _ACEOF
  4335. if ac_fn_c_try_cpp "$LINENO"; then :
  4336. else
  4337. # Broken: fails on valid input.
  4338. continue
  4339. fi
  4340. rm -f conftest.err conftest.i conftest.$ac_ext
  4341. # OK, works on sane cases. Now check whether nonexistent headers
  4342. # can be detected and how.
  4343. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4344. /* end confdefs.h. */
  4345. #include <ac_nonexistent.h>
  4346. _ACEOF
  4347. if ac_fn_c_try_cpp "$LINENO"; then :
  4348. # Broken: success on invalid input.
  4349. continue
  4350. else
  4351. # Passes both tests.
  4352. ac_preproc_ok=:
  4353. break
  4354. fi
  4355. rm -f conftest.err conftest.i conftest.$ac_ext
  4356. done
  4357. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4358. rm -f conftest.i conftest.err conftest.$ac_ext
  4359. if $ac_preproc_ok; then :
  4360. else
  4361. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4362. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4363. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4364. See \`config.log' for more details" "$LINENO" 5; }
  4365. fi
  4366. ac_ext=c
  4367. ac_cpp='$CPP $CPPFLAGS'
  4368. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4369. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4370. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4372. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4373. if ${ac_cv_path_GREP+:} false; then :
  4374. $as_echo_n "(cached) " >&6
  4375. else
  4376. if test -z "$GREP"; then
  4377. ac_path_GREP_found=false
  4378. # Loop through the user's path and test for each of PROGNAME-LIST
  4379. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4380. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4381. do
  4382. IFS=$as_save_IFS
  4383. test -z "$as_dir" && as_dir=.
  4384. for ac_prog in grep ggrep; do
  4385. for ac_exec_ext in '' $ac_executable_extensions; do
  4386. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4387. as_fn_executable_p "$ac_path_GREP" || continue
  4388. # Check for GNU ac_path_GREP and select it if it is found.
  4389. # Check for GNU $ac_path_GREP
  4390. case `"$ac_path_GREP" --version 2>&1` in
  4391. *GNU*)
  4392. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4393. *)
  4394. ac_count=0
  4395. $as_echo_n 0123456789 >"conftest.in"
  4396. while :
  4397. do
  4398. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4399. mv "conftest.tmp" "conftest.in"
  4400. cp "conftest.in" "conftest.nl"
  4401. $as_echo 'GREP' >> "conftest.nl"
  4402. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4403. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4404. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4405. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4406. # Best one so far, save it but keep looking for a better one
  4407. ac_cv_path_GREP="$ac_path_GREP"
  4408. ac_path_GREP_max=$ac_count
  4409. fi
  4410. # 10*(2^10) chars as input seems more than enough
  4411. test $ac_count -gt 10 && break
  4412. done
  4413. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4414. esac
  4415. $ac_path_GREP_found && break 3
  4416. done
  4417. done
  4418. done
  4419. IFS=$as_save_IFS
  4420. if test -z "$ac_cv_path_GREP"; then
  4421. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4422. fi
  4423. else
  4424. ac_cv_path_GREP=$GREP
  4425. fi
  4426. fi
  4427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4428. $as_echo "$ac_cv_path_GREP" >&6; }
  4429. GREP="$ac_cv_path_GREP"
  4430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4431. $as_echo_n "checking for egrep... " >&6; }
  4432. if ${ac_cv_path_EGREP+:} false; then :
  4433. $as_echo_n "(cached) " >&6
  4434. else
  4435. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4436. then ac_cv_path_EGREP="$GREP -E"
  4437. else
  4438. if test -z "$EGREP"; then
  4439. ac_path_EGREP_found=false
  4440. # Loop through the user's path and test for each of PROGNAME-LIST
  4441. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4442. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4443. do
  4444. IFS=$as_save_IFS
  4445. test -z "$as_dir" && as_dir=.
  4446. for ac_prog in egrep; do
  4447. for ac_exec_ext in '' $ac_executable_extensions; do
  4448. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4449. as_fn_executable_p "$ac_path_EGREP" || continue
  4450. # Check for GNU ac_path_EGREP and select it if it is found.
  4451. # Check for GNU $ac_path_EGREP
  4452. case `"$ac_path_EGREP" --version 2>&1` in
  4453. *GNU*)
  4454. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4455. *)
  4456. ac_count=0
  4457. $as_echo_n 0123456789 >"conftest.in"
  4458. while :
  4459. do
  4460. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4461. mv "conftest.tmp" "conftest.in"
  4462. cp "conftest.in" "conftest.nl"
  4463. $as_echo 'EGREP' >> "conftest.nl"
  4464. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4465. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4466. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4467. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4468. # Best one so far, save it but keep looking for a better one
  4469. ac_cv_path_EGREP="$ac_path_EGREP"
  4470. ac_path_EGREP_max=$ac_count
  4471. fi
  4472. # 10*(2^10) chars as input seems more than enough
  4473. test $ac_count -gt 10 && break
  4474. done
  4475. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4476. esac
  4477. $ac_path_EGREP_found && break 3
  4478. done
  4479. done
  4480. done
  4481. IFS=$as_save_IFS
  4482. if test -z "$ac_cv_path_EGREP"; then
  4483. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4484. fi
  4485. else
  4486. ac_cv_path_EGREP=$EGREP
  4487. fi
  4488. fi
  4489. fi
  4490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4491. $as_echo "$ac_cv_path_EGREP" >&6; }
  4492. EGREP="$ac_cv_path_EGREP"
  4493. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4494. $as_echo_n "checking for ANSI C header files... " >&6; }
  4495. if ${ac_cv_header_stdc+:} false; then :
  4496. $as_echo_n "(cached) " >&6
  4497. else
  4498. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4499. /* end confdefs.h. */
  4500. #include <stdlib.h>
  4501. #include <stdarg.h>
  4502. #include <string.h>
  4503. #include <float.h>
  4504. int
  4505. main ()
  4506. {
  4507. ;
  4508. return 0;
  4509. }
  4510. _ACEOF
  4511. if ac_fn_c_try_compile "$LINENO"; then :
  4512. ac_cv_header_stdc=yes
  4513. else
  4514. ac_cv_header_stdc=no
  4515. fi
  4516. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4517. if test $ac_cv_header_stdc = yes; then
  4518. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4519. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4520. /* end confdefs.h. */
  4521. #include <string.h>
  4522. _ACEOF
  4523. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4524. $EGREP "memchr" >/dev/null 2>&1; then :
  4525. else
  4526. ac_cv_header_stdc=no
  4527. fi
  4528. rm -f conftest*
  4529. fi
  4530. if test $ac_cv_header_stdc = yes; then
  4531. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4532. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4533. /* end confdefs.h. */
  4534. #include <stdlib.h>
  4535. _ACEOF
  4536. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4537. $EGREP "free" >/dev/null 2>&1; then :
  4538. else
  4539. ac_cv_header_stdc=no
  4540. fi
  4541. rm -f conftest*
  4542. fi
  4543. if test $ac_cv_header_stdc = yes; then
  4544. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4545. if test "$cross_compiling" = yes; then :
  4546. :
  4547. else
  4548. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4549. /* end confdefs.h. */
  4550. #include <ctype.h>
  4551. #include <stdlib.h>
  4552. #if ((' ' & 0x0FF) == 0x020)
  4553. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4554. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4555. #else
  4556. # define ISLOWER(c) \
  4557. (('a' <= (c) && (c) <= 'i') \
  4558. || ('j' <= (c) && (c) <= 'r') \
  4559. || ('s' <= (c) && (c) <= 'z'))
  4560. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4561. #endif
  4562. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4563. int
  4564. main ()
  4565. {
  4566. int i;
  4567. for (i = 0; i < 256; i++)
  4568. if (XOR (islower (i), ISLOWER (i))
  4569. || toupper (i) != TOUPPER (i))
  4570. return 2;
  4571. return 0;
  4572. }
  4573. _ACEOF
  4574. if ac_fn_c_try_run "$LINENO"; then :
  4575. else
  4576. ac_cv_header_stdc=no
  4577. fi
  4578. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4579. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4580. fi
  4581. fi
  4582. fi
  4583. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4584. $as_echo "$ac_cv_header_stdc" >&6; }
  4585. if test $ac_cv_header_stdc = yes; then
  4586. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4587. fi
  4588. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4589. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4590. inttypes.h stdint.h unistd.h
  4591. do :
  4592. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4593. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4594. "
  4595. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4596. cat >>confdefs.h <<_ACEOF
  4597. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4598. _ACEOF
  4599. fi
  4600. done
  4601. ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
  4602. if test "x$ac_cv_type_uintptr_t" = xyes; then :
  4603. $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
  4604. else
  4605. for ac_type in 'unsigned int' 'unsigned long int' \
  4606. 'unsigned long long int'; do
  4607. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4608. /* end confdefs.h. */
  4609. $ac_includes_default
  4610. int
  4611. main ()
  4612. {
  4613. static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
  4614. test_array [0] = 0;
  4615. return test_array [0];
  4616. ;
  4617. return 0;
  4618. }
  4619. _ACEOF
  4620. if ac_fn_c_try_compile "$LINENO"; then :
  4621. cat >>confdefs.h <<_ACEOF
  4622. #define uintptr_t $ac_type
  4623. _ACEOF
  4624. ac_type=
  4625. fi
  4626. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4627. test -z "$ac_type" && break
  4628. done
  4629. fi
  4630. ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
  4631. case $ac_cv_c_uint16_t in #(
  4632. no|yes) ;; #(
  4633. *)
  4634. cat >>confdefs.h <<_ACEOF
  4635. #define uint16_t $ac_cv_c_uint16_t
  4636. _ACEOF
  4637. ;;
  4638. esac
  4639. for ac_header in libgen.h sys/timeb.h posix/time.h
  4640. do :
  4641. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4642. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  4643. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4644. cat >>confdefs.h <<_ACEOF
  4645. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4646. _ACEOF
  4647. fi
  4648. done
  4649. for ac_header in sys/select.h
  4650. do :
  4651. ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
  4652. if test "x$ac_cv_header_sys_select_h" = xyes; then :
  4653. cat >>confdefs.h <<_ACEOF
  4654. #define HAVE_SYS_SELECT_H 1
  4655. _ACEOF
  4656. fi
  4657. done
  4658. for ac_header in sysexits.h
  4659. do :
  4660. ac_fn_c_check_header_mongrel "$LINENO" "sysexits.h" "ac_cv_header_sysexits_h" "$ac_includes_default"
  4661. if test "x$ac_cv_header_sysexits_h" = xyes; then :
  4662. cat >>confdefs.h <<_ACEOF
  4663. #define HAVE_SYSEXITS_H 1
  4664. _ACEOF
  4665. fi
  4666. done
  4667. for ac_header in langinfo.h
  4668. do :
  4669. ac_fn_c_check_header_mongrel "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
  4670. if test "x$ac_cv_header_langinfo_h" = xyes; then :
  4671. cat >>confdefs.h <<_ACEOF
  4672. #define HAVE_LANGINFO_H 1
  4673. _ACEOF
  4674. fi
  4675. done
  4676. ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
  4677. if test "x$ac_cv_func_nl_langinfo" = xyes; then :
  4678. else
  4679. case " $LIBOBJS " in
  4680. *" c/fake/langinfo.$ac_objext "* ) ;;
  4681. *) LIBOBJS="$LIBOBJS c/fake/langinfo.$ac_objext"
  4682. ;;
  4683. esac
  4684. fi
  4685. for ac_func in gettimeofday ftime select setitimer sigaction execvpe
  4686. do :
  4687. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4688. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  4689. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  4690. cat >>confdefs.h <<_ACEOF
  4691. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4692. _ACEOF
  4693. fi
  4694. done
  4695. for ac_header in poll.h
  4696. do :
  4697. ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
  4698. if test "x$ac_cv_header_poll_h" = xyes; then :
  4699. cat >>confdefs.h <<_ACEOF
  4700. #define HAVE_POLL_H 1
  4701. _ACEOF
  4702. fi
  4703. done
  4704. for ac_func in poll
  4705. do :
  4706. ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
  4707. if test "x$ac_cv_func_poll" = xyes; then :
  4708. cat >>confdefs.h <<_ACEOF
  4709. #define HAVE_POLL 1
  4710. _ACEOF
  4711. fi
  4712. done
  4713. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  4714. if test -n "$ac_tool_prefix"; then
  4715. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  4716. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  4717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4718. $as_echo_n "checking for $ac_word... " >&6; }
  4719. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  4720. $as_echo_n "(cached) " >&6
  4721. else
  4722. case $PKG_CONFIG in
  4723. [\\/]* | ?:[\\/]*)
  4724. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  4725. ;;
  4726. *)
  4727. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4728. for as_dir in $PATH
  4729. do
  4730. IFS=$as_save_IFS
  4731. test -z "$as_dir" && as_dir=.
  4732. for ac_exec_ext in '' $ac_executable_extensions; do
  4733. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4734. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4735. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4736. break 2
  4737. fi
  4738. done
  4739. done
  4740. IFS=$as_save_IFS
  4741. ;;
  4742. esac
  4743. fi
  4744. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  4745. if test -n "$PKG_CONFIG"; then
  4746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  4747. $as_echo "$PKG_CONFIG" >&6; }
  4748. else
  4749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4750. $as_echo "no" >&6; }
  4751. fi
  4752. fi
  4753. if test -z "$ac_cv_path_PKG_CONFIG"; then
  4754. ac_pt_PKG_CONFIG=$PKG_CONFIG
  4755. # Extract the first word of "pkg-config", so it can be a program name with args.
  4756. set dummy pkg-config; ac_word=$2
  4757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4758. $as_echo_n "checking for $ac_word... " >&6; }
  4759. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  4760. $as_echo_n "(cached) " >&6
  4761. else
  4762. case $ac_pt_PKG_CONFIG in
  4763. [\\/]* | ?:[\\/]*)
  4764. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  4765. ;;
  4766. *)
  4767. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4768. for as_dir in $PATH
  4769. do
  4770. IFS=$as_save_IFS
  4771. test -z "$as_dir" && as_dir=.
  4772. for ac_exec_ext in '' $ac_executable_extensions; do
  4773. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4774. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  4775. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4776. break 2
  4777. fi
  4778. done
  4779. done
  4780. IFS=$as_save_IFS
  4781. ;;
  4782. esac
  4783. fi
  4784. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  4785. if test -n "$ac_pt_PKG_CONFIG"; then
  4786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  4787. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  4788. else
  4789. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4790. $as_echo "no" >&6; }
  4791. fi
  4792. if test "x$ac_pt_PKG_CONFIG" = x; then
  4793. PKG_CONFIG=""
  4794. else
  4795. case $cross_compiling:$ac_tool_warned in
  4796. yes:)
  4797. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4798. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4799. ac_tool_warned=yes ;;
  4800. esac
  4801. PKG_CONFIG=$ac_pt_PKG_CONFIG
  4802. fi
  4803. else
  4804. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  4805. fi
  4806. fi
  4807. if test -n "$PKG_CONFIG"; then
  4808. _pkg_min_version=0.9.0
  4809. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  4810. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  4811. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  4812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4813. $as_echo "yes" >&6; }
  4814. else
  4815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4816. $as_echo "no" >&6; }
  4817. PKG_CONFIG=""
  4818. fi
  4819. fi
  4820. # Check whether --enable-glib was given.
  4821. if test "${enable_glib+set}" = set; then :
  4822. enableval=$enable_glib; if test "$enable_glib" != no; then
  4823. pkg_failed=no
  4824. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
  4825. $as_echo_n "checking for GLIB... " >&6; }
  4826. if test -n "$PKG_CONFIG"; then
  4827. if test -n "$GLIB_CFLAGS"; then
  4828. pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  4829. else
  4830. if test -n "$PKG_CONFIG" && \
  4831. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
  4832. ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  4833. ac_status=$?
  4834. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4835. test $ac_status = 0; }; then
  4836. pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  4837. else
  4838. pkg_failed=yes
  4839. fi
  4840. fi
  4841. else
  4842. pkg_failed=untried
  4843. fi
  4844. if test -n "$PKG_CONFIG"; then
  4845. if test -n "$GLIB_LIBS"; then
  4846. pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  4847. else
  4848. if test -n "$PKG_CONFIG" && \
  4849. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
  4850. ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  4851. ac_status=$?
  4852. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4853. test $ac_status = 0; }; then
  4854. pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  4855. else
  4856. pkg_failed=yes
  4857. fi
  4858. fi
  4859. else
  4860. pkg_failed=untried
  4861. fi
  4862. if test $pkg_failed = yes; then
  4863. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  4864. _pkg_short_errors_supported=yes
  4865. else
  4866. _pkg_short_errors_supported=no
  4867. fi
  4868. if test $_pkg_short_errors_supported = yes; then
  4869. GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
  4870. else
  4871. GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
  4872. fi
  4873. # Put the nasty error message in config.log where it belongs
  4874. echo "$GLIB_PKG_ERRORS" >&5
  4875. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4876. $as_echo "no" >&6; }
  4877. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: glib-2.0 not found" >&5
  4878. $as_echo "$as_me: WARNING: glib-2.0 not found" >&2;}
  4879. elif test $pkg_failed = untried; then
  4880. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: glib-2.0 not found" >&5
  4881. $as_echo "$as_me: WARNING: glib-2.0 not found" >&2;}
  4882. else
  4883. GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  4884. GLIB_LIBS=$pkg_cv_GLIB_LIBS
  4885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4886. $as_echo "yes" >&6; }
  4887. $as_echo "#define HAVE_GLIB 1" >>confdefs.h
  4888. fi
  4889. LIBS="$LIBS $GLIB_LIBS"
  4890. CFLAGS="$CFLAGS $GLIB_CFLAGS"
  4891. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GLIB flags work" >&5
  4892. $as_echo_n "checking whether the GLIB flags work... " >&6; }
  4893. if test "$cross_compiling" = yes; then :
  4894. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4895. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4896. as_fn_error $? "cannot run test program while cross compiling
  4897. See \`config.log' for more details" "$LINENO" 5; }
  4898. else
  4899. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4900. /* end confdefs.h. */
  4901. int main() { return 0;}
  4902. _ACEOF
  4903. if ac_fn_c_try_run "$LINENO"; then :
  4904. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4905. $as_echo "yes" >&6; }
  4906. else
  4907. as_fn_error $? "Failed to compile with GLIB flags." "$LINENO" 5
  4908. fi
  4909. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4910. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4911. fi
  4912. fi
  4913. fi
  4914. for ac_func in dlopen
  4915. do :
  4916. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  4917. if test "x$ac_cv_func_dlopen" = xyes; then :
  4918. cat >>confdefs.h <<_ACEOF
  4919. #define HAVE_DLOPEN 1
  4920. _ACEOF
  4921. fi
  4922. done
  4923. for ac_func in socket chroot
  4924. do :
  4925. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4926. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  4927. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  4928. cat >>confdefs.h <<_ACEOF
  4929. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4930. _ACEOF
  4931. fi
  4932. done
  4933. ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
  4934. if test "x$ac_cv_func_strerror" = xyes; then :
  4935. $as_echo "#define HAVE_STRERROR 1" >>confdefs.h
  4936. else
  4937. case " $LIBOBJS " in
  4938. *" c/fake/strerror.o.$ac_objext "* ) ;;
  4939. *) LIBOBJS="$LIBOBJS c/fake/strerror.o.$ac_objext"
  4940. ;;
  4941. esac
  4942. fi
  4943. { $as_echo "$as_me:${as_lineno-$LINENO}: checking environ" >&5
  4944. $as_echo_n "checking environ... " >&6; }
  4945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4946. /* end confdefs.h. */
  4947. int
  4948. main ()
  4949. {
  4950. extern char **environ;
  4951. if (environ)
  4952. return 0;
  4953. else
  4954. return 1;
  4955. ;
  4956. return 0;
  4957. }
  4958. _ACEOF
  4959. if ac_fn_c_try_link "$LINENO"; then :
  4960. $as_echo "#define ENVIRON_NAME environ" >>confdefs.h
  4961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: using environ" >&5
  4962. $as_echo "using environ" >&6; }
  4963. else
  4964. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4965. /* end confdefs.h. */
  4966. int
  4967. main ()
  4968. {
  4969. extern char **__environ;
  4970. if (__environ)
  4971. return 0;
  4972. else
  4973. return 1;
  4974. ;
  4975. return 0;
  4976. }
  4977. _ACEOF
  4978. if ac_fn_c_try_link "$LINENO"; then :
  4979. $as_echo "#define ENVIRON_NAME __environ" >>confdefs.h
  4980. { $as_echo "$as_me:${as_lineno-$LINENO}: result: using __environ" >&5
  4981. $as_echo "using __environ" >&6; }
  4982. else
  4983. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no environ variable found" >&5
  4984. $as_echo "$as_me: WARNING: no environ variable found" >&2;}
  4985. case " $LIBOBJS " in
  4986. *" c/fake/environ.o.$ac_objext "* ) ;;
  4987. *) LIBOBJS="$LIBOBJS c/fake/environ.o.$ac_objext"
  4988. ;;
  4989. esac
  4990. fi
  4991. rm -f core conftest.err conftest.$ac_objext \
  4992. conftest$ac_exeext conftest.$ac_ext
  4993. fi
  4994. rm -f core conftest.err conftest.$ac_objext \
  4995. conftest$ac_exeext conftest.$ac_ext
  4996. build_universal="$S48_BUILD_UNIVERSAL_P"
  4997. { $as_echo "$as_me:${as_lineno-$LINENO}: checking IEEE floating-point endianness" >&5
  4998. $as_echo_n "checking IEEE floating-point endianness... " >&6; }
  4999. if test "$build_universal" = "1";
  5000. then
  5001. { $as_echo "$as_me:${as_lineno-$LINENO}: result: building Universal Binary; using compiler defined macros instead" >&5
  5002. $as_echo "building Universal Binary; using compiler defined macros instead" >&6; }
  5003. else
  5004. if test "$cross_compiling" = yes; then :
  5005. ieee_endianness="least first"
  5006. else
  5007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5008. /* end confdefs.h. */
  5009. #include <stdio.h>
  5010. #include <inttypes.h>
  5011. typedef uint32_t word32_t;
  5012. typedef union { double d; word32_t word[2]; } double_overlay;
  5013. #define DOUBLE_WORD0(x) ((double_overlay*)&(x))->word[0]
  5014. #define DOUBLE_WORD1(x) ((double_overlay*)&(x))->word[1]
  5015. int
  5016. main(void)
  5017. {
  5018. double n = 0.3;
  5019. /* least significant byte first */
  5020. if ((DOUBLE_WORD0(n) == 0x33333333) && (DOUBLE_WORD1(n) == 0x3fd33333))
  5021. return 0;
  5022. /* most significant byte first */
  5023. else if ((DOUBLE_WORD1(n) == 0x33333333) && (DOUBLE_WORD0(n) == 0x3fd33333))
  5024. return 1;
  5025. else {
  5026. fprintf(stderr, "WARNING: unknown IEEE format; assuming IEEE with least significant byte first\n");
  5027. return 0;
  5028. }
  5029. }
  5030. _ACEOF
  5031. if ac_fn_c_try_run "$LINENO"; then :
  5032. ieee_endianness="least first"
  5033. else
  5034. ieee_endianness="most first"
  5035. fi
  5036. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5037. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5038. fi
  5039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ieee_endianness" >&5
  5040. $as_echo "$ieee_endianness" >&6; }
  5041. if test "$ieee_endianness" = "most first"; then
  5042. $as_echo "#define IEEE_MOST_FIRST 1" >>confdefs.h
  5043. fi
  5044. fi
  5045. { $as_echo "$as_me:${as_lineno-$LINENO}: checking native-code compiler support" >&5
  5046. $as_echo_n "checking native-code compiler support... " >&6; }
  5047. # Check whether --enable-native-code was given.
  5048. if test "${enable_native_code+set}" = set; then :
  5049. enableval=$enable_native_code; if test "$enable_native_code" != no; then
  5050. case $GC_OBJS in
  5051. '${GC_TWOSPACE_OBJS}' )
  5052. case `uname -m` in
  5053. i?86 )
  5054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: x86" >&5
  5055. $as_echo "x86" >&6; }
  5056. ASM_OBJECTS='${X86_ASM_OBJECTS}'
  5057. for ac_func in sigaltstack
  5058. do :
  5059. ac_fn_c_check_func "$LINENO" "sigaltstack" "ac_cv_func_sigaltstack"
  5060. if test "x$ac_cv_func_sigaltstack" = xyes; then :
  5061. cat >>confdefs.h <<_ACEOF
  5062. #define HAVE_SIGALTSTACK 1
  5063. _ACEOF
  5064. HAVE_SIGALTSTACK=1
  5065. else
  5066. HAVE_SIGALTSTACK=0
  5067. fi
  5068. done
  5069. if test "$HAVE_SIGALTSTACK" = 0; then
  5070. as_fn_error $? "Your system lacks sigaltstack" "$LINENO" 5
  5071. fi
  5072. { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler style" >&5
  5073. $as_echo_n "checking assembler style... " >&6; }
  5074. case `uname` in
  5075. Darwin )
  5076. { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
  5077. $as_echo "Darwin" >&6; }
  5078. ASM_STYLE='darwin' ;;
  5079. * )
  5080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU(hopefully)" >&5
  5081. $as_echo "GNU(hopefully)" >&6; }
  5082. ASM_STYLE='gnu' ;;
  5083. esac ;;
  5084. * )
  5085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5086. $as_echo "no" >&6; }
  5087. ASM_OBJECTS='${FAKE_ASM_OBJECTS}'
  5088. esac;;
  5089. * )
  5090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (picked GC not compatible)" >&5
  5091. $as_echo "no (picked GC not compatible)" >&6; }
  5092. ASM_OBJECTS='${FAKE_ASM_OBJECTS}'
  5093. esac
  5094. else
  5095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5096. $as_echo "no" >&6; }
  5097. ASM_OBJECTS='${FAKE_ASM_OBJECTS}'
  5098. fi
  5099. else
  5100. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5101. $as_echo "no" >&6; }
  5102. ASM_OBJECTS='${FAKE_ASM_OBJECTS}'
  5103. fi
  5104. for ac_prog in ld cc gcc
  5105. do
  5106. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5107. set dummy $ac_prog; ac_word=$2
  5108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5109. $as_echo_n "checking for $ac_word... " >&6; }
  5110. if ${ac_cv_prog_LD+:} false; then :
  5111. $as_echo_n "(cached) " >&6
  5112. else
  5113. if test -n "$LD"; then
  5114. ac_cv_prog_LD="$LD" # Let the user override the test.
  5115. else
  5116. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5117. for as_dir in $PATH
  5118. do
  5119. IFS=$as_save_IFS
  5120. test -z "$as_dir" && as_dir=.
  5121. for ac_exec_ext in '' $ac_executable_extensions; do
  5122. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5123. ac_cv_prog_LD="$ac_prog"
  5124. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5125. break 2
  5126. fi
  5127. done
  5128. done
  5129. IFS=$as_save_IFS
  5130. fi
  5131. fi
  5132. LD=$ac_cv_prog_LD
  5133. if test -n "$LD"; then
  5134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5135. $as_echo "$LD" >&6; }
  5136. else
  5137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5138. $as_echo "no" >&6; }
  5139. fi
  5140. test -n "$LD" && break
  5141. done
  5142. { $as_echo "$as_me:${as_lineno-$LINENO}: checking compile and link flags for dynamic externals" >&5
  5143. $as_echo_n "checking compile and link flags for dynamic externals... " >&6; }
  5144. DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE=""
  5145. case "$host_os" in
  5146. hpux* )
  5147. DYNAMIC_EXTERNALS_CFLAGS='+z -D_HPUX_SOURCE'
  5148. DYNAMIC_EXTERNALS_LDFLAGS='-b'
  5149. ;;
  5150. aix* )
  5151. DYNAMIC_EXTERNALS_CFLAGS=''
  5152. DYNAMIC_EXTERNALS_LDFLAGS='-bM:SRE -brtl -bI:\$(incdir)/scheme48.exp -bnoentry -bE:\$(incdir)/scheme48-external.exp -lc'
  5153. DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE='-bM:SRE -brtl -bI:\$(srcdir)/c/scheme48.exp -bnoentry -bE:\$(srcdir)/c/scheme48-external.exp -lc'
  5154. ;;
  5155. darwin*|macosx* )
  5156. DYNAMIC_EXTERNALS_CFLAGS='-fno-common'
  5157. DYNAMIC_EXTERNALS_LDFLAGS="$CFLAGS $LDFLAGS -bundle -flat_namespace -undefined suppress"
  5158. LD="$CC"
  5159. ;;
  5160. solaris* )
  5161. DYNAMIC_EXTERNALS_CFLAGS="$PIC"
  5162. DYNAMIC_EXTERNALS_LDFLAGS="$LDFLAGS -G"
  5163. LD="$CC"
  5164. ;;
  5165. linux* )
  5166. LD="$CC"
  5167. DYNAMIC_EXTERNALS_CFLAGS="$PIC"
  5168. DYNAMIC_EXTERNALS_LDFLAGS="-shared $LDFLAGS"
  5169. ;;
  5170. cygwin* )
  5171. LD="$CC"
  5172. DYNAMIC_EXTERNALS_CFLAGS=""
  5173. DYNAMIC_EXTERNALS_LDFLAGS='-shared $(bindir)/scheme48vm.a'
  5174. DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE='-shared $(srcdir)/scheme48vm.a'
  5175. ;;
  5176. * )
  5177. DYNAMIC_EXTERNALS_CFLAGS="$PIC"
  5178. DYNAMIC_EXTERNALS_LDFLAGS='-shared'
  5179. ;;
  5180. esac
  5181. if test -z "$DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE"; then
  5182. DYNAMIC_EXTERNALS_LDFLAGS_IN_PLACE="$DYNAMIC_EXTERNALS_LDFLAGS"
  5183. fi
  5184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNAMIC_EXTERNALS_CFLAGS, $DYNAMIC_EXTERNALS_LDFLAGS" >&5
  5185. $as_echo "$DYNAMIC_EXTERNALS_CFLAGS, $DYNAMIC_EXTERNALS_LDFLAGS" >&6; }
  5186. for ac_header in pthread.h
  5187. do :
  5188. ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
  5189. if test "x$ac_cv_header_pthread_h" = xyes; then :
  5190. cat >>confdefs.h <<_ACEOF
  5191. #define HAVE_PTHREAD_H 1
  5192. _ACEOF
  5193. pthreads_done="no"
  5194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking Pthreads support" >&5
  5195. $as_echo_n "checking Pthreads support... " >&6; }
  5196. if test "$pthreads_done" = "no"; then
  5197. flags_result=""
  5198. oldCFLAGS="$CFLAGS"
  5199. CFLAGS="$CFLAGS -pthread"
  5200. if test "$cross_compiling" = yes; then :
  5201. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5202. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5203. as_fn_error $? "cannot run test program while cross compiling
  5204. See \`config.log' for more details" "$LINENO" 5; }
  5205. else
  5206. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5207. /* end confdefs.h. */
  5208. #include <pthread.h>
  5209. int
  5210. main(void)
  5211. {
  5212. pthread_kill(pthread_self(), 0);
  5213. }
  5214. _ACEOF
  5215. if ac_fn_c_try_run "$LINENO"; then :
  5216. flags_result="-pthread (compile)"
  5217. else
  5218. CFLAGS="$oldCFLAGS"
  5219. fi
  5220. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5221. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5222. fi
  5223. oldLDFLAGS="$LDFLAGS"
  5224. LDFLAGS="$LDFLAGS -pthread"
  5225. if test "$cross_compiling" = yes; then :
  5226. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5227. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5228. as_fn_error $? "cannot run test program while cross compiling
  5229. See \`config.log' for more details" "$LINENO" 5; }
  5230. else
  5231. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5232. /* end confdefs.h. */
  5233. #include <pthread.h>
  5234. int
  5235. main(void)
  5236. {
  5237. pthread_kill(pthread_self(), 0);
  5238. }
  5239. _ACEOF
  5240. if ac_fn_c_try_run "$LINENO"; then :
  5241. flags_result="$flags_result -pthread (link)"
  5242. pthreads_done="yes"
  5243. else
  5244. LDFLAGS="$oldLDFLAGS"
  5245. fi
  5246. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5247. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5248. fi
  5249. if test -n "$flags_result"; then
  5250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_result" >&5
  5251. $as_echo "$flags_result" >&6; }
  5252. fi
  5253. fi
  5254. if test "$pthreads_done" = "no"; then
  5255. flags_result=""
  5256. oldCFLAGS="$CFLAGS"
  5257. CFLAGS="$CFLAGS -pthreads"
  5258. if test "$cross_compiling" = yes; then :
  5259. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5260. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5261. as_fn_error $? "cannot run test program while cross compiling
  5262. See \`config.log' for more details" "$LINENO" 5; }
  5263. else
  5264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5265. /* end confdefs.h. */
  5266. #include <pthread.h>
  5267. int
  5268. main(void)
  5269. {
  5270. pthread_kill(pthread_self(), 0);
  5271. }
  5272. _ACEOF
  5273. if ac_fn_c_try_run "$LINENO"; then :
  5274. flags_result="-pthreads (compile)"
  5275. else
  5276. CFLAGS="$oldCFLAGS"
  5277. fi
  5278. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5279. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5280. fi
  5281. oldLDFLAGS="$LDFLAGS"
  5282. LDFLAGS="$LDFLAGS -pthreads"
  5283. if test "$cross_compiling" = yes; then :
  5284. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5285. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5286. as_fn_error $? "cannot run test program while cross compiling
  5287. See \`config.log' for more details" "$LINENO" 5; }
  5288. else
  5289. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5290. /* end confdefs.h. */
  5291. #include <pthread.h>
  5292. int
  5293. main(void)
  5294. {
  5295. pthread_kill(pthread_self(), 0);
  5296. }
  5297. _ACEOF
  5298. if ac_fn_c_try_run "$LINENO"; then :
  5299. flags_result="$flags_result -pthreads (link)"
  5300. pthreads_done="yes"
  5301. else
  5302. LDFLAGS="$oldLDFLAGS"
  5303. fi
  5304. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5305. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5306. fi
  5307. if test -n "$flags_result"; then
  5308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_result" >&5
  5309. $as_echo "$flags_result" >&6; }
  5310. fi
  5311. fi
  5312. if test "$pthreads_done" = "no"; then
  5313. flags_result=""
  5314. oldCFLAGS="$CFLAGS"
  5315. CFLAGS="$CFLAGS -mthreads"
  5316. if test "$cross_compiling" = yes; then :
  5317. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5318. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5319. as_fn_error $? "cannot run test program while cross compiling
  5320. See \`config.log' for more details" "$LINENO" 5; }
  5321. else
  5322. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5323. /* end confdefs.h. */
  5324. #include <pthread.h>
  5325. int
  5326. main(void)
  5327. {
  5328. pthread_kill(pthread_self(), 0);
  5329. }
  5330. _ACEOF
  5331. if ac_fn_c_try_run "$LINENO"; then :
  5332. flags_result="-mthreads (compile)"
  5333. else
  5334. CFLAGS="$oldCFLAGS"
  5335. fi
  5336. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5337. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5338. fi
  5339. oldLDFLAGS="$LDFLAGS"
  5340. LDFLAGS="$LDFLAGS -mthreads"
  5341. if test "$cross_compiling" = yes; then :
  5342. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5343. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5344. as_fn_error $? "cannot run test program while cross compiling
  5345. See \`config.log' for more details" "$LINENO" 5; }
  5346. else
  5347. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5348. /* end confdefs.h. */
  5349. #include <pthread.h>
  5350. int
  5351. main(void)
  5352. {
  5353. pthread_kill(pthread_self(), 0);
  5354. }
  5355. _ACEOF
  5356. if ac_fn_c_try_run "$LINENO"; then :
  5357. flags_result="$flags_result -mthreads (link)"
  5358. pthreads_done="yes"
  5359. else
  5360. LDFLAGS="$oldLDFLAGS"
  5361. fi
  5362. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5363. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5364. fi
  5365. if test -n "$flags_result"; then
  5366. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_result" >&5
  5367. $as_echo "$flags_result" >&6; }
  5368. fi
  5369. fi
  5370. if test "$pthreads_done" = "no"; then
  5371. flags_result=""
  5372. oldCFLAGS="$CFLAGS"
  5373. CFLAGS="$CFLAGS -thread"
  5374. if test "$cross_compiling" = yes; then :
  5375. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5376. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5377. as_fn_error $? "cannot run test program while cross compiling
  5378. See \`config.log' for more details" "$LINENO" 5; }
  5379. else
  5380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5381. /* end confdefs.h. */
  5382. #include <pthread.h>
  5383. int
  5384. main(void)
  5385. {
  5386. pthread_kill(pthread_self(), 0);
  5387. }
  5388. _ACEOF
  5389. if ac_fn_c_try_run "$LINENO"; then :
  5390. flags_result="-thread (compile)"
  5391. else
  5392. CFLAGS="$oldCFLAGS"
  5393. fi
  5394. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5395. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5396. fi
  5397. oldLDFLAGS="$LDFLAGS"
  5398. LDFLAGS="$LDFLAGS -thread"
  5399. if test "$cross_compiling" = yes; then :
  5400. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5401. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5402. as_fn_error $? "cannot run test program while cross compiling
  5403. See \`config.log' for more details" "$LINENO" 5; }
  5404. else
  5405. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5406. /* end confdefs.h. */
  5407. #include <pthread.h>
  5408. int
  5409. main(void)
  5410. {
  5411. pthread_kill(pthread_self(), 0);
  5412. }
  5413. _ACEOF
  5414. if ac_fn_c_try_run "$LINENO"; then :
  5415. flags_result="$flags_result -thread (link)"
  5416. pthreads_done="yes"
  5417. else
  5418. LDFLAGS="$oldLDFLAGS"
  5419. fi
  5420. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5421. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5422. fi
  5423. if test -n "$flags_result"; then
  5424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_result" >&5
  5425. $as_echo "$flags_result" >&6; }
  5426. fi
  5427. fi
  5428. if test "$pthreads_done" = "no"; then
  5429. flags_result=""
  5430. oldCFLAGS="$CFLAGS"
  5431. CFLAGS="$CFLAGS -mt"
  5432. if test "$cross_compiling" = yes; then :
  5433. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5434. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5435. as_fn_error $? "cannot run test program while cross compiling
  5436. See \`config.log' for more details" "$LINENO" 5; }
  5437. else
  5438. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5439. /* end confdefs.h. */
  5440. #include <pthread.h>
  5441. int
  5442. main(void)
  5443. {
  5444. pthread_kill(pthread_self(), 0);
  5445. }
  5446. _ACEOF
  5447. if ac_fn_c_try_run "$LINENO"; then :
  5448. flags_result="-mt (compile)"
  5449. else
  5450. CFLAGS="$oldCFLAGS"
  5451. fi
  5452. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5453. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5454. fi
  5455. oldLDFLAGS="$LDFLAGS"
  5456. LDFLAGS="$LDFLAGS -mt"
  5457. if test "$cross_compiling" = yes; then :
  5458. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5459. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5460. as_fn_error $? "cannot run test program while cross compiling
  5461. See \`config.log' for more details" "$LINENO" 5; }
  5462. else
  5463. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5464. /* end confdefs.h. */
  5465. #include <pthread.h>
  5466. int
  5467. main(void)
  5468. {
  5469. pthread_kill(pthread_self(), 0);
  5470. }
  5471. _ACEOF
  5472. if ac_fn_c_try_run "$LINENO"; then :
  5473. flags_result="$flags_result -mt (link)"
  5474. pthreads_done="yes"
  5475. else
  5476. LDFLAGS="$oldLDFLAGS"
  5477. fi
  5478. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5479. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5480. fi
  5481. if test -n "$flags_result"; then
  5482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_result" >&5
  5483. $as_echo "$flags_result" >&6; }
  5484. fi
  5485. fi
  5486. fi
  5487. done
  5488. if test "$GCC" = "yes"; then
  5489. { $as_echo "$as_me:${as_lineno-$LINENO}: checking -munaligned-doubles" >&5
  5490. $as_echo_n "checking -munaligned-doubles... " >&6; }
  5491. oldCFLAGS="$CFLAGS"
  5492. CFLAGS="$CFLAGS -munaligned-doubles"
  5493. if test "$cross_compiling" = yes; then :
  5494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5495. $as_echo "no" >&6; }
  5496. CFLAGS="$oldCFLAGS"
  5497. else
  5498. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5499. /* end confdefs.h. */
  5500. int main() { return 0;}
  5501. _ACEOF
  5502. if ac_fn_c_try_run "$LINENO"; then :
  5503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5504. $as_echo "yes" >&6; }
  5505. DYNAMIC_EXTERNALS_CFLAGS="$DYNAMIC_EXTERNALS_CFLAGS -munaligned-doubles"
  5506. else
  5507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5508. $as_echo "no" >&6; }
  5509. CFLAGS="$oldCFLAGS"
  5510. fi
  5511. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5512. conftest.$ac_objext conftest.beam conftest.$ac_ext
  5513. fi
  5514. fi
  5515. ac_config_files="$ac_config_files Makefile"
  5516. cat >confcache <<\_ACEOF
  5517. # This file is a shell script that caches the results of configure
  5518. # tests run on this system so they can be shared between configure
  5519. # scripts and configure runs, see configure's option --config-cache.
  5520. # It is not useful on other systems. If it contains results you don't
  5521. # want to keep, you may remove or edit it.
  5522. #
  5523. # config.status only pays attention to the cache file if you give it
  5524. # the --recheck option to rerun configure.
  5525. #
  5526. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  5527. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  5528. # following values.
  5529. _ACEOF
  5530. # The following way of writing the cache mishandles newlines in values,
  5531. # but we know of no workaround that is simple, portable, and efficient.
  5532. # So, we kill variables containing newlines.
  5533. # Ultrix sh set writes to stderr and can't be redirected directly,
  5534. # and sets the high bit in the cache file unless we assign to the vars.
  5535. (
  5536. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  5537. eval ac_val=\$$ac_var
  5538. case $ac_val in #(
  5539. *${as_nl}*)
  5540. case $ac_var in #(
  5541. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  5542. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  5543. esac
  5544. case $ac_var in #(
  5545. _ | IFS | as_nl) ;; #(
  5546. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  5547. *) { eval $ac_var=; unset $ac_var;} ;;
  5548. esac ;;
  5549. esac
  5550. done
  5551. (set) 2>&1 |
  5552. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  5553. *${as_nl}ac_space=\ *)
  5554. # `set' does not quote correctly, so add quotes: double-quote
  5555. # substitution turns \\\\ into \\, and sed turns \\ into \.
  5556. sed -n \
  5557. "s/'/'\\\\''/g;
  5558. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  5559. ;; #(
  5560. *)
  5561. # `set' quotes correctly as required by POSIX, so do not add quotes.
  5562. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  5563. ;;
  5564. esac |
  5565. sort
  5566. ) |
  5567. sed '
  5568. /^ac_cv_env_/b end
  5569. t clear
  5570. :clear
  5571. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  5572. t end
  5573. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  5574. :end' >>confcache
  5575. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  5576. if test -w "$cache_file"; then
  5577. if test "x$cache_file" != "x/dev/null"; then
  5578. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  5579. $as_echo "$as_me: updating cache $cache_file" >&6;}
  5580. if test ! -f "$cache_file" || test -h "$cache_file"; then
  5581. cat confcache >"$cache_file"
  5582. else
  5583. case $cache_file in #(
  5584. */* | ?:*)
  5585. mv -f confcache "$cache_file"$$ &&
  5586. mv -f "$cache_file"$$ "$cache_file" ;; #(
  5587. *)
  5588. mv -f confcache "$cache_file" ;;
  5589. esac
  5590. fi
  5591. fi
  5592. else
  5593. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  5594. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  5595. fi
  5596. fi
  5597. rm -f confcache
  5598. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  5599. # Let make expand exec_prefix.
  5600. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  5601. DEFS=-DHAVE_CONFIG_H
  5602. ac_libobjs=
  5603. ac_ltlibobjs=
  5604. U=
  5605. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  5606. # 1. Remove the extension, and $U if already installed.
  5607. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  5608. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  5609. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  5610. # will be set to the directory where LIBOBJS objects are built.
  5611. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  5612. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  5613. done
  5614. LIBOBJS=$ac_libobjs
  5615. LTLIBOBJS=$ac_ltlibobjs
  5616. : "${CONFIG_STATUS=./config.status}"
  5617. ac_write_fail=0
  5618. ac_clean_files_save=$ac_clean_files
  5619. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  5620. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  5621. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  5622. as_write_fail=0
  5623. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  5624. #! $SHELL
  5625. # Generated by $as_me.
  5626. # Run this file to recreate the current configuration.
  5627. # Compiler output produced by configure, useful for debugging
  5628. # configure, is in config.log if it exists.
  5629. debug=false
  5630. ac_cs_recheck=false
  5631. ac_cs_silent=false
  5632. SHELL=\${CONFIG_SHELL-$SHELL}
  5633. export SHELL
  5634. _ASEOF
  5635. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  5636. ## -------------------- ##
  5637. ## M4sh Initialization. ##
  5638. ## -------------------- ##
  5639. # Be more Bourne compatible
  5640. DUALCASE=1; export DUALCASE # for MKS sh
  5641. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  5642. emulate sh
  5643. NULLCMD=:
  5644. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  5645. # is contrary to our usage. Disable this feature.
  5646. alias -g '${1+"$@"}'='"$@"'
  5647. setopt NO_GLOB_SUBST
  5648. else
  5649. case `(set -o) 2>/dev/null` in #(
  5650. *posix*) :
  5651. set -o posix ;; #(
  5652. *) :
  5653. ;;
  5654. esac
  5655. fi
  5656. as_nl='
  5657. '
  5658. export as_nl
  5659. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  5660. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  5661. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  5662. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  5663. # Prefer a ksh shell builtin over an external printf program on Solaris,
  5664. # but without wasting forks for bash or zsh.
  5665. if test -z "$BASH_VERSION$ZSH_VERSION" \
  5666. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  5667. as_echo='print -r --'
  5668. as_echo_n='print -rn --'
  5669. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  5670. as_echo='printf %s\n'
  5671. as_echo_n='printf %s'
  5672. else
  5673. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  5674. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  5675. as_echo_n='/usr/ucb/echo -n'
  5676. else
  5677. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  5678. as_echo_n_body='eval
  5679. arg=$1;
  5680. case $arg in #(
  5681. *"$as_nl"*)
  5682. expr "X$arg" : "X\\(.*\\)$as_nl";
  5683. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  5684. esac;
  5685. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  5686. '
  5687. export as_echo_n_body
  5688. as_echo_n='sh -c $as_echo_n_body as_echo'
  5689. fi
  5690. export as_echo_body
  5691. as_echo='sh -c $as_echo_body as_echo'
  5692. fi
  5693. # The user is always right.
  5694. if test "${PATH_SEPARATOR+set}" != set; then
  5695. PATH_SEPARATOR=:
  5696. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  5697. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  5698. PATH_SEPARATOR=';'
  5699. }
  5700. fi
  5701. # IFS
  5702. # We need space, tab and new line, in precisely that order. Quoting is
  5703. # there to prevent editors from complaining about space-tab.
  5704. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  5705. # splitting by setting IFS to empty value.)
  5706. IFS=" "" $as_nl"
  5707. # Find who we are. Look in the path if we contain no directory separator.
  5708. as_myself=
  5709. case $0 in #((
  5710. *[\\/]* ) as_myself=$0 ;;
  5711. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5712. for as_dir in $PATH
  5713. do
  5714. IFS=$as_save_IFS
  5715. test -z "$as_dir" && as_dir=.
  5716. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  5717. done
  5718. IFS=$as_save_IFS
  5719. ;;
  5720. esac
  5721. # We did not find ourselves, most probably we were run as `sh COMMAND'
  5722. # in which case we are not to be found in the path.
  5723. if test "x$as_myself" = x; then
  5724. as_myself=$0
  5725. fi
  5726. if test ! -f "$as_myself"; then
  5727. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  5728. exit 1
  5729. fi
  5730. # Unset variables that we do not need and which cause bugs (e.g. in
  5731. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  5732. # suppresses any "Segmentation fault" message there. '((' could
  5733. # trigger a bug in pdksh 5.2.14.
  5734. for as_var in BASH_ENV ENV MAIL MAILPATH
  5735. do eval test x\${$as_var+set} = xset \
  5736. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  5737. done
  5738. PS1='$ '
  5739. PS2='> '
  5740. PS4='+ '
  5741. # NLS nuisances.
  5742. LC_ALL=C
  5743. export LC_ALL
  5744. LANGUAGE=C
  5745. export LANGUAGE
  5746. # CDPATH.
  5747. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  5748. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  5749. # ----------------------------------------
  5750. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  5751. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  5752. # script with STATUS, using 1 if that was 0.
  5753. as_fn_error ()
  5754. {
  5755. as_status=$1; test $as_status -eq 0 && as_status=1
  5756. if test "$4"; then
  5757. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  5758. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  5759. fi
  5760. $as_echo "$as_me: error: $2" >&2
  5761. as_fn_exit $as_status
  5762. } # as_fn_error
  5763. # as_fn_set_status STATUS
  5764. # -----------------------
  5765. # Set $? to STATUS, without forking.
  5766. as_fn_set_status ()
  5767. {
  5768. return $1
  5769. } # as_fn_set_status
  5770. # as_fn_exit STATUS
  5771. # -----------------
  5772. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  5773. as_fn_exit ()
  5774. {
  5775. set +e
  5776. as_fn_set_status $1
  5777. exit $1
  5778. } # as_fn_exit
  5779. # as_fn_unset VAR
  5780. # ---------------
  5781. # Portably unset VAR.
  5782. as_fn_unset ()
  5783. {
  5784. { eval $1=; unset $1;}
  5785. }
  5786. as_unset=as_fn_unset
  5787. # as_fn_append VAR VALUE
  5788. # ----------------------
  5789. # Append the text in VALUE to the end of the definition contained in VAR. Take
  5790. # advantage of any shell optimizations that allow amortized linear growth over
  5791. # repeated appends, instead of the typical quadratic growth present in naive
  5792. # implementations.
  5793. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  5794. eval 'as_fn_append ()
  5795. {
  5796. eval $1+=\$2
  5797. }'
  5798. else
  5799. as_fn_append ()
  5800. {
  5801. eval $1=\$$1\$2
  5802. }
  5803. fi # as_fn_append
  5804. # as_fn_arith ARG...
  5805. # ------------------
  5806. # Perform arithmetic evaluation on the ARGs, and store the result in the
  5807. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  5808. # must be portable across $(()) and expr.
  5809. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  5810. eval 'as_fn_arith ()
  5811. {
  5812. as_val=$(( $* ))
  5813. }'
  5814. else
  5815. as_fn_arith ()
  5816. {
  5817. as_val=`expr "$@" || test $? -eq 1`
  5818. }
  5819. fi # as_fn_arith
  5820. if expr a : '\(a\)' >/dev/null 2>&1 &&
  5821. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  5822. as_expr=expr
  5823. else
  5824. as_expr=false
  5825. fi
  5826. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  5827. as_basename=basename
  5828. else
  5829. as_basename=false
  5830. fi
  5831. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  5832. as_dirname=dirname
  5833. else
  5834. as_dirname=false
  5835. fi
  5836. as_me=`$as_basename -- "$0" ||
  5837. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  5838. X"$0" : 'X\(//\)$' \| \
  5839. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  5840. $as_echo X/"$0" |
  5841. sed '/^.*\/\([^/][^/]*\)\/*$/{
  5842. s//\1/
  5843. q
  5844. }
  5845. /^X\/\(\/\/\)$/{
  5846. s//\1/
  5847. q
  5848. }
  5849. /^X\/\(\/\).*/{
  5850. s//\1/
  5851. q
  5852. }
  5853. s/.*/./; q'`
  5854. # Avoid depending upon Character Ranges.
  5855. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  5856. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  5857. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  5858. as_cr_digits='0123456789'
  5859. as_cr_alnum=$as_cr_Letters$as_cr_digits
  5860. ECHO_C= ECHO_N= ECHO_T=
  5861. case `echo -n x` in #(((((
  5862. -n*)
  5863. case `echo 'xy\c'` in
  5864. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  5865. xy) ECHO_C='\c';;
  5866. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  5867. ECHO_T=' ';;
  5868. esac;;
  5869. *)
  5870. ECHO_N='-n';;
  5871. esac
  5872. rm -f conf$$ conf$$.exe conf$$.file
  5873. if test -d conf$$.dir; then
  5874. rm -f conf$$.dir/conf$$.file
  5875. else
  5876. rm -f conf$$.dir
  5877. mkdir conf$$.dir 2>/dev/null
  5878. fi
  5879. if (echo >conf$$.file) 2>/dev/null; then
  5880. if ln -s conf$$.file conf$$ 2>/dev/null; then
  5881. as_ln_s='ln -s'
  5882. # ... but there are two gotchas:
  5883. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  5884. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  5885. # In both cases, we have to default to `cp -pR'.
  5886. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  5887. as_ln_s='cp -pR'
  5888. elif ln conf$$.file conf$$ 2>/dev/null; then
  5889. as_ln_s=ln
  5890. else
  5891. as_ln_s='cp -pR'
  5892. fi
  5893. else
  5894. as_ln_s='cp -pR'
  5895. fi
  5896. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  5897. rmdir conf$$.dir 2>/dev/null
  5898. # as_fn_mkdir_p
  5899. # -------------
  5900. # Create "$as_dir" as a directory, including parents if necessary.
  5901. as_fn_mkdir_p ()
  5902. {
  5903. case $as_dir in #(
  5904. -*) as_dir=./$as_dir;;
  5905. esac
  5906. test -d "$as_dir" || eval $as_mkdir_p || {
  5907. as_dirs=
  5908. while :; do
  5909. case $as_dir in #(
  5910. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  5911. *) as_qdir=$as_dir;;
  5912. esac
  5913. as_dirs="'$as_qdir' $as_dirs"
  5914. as_dir=`$as_dirname -- "$as_dir" ||
  5915. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5916. X"$as_dir" : 'X\(//\)[^/]' \| \
  5917. X"$as_dir" : 'X\(//\)$' \| \
  5918. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  5919. $as_echo X"$as_dir" |
  5920. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5921. s//\1/
  5922. q
  5923. }
  5924. /^X\(\/\/\)[^/].*/{
  5925. s//\1/
  5926. q
  5927. }
  5928. /^X\(\/\/\)$/{
  5929. s//\1/
  5930. q
  5931. }
  5932. /^X\(\/\).*/{
  5933. s//\1/
  5934. q
  5935. }
  5936. s/.*/./; q'`
  5937. test -d "$as_dir" && break
  5938. done
  5939. test -z "$as_dirs" || eval "mkdir $as_dirs"
  5940. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  5941. } # as_fn_mkdir_p
  5942. if mkdir -p . 2>/dev/null; then
  5943. as_mkdir_p='mkdir -p "$as_dir"'
  5944. else
  5945. test -d ./-p && rmdir ./-p
  5946. as_mkdir_p=false
  5947. fi
  5948. # as_fn_executable_p FILE
  5949. # -----------------------
  5950. # Test if FILE is an executable regular file.
  5951. as_fn_executable_p ()
  5952. {
  5953. test -f "$1" && test -x "$1"
  5954. } # as_fn_executable_p
  5955. as_test_x='test -x'
  5956. as_executable_p=as_fn_executable_p
  5957. # Sed expression to map a string onto a valid CPP name.
  5958. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  5959. # Sed expression to map a string onto a valid variable name.
  5960. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  5961. exec 6>&1
  5962. ## ----------------------------------- ##
  5963. ## Main body of $CONFIG_STATUS script. ##
  5964. ## ----------------------------------- ##
  5965. _ASEOF
  5966. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  5967. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5968. # Save the log message, to keep $0 and so on meaningful, and to
  5969. # report actual input values of CONFIG_FILES etc. instead of their
  5970. # values after options handling.
  5971. ac_log="
  5972. This file was extended by $as_me, which was
  5973. generated by GNU Autoconf 2.69. Invocation command line was
  5974. CONFIG_FILES = $CONFIG_FILES
  5975. CONFIG_HEADERS = $CONFIG_HEADERS
  5976. CONFIG_LINKS = $CONFIG_LINKS
  5977. CONFIG_COMMANDS = $CONFIG_COMMANDS
  5978. $ $0 $@
  5979. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  5980. "
  5981. _ACEOF
  5982. case $ac_config_files in *"
  5983. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  5984. esac
  5985. case $ac_config_headers in *"
  5986. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  5987. esac
  5988. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5989. # Files that config.status was made for.
  5990. config_files="$ac_config_files"
  5991. config_headers="$ac_config_headers"
  5992. _ACEOF
  5993. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5994. ac_cs_usage="\
  5995. \`$as_me' instantiates files and other configuration actions
  5996. from templates according to the current configuration. Unless the files
  5997. and actions are specified as TAGs, all are instantiated by default.
  5998. Usage: $0 [OPTION]... [TAG]...
  5999. -h, --help print this help, then exit
  6000. -V, --version print version number and configuration settings, then exit
  6001. --config print configuration, then exit
  6002. -q, --quiet, --silent
  6003. do not print progress messages
  6004. -d, --debug don't remove temporary files
  6005. --recheck update $as_me by reconfiguring in the same conditions
  6006. --file=FILE[:TEMPLATE]
  6007. instantiate the configuration file FILE
  6008. --header=FILE[:TEMPLATE]
  6009. instantiate the configuration header FILE
  6010. Configuration files:
  6011. $config_files
  6012. Configuration headers:
  6013. $config_headers
  6014. Report bugs to the package provider."
  6015. _ACEOF
  6016. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6017. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  6018. ac_cs_version="\\
  6019. config.status
  6020. configured by $0, generated by GNU Autoconf 2.69,
  6021. with options \\"\$ac_cs_config\\"
  6022. Copyright (C) 2012 Free Software Foundation, Inc.
  6023. This config.status script is free software; the Free Software Foundation
  6024. gives unlimited permission to copy, distribute and modify it."
  6025. ac_pwd='$ac_pwd'
  6026. srcdir='$srcdir'
  6027. INSTALL='$INSTALL'
  6028. test -n "\$AWK" || AWK=awk
  6029. _ACEOF
  6030. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6031. # The default lists apply if the user does not specify any file.
  6032. ac_need_defaults=:
  6033. while test $# != 0
  6034. do
  6035. case $1 in
  6036. --*=?*)
  6037. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  6038. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  6039. ac_shift=:
  6040. ;;
  6041. --*=)
  6042. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  6043. ac_optarg=
  6044. ac_shift=:
  6045. ;;
  6046. *)
  6047. ac_option=$1
  6048. ac_optarg=$2
  6049. ac_shift=shift
  6050. ;;
  6051. esac
  6052. case $ac_option in
  6053. # Handling of the options.
  6054. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  6055. ac_cs_recheck=: ;;
  6056. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  6057. $as_echo "$ac_cs_version"; exit ;;
  6058. --config | --confi | --conf | --con | --co | --c )
  6059. $as_echo "$ac_cs_config"; exit ;;
  6060. --debug | --debu | --deb | --de | --d | -d )
  6061. debug=: ;;
  6062. --file | --fil | --fi | --f )
  6063. $ac_shift
  6064. case $ac_optarg in
  6065. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  6066. '') as_fn_error $? "missing file argument" ;;
  6067. esac
  6068. as_fn_append CONFIG_FILES " '$ac_optarg'"
  6069. ac_need_defaults=false;;
  6070. --header | --heade | --head | --hea )
  6071. $ac_shift
  6072. case $ac_optarg in
  6073. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  6074. esac
  6075. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  6076. ac_need_defaults=false;;
  6077. --he | --h)
  6078. # Conflict between --help and --header
  6079. as_fn_error $? "ambiguous option: \`$1'
  6080. Try \`$0 --help' for more information.";;
  6081. --help | --hel | -h )
  6082. $as_echo "$ac_cs_usage"; exit ;;
  6083. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  6084. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  6085. ac_cs_silent=: ;;
  6086. # This is an error.
  6087. -*) as_fn_error $? "unrecognized option: \`$1'
  6088. Try \`$0 --help' for more information." ;;
  6089. *) as_fn_append ac_config_targets " $1"
  6090. ac_need_defaults=false ;;
  6091. esac
  6092. shift
  6093. done
  6094. ac_configure_extra_args=
  6095. if $ac_cs_silent; then
  6096. exec 6>/dev/null
  6097. ac_configure_extra_args="$ac_configure_extra_args --silent"
  6098. fi
  6099. _ACEOF
  6100. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6101. if \$ac_cs_recheck; then
  6102. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  6103. shift
  6104. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  6105. CONFIG_SHELL='$SHELL'
  6106. export CONFIG_SHELL
  6107. exec "\$@"
  6108. fi
  6109. _ACEOF
  6110. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6111. exec 5>>config.log
  6112. {
  6113. echo
  6114. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  6115. ## Running $as_me. ##
  6116. _ASBOX
  6117. $as_echo "$ac_log"
  6118. } >&5
  6119. _ACEOF
  6120. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6121. _ACEOF
  6122. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6123. # Handling of arguments.
  6124. for ac_config_target in $ac_config_targets
  6125. do
  6126. case $ac_config_target in
  6127. "c/sysdep.h") CONFIG_HEADERS="$CONFIG_HEADERS c/sysdep.h" ;;
  6128. "c/scheme48arch.h") CONFIG_HEADERS="$CONFIG_HEADERS c/scheme48arch.h" ;;
  6129. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  6130. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  6131. esac
  6132. done
  6133. # If the user did not use the arguments to specify the items to instantiate,
  6134. # then the envvar interface is used. Set only those that are not.
  6135. # We use the long form for the default assignment because of an extremely
  6136. # bizarre bug on SunOS 4.1.3.
  6137. if $ac_need_defaults; then
  6138. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  6139. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  6140. fi
  6141. # Have a temporary directory for convenience. Make it in the build tree
  6142. # simply because there is no reason against having it here, and in addition,
  6143. # creating and moving files from /tmp can sometimes cause problems.
  6144. # Hook for its removal unless debugging.
  6145. # Note that there is a small window in which the directory will not be cleaned:
  6146. # after its creation but before its name has been assigned to `$tmp'.
  6147. $debug ||
  6148. {
  6149. tmp= ac_tmp=
  6150. trap 'exit_status=$?
  6151. : "${ac_tmp:=$tmp}"
  6152. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  6153. ' 0
  6154. trap 'as_fn_exit 1' 1 2 13 15
  6155. }
  6156. # Create a (secure) tmp directory for tmp files.
  6157. {
  6158. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  6159. test -d "$tmp"
  6160. } ||
  6161. {
  6162. tmp=./conf$$-$RANDOM
  6163. (umask 077 && mkdir "$tmp")
  6164. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  6165. ac_tmp=$tmp
  6166. # Set up the scripts for CONFIG_FILES section.
  6167. # No need to generate them if there are no CONFIG_FILES.
  6168. # This happens for instance with `./config.status config.h'.
  6169. if test -n "$CONFIG_FILES"; then
  6170. ac_cr=`echo X | tr X '\015'`
  6171. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  6172. # But we know of no other shell where ac_cr would be empty at this
  6173. # point, so we can use a bashism as a fallback.
  6174. if test "x$ac_cr" = x; then
  6175. eval ac_cr=\$\'\\r\'
  6176. fi
  6177. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  6178. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  6179. ac_cs_awk_cr='\\r'
  6180. else
  6181. ac_cs_awk_cr=$ac_cr
  6182. fi
  6183. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  6184. _ACEOF
  6185. {
  6186. echo "cat >conf$$subs.awk <<_ACEOF" &&
  6187. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  6188. echo "_ACEOF"
  6189. } >conf$$subs.sh ||
  6190. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6191. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  6192. ac_delim='%!_!# '
  6193. for ac_last_try in false false false false false :; do
  6194. . ./conf$$subs.sh ||
  6195. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6196. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  6197. if test $ac_delim_n = $ac_delim_num; then
  6198. break
  6199. elif $ac_last_try; then
  6200. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  6201. else
  6202. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  6203. fi
  6204. done
  6205. rm -f conf$$subs.sh
  6206. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6207. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  6208. _ACEOF
  6209. sed -n '
  6210. h
  6211. s/^/S["/; s/!.*/"]=/
  6212. p
  6213. g
  6214. s/^[^!]*!//
  6215. :repl
  6216. t repl
  6217. s/'"$ac_delim"'$//
  6218. t delim
  6219. :nl
  6220. h
  6221. s/\(.\{148\}\)..*/\1/
  6222. t more1
  6223. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  6224. p
  6225. n
  6226. b repl
  6227. :more1
  6228. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  6229. p
  6230. g
  6231. s/.\{148\}//
  6232. t nl
  6233. :delim
  6234. h
  6235. s/\(.\{148\}\)..*/\1/
  6236. t more2
  6237. s/["\\]/\\&/g; s/^/"/; s/$/"/
  6238. p
  6239. b
  6240. :more2
  6241. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  6242. p
  6243. g
  6244. s/.\{148\}//
  6245. t delim
  6246. ' <conf$$subs.awk | sed '
  6247. /^[^""]/{
  6248. N
  6249. s/\n//
  6250. }
  6251. ' >>$CONFIG_STATUS || ac_write_fail=1
  6252. rm -f conf$$subs.awk
  6253. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6254. _ACAWK
  6255. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  6256. for (key in S) S_is_set[key] = 1
  6257. FS = ""
  6258. }
  6259. {
  6260. line = $ 0
  6261. nfields = split(line, field, "@")
  6262. substed = 0
  6263. len = length(field[1])
  6264. for (i = 2; i < nfields; i++) {
  6265. key = field[i]
  6266. keylen = length(key)
  6267. if (S_is_set[key]) {
  6268. value = S[key]
  6269. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  6270. len += length(value) + length(field[++i])
  6271. substed = 1
  6272. } else
  6273. len += 1 + keylen
  6274. }
  6275. print line
  6276. }
  6277. _ACAWK
  6278. _ACEOF
  6279. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6280. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  6281. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  6282. else
  6283. cat
  6284. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  6285. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  6286. _ACEOF
  6287. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  6288. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  6289. # trailing colons and then remove the whole line if VPATH becomes empty
  6290. # (actually we leave an empty line to preserve line numbers).
  6291. if test "x$srcdir" = x.; then
  6292. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  6293. h
  6294. s///
  6295. s/^/:/
  6296. s/[ ]*$/:/
  6297. s/:\$(srcdir):/:/g
  6298. s/:\${srcdir}:/:/g
  6299. s/:@srcdir@:/:/g
  6300. s/^:*//
  6301. s/:*$//
  6302. x
  6303. s/\(=[ ]*\).*/\1/
  6304. G
  6305. s/\n//
  6306. s/^[^=]*=[ ]*$//
  6307. }'
  6308. fi
  6309. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6310. fi # test -n "$CONFIG_FILES"
  6311. # Set up the scripts for CONFIG_HEADERS section.
  6312. # No need to generate them if there are no CONFIG_HEADERS.
  6313. # This happens for instance with `./config.status Makefile'.
  6314. if test -n "$CONFIG_HEADERS"; then
  6315. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  6316. BEGIN {
  6317. _ACEOF
  6318. # Transform confdefs.h into an awk script `defines.awk', embedded as
  6319. # here-document in config.status, that substitutes the proper values into
  6320. # config.h.in to produce config.h.
  6321. # Create a delimiter string that does not exist in confdefs.h, to ease
  6322. # handling of long lines.
  6323. ac_delim='%!_!# '
  6324. for ac_last_try in false false :; do
  6325. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  6326. if test -z "$ac_tt"; then
  6327. break
  6328. elif $ac_last_try; then
  6329. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  6330. else
  6331. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  6332. fi
  6333. done
  6334. # For the awk script, D is an array of macro values keyed by name,
  6335. # likewise P contains macro parameters if any. Preserve backslash
  6336. # newline sequences.
  6337. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  6338. sed -n '
  6339. s/.\{148\}/&'"$ac_delim"'/g
  6340. t rset
  6341. :rset
  6342. s/^[ ]*#[ ]*define[ ][ ]*/ /
  6343. t def
  6344. d
  6345. :def
  6346. s/\\$//
  6347. t bsnl
  6348. s/["\\]/\\&/g
  6349. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  6350. D["\1"]=" \3"/p
  6351. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  6352. d
  6353. :bsnl
  6354. s/["\\]/\\&/g
  6355. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  6356. D["\1"]=" \3\\\\\\n"\\/p
  6357. t cont
  6358. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  6359. t cont
  6360. d
  6361. :cont
  6362. n
  6363. s/.\{148\}/&'"$ac_delim"'/g
  6364. t clear
  6365. :clear
  6366. s/\\$//
  6367. t bsnlc
  6368. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  6369. d
  6370. :bsnlc
  6371. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  6372. b cont
  6373. ' <confdefs.h | sed '
  6374. s/'"$ac_delim"'/"\\\
  6375. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  6376. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6377. for (key in D) D_is_set[key] = 1
  6378. FS = ""
  6379. }
  6380. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  6381. line = \$ 0
  6382. split(line, arg, " ")
  6383. if (arg[1] == "#") {
  6384. defundef = arg[2]
  6385. mac1 = arg[3]
  6386. } else {
  6387. defundef = substr(arg[1], 2)
  6388. mac1 = arg[2]
  6389. }
  6390. split(mac1, mac2, "(") #)
  6391. macro = mac2[1]
  6392. prefix = substr(line, 1, index(line, defundef) - 1)
  6393. if (D_is_set[macro]) {
  6394. # Preserve the white space surrounding the "#".
  6395. print prefix "define", macro P[macro] D[macro]
  6396. next
  6397. } else {
  6398. # Replace #undef with comments. This is necessary, for example,
  6399. # in the case of _POSIX_SOURCE, which is predefined and required
  6400. # on some systems where configure will not decide to define it.
  6401. if (defundef == "undef") {
  6402. print "/*", prefix defundef, macro, "*/"
  6403. next
  6404. }
  6405. }
  6406. }
  6407. { print }
  6408. _ACAWK
  6409. _ACEOF
  6410. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6411. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  6412. fi # test -n "$CONFIG_HEADERS"
  6413. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
  6414. shift
  6415. for ac_tag
  6416. do
  6417. case $ac_tag in
  6418. :[FHLC]) ac_mode=$ac_tag; continue;;
  6419. esac
  6420. case $ac_mode$ac_tag in
  6421. :[FHL]*:*);;
  6422. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  6423. :[FH]-) ac_tag=-:-;;
  6424. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  6425. esac
  6426. ac_save_IFS=$IFS
  6427. IFS=:
  6428. set x $ac_tag
  6429. IFS=$ac_save_IFS
  6430. shift
  6431. ac_file=$1
  6432. shift
  6433. case $ac_mode in
  6434. :L) ac_source=$1;;
  6435. :[FH])
  6436. ac_file_inputs=
  6437. for ac_f
  6438. do
  6439. case $ac_f in
  6440. -) ac_f="$ac_tmp/stdin";;
  6441. *) # Look for the file first in the build tree, then in the source tree
  6442. # (if the path is not absolute). The absolute path cannot be DOS-style,
  6443. # because $ac_f cannot contain `:'.
  6444. test -f "$ac_f" ||
  6445. case $ac_f in
  6446. [\\/$]*) false;;
  6447. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  6448. esac ||
  6449. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  6450. esac
  6451. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  6452. as_fn_append ac_file_inputs " '$ac_f'"
  6453. done
  6454. # Let's still pretend it is `configure' which instantiates (i.e., don't
  6455. # use $as_me), people would be surprised to read:
  6456. # /* config.h. Generated by config.status. */
  6457. configure_input='Generated from '`
  6458. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  6459. `' by configure.'
  6460. if test x"$ac_file" != x-; then
  6461. configure_input="$ac_file. $configure_input"
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  6463. $as_echo "$as_me: creating $ac_file" >&6;}
  6464. fi
  6465. # Neutralize special characters interpreted by sed in replacement strings.
  6466. case $configure_input in #(
  6467. *\&* | *\|* | *\\* )
  6468. ac_sed_conf_input=`$as_echo "$configure_input" |
  6469. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  6470. *) ac_sed_conf_input=$configure_input;;
  6471. esac
  6472. case $ac_tag in
  6473. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  6474. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  6475. esac
  6476. ;;
  6477. esac
  6478. ac_dir=`$as_dirname -- "$ac_file" ||
  6479. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  6480. X"$ac_file" : 'X\(//\)[^/]' \| \
  6481. X"$ac_file" : 'X\(//\)$' \| \
  6482. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  6483. $as_echo X"$ac_file" |
  6484. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  6485. s//\1/
  6486. q
  6487. }
  6488. /^X\(\/\/\)[^/].*/{
  6489. s//\1/
  6490. q
  6491. }
  6492. /^X\(\/\/\)$/{
  6493. s//\1/
  6494. q
  6495. }
  6496. /^X\(\/\).*/{
  6497. s//\1/
  6498. q
  6499. }
  6500. s/.*/./; q'`
  6501. as_dir="$ac_dir"; as_fn_mkdir_p
  6502. ac_builddir=.
  6503. case "$ac_dir" in
  6504. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  6505. *)
  6506. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  6507. # A ".." for each directory in $ac_dir_suffix.
  6508. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  6509. case $ac_top_builddir_sub in
  6510. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  6511. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  6512. esac ;;
  6513. esac
  6514. ac_abs_top_builddir=$ac_pwd
  6515. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  6516. # for backward compatibility:
  6517. ac_top_builddir=$ac_top_build_prefix
  6518. case $srcdir in
  6519. .) # We are building in place.
  6520. ac_srcdir=.
  6521. ac_top_srcdir=$ac_top_builddir_sub
  6522. ac_abs_top_srcdir=$ac_pwd ;;
  6523. [\\/]* | ?:[\\/]* ) # Absolute name.
  6524. ac_srcdir=$srcdir$ac_dir_suffix;
  6525. ac_top_srcdir=$srcdir
  6526. ac_abs_top_srcdir=$srcdir ;;
  6527. *) # Relative name.
  6528. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  6529. ac_top_srcdir=$ac_top_build_prefix$srcdir
  6530. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  6531. esac
  6532. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  6533. case $ac_mode in
  6534. :F)
  6535. #
  6536. # CONFIG_FILE
  6537. #
  6538. case $INSTALL in
  6539. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  6540. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  6541. esac
  6542. _ACEOF
  6543. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6544. # If the template does not know about datarootdir, expand it.
  6545. # FIXME: This hack should be removed a few years after 2.60.
  6546. ac_datarootdir_hack=; ac_datarootdir_seen=
  6547. ac_sed_dataroot='
  6548. /datarootdir/ {
  6549. p
  6550. q
  6551. }
  6552. /@datadir@/p
  6553. /@docdir@/p
  6554. /@infodir@/p
  6555. /@localedir@/p
  6556. /@mandir@/p'
  6557. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  6558. *datarootdir*) ac_datarootdir_seen=yes;;
  6559. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  6560. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  6561. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  6562. _ACEOF
  6563. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6564. ac_datarootdir_hack='
  6565. s&@datadir@&$datadir&g
  6566. s&@docdir@&$docdir&g
  6567. s&@infodir@&$infodir&g
  6568. s&@localedir@&$localedir&g
  6569. s&@mandir@&$mandir&g
  6570. s&\\\${datarootdir}&$datarootdir&g' ;;
  6571. esac
  6572. _ACEOF
  6573. # Neutralize VPATH when `$srcdir' = `.'.
  6574. # Shell code in configure.ac might set extrasub.
  6575. # FIXME: do we really want to maintain this feature?
  6576. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  6577. ac_sed_extra="$ac_vpsub
  6578. $extrasub
  6579. _ACEOF
  6580. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  6581. :t
  6582. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  6583. s|@configure_input@|$ac_sed_conf_input|;t t
  6584. s&@top_builddir@&$ac_top_builddir_sub&;t t
  6585. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  6586. s&@srcdir@&$ac_srcdir&;t t
  6587. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  6588. s&@top_srcdir@&$ac_top_srcdir&;t t
  6589. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  6590. s&@builddir@&$ac_builddir&;t t
  6591. s&@abs_builddir@&$ac_abs_builddir&;t t
  6592. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  6593. s&@INSTALL@&$ac_INSTALL&;t t
  6594. $ac_datarootdir_hack
  6595. "
  6596. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  6597. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6598. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  6599. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  6600. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  6601. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  6602. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  6603. which seems to be undefined. Please make sure it is defined" >&5
  6604. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  6605. which seems to be undefined. Please make sure it is defined" >&2;}
  6606. rm -f "$ac_tmp/stdin"
  6607. case $ac_file in
  6608. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  6609. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  6610. esac \
  6611. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6612. ;;
  6613. :H)
  6614. #
  6615. # CONFIG_HEADER
  6616. #
  6617. if test x"$ac_file" != x-; then
  6618. {
  6619. $as_echo "/* $configure_input */" \
  6620. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  6621. } >"$ac_tmp/config.h" \
  6622. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6623. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  6624. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  6625. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  6626. else
  6627. rm -f "$ac_file"
  6628. mv "$ac_tmp/config.h" "$ac_file" \
  6629. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  6630. fi
  6631. else
  6632. $as_echo "/* $configure_input */" \
  6633. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  6634. || as_fn_error $? "could not create -" "$LINENO" 5
  6635. fi
  6636. ;;
  6637. esac
  6638. done # for ac_tag
  6639. as_fn_exit 0
  6640. _ACEOF
  6641. ac_clean_files=$ac_clean_files_save
  6642. test $ac_write_fail = 0 ||
  6643. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  6644. # configure is writing to config.log, and then calls config.status.
  6645. # config.status does its own redirection, appending to config.log.
  6646. # Unfortunately, on DOS this fails, as config.log is still kept open
  6647. # by configure, so config.status won't be able to write to it; its
  6648. # output is simply discarded. So we exec the FD to /dev/null,
  6649. # effectively closing config.log, so it can be properly (re)opened and
  6650. # appended to by config.status. When coming back to configure, we
  6651. # need to make the FD available again.
  6652. if test "$no_create" != yes; then
  6653. ac_cs_success=:
  6654. ac_config_status_args=
  6655. test "$silent" = yes &&
  6656. ac_config_status_args="$ac_config_status_args --quiet"
  6657. exec 5>/dev/null
  6658. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  6659. exec 5>>config.log
  6660. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  6661. # would make configure fail if this is the last instruction.
  6662. $ac_cs_success || as_fn_exit 1
  6663. fi
  6664. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  6665. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  6666. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  6667. fi