configure 239 KB

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