configure 180 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for point_algorithm.a 1.0.
  4. #
  5. # Report bugs to <BUG-REPORT-ADDRESS>.
  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 BUG-REPORT-ADDRESS
  252. $0: about your system, including any error possibly output
  253. $0: before this message. Then install a modern shell, or
  254. $0: manually run the script under such a shell if you do
  255. $0: 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='point_algorithm.a'
  534. PACKAGE_TARNAME='point_algorithm-a'
  535. PACKAGE_VERSION='1.0'
  536. PACKAGE_STRING='point_algorithm.a 1.0'
  537. PACKAGE_BUGREPORT='BUG-REPORT-ADDRESS'
  538. PACKAGE_URL=''
  539. ac_unique_file="select_tool.cpp"
  540. # Factoring default headers for most tests.
  541. ac_includes_default="\
  542. #include <stdio.h>
  543. #ifdef HAVE_SYS_TYPES_H
  544. # include <sys/types.h>
  545. #endif
  546. #ifdef HAVE_SYS_STAT_H
  547. # include <sys/stat.h>
  548. #endif
  549. #ifdef STDC_HEADERS
  550. # include <stdlib.h>
  551. # include <stddef.h>
  552. #else
  553. # ifdef HAVE_STDLIB_H
  554. # include <stdlib.h>
  555. # endif
  556. #endif
  557. #ifdef HAVE_STRING_H
  558. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  559. # include <memory.h>
  560. # endif
  561. # include <string.h>
  562. #endif
  563. #ifdef HAVE_STRINGS_H
  564. # include <strings.h>
  565. #endif
  566. #ifdef HAVE_INTTYPES_H
  567. # include <inttypes.h>
  568. #endif
  569. #ifdef HAVE_STDINT_H
  570. # include <stdint.h>
  571. #endif
  572. #ifdef HAVE_UNISTD_H
  573. # include <unistd.h>
  574. #endif"
  575. ac_subst_vars='am__EXEEXT_FALSE
  576. am__EXEEXT_TRUE
  577. LTLIBOBJS
  578. LIBOBJS
  579. RANLIB
  580. EGREP
  581. GREP
  582. CPP
  583. am__fastdepCC_FALSE
  584. am__fastdepCC_TRUE
  585. CCDEPMODE
  586. ac_ct_CC
  587. CFLAGS
  588. CC
  589. am__fastdepCXX_FALSE
  590. am__fastdepCXX_TRUE
  591. CXXDEPMODE
  592. am__nodep
  593. AMDEPBACKSLASH
  594. AMDEP_FALSE
  595. AMDEP_TRUE
  596. am__quote
  597. am__include
  598. DEPDIR
  599. OBJEXT
  600. EXEEXT
  601. ac_ct_CXX
  602. CPPFLAGS
  603. LDFLAGS
  604. CXXFLAGS
  605. CXX
  606. am__untar
  607. am__tar
  608. AMTAR
  609. am__leading_dot
  610. SET_MAKE
  611. AWK
  612. mkdir_p
  613. MKDIR_P
  614. INSTALL_STRIP_PROGRAM
  615. STRIP
  616. install_sh
  617. MAKEINFO
  618. AUTOHEADER
  619. AUTOMAKE
  620. AUTOCONF
  621. ACLOCAL
  622. VERSION
  623. PACKAGE
  624. CYGPATH_W
  625. am__isrc
  626. INSTALL_DATA
  627. INSTALL_SCRIPT
  628. INSTALL_PROGRAM
  629. target_alias
  630. host_alias
  631. build_alias
  632. LIBS
  633. ECHO_T
  634. ECHO_N
  635. ECHO_C
  636. DEFS
  637. mandir
  638. localedir
  639. libdir
  640. psdir
  641. pdfdir
  642. dvidir
  643. htmldir
  644. infodir
  645. docdir
  646. oldincludedir
  647. includedir
  648. localstatedir
  649. sharedstatedir
  650. sysconfdir
  651. datadir
  652. datarootdir
  653. libexecdir
  654. sbindir
  655. bindir
  656. program_transform_name
  657. prefix
  658. exec_prefix
  659. PACKAGE_URL
  660. PACKAGE_BUGREPORT
  661. PACKAGE_STRING
  662. PACKAGE_VERSION
  663. PACKAGE_TARNAME
  664. PACKAGE_NAME
  665. PATH_SEPARATOR
  666. SHELL'
  667. ac_subst_files=''
  668. ac_user_opts='
  669. enable_option_checking
  670. enable_dependency_tracking
  671. '
  672. ac_precious_vars='build_alias
  673. host_alias
  674. target_alias
  675. CXX
  676. CXXFLAGS
  677. LDFLAGS
  678. LIBS
  679. CPPFLAGS
  680. CCC
  681. CC
  682. CFLAGS
  683. CPP'
  684. # Initialize some variables set by options.
  685. ac_init_help=
  686. ac_init_version=false
  687. ac_unrecognized_opts=
  688. ac_unrecognized_sep=
  689. # The variables have the same names as the options, with
  690. # dashes changed to underlines.
  691. cache_file=/dev/null
  692. exec_prefix=NONE
  693. no_create=
  694. no_recursion=
  695. prefix=NONE
  696. program_prefix=NONE
  697. program_suffix=NONE
  698. program_transform_name=s,x,x,
  699. silent=
  700. site=
  701. srcdir=
  702. verbose=
  703. x_includes=NONE
  704. x_libraries=NONE
  705. # Installation directory options.
  706. # These are left unexpanded so users can "make install exec_prefix=/foo"
  707. # and all the variables that are supposed to be based on exec_prefix
  708. # by default will actually change.
  709. # Use braces instead of parens because sh, perl, etc. also accept them.
  710. # (The list follows the same order as the GNU Coding Standards.)
  711. bindir='${exec_prefix}/bin'
  712. sbindir='${exec_prefix}/sbin'
  713. libexecdir='${exec_prefix}/libexec'
  714. datarootdir='${prefix}/share'
  715. datadir='${datarootdir}'
  716. sysconfdir='${prefix}/etc'
  717. sharedstatedir='${prefix}/com'
  718. localstatedir='${prefix}/var'
  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. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  934. ac_prev=sbindir ;;
  935. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  936. | --sbi=* | --sb=*)
  937. sbindir=$ac_optarg ;;
  938. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  939. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  940. | --sharedst | --shareds | --shared | --share | --shar \
  941. | --sha | --sh)
  942. ac_prev=sharedstatedir ;;
  943. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  944. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  945. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  946. | --sha=* | --sh=*)
  947. sharedstatedir=$ac_optarg ;;
  948. -site | --site | --sit)
  949. ac_prev=site ;;
  950. -site=* | --site=* | --sit=*)
  951. site=$ac_optarg ;;
  952. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  953. ac_prev=srcdir ;;
  954. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  955. srcdir=$ac_optarg ;;
  956. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  957. | --syscon | --sysco | --sysc | --sys | --sy)
  958. ac_prev=sysconfdir ;;
  959. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  960. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  961. sysconfdir=$ac_optarg ;;
  962. -target | --target | --targe | --targ | --tar | --ta | --t)
  963. ac_prev=target_alias ;;
  964. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  965. target_alias=$ac_optarg ;;
  966. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  967. verbose=yes ;;
  968. -version | --version | --versio | --versi | --vers | -V)
  969. ac_init_version=: ;;
  970. -with-* | --with-*)
  971. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  972. # Reject names that are not valid shell variable names.
  973. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  974. as_fn_error $? "invalid package name: $ac_useropt"
  975. ac_useropt_orig=$ac_useropt
  976. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  977. case $ac_user_opts in
  978. *"
  979. "with_$ac_useropt"
  980. "*) ;;
  981. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  982. ac_unrecognized_sep=', ';;
  983. esac
  984. eval with_$ac_useropt=\$ac_optarg ;;
  985. -without-* | --without-*)
  986. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  987. # Reject names that are not valid shell variable names.
  988. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  989. as_fn_error $? "invalid package name: $ac_useropt"
  990. ac_useropt_orig=$ac_useropt
  991. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  992. case $ac_user_opts in
  993. *"
  994. "with_$ac_useropt"
  995. "*) ;;
  996. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  997. ac_unrecognized_sep=', ';;
  998. esac
  999. eval with_$ac_useropt=no ;;
  1000. --x)
  1001. # Obsolete; use --with-x.
  1002. with_x=yes ;;
  1003. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1004. | --x-incl | --x-inc | --x-in | --x-i)
  1005. ac_prev=x_includes ;;
  1006. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1007. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1008. x_includes=$ac_optarg ;;
  1009. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1010. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1011. ac_prev=x_libraries ;;
  1012. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1013. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1014. x_libraries=$ac_optarg ;;
  1015. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1016. Try \`$0 --help' for more information"
  1017. ;;
  1018. *=*)
  1019. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1020. # Reject names that are not valid shell variable names.
  1021. case $ac_envvar in #(
  1022. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1023. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1024. esac
  1025. eval $ac_envvar=\$ac_optarg
  1026. export $ac_envvar ;;
  1027. *)
  1028. # FIXME: should be removed in autoconf 3.0.
  1029. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1030. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1031. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1032. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1033. ;;
  1034. esac
  1035. done
  1036. if test -n "$ac_prev"; then
  1037. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1038. as_fn_error $? "missing argument to $ac_option"
  1039. fi
  1040. if test -n "$ac_unrecognized_opts"; then
  1041. case $enable_option_checking in
  1042. no) ;;
  1043. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1044. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1045. esac
  1046. fi
  1047. # Check all directory arguments for consistency.
  1048. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1049. datadir sysconfdir sharedstatedir localstatedir includedir \
  1050. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1051. libdir localedir mandir
  1052. do
  1053. eval ac_val=\$$ac_var
  1054. # Remove trailing slashes.
  1055. case $ac_val in
  1056. */ )
  1057. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1058. eval $ac_var=\$ac_val;;
  1059. esac
  1060. # Be sure to have absolute directory names.
  1061. case $ac_val in
  1062. [\\/$]* | ?:[\\/]* ) continue;;
  1063. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1064. esac
  1065. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1066. done
  1067. # There might be people who depend on the old broken behavior: `$host'
  1068. # used to hold the argument of --host etc.
  1069. # FIXME: To remove some day.
  1070. build=$build_alias
  1071. host=$host_alias
  1072. target=$target_alias
  1073. # FIXME: To remove some day.
  1074. if test "x$host_alias" != x; then
  1075. if test "x$build_alias" = x; then
  1076. cross_compiling=maybe
  1077. elif test "x$build_alias" != "x$host_alias"; then
  1078. cross_compiling=yes
  1079. fi
  1080. fi
  1081. ac_tool_prefix=
  1082. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1083. test "$silent" = yes && exec 6>/dev/null
  1084. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1085. ac_ls_di=`ls -di .` &&
  1086. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1087. as_fn_error $? "working directory cannot be determined"
  1088. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1089. as_fn_error $? "pwd does not report name of working directory"
  1090. # Find the source files, if location was not specified.
  1091. if test -z "$srcdir"; then
  1092. ac_srcdir_defaulted=yes
  1093. # Try the directory containing this script, then the parent directory.
  1094. ac_confdir=`$as_dirname -- "$as_myself" ||
  1095. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1096. X"$as_myself" : 'X\(//\)[^/]' \| \
  1097. X"$as_myself" : 'X\(//\)$' \| \
  1098. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1099. $as_echo X"$as_myself" |
  1100. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1101. s//\1/
  1102. q
  1103. }
  1104. /^X\(\/\/\)[^/].*/{
  1105. s//\1/
  1106. q
  1107. }
  1108. /^X\(\/\/\)$/{
  1109. s//\1/
  1110. q
  1111. }
  1112. /^X\(\/\).*/{
  1113. s//\1/
  1114. q
  1115. }
  1116. s/.*/./; q'`
  1117. srcdir=$ac_confdir
  1118. if test ! -r "$srcdir/$ac_unique_file"; then
  1119. srcdir=..
  1120. fi
  1121. else
  1122. ac_srcdir_defaulted=no
  1123. fi
  1124. if test ! -r "$srcdir/$ac_unique_file"; then
  1125. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1126. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1127. fi
  1128. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1129. ac_abs_confdir=`(
  1130. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1131. pwd)`
  1132. # When building in place, set srcdir=.
  1133. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1134. srcdir=.
  1135. fi
  1136. # Remove unnecessary trailing slashes from srcdir.
  1137. # Double slashes in file names in object file debugging info
  1138. # mess up M-x gdb in Emacs.
  1139. case $srcdir in
  1140. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1141. esac
  1142. for ac_var in $ac_precious_vars; do
  1143. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1144. eval ac_env_${ac_var}_value=\$${ac_var}
  1145. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1146. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1147. done
  1148. #
  1149. # Report the --help message.
  1150. #
  1151. if test "$ac_init_help" = "long"; then
  1152. # Omit some internal or obsolete options to make the list less imposing.
  1153. # This message is too long to be a string in the A/UX 3.1 sh.
  1154. cat <<_ACEOF
  1155. \`configure' configures point_algorithm.a 1.0 to adapt to many kinds of systems.
  1156. Usage: $0 [OPTION]... [VAR=VALUE]...
  1157. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1158. VAR=VALUE. See below for descriptions of some of the useful variables.
  1159. Defaults for the options are specified in brackets.
  1160. Configuration:
  1161. -h, --help display this help and exit
  1162. --help=short display options specific to this package
  1163. --help=recursive display the short help of all the included packages
  1164. -V, --version display version information and exit
  1165. -q, --quiet, --silent do not print \`checking ...' messages
  1166. --cache-file=FILE cache test results in FILE [disabled]
  1167. -C, --config-cache alias for \`--cache-file=config.cache'
  1168. -n, --no-create do not create output files
  1169. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1170. Installation directories:
  1171. --prefix=PREFIX install architecture-independent files in PREFIX
  1172. [$ac_default_prefix]
  1173. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1174. [PREFIX]
  1175. By default, \`make install' will install all the files in
  1176. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1177. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1178. for instance \`--prefix=\$HOME'.
  1179. For better control, use the options below.
  1180. Fine tuning of the installation directories:
  1181. --bindir=DIR user executables [EPREFIX/bin]
  1182. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1183. --libexecdir=DIR program executables [EPREFIX/libexec]
  1184. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1185. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1186. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1187. --libdir=DIR object code libraries [EPREFIX/lib]
  1188. --includedir=DIR C header files [PREFIX/include]
  1189. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1190. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1191. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1192. --infodir=DIR info documentation [DATAROOTDIR/info]
  1193. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1194. --mandir=DIR man documentation [DATAROOTDIR/man]
  1195. --docdir=DIR documentation root
  1196. [DATAROOTDIR/doc/point_algorithm-a]
  1197. --htmldir=DIR html documentation [DOCDIR]
  1198. --dvidir=DIR dvi documentation [DOCDIR]
  1199. --pdfdir=DIR pdf documentation [DOCDIR]
  1200. --psdir=DIR ps documentation [DOCDIR]
  1201. _ACEOF
  1202. cat <<\_ACEOF
  1203. Program names:
  1204. --program-prefix=PREFIX prepend PREFIX to installed program names
  1205. --program-suffix=SUFFIX append SUFFIX to installed program names
  1206. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1207. _ACEOF
  1208. fi
  1209. if test -n "$ac_init_help"; then
  1210. case $ac_init_help in
  1211. short | recursive ) echo "Configuration of point_algorithm.a 1.0:";;
  1212. esac
  1213. cat <<\_ACEOF
  1214. Optional Features:
  1215. --disable-option-checking ignore unrecognized --enable/--with options
  1216. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1217. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1218. --enable-dependency-tracking
  1219. do not reject slow dependency extractors
  1220. --disable-dependency-tracking
  1221. speeds up one-time build
  1222. Some influential environment variables:
  1223. CXX C++ compiler command
  1224. CXXFLAGS C++ compiler flags
  1225. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1226. nonstandard directory <lib dir>
  1227. LIBS libraries to pass to the linker, e.g. -l<library>
  1228. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1229. you have headers in a nonstandard directory <include dir>
  1230. CC C compiler command
  1231. CFLAGS C compiler flags
  1232. CPP C preprocessor
  1233. Use these variables to override the choices made by `configure' or to help
  1234. it to find libraries and programs with nonstandard names/locations.
  1235. Report bugs to <BUG-REPORT-ADDRESS>.
  1236. _ACEOF
  1237. ac_status=$?
  1238. fi
  1239. if test "$ac_init_help" = "recursive"; then
  1240. # If there are subdirs, report their specific --help.
  1241. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1242. test -d "$ac_dir" ||
  1243. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1244. continue
  1245. ac_builddir=.
  1246. case "$ac_dir" in
  1247. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1248. *)
  1249. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1250. # A ".." for each directory in $ac_dir_suffix.
  1251. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1252. case $ac_top_builddir_sub in
  1253. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1254. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1255. esac ;;
  1256. esac
  1257. ac_abs_top_builddir=$ac_pwd
  1258. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1259. # for backward compatibility:
  1260. ac_top_builddir=$ac_top_build_prefix
  1261. case $srcdir in
  1262. .) # We are building in place.
  1263. ac_srcdir=.
  1264. ac_top_srcdir=$ac_top_builddir_sub
  1265. ac_abs_top_srcdir=$ac_pwd ;;
  1266. [\\/]* | ?:[\\/]* ) # Absolute name.
  1267. ac_srcdir=$srcdir$ac_dir_suffix;
  1268. ac_top_srcdir=$srcdir
  1269. ac_abs_top_srcdir=$srcdir ;;
  1270. *) # Relative name.
  1271. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1272. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1273. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1274. esac
  1275. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1276. cd "$ac_dir" || { ac_status=$?; continue; }
  1277. # Check for guested configure.
  1278. if test -f "$ac_srcdir/configure.gnu"; then
  1279. echo &&
  1280. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1281. elif test -f "$ac_srcdir/configure"; then
  1282. echo &&
  1283. $SHELL "$ac_srcdir/configure" --help=recursive
  1284. else
  1285. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1286. fi || ac_status=$?
  1287. cd "$ac_pwd" || { ac_status=$?; break; }
  1288. done
  1289. fi
  1290. test -n "$ac_init_help" && exit $ac_status
  1291. if $ac_init_version; then
  1292. cat <<\_ACEOF
  1293. point_algorithm.a configure 1.0
  1294. generated by GNU Autoconf 2.69
  1295. Copyright (C) 2012 Free Software Foundation, Inc.
  1296. This configure script is free software; the Free Software Foundation
  1297. gives unlimited permission to copy, distribute and modify it.
  1298. _ACEOF
  1299. exit
  1300. fi
  1301. ## ------------------------ ##
  1302. ## Autoconf initialization. ##
  1303. ## ------------------------ ##
  1304. # ac_fn_cxx_try_compile LINENO
  1305. # ----------------------------
  1306. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1307. ac_fn_cxx_try_compile ()
  1308. {
  1309. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1310. rm -f conftest.$ac_objext
  1311. if { { ac_try="$ac_compile"
  1312. case "(($ac_try" in
  1313. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1314. *) ac_try_echo=$ac_try;;
  1315. esac
  1316. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1317. $as_echo "$ac_try_echo"; } >&5
  1318. (eval "$ac_compile") 2>conftest.err
  1319. ac_status=$?
  1320. if test -s conftest.err; then
  1321. grep -v '^ *+' conftest.err >conftest.er1
  1322. cat conftest.er1 >&5
  1323. mv -f conftest.er1 conftest.err
  1324. fi
  1325. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1326. test $ac_status = 0; } && {
  1327. test -z "$ac_cxx_werror_flag" ||
  1328. test ! -s conftest.err
  1329. } && test -s conftest.$ac_objext; then :
  1330. ac_retval=0
  1331. else
  1332. $as_echo "$as_me: failed program was:" >&5
  1333. sed 's/^/| /' conftest.$ac_ext >&5
  1334. ac_retval=1
  1335. fi
  1336. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1337. as_fn_set_status $ac_retval
  1338. } # ac_fn_cxx_try_compile
  1339. # ac_fn_c_try_compile LINENO
  1340. # --------------------------
  1341. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1342. ac_fn_c_try_compile ()
  1343. {
  1344. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1345. rm -f conftest.$ac_objext
  1346. if { { ac_try="$ac_compile"
  1347. case "(($ac_try" in
  1348. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1349. *) ac_try_echo=$ac_try;;
  1350. esac
  1351. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1352. $as_echo "$ac_try_echo"; } >&5
  1353. (eval "$ac_compile") 2>conftest.err
  1354. ac_status=$?
  1355. if test -s conftest.err; then
  1356. grep -v '^ *+' conftest.err >conftest.er1
  1357. cat conftest.er1 >&5
  1358. mv -f conftest.er1 conftest.err
  1359. fi
  1360. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1361. test $ac_status = 0; } && {
  1362. test -z "$ac_c_werror_flag" ||
  1363. test ! -s conftest.err
  1364. } && test -s conftest.$ac_objext; then :
  1365. ac_retval=0
  1366. else
  1367. $as_echo "$as_me: failed program was:" >&5
  1368. sed 's/^/| /' conftest.$ac_ext >&5
  1369. ac_retval=1
  1370. fi
  1371. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1372. as_fn_set_status $ac_retval
  1373. } # ac_fn_c_try_compile
  1374. # ac_fn_c_try_cpp LINENO
  1375. # ----------------------
  1376. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1377. ac_fn_c_try_cpp ()
  1378. {
  1379. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1380. if { { ac_try="$ac_cpp conftest.$ac_ext"
  1381. case "(($ac_try" in
  1382. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1383. *) ac_try_echo=$ac_try;;
  1384. esac
  1385. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1386. $as_echo "$ac_try_echo"; } >&5
  1387. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1388. ac_status=$?
  1389. if test -s conftest.err; then
  1390. grep -v '^ *+' conftest.err >conftest.er1
  1391. cat conftest.er1 >&5
  1392. mv -f conftest.er1 conftest.err
  1393. fi
  1394. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1395. test $ac_status = 0; } > conftest.i && {
  1396. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1397. test ! -s conftest.err
  1398. }; then :
  1399. ac_retval=0
  1400. else
  1401. $as_echo "$as_me: failed program was:" >&5
  1402. sed 's/^/| /' conftest.$ac_ext >&5
  1403. ac_retval=1
  1404. fi
  1405. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1406. as_fn_set_status $ac_retval
  1407. } # ac_fn_c_try_cpp
  1408. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1409. # -------------------------------------------------------
  1410. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1411. # the include files in INCLUDES and setting the cache variable VAR
  1412. # accordingly.
  1413. ac_fn_c_check_header_mongrel ()
  1414. {
  1415. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1416. if eval \${$3+:} false; then :
  1417. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1418. $as_echo_n "checking for $2... " >&6; }
  1419. if eval \${$3+:} false; then :
  1420. $as_echo_n "(cached) " >&6
  1421. fi
  1422. eval ac_res=\$$3
  1423. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1424. $as_echo "$ac_res" >&6; }
  1425. else
  1426. # Is the header compilable?
  1427. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1428. $as_echo_n "checking $2 usability... " >&6; }
  1429. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1430. /* end confdefs.h. */
  1431. $4
  1432. #include <$2>
  1433. _ACEOF
  1434. if ac_fn_c_try_compile "$LINENO"; then :
  1435. ac_header_compiler=yes
  1436. else
  1437. ac_header_compiler=no
  1438. fi
  1439. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1441. $as_echo "$ac_header_compiler" >&6; }
  1442. # Is the header present?
  1443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1444. $as_echo_n "checking $2 presence... " >&6; }
  1445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1446. /* end confdefs.h. */
  1447. #include <$2>
  1448. _ACEOF
  1449. if ac_fn_c_try_cpp "$LINENO"; then :
  1450. ac_header_preproc=yes
  1451. else
  1452. ac_header_preproc=no
  1453. fi
  1454. rm -f conftest.err conftest.i conftest.$ac_ext
  1455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1456. $as_echo "$ac_header_preproc" >&6; }
  1457. # So? What about this header?
  1458. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1459. yes:no: )
  1460. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1461. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1462. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1463. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1464. ;;
  1465. no:yes:* )
  1466. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1467. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1468. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1469. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1470. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1471. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1472. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1473. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1474. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1475. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1476. ( $as_echo "## --------------------------------- ##
  1477. ## Report this to BUG-REPORT-ADDRESS ##
  1478. ## --------------------------------- ##"
  1479. ) | sed "s/^/$as_me: WARNING: /" >&2
  1480. ;;
  1481. esac
  1482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1483. $as_echo_n "checking for $2... " >&6; }
  1484. if eval \${$3+:} false; then :
  1485. $as_echo_n "(cached) " >&6
  1486. else
  1487. eval "$3=\$ac_header_compiler"
  1488. fi
  1489. eval ac_res=\$$3
  1490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1491. $as_echo "$ac_res" >&6; }
  1492. fi
  1493. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1494. } # ac_fn_c_check_header_mongrel
  1495. # ac_fn_c_try_run LINENO
  1496. # ----------------------
  1497. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1498. # that executables *can* be run.
  1499. ac_fn_c_try_run ()
  1500. {
  1501. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1502. if { { ac_try="$ac_link"
  1503. case "(($ac_try" in
  1504. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1505. *) ac_try_echo=$ac_try;;
  1506. esac
  1507. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1508. $as_echo "$ac_try_echo"; } >&5
  1509. (eval "$ac_link") 2>&5
  1510. ac_status=$?
  1511. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1512. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1513. { { case "(($ac_try" in
  1514. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1515. *) ac_try_echo=$ac_try;;
  1516. esac
  1517. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1518. $as_echo "$ac_try_echo"; } >&5
  1519. (eval "$ac_try") 2>&5
  1520. ac_status=$?
  1521. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1522. test $ac_status = 0; }; }; then :
  1523. ac_retval=0
  1524. else
  1525. $as_echo "$as_me: program exited with status $ac_status" >&5
  1526. $as_echo "$as_me: failed program was:" >&5
  1527. sed 's/^/| /' conftest.$ac_ext >&5
  1528. ac_retval=$ac_status
  1529. fi
  1530. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1531. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1532. as_fn_set_status $ac_retval
  1533. } # ac_fn_c_try_run
  1534. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1535. # -------------------------------------------------------
  1536. # Tests whether HEADER exists and can be compiled using the include files in
  1537. # INCLUDES, setting the cache variable VAR accordingly.
  1538. ac_fn_c_check_header_compile ()
  1539. {
  1540. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1541. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1542. $as_echo_n "checking for $2... " >&6; }
  1543. if eval \${$3+:} false; then :
  1544. $as_echo_n "(cached) " >&6
  1545. else
  1546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1547. /* end confdefs.h. */
  1548. $4
  1549. #include <$2>
  1550. _ACEOF
  1551. if ac_fn_c_try_compile "$LINENO"; then :
  1552. eval "$3=yes"
  1553. else
  1554. eval "$3=no"
  1555. fi
  1556. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1557. fi
  1558. eval ac_res=\$$3
  1559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1560. $as_echo "$ac_res" >&6; }
  1561. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1562. } # ac_fn_c_check_header_compile
  1563. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1564. # -------------------------------------------
  1565. # Tests whether TYPE exists after having included INCLUDES, setting cache
  1566. # variable VAR accordingly.
  1567. ac_fn_c_check_type ()
  1568. {
  1569. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1571. $as_echo_n "checking for $2... " >&6; }
  1572. if eval \${$3+:} false; then :
  1573. $as_echo_n "(cached) " >&6
  1574. else
  1575. eval "$3=no"
  1576. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1577. /* end confdefs.h. */
  1578. $4
  1579. int
  1580. main ()
  1581. {
  1582. if (sizeof ($2))
  1583. return 0;
  1584. ;
  1585. return 0;
  1586. }
  1587. _ACEOF
  1588. if ac_fn_c_try_compile "$LINENO"; then :
  1589. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1590. /* end confdefs.h. */
  1591. $4
  1592. int
  1593. main ()
  1594. {
  1595. if (sizeof (($2)))
  1596. return 0;
  1597. ;
  1598. return 0;
  1599. }
  1600. _ACEOF
  1601. if ac_fn_c_try_compile "$LINENO"; then :
  1602. else
  1603. eval "$3=yes"
  1604. fi
  1605. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1606. fi
  1607. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1608. fi
  1609. eval ac_res=\$$3
  1610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1611. $as_echo "$ac_res" >&6; }
  1612. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1613. } # ac_fn_c_check_type
  1614. # ac_fn_c_find_intX_t LINENO BITS VAR
  1615. # -----------------------------------
  1616. # Finds a signed integer type with width BITS, setting cache variable VAR
  1617. # accordingly.
  1618. ac_fn_c_find_intX_t ()
  1619. {
  1620. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
  1622. $as_echo_n "checking for int$2_t... " >&6; }
  1623. if eval \${$3+:} false; then :
  1624. $as_echo_n "(cached) " >&6
  1625. else
  1626. eval "$3=no"
  1627. # Order is important - never check a type that is potentially smaller
  1628. # than half of the expected target width.
  1629. for ac_type in int$2_t 'int' 'long int' \
  1630. 'long long int' 'short int' 'signed char'; do
  1631. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1632. /* end confdefs.h. */
  1633. $ac_includes_default
  1634. enum { N = $2 / 2 - 1 };
  1635. int
  1636. main ()
  1637. {
  1638. static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
  1639. test_array [0] = 0;
  1640. return test_array [0];
  1641. ;
  1642. return 0;
  1643. }
  1644. _ACEOF
  1645. if ac_fn_c_try_compile "$LINENO"; then :
  1646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1647. /* end confdefs.h. */
  1648. $ac_includes_default
  1649. enum { N = $2 / 2 - 1 };
  1650. int
  1651. main ()
  1652. {
  1653. static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
  1654. < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
  1655. test_array [0] = 0;
  1656. return test_array [0];
  1657. ;
  1658. return 0;
  1659. }
  1660. _ACEOF
  1661. if ac_fn_c_try_compile "$LINENO"; then :
  1662. else
  1663. case $ac_type in #(
  1664. int$2_t) :
  1665. eval "$3=yes" ;; #(
  1666. *) :
  1667. eval "$3=\$ac_type" ;;
  1668. esac
  1669. fi
  1670. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1671. fi
  1672. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1673. if eval test \"x\$"$3"\" = x"no"; then :
  1674. else
  1675. break
  1676. fi
  1677. done
  1678. fi
  1679. eval ac_res=\$$3
  1680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1681. $as_echo "$ac_res" >&6; }
  1682. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1683. } # ac_fn_c_find_intX_t
  1684. # ac_fn_c_find_uintX_t LINENO BITS VAR
  1685. # ------------------------------------
  1686. # Finds an unsigned integer type with width BITS, setting cache variable VAR
  1687. # accordingly.
  1688. ac_fn_c_find_uintX_t ()
  1689. {
  1690. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
  1692. $as_echo_n "checking for uint$2_t... " >&6; }
  1693. if eval \${$3+:} false; then :
  1694. $as_echo_n "(cached) " >&6
  1695. else
  1696. eval "$3=no"
  1697. # Order is important - never check a type that is potentially smaller
  1698. # than half of the expected target width.
  1699. for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
  1700. 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
  1701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1702. /* end confdefs.h. */
  1703. $ac_includes_default
  1704. int
  1705. main ()
  1706. {
  1707. static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
  1708. test_array [0] = 0;
  1709. return test_array [0];
  1710. ;
  1711. return 0;
  1712. }
  1713. _ACEOF
  1714. if ac_fn_c_try_compile "$LINENO"; then :
  1715. case $ac_type in #(
  1716. uint$2_t) :
  1717. eval "$3=yes" ;; #(
  1718. *) :
  1719. eval "$3=\$ac_type" ;;
  1720. esac
  1721. fi
  1722. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1723. if eval test \"x\$"$3"\" = x"no"; then :
  1724. else
  1725. break
  1726. fi
  1727. done
  1728. fi
  1729. eval ac_res=\$$3
  1730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1731. $as_echo "$ac_res" >&6; }
  1732. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1733. } # ac_fn_c_find_uintX_t
  1734. # ac_fn_c_try_link LINENO
  1735. # -----------------------
  1736. # Try to link conftest.$ac_ext, and return whether this succeeded.
  1737. ac_fn_c_try_link ()
  1738. {
  1739. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1740. rm -f conftest.$ac_objext conftest$ac_exeext
  1741. if { { ac_try="$ac_link"
  1742. case "(($ac_try" in
  1743. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1744. *) ac_try_echo=$ac_try;;
  1745. esac
  1746. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1747. $as_echo "$ac_try_echo"; } >&5
  1748. (eval "$ac_link") 2>conftest.err
  1749. ac_status=$?
  1750. if test -s conftest.err; then
  1751. grep -v '^ *+' conftest.err >conftest.er1
  1752. cat conftest.er1 >&5
  1753. mv -f conftest.er1 conftest.err
  1754. fi
  1755. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1756. test $ac_status = 0; } && {
  1757. test -z "$ac_c_werror_flag" ||
  1758. test ! -s conftest.err
  1759. } && test -s conftest$ac_exeext && {
  1760. test "$cross_compiling" = yes ||
  1761. test -x conftest$ac_exeext
  1762. }; then :
  1763. ac_retval=0
  1764. else
  1765. $as_echo "$as_me: failed program was:" >&5
  1766. sed 's/^/| /' conftest.$ac_ext >&5
  1767. ac_retval=1
  1768. fi
  1769. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1770. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1771. # interfere with the next link command; also delete a directory that is
  1772. # left behind by Apple's compiler. We do this before executing the actions.
  1773. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1774. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1775. as_fn_set_status $ac_retval
  1776. } # ac_fn_c_try_link
  1777. # ac_fn_c_check_func LINENO FUNC VAR
  1778. # ----------------------------------
  1779. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1780. ac_fn_c_check_func ()
  1781. {
  1782. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1783. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1784. $as_echo_n "checking for $2... " >&6; }
  1785. if eval \${$3+:} false; then :
  1786. $as_echo_n "(cached) " >&6
  1787. else
  1788. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1789. /* end confdefs.h. */
  1790. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1791. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  1792. #define $2 innocuous_$2
  1793. /* System header to define __stub macros and hopefully few prototypes,
  1794. which can conflict with char $2 (); below.
  1795. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1796. <limits.h> exists even on freestanding compilers. */
  1797. #ifdef __STDC__
  1798. # include <limits.h>
  1799. #else
  1800. # include <assert.h>
  1801. #endif
  1802. #undef $2
  1803. /* Override any GCC internal prototype to avoid an error.
  1804. Use char because int might match the return type of a GCC
  1805. builtin and then its argument prototype would still apply. */
  1806. #ifdef __cplusplus
  1807. extern "C"
  1808. #endif
  1809. char $2 ();
  1810. /* The GNU C library defines this for functions which it implements
  1811. to always fail with ENOSYS. Some functions are actually named
  1812. something starting with __ and the normal name is an alias. */
  1813. #if defined __stub_$2 || defined __stub___$2
  1814. choke me
  1815. #endif
  1816. int
  1817. main ()
  1818. {
  1819. return $2 ();
  1820. ;
  1821. return 0;
  1822. }
  1823. _ACEOF
  1824. if ac_fn_c_try_link "$LINENO"; then :
  1825. eval "$3=yes"
  1826. else
  1827. eval "$3=no"
  1828. fi
  1829. rm -f core conftest.err conftest.$ac_objext \
  1830. conftest$ac_exeext conftest.$ac_ext
  1831. fi
  1832. eval ac_res=\$$3
  1833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1834. $as_echo "$ac_res" >&6; }
  1835. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1836. } # ac_fn_c_check_func
  1837. cat >config.log <<_ACEOF
  1838. This file contains any messages produced by compilers while
  1839. running configure, to aid debugging if configure makes a mistake.
  1840. It was created by point_algorithm.a $as_me 1.0, which was
  1841. generated by GNU Autoconf 2.69. Invocation command line was
  1842. $ $0 $@
  1843. _ACEOF
  1844. exec 5>>config.log
  1845. {
  1846. cat <<_ASUNAME
  1847. ## --------- ##
  1848. ## Platform. ##
  1849. ## --------- ##
  1850. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1851. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1852. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1853. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1854. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1855. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1856. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1857. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1858. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1859. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1860. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1861. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1862. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1863. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1864. _ASUNAME
  1865. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1866. for as_dir in $PATH
  1867. do
  1868. IFS=$as_save_IFS
  1869. test -z "$as_dir" && as_dir=.
  1870. $as_echo "PATH: $as_dir"
  1871. done
  1872. IFS=$as_save_IFS
  1873. } >&5
  1874. cat >&5 <<_ACEOF
  1875. ## ----------- ##
  1876. ## Core tests. ##
  1877. ## ----------- ##
  1878. _ACEOF
  1879. # Keep a trace of the command line.
  1880. # Strip out --no-create and --no-recursion so they do not pile up.
  1881. # Strip out --silent because we don't want to record it for future runs.
  1882. # Also quote any args containing shell meta-characters.
  1883. # Make two passes to allow for proper duplicate-argument suppression.
  1884. ac_configure_args=
  1885. ac_configure_args0=
  1886. ac_configure_args1=
  1887. ac_must_keep_next=false
  1888. for ac_pass in 1 2
  1889. do
  1890. for ac_arg
  1891. do
  1892. case $ac_arg in
  1893. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1894. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1895. | -silent | --silent | --silen | --sile | --sil)
  1896. continue ;;
  1897. *\'*)
  1898. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1899. esac
  1900. case $ac_pass in
  1901. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1902. 2)
  1903. as_fn_append ac_configure_args1 " '$ac_arg'"
  1904. if test $ac_must_keep_next = true; then
  1905. ac_must_keep_next=false # Got value, back to normal.
  1906. else
  1907. case $ac_arg in
  1908. *=* | --config-cache | -C | -disable-* | --disable-* \
  1909. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1910. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1911. | -with-* | --with-* | -without-* | --without-* | --x)
  1912. case "$ac_configure_args0 " in
  1913. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1914. esac
  1915. ;;
  1916. -* ) ac_must_keep_next=true ;;
  1917. esac
  1918. fi
  1919. as_fn_append ac_configure_args " '$ac_arg'"
  1920. ;;
  1921. esac
  1922. done
  1923. done
  1924. { ac_configure_args0=; unset ac_configure_args0;}
  1925. { ac_configure_args1=; unset ac_configure_args1;}
  1926. # When interrupted or exit'd, cleanup temporary files, and complete
  1927. # config.log. We remove comments because anyway the quotes in there
  1928. # would cause problems or look ugly.
  1929. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1930. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1931. trap 'exit_status=$?
  1932. # Save into config.log some information that might help in debugging.
  1933. {
  1934. echo
  1935. $as_echo "## ---------------- ##
  1936. ## Cache variables. ##
  1937. ## ---------------- ##"
  1938. echo
  1939. # The following way of writing the cache mishandles newlines in values,
  1940. (
  1941. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1942. eval ac_val=\$$ac_var
  1943. case $ac_val in #(
  1944. *${as_nl}*)
  1945. case $ac_var in #(
  1946. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1947. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1948. esac
  1949. case $ac_var in #(
  1950. _ | IFS | as_nl) ;; #(
  1951. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1952. *) { eval $ac_var=; unset $ac_var;} ;;
  1953. esac ;;
  1954. esac
  1955. done
  1956. (set) 2>&1 |
  1957. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1958. *${as_nl}ac_space=\ *)
  1959. sed -n \
  1960. "s/'\''/'\''\\\\'\'''\''/g;
  1961. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1962. ;; #(
  1963. *)
  1964. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1965. ;;
  1966. esac |
  1967. sort
  1968. )
  1969. echo
  1970. $as_echo "## ----------------- ##
  1971. ## Output variables. ##
  1972. ## ----------------- ##"
  1973. echo
  1974. for ac_var in $ac_subst_vars
  1975. do
  1976. eval ac_val=\$$ac_var
  1977. case $ac_val in
  1978. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1979. esac
  1980. $as_echo "$ac_var='\''$ac_val'\''"
  1981. done | sort
  1982. echo
  1983. if test -n "$ac_subst_files"; then
  1984. $as_echo "## ------------------- ##
  1985. ## File substitutions. ##
  1986. ## ------------------- ##"
  1987. echo
  1988. for ac_var in $ac_subst_files
  1989. do
  1990. eval ac_val=\$$ac_var
  1991. case $ac_val in
  1992. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1993. esac
  1994. $as_echo "$ac_var='\''$ac_val'\''"
  1995. done | sort
  1996. echo
  1997. fi
  1998. if test -s confdefs.h; then
  1999. $as_echo "## ----------- ##
  2000. ## confdefs.h. ##
  2001. ## ----------- ##"
  2002. echo
  2003. cat confdefs.h
  2004. echo
  2005. fi
  2006. test "$ac_signal" != 0 &&
  2007. $as_echo "$as_me: caught signal $ac_signal"
  2008. $as_echo "$as_me: exit $exit_status"
  2009. } >&5
  2010. rm -f core *.core core.conftest.* &&
  2011. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2012. exit $exit_status
  2013. ' 0
  2014. for ac_signal in 1 2 13 15; do
  2015. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2016. done
  2017. ac_signal=0
  2018. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2019. rm -f -r conftest* confdefs.h
  2020. $as_echo "/* confdefs.h */" > confdefs.h
  2021. # Predefined preprocessor variables.
  2022. cat >>confdefs.h <<_ACEOF
  2023. #define PACKAGE_NAME "$PACKAGE_NAME"
  2024. _ACEOF
  2025. cat >>confdefs.h <<_ACEOF
  2026. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2027. _ACEOF
  2028. cat >>confdefs.h <<_ACEOF
  2029. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2030. _ACEOF
  2031. cat >>confdefs.h <<_ACEOF
  2032. #define PACKAGE_STRING "$PACKAGE_STRING"
  2033. _ACEOF
  2034. cat >>confdefs.h <<_ACEOF
  2035. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2036. _ACEOF
  2037. cat >>confdefs.h <<_ACEOF
  2038. #define PACKAGE_URL "$PACKAGE_URL"
  2039. _ACEOF
  2040. # Let the site file select an alternate cache file if it wants to.
  2041. # Prefer an explicitly selected file to automatically selected ones.
  2042. ac_site_file1=NONE
  2043. ac_site_file2=NONE
  2044. if test -n "$CONFIG_SITE"; then
  2045. # We do not want a PATH search for config.site.
  2046. case $CONFIG_SITE in #((
  2047. -*) ac_site_file1=./$CONFIG_SITE;;
  2048. */*) ac_site_file1=$CONFIG_SITE;;
  2049. *) ac_site_file1=./$CONFIG_SITE;;
  2050. esac
  2051. elif test "x$prefix" != xNONE; then
  2052. ac_site_file1=$prefix/share/config.site
  2053. ac_site_file2=$prefix/etc/config.site
  2054. else
  2055. ac_site_file1=$ac_default_prefix/share/config.site
  2056. ac_site_file2=$ac_default_prefix/etc/config.site
  2057. fi
  2058. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2059. do
  2060. test "x$ac_site_file" = xNONE && continue
  2061. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2062. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2063. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2064. sed 's/^/| /' "$ac_site_file" >&5
  2065. . "$ac_site_file" \
  2066. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2067. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2068. as_fn_error $? "failed to load site script $ac_site_file
  2069. See \`config.log' for more details" "$LINENO" 5; }
  2070. fi
  2071. done
  2072. if test -r "$cache_file"; then
  2073. # Some versions of bash will fail to source /dev/null (special files
  2074. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2075. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2076. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2077. $as_echo "$as_me: loading cache $cache_file" >&6;}
  2078. case $cache_file in
  2079. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2080. *) . "./$cache_file";;
  2081. esac
  2082. fi
  2083. else
  2084. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2085. $as_echo "$as_me: creating cache $cache_file" >&6;}
  2086. >$cache_file
  2087. fi
  2088. # Check that the precious variables saved in the cache have kept the same
  2089. # value.
  2090. ac_cache_corrupted=false
  2091. for ac_var in $ac_precious_vars; do
  2092. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2093. eval ac_new_set=\$ac_env_${ac_var}_set
  2094. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2095. eval ac_new_val=\$ac_env_${ac_var}_value
  2096. case $ac_old_set,$ac_new_set in
  2097. set,)
  2098. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2099. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2100. ac_cache_corrupted=: ;;
  2101. ,set)
  2102. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2103. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2104. ac_cache_corrupted=: ;;
  2105. ,);;
  2106. *)
  2107. if test "x$ac_old_val" != "x$ac_new_val"; then
  2108. # differences in whitespace do not lead to failure.
  2109. ac_old_val_w=`echo x $ac_old_val`
  2110. ac_new_val_w=`echo x $ac_new_val`
  2111. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2112. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2113. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2114. ac_cache_corrupted=:
  2115. else
  2116. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2117. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2118. eval $ac_var=\$ac_old_val
  2119. fi
  2120. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2121. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2122. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2123. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2124. fi;;
  2125. esac
  2126. # Pass precious variables to config.status.
  2127. if test "$ac_new_set" = set; then
  2128. case $ac_new_val in
  2129. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2130. *) ac_arg=$ac_var=$ac_new_val ;;
  2131. esac
  2132. case " $ac_configure_args " in
  2133. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2134. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2135. esac
  2136. fi
  2137. done
  2138. if $ac_cache_corrupted; then
  2139. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2140. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2141. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2142. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2143. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2144. fi
  2145. ## -------------------- ##
  2146. ## Main body of script. ##
  2147. ## -------------------- ##
  2148. ac_ext=c
  2149. ac_cpp='$CPP $CPPFLAGS'
  2150. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2151. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2152. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2153. am__api_version='1.12'
  2154. ac_aux_dir=
  2155. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2156. if test -f "$ac_dir/install-sh"; then
  2157. ac_aux_dir=$ac_dir
  2158. ac_install_sh="$ac_aux_dir/install-sh -c"
  2159. break
  2160. elif test -f "$ac_dir/install.sh"; then
  2161. ac_aux_dir=$ac_dir
  2162. ac_install_sh="$ac_aux_dir/install.sh -c"
  2163. break
  2164. elif test -f "$ac_dir/shtool"; then
  2165. ac_aux_dir=$ac_dir
  2166. ac_install_sh="$ac_aux_dir/shtool install -c"
  2167. break
  2168. fi
  2169. done
  2170. if test -z "$ac_aux_dir"; then
  2171. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2172. fi
  2173. # These three variables are undocumented and unsupported,
  2174. # and are intended to be withdrawn in a future Autoconf release.
  2175. # They can cause serious problems if a builder's source tree is in a directory
  2176. # whose full name contains unusual characters.
  2177. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2178. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2179. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2180. # Find a good install program. We prefer a C program (faster),
  2181. # so one script is as good as another. But avoid the broken or
  2182. # incompatible versions:
  2183. # SysV /etc/install, /usr/sbin/install
  2184. # SunOS /usr/etc/install
  2185. # IRIX /sbin/install
  2186. # AIX /bin/install
  2187. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2188. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2189. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2190. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2191. # OS/2's system install, which has a completely different semantic
  2192. # ./install, which can be erroneously created by make from ./install.sh.
  2193. # Reject install programs that cannot install multiple files.
  2194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2195. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2196. if test -z "$INSTALL"; then
  2197. if ${ac_cv_path_install+:} false; then :
  2198. $as_echo_n "(cached) " >&6
  2199. else
  2200. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2201. for as_dir in $PATH
  2202. do
  2203. IFS=$as_save_IFS
  2204. test -z "$as_dir" && as_dir=.
  2205. # Account for people who put trailing slashes in PATH elements.
  2206. case $as_dir/ in #((
  2207. ./ | .// | /[cC]/* | \
  2208. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2209. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2210. /usr/ucb/* ) ;;
  2211. *)
  2212. # OSF1 and SCO ODT 3.0 have their own names for install.
  2213. # Don't use installbsd from OSF since it installs stuff as root
  2214. # by default.
  2215. for ac_prog in ginstall scoinst install; do
  2216. for ac_exec_ext in '' $ac_executable_extensions; do
  2217. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  2218. if test $ac_prog = install &&
  2219. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2220. # AIX install. It has an incompatible calling convention.
  2221. :
  2222. elif test $ac_prog = install &&
  2223. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2224. # program-specific install script used by HP pwplus--don't use.
  2225. :
  2226. else
  2227. rm -rf conftest.one conftest.two conftest.dir
  2228. echo one > conftest.one
  2229. echo two > conftest.two
  2230. mkdir conftest.dir
  2231. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2232. test -s conftest.one && test -s conftest.two &&
  2233. test -s conftest.dir/conftest.one &&
  2234. test -s conftest.dir/conftest.two
  2235. then
  2236. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2237. break 3
  2238. fi
  2239. fi
  2240. fi
  2241. done
  2242. done
  2243. ;;
  2244. esac
  2245. done
  2246. IFS=$as_save_IFS
  2247. rm -rf conftest.one conftest.two conftest.dir
  2248. fi
  2249. if test "${ac_cv_path_install+set}" = set; then
  2250. INSTALL=$ac_cv_path_install
  2251. else
  2252. # As a last resort, use the slow shell script. Don't cache a
  2253. # value for INSTALL within a source directory, because that will
  2254. # break other packages using the cache if that directory is
  2255. # removed, or if the value is a relative name.
  2256. INSTALL=$ac_install_sh
  2257. fi
  2258. fi
  2259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2260. $as_echo "$INSTALL" >&6; }
  2261. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2262. # It thinks the first close brace ends the variable substitution.
  2263. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2264. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2265. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2266. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2267. $as_echo_n "checking whether build environment is sane... " >&6; }
  2268. # Reject unsafe characters in $srcdir or the absolute working directory
  2269. # name. Accept space and tab only in the latter.
  2270. am_lf='
  2271. '
  2272. case `pwd` in
  2273. *[\\\"\#\$\&\'\`$am_lf]*)
  2274. as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
  2275. esac
  2276. case $srcdir in
  2277. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2278. as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2279. esac
  2280. # Do 'set' in a subshell so we don't clobber the current shell's
  2281. # arguments. Must try -L first in case configure is actually a
  2282. # symlink; some systems play weird games with the mod time of symlinks
  2283. # (eg FreeBSD returns the mod time of the symlink's containing
  2284. # directory).
  2285. if (
  2286. am_has_slept=no
  2287. for am_try in 1 2; do
  2288. echo "timestamp, slept: $am_has_slept" > conftest.file
  2289. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2290. if test "$*" = "X"; then
  2291. # -L didn't work.
  2292. set X `ls -t "$srcdir/configure" conftest.file`
  2293. fi
  2294. if test "$*" != "X $srcdir/configure conftest.file" \
  2295. && test "$*" != "X conftest.file $srcdir/configure"; then
  2296. # If neither matched, then we have a broken ls. This can happen
  2297. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2298. # broken ls alias from the environment. This has actually
  2299. # happened. Such a system could not be considered "sane".
  2300. as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
  2301. alias in your environment" "$LINENO" 5
  2302. fi
  2303. if test "$2" = conftest.file || test $am_try -eq 2; then
  2304. break
  2305. fi
  2306. # Just in case.
  2307. sleep 1
  2308. am_has_slept=yes
  2309. done
  2310. test "$2" = conftest.file
  2311. )
  2312. then
  2313. # Ok.
  2314. :
  2315. else
  2316. as_fn_error $? "newly created file is older than distributed files!
  2317. Check your system clock" "$LINENO" 5
  2318. fi
  2319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2320. $as_echo "yes" >&6; }
  2321. # If we didn't sleep, we still need to ensure time stamps of config.status and
  2322. # generated files are strictly newer.
  2323. am_sleep_pid=
  2324. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2325. ( sleep 1 ) &
  2326. am_sleep_pid=$!
  2327. fi
  2328. rm -f conftest.file
  2329. test "$program_prefix" != NONE &&
  2330. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2331. # Use a double $ so make ignores it.
  2332. test "$program_suffix" != NONE &&
  2333. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2334. # Double any \ or $.
  2335. # By default was `s,x,x', remove it if useless.
  2336. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2337. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2338. # expand $ac_aux_dir to an absolute path
  2339. am_aux_dir=`cd $ac_aux_dir && pwd`
  2340. if test x"${MISSING+set}" != xset; then
  2341. case $am_aux_dir in
  2342. *\ * | *\ *)
  2343. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2344. *)
  2345. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2346. esac
  2347. fi
  2348. # Use eval to expand $SHELL
  2349. if eval "$MISSING --run true"; then
  2350. am_missing_run="$MISSING --run "
  2351. else
  2352. am_missing_run=
  2353. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2354. $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2355. fi
  2356. if test x"${install_sh}" != xset; then
  2357. case $am_aux_dir in
  2358. *\ * | *\ *)
  2359. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2360. *)
  2361. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2362. esac
  2363. fi
  2364. # Installed binaries are usually stripped using 'strip' when the user
  2365. # run "make install-strip". However 'strip' might not be the right
  2366. # tool to use in cross-compilation environments, therefore Automake
  2367. # will honor the 'STRIP' environment variable to overrule this program.
  2368. if test "$cross_compiling" != no; then
  2369. if test -n "$ac_tool_prefix"; then
  2370. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2371. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2372. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2373. $as_echo_n "checking for $ac_word... " >&6; }
  2374. if ${ac_cv_prog_STRIP+:} false; then :
  2375. $as_echo_n "(cached) " >&6
  2376. else
  2377. if test -n "$STRIP"; then
  2378. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2379. else
  2380. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2381. for as_dir in $PATH
  2382. do
  2383. IFS=$as_save_IFS
  2384. test -z "$as_dir" && as_dir=.
  2385. for ac_exec_ext in '' $ac_executable_extensions; do
  2386. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2387. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2388. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2389. break 2
  2390. fi
  2391. done
  2392. done
  2393. IFS=$as_save_IFS
  2394. fi
  2395. fi
  2396. STRIP=$ac_cv_prog_STRIP
  2397. if test -n "$STRIP"; then
  2398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2399. $as_echo "$STRIP" >&6; }
  2400. else
  2401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2402. $as_echo "no" >&6; }
  2403. fi
  2404. fi
  2405. if test -z "$ac_cv_prog_STRIP"; then
  2406. ac_ct_STRIP=$STRIP
  2407. # Extract the first word of "strip", so it can be a program name with args.
  2408. set dummy strip; ac_word=$2
  2409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2410. $as_echo_n "checking for $ac_word... " >&6; }
  2411. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  2412. $as_echo_n "(cached) " >&6
  2413. else
  2414. if test -n "$ac_ct_STRIP"; then
  2415. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2416. else
  2417. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2418. for as_dir in $PATH
  2419. do
  2420. IFS=$as_save_IFS
  2421. test -z "$as_dir" && as_dir=.
  2422. for ac_exec_ext in '' $ac_executable_extensions; do
  2423. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2424. ac_cv_prog_ac_ct_STRIP="strip"
  2425. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2426. break 2
  2427. fi
  2428. done
  2429. done
  2430. IFS=$as_save_IFS
  2431. fi
  2432. fi
  2433. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2434. if test -n "$ac_ct_STRIP"; then
  2435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2436. $as_echo "$ac_ct_STRIP" >&6; }
  2437. else
  2438. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2439. $as_echo "no" >&6; }
  2440. fi
  2441. if test "x$ac_ct_STRIP" = x; then
  2442. STRIP=":"
  2443. else
  2444. case $cross_compiling:$ac_tool_warned in
  2445. yes:)
  2446. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2447. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2448. ac_tool_warned=yes ;;
  2449. esac
  2450. STRIP=$ac_ct_STRIP
  2451. fi
  2452. else
  2453. STRIP="$ac_cv_prog_STRIP"
  2454. fi
  2455. fi
  2456. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2457. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2458. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2459. if test -z "$MKDIR_P"; then
  2460. if ${ac_cv_path_mkdir+:} false; then :
  2461. $as_echo_n "(cached) " >&6
  2462. else
  2463. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2464. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2465. do
  2466. IFS=$as_save_IFS
  2467. test -z "$as_dir" && as_dir=.
  2468. for ac_prog in mkdir gmkdir; do
  2469. for ac_exec_ext in '' $ac_executable_extensions; do
  2470. as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  2471. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2472. 'mkdir (GNU coreutils) '* | \
  2473. 'mkdir (coreutils) '* | \
  2474. 'mkdir (fileutils) '4.1*)
  2475. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2476. break 3;;
  2477. esac
  2478. done
  2479. done
  2480. done
  2481. IFS=$as_save_IFS
  2482. fi
  2483. test -d ./--version && rmdir ./--version
  2484. if test "${ac_cv_path_mkdir+set}" = set; then
  2485. MKDIR_P="$ac_cv_path_mkdir -p"
  2486. else
  2487. # As a last resort, use the slow shell script. Don't cache a
  2488. # value for MKDIR_P within a source directory, because that will
  2489. # break other packages using the cache if that directory is
  2490. # removed, or if the value is a relative name.
  2491. MKDIR_P="$ac_install_sh -d"
  2492. fi
  2493. fi
  2494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  2495. $as_echo "$MKDIR_P" >&6; }
  2496. for ac_prog in gawk mawk nawk awk
  2497. do
  2498. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2499. set dummy $ac_prog; ac_word=$2
  2500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2501. $as_echo_n "checking for $ac_word... " >&6; }
  2502. if ${ac_cv_prog_AWK+:} false; then :
  2503. $as_echo_n "(cached) " >&6
  2504. else
  2505. if test -n "$AWK"; then
  2506. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2507. else
  2508. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2509. for as_dir in $PATH
  2510. do
  2511. IFS=$as_save_IFS
  2512. test -z "$as_dir" && as_dir=.
  2513. for ac_exec_ext in '' $ac_executable_extensions; do
  2514. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2515. ac_cv_prog_AWK="$ac_prog"
  2516. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2517. break 2
  2518. fi
  2519. done
  2520. done
  2521. IFS=$as_save_IFS
  2522. fi
  2523. fi
  2524. AWK=$ac_cv_prog_AWK
  2525. if test -n "$AWK"; then
  2526. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  2527. $as_echo "$AWK" >&6; }
  2528. else
  2529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2530. $as_echo "no" >&6; }
  2531. fi
  2532. test -n "$AWK" && break
  2533. done
  2534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2535. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2536. set x ${MAKE-make}
  2537. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2538. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  2539. $as_echo_n "(cached) " >&6
  2540. else
  2541. cat >conftest.make <<\_ACEOF
  2542. SHELL = /bin/sh
  2543. all:
  2544. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2545. _ACEOF
  2546. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  2547. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2548. *@@@%%%=?*=@@@%%%*)
  2549. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2550. *)
  2551. eval ac_cv_prog_make_${ac_make}_set=no;;
  2552. esac
  2553. rm -f conftest.make
  2554. fi
  2555. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2557. $as_echo "yes" >&6; }
  2558. SET_MAKE=
  2559. else
  2560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2561. $as_echo "no" >&6; }
  2562. SET_MAKE="MAKE=${MAKE-make}"
  2563. fi
  2564. rm -rf .tst 2>/dev/null
  2565. mkdir .tst 2>/dev/null
  2566. if test -d .tst; then
  2567. am__leading_dot=.
  2568. else
  2569. am__leading_dot=_
  2570. fi
  2571. rmdir .tst 2>/dev/null
  2572. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2573. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2574. # is not polluted with repeated "-I."
  2575. am__isrc=' -I$(srcdir)'
  2576. # test to see if srcdir already configured
  2577. if test -f $srcdir/config.status; then
  2578. as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  2579. fi
  2580. fi
  2581. # test whether we have cygpath
  2582. if test -z "$CYGPATH_W"; then
  2583. if (cygpath --version) >/dev/null 2>/dev/null; then
  2584. CYGPATH_W='cygpath -w'
  2585. else
  2586. CYGPATH_W=echo
  2587. fi
  2588. fi
  2589. # Define the identity of the package.
  2590. PACKAGE='point_algorithm-a'
  2591. VERSION='1.0'
  2592. cat >>confdefs.h <<_ACEOF
  2593. #define PACKAGE "$PACKAGE"
  2594. _ACEOF
  2595. cat >>confdefs.h <<_ACEOF
  2596. #define VERSION "$VERSION"
  2597. _ACEOF
  2598. # Some tools Automake needs.
  2599. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2600. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2601. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2602. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2603. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2604. # For better backward compatibility. To be removed once Automake 1.9.x
  2605. # dies out for good. For more background, see:
  2606. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  2607. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  2608. mkdir_p='$(MKDIR_P)'
  2609. # We need awk for the "check" target. The system "awk" is bad on
  2610. # some platforms.
  2611. # Always define AMTAR for backward compatibility. Yes, it's still used
  2612. # in the wild :-( We should find a proper way to deprecate it ...
  2613. AMTAR='$${TAR-tar}'
  2614. am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  2615. # Checks for programs.
  2616. ac_ext=cpp
  2617. ac_cpp='$CXXCPP $CPPFLAGS'
  2618. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2619. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2620. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  2621. if test -z "$CXX"; then
  2622. if test -n "$CCC"; then
  2623. CXX=$CCC
  2624. else
  2625. if test -n "$ac_tool_prefix"; then
  2626. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2627. do
  2628. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2629. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2631. $as_echo_n "checking for $ac_word... " >&6; }
  2632. if ${ac_cv_prog_CXX+:} false; then :
  2633. $as_echo_n "(cached) " >&6
  2634. else
  2635. if test -n "$CXX"; then
  2636. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  2637. else
  2638. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2639. for as_dir in $PATH
  2640. do
  2641. IFS=$as_save_IFS
  2642. test -z "$as_dir" && as_dir=.
  2643. for ac_exec_ext in '' $ac_executable_extensions; do
  2644. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2645. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  2646. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2647. break 2
  2648. fi
  2649. done
  2650. done
  2651. IFS=$as_save_IFS
  2652. fi
  2653. fi
  2654. CXX=$ac_cv_prog_CXX
  2655. if test -n "$CXX"; then
  2656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  2657. $as_echo "$CXX" >&6; }
  2658. else
  2659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2660. $as_echo "no" >&6; }
  2661. fi
  2662. test -n "$CXX" && break
  2663. done
  2664. fi
  2665. if test -z "$CXX"; then
  2666. ac_ct_CXX=$CXX
  2667. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2668. do
  2669. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2670. set dummy $ac_prog; ac_word=$2
  2671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2672. $as_echo_n "checking for $ac_word... " >&6; }
  2673. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  2674. $as_echo_n "(cached) " >&6
  2675. else
  2676. if test -n "$ac_ct_CXX"; then
  2677. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  2678. else
  2679. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2680. for as_dir in $PATH
  2681. do
  2682. IFS=$as_save_IFS
  2683. test -z "$as_dir" && as_dir=.
  2684. for ac_exec_ext in '' $ac_executable_extensions; do
  2685. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2686. ac_cv_prog_ac_ct_CXX="$ac_prog"
  2687. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2688. break 2
  2689. fi
  2690. done
  2691. done
  2692. IFS=$as_save_IFS
  2693. fi
  2694. fi
  2695. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  2696. if test -n "$ac_ct_CXX"; then
  2697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  2698. $as_echo "$ac_ct_CXX" >&6; }
  2699. else
  2700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2701. $as_echo "no" >&6; }
  2702. fi
  2703. test -n "$ac_ct_CXX" && break
  2704. done
  2705. if test "x$ac_ct_CXX" = x; then
  2706. CXX="g++"
  2707. else
  2708. case $cross_compiling:$ac_tool_warned in
  2709. yes:)
  2710. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2711. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2712. ac_tool_warned=yes ;;
  2713. esac
  2714. CXX=$ac_ct_CXX
  2715. fi
  2716. fi
  2717. fi
  2718. fi
  2719. # Provide some information about the compiler.
  2720. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  2721. set X $ac_compile
  2722. ac_compiler=$2
  2723. for ac_option in --version -v -V -qversion; do
  2724. { { ac_try="$ac_compiler $ac_option >&5"
  2725. case "(($ac_try" in
  2726. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2727. *) ac_try_echo=$ac_try;;
  2728. esac
  2729. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2730. $as_echo "$ac_try_echo"; } >&5
  2731. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2732. ac_status=$?
  2733. if test -s conftest.err; then
  2734. sed '10a\
  2735. ... rest of stderr output deleted ...
  2736. 10q' conftest.err >conftest.er1
  2737. cat conftest.er1 >&5
  2738. fi
  2739. rm -f conftest.er1 conftest.err
  2740. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2741. test $ac_status = 0; }
  2742. done
  2743. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2744. /* end confdefs.h. */
  2745. int
  2746. main ()
  2747. {
  2748. ;
  2749. return 0;
  2750. }
  2751. _ACEOF
  2752. ac_clean_files_save=$ac_clean_files
  2753. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2754. # Try to create an executable without -o first, disregard a.out.
  2755. # It will help us diagnose broken compilers, and finding out an intuition
  2756. # of exeext.
  2757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
  2758. $as_echo_n "checking whether the C++ compiler works... " >&6; }
  2759. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2760. # The possible output files:
  2761. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2762. ac_rmfiles=
  2763. for ac_file in $ac_files
  2764. do
  2765. case $ac_file in
  2766. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2767. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2768. esac
  2769. done
  2770. rm -f $ac_rmfiles
  2771. if { { ac_try="$ac_link_default"
  2772. case "(($ac_try" in
  2773. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2774. *) ac_try_echo=$ac_try;;
  2775. esac
  2776. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2777. $as_echo "$ac_try_echo"; } >&5
  2778. (eval "$ac_link_default") 2>&5
  2779. ac_status=$?
  2780. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2781. test $ac_status = 0; }; then :
  2782. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2783. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2784. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2785. # so that the user can short-circuit this test for compilers unknown to
  2786. # Autoconf.
  2787. for ac_file in $ac_files ''
  2788. do
  2789. test -f "$ac_file" || continue
  2790. case $ac_file in
  2791. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2792. ;;
  2793. [ab].out )
  2794. # We found the default executable, but exeext='' is most
  2795. # certainly right.
  2796. break;;
  2797. *.* )
  2798. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2799. then :; else
  2800. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2801. fi
  2802. # We set ac_cv_exeext here because the later test for it is not
  2803. # safe: cross compilers may not add the suffix if given an `-o'
  2804. # argument, so we may need to know it at that point already.
  2805. # Even if this section looks crufty: it has the advantage of
  2806. # actually working.
  2807. break;;
  2808. * )
  2809. break;;
  2810. esac
  2811. done
  2812. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2813. else
  2814. ac_file=''
  2815. fi
  2816. if test -z "$ac_file"; then :
  2817. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2818. $as_echo "no" >&6; }
  2819. $as_echo "$as_me: failed program was:" >&5
  2820. sed 's/^/| /' conftest.$ac_ext >&5
  2821. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2822. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2823. as_fn_error 77 "C++ compiler cannot create executables
  2824. See \`config.log' for more details" "$LINENO" 5; }
  2825. else
  2826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2827. $as_echo "yes" >&6; }
  2828. fi
  2829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
  2830. $as_echo_n "checking for C++ compiler default output file name... " >&6; }
  2831. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  2832. $as_echo "$ac_file" >&6; }
  2833. ac_exeext=$ac_cv_exeext
  2834. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2835. ac_clean_files=$ac_clean_files_save
  2836. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  2837. $as_echo_n "checking for suffix of executables... " >&6; }
  2838. if { { ac_try="$ac_link"
  2839. case "(($ac_try" in
  2840. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2841. *) ac_try_echo=$ac_try;;
  2842. esac
  2843. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2844. $as_echo "$ac_try_echo"; } >&5
  2845. (eval "$ac_link") 2>&5
  2846. ac_status=$?
  2847. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2848. test $ac_status = 0; }; then :
  2849. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2850. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2851. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2852. # `rm'.
  2853. for ac_file in conftest.exe conftest conftest.*; do
  2854. test -f "$ac_file" || continue
  2855. case $ac_file in
  2856. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2857. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2858. break;;
  2859. * ) break;;
  2860. esac
  2861. done
  2862. else
  2863. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2864. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2865. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  2866. See \`config.log' for more details" "$LINENO" 5; }
  2867. fi
  2868. rm -f conftest conftest$ac_cv_exeext
  2869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  2870. $as_echo "$ac_cv_exeext" >&6; }
  2871. rm -f conftest.$ac_ext
  2872. EXEEXT=$ac_cv_exeext
  2873. ac_exeext=$EXEEXT
  2874. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2875. /* end confdefs.h. */
  2876. #include <stdio.h>
  2877. int
  2878. main ()
  2879. {
  2880. FILE *f = fopen ("conftest.out", "w");
  2881. return ferror (f) || fclose (f) != 0;
  2882. ;
  2883. return 0;
  2884. }
  2885. _ACEOF
  2886. ac_clean_files="$ac_clean_files conftest.out"
  2887. # Check that the compiler produces executables we can run. If not, either
  2888. # the compiler is broken, or we cross compile.
  2889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  2890. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2891. if test "$cross_compiling" != yes; then
  2892. { { ac_try="$ac_link"
  2893. case "(($ac_try" in
  2894. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2895. *) ac_try_echo=$ac_try;;
  2896. esac
  2897. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2898. $as_echo "$ac_try_echo"; } >&5
  2899. (eval "$ac_link") 2>&5
  2900. ac_status=$?
  2901. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2902. test $ac_status = 0; }
  2903. if { ac_try='./conftest$ac_cv_exeext'
  2904. { { case "(($ac_try" in
  2905. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2906. *) ac_try_echo=$ac_try;;
  2907. esac
  2908. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2909. $as_echo "$ac_try_echo"; } >&5
  2910. (eval "$ac_try") 2>&5
  2911. ac_status=$?
  2912. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2913. test $ac_status = 0; }; }; then
  2914. cross_compiling=no
  2915. else
  2916. if test "$cross_compiling" = maybe; then
  2917. cross_compiling=yes
  2918. else
  2919. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2920. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2921. as_fn_error $? "cannot run C++ compiled programs.
  2922. If you meant to cross compile, use \`--host'.
  2923. See \`config.log' for more details" "$LINENO" 5; }
  2924. fi
  2925. fi
  2926. fi
  2927. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  2928. $as_echo "$cross_compiling" >&6; }
  2929. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  2930. ac_clean_files=$ac_clean_files_save
  2931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  2932. $as_echo_n "checking for suffix of object files... " >&6; }
  2933. if ${ac_cv_objext+:} false; then :
  2934. $as_echo_n "(cached) " >&6
  2935. else
  2936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2937. /* end confdefs.h. */
  2938. int
  2939. main ()
  2940. {
  2941. ;
  2942. return 0;
  2943. }
  2944. _ACEOF
  2945. rm -f conftest.o conftest.obj
  2946. if { { ac_try="$ac_compile"
  2947. case "(($ac_try" in
  2948. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2949. *) ac_try_echo=$ac_try;;
  2950. esac
  2951. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2952. $as_echo "$ac_try_echo"; } >&5
  2953. (eval "$ac_compile") 2>&5
  2954. ac_status=$?
  2955. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2956. test $ac_status = 0; }; then :
  2957. for ac_file in conftest.o conftest.obj conftest.*; do
  2958. test -f "$ac_file" || continue;
  2959. case $ac_file in
  2960. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2961. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2962. break;;
  2963. esac
  2964. done
  2965. else
  2966. $as_echo "$as_me: failed program was:" >&5
  2967. sed 's/^/| /' conftest.$ac_ext >&5
  2968. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2969. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2970. as_fn_error $? "cannot compute suffix of object files: cannot compile
  2971. See \`config.log' for more details" "$LINENO" 5; }
  2972. fi
  2973. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2974. fi
  2975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  2976. $as_echo "$ac_cv_objext" >&6; }
  2977. OBJEXT=$ac_cv_objext
  2978. ac_objext=$OBJEXT
  2979. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  2980. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  2981. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  2982. $as_echo_n "(cached) " >&6
  2983. else
  2984. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2985. /* end confdefs.h. */
  2986. int
  2987. main ()
  2988. {
  2989. #ifndef __GNUC__
  2990. choke me
  2991. #endif
  2992. ;
  2993. return 0;
  2994. }
  2995. _ACEOF
  2996. if ac_fn_cxx_try_compile "$LINENO"; then :
  2997. ac_compiler_gnu=yes
  2998. else
  2999. ac_compiler_gnu=no
  3000. fi
  3001. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3002. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3003. fi
  3004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  3005. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3006. if test $ac_compiler_gnu = yes; then
  3007. GXX=yes
  3008. else
  3009. GXX=
  3010. fi
  3011. ac_test_CXXFLAGS=${CXXFLAGS+set}
  3012. ac_save_CXXFLAGS=$CXXFLAGS
  3013. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  3014. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3015. if ${ac_cv_prog_cxx_g+:} false; then :
  3016. $as_echo_n "(cached) " >&6
  3017. else
  3018. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3019. ac_cxx_werror_flag=yes
  3020. ac_cv_prog_cxx_g=no
  3021. CXXFLAGS="-g"
  3022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3023. /* end confdefs.h. */
  3024. int
  3025. main ()
  3026. {
  3027. ;
  3028. return 0;
  3029. }
  3030. _ACEOF
  3031. if ac_fn_cxx_try_compile "$LINENO"; then :
  3032. ac_cv_prog_cxx_g=yes
  3033. else
  3034. CXXFLAGS=""
  3035. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3036. /* end confdefs.h. */
  3037. int
  3038. main ()
  3039. {
  3040. ;
  3041. return 0;
  3042. }
  3043. _ACEOF
  3044. if ac_fn_cxx_try_compile "$LINENO"; then :
  3045. else
  3046. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3047. CXXFLAGS="-g"
  3048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3049. /* end confdefs.h. */
  3050. int
  3051. main ()
  3052. {
  3053. ;
  3054. return 0;
  3055. }
  3056. _ACEOF
  3057. if ac_fn_cxx_try_compile "$LINENO"; then :
  3058. ac_cv_prog_cxx_g=yes
  3059. fi
  3060. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3061. fi
  3062. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3063. fi
  3064. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3065. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3066. fi
  3067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  3068. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  3069. if test "$ac_test_CXXFLAGS" = set; then
  3070. CXXFLAGS=$ac_save_CXXFLAGS
  3071. elif test $ac_cv_prog_cxx_g = yes; then
  3072. if test "$GXX" = yes; then
  3073. CXXFLAGS="-g -O2"
  3074. else
  3075. CXXFLAGS="-g"
  3076. fi
  3077. else
  3078. if test "$GXX" = yes; then
  3079. CXXFLAGS="-O2"
  3080. else
  3081. CXXFLAGS=
  3082. fi
  3083. fi
  3084. ac_ext=c
  3085. ac_cpp='$CPP $CPPFLAGS'
  3086. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3087. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3088. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3089. DEPDIR="${am__leading_dot}deps"
  3090. ac_config_commands="$ac_config_commands depfiles"
  3091. am_make=${MAKE-make}
  3092. cat > confinc << 'END'
  3093. am__doit:
  3094. @echo this is the am__doit target
  3095. .PHONY: am__doit
  3096. END
  3097. # If we don't find an include directive, just comment out the code.
  3098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  3099. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3100. am__include="#"
  3101. am__quote=
  3102. _am_result=none
  3103. # First try GNU make style include.
  3104. echo "include confinc" > confmf
  3105. # Ignore all kinds of additional output from 'make'.
  3106. case `$am_make -s -f confmf 2> /dev/null` in #(
  3107. *the\ am__doit\ target*)
  3108. am__include=include
  3109. am__quote=
  3110. _am_result=GNU
  3111. ;;
  3112. esac
  3113. # Now try BSD make style include.
  3114. if test "$am__include" = "#"; then
  3115. echo '.include "confinc"' > confmf
  3116. case `$am_make -s -f confmf 2> /dev/null` in #(
  3117. *the\ am__doit\ target*)
  3118. am__include=.include
  3119. am__quote="\""
  3120. _am_result=BSD
  3121. ;;
  3122. esac
  3123. fi
  3124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  3125. $as_echo "$_am_result" >&6; }
  3126. rm -f confinc confmf
  3127. # Check whether --enable-dependency-tracking was given.
  3128. if test "${enable_dependency_tracking+set}" = set; then :
  3129. enableval=$enable_dependency_tracking;
  3130. fi
  3131. if test "x$enable_dependency_tracking" != xno; then
  3132. am_depcomp="$ac_aux_dir/depcomp"
  3133. AMDEPBACKSLASH='\'
  3134. am__nodep='_no'
  3135. fi
  3136. if test "x$enable_dependency_tracking" != xno; then
  3137. AMDEP_TRUE=
  3138. AMDEP_FALSE='#'
  3139. else
  3140. AMDEP_TRUE='#'
  3141. AMDEP_FALSE=
  3142. fi
  3143. depcc="$CXX" am_compiler_list=
  3144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3145. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3146. if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
  3147. $as_echo_n "(cached) " >&6
  3148. else
  3149. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3150. # We make a subdir and do the tests there. Otherwise we can end up
  3151. # making bogus files that we don't know about and never remove. For
  3152. # instance it was reported that on HP-UX the gcc test will end up
  3153. # making a dummy file named 'D' -- because '-MD' means "put the output
  3154. # in D".
  3155. rm -rf conftest.dir
  3156. mkdir conftest.dir
  3157. # Copy depcomp to subdir because otherwise we won't find it if we're
  3158. # using a relative directory.
  3159. cp "$am_depcomp" conftest.dir
  3160. cd conftest.dir
  3161. # We will build objects and dependencies in a subdirectory because
  3162. # it helps to detect inapplicable dependency modes. For instance
  3163. # both Tru64's cc and ICC support -MD to output dependencies as a
  3164. # side effect of compilation, but ICC will put the dependencies in
  3165. # the current directory while Tru64 will put them in the object
  3166. # directory.
  3167. mkdir sub
  3168. am_cv_CXX_dependencies_compiler_type=none
  3169. if test "$am_compiler_list" = ""; then
  3170. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3171. fi
  3172. am__universal=false
  3173. case " $depcc " in #(
  3174. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3175. esac
  3176. for depmode in $am_compiler_list; do
  3177. # Setup a source with many dependencies, because some compilers
  3178. # like to wrap large dependency lists on column 80 (with \), and
  3179. # we should not choose a depcomp mode which is confused by this.
  3180. #
  3181. # We need to recreate these files for each test, as the compiler may
  3182. # overwrite some of them when testing with obscure command lines.
  3183. # This happens at least with the AIX C compiler.
  3184. : > sub/conftest.c
  3185. for i in 1 2 3 4 5 6; do
  3186. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3187. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3188. # Solaris 10 /bin/sh.
  3189. echo '/* dummy */' > sub/conftst$i.h
  3190. done
  3191. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3192. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3193. # mode. It turns out that the SunPro C++ compiler does not properly
  3194. # handle '-M -o', and we need to detect this. Also, some Intel
  3195. # versions had trouble with output in subdirs.
  3196. am__obj=sub/conftest.${OBJEXT-o}
  3197. am__minus_obj="-o $am__obj"
  3198. case $depmode in
  3199. gcc)
  3200. # This depmode causes a compiler race in universal mode.
  3201. test "$am__universal" = false || continue
  3202. ;;
  3203. nosideeffect)
  3204. # After this tag, mechanisms are not by side-effect, so they'll
  3205. # only be used when explicitly requested.
  3206. if test "x$enable_dependency_tracking" = xyes; then
  3207. continue
  3208. else
  3209. break
  3210. fi
  3211. ;;
  3212. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3213. # This compiler won't grok '-c -o', but also, the minuso test has
  3214. # not run yet. These depmodes are late enough in the game, and
  3215. # so weak that their functioning should not be impacted.
  3216. am__obj=conftest.${OBJEXT-o}
  3217. am__minus_obj=
  3218. ;;
  3219. none) break ;;
  3220. esac
  3221. if depmode=$depmode \
  3222. source=sub/conftest.c object=$am__obj \
  3223. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3224. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3225. >/dev/null 2>conftest.err &&
  3226. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3227. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3228. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3229. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3230. # icc doesn't choke on unknown options, it will just issue warnings
  3231. # or remarks (even with -Werror). So we grep stderr for any message
  3232. # that says an option was ignored or not supported.
  3233. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3234. # icc: Command line warning: ignoring option '-M'; no argument required
  3235. # The diagnosis changed in icc 8.0:
  3236. # icc: Command line remark: option '-MP' not supported
  3237. if (grep 'ignoring option' conftest.err ||
  3238. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3239. am_cv_CXX_dependencies_compiler_type=$depmode
  3240. break
  3241. fi
  3242. fi
  3243. done
  3244. cd ..
  3245. rm -rf conftest.dir
  3246. else
  3247. am_cv_CXX_dependencies_compiler_type=none
  3248. fi
  3249. fi
  3250. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
  3251. $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  3252. CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  3253. if
  3254. test "x$enable_dependency_tracking" != xno \
  3255. && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  3256. am__fastdepCXX_TRUE=
  3257. am__fastdepCXX_FALSE='#'
  3258. else
  3259. am__fastdepCXX_TRUE='#'
  3260. am__fastdepCXX_FALSE=
  3261. fi
  3262. ac_ext=c
  3263. ac_cpp='$CPP $CPPFLAGS'
  3264. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3265. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3266. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3267. if test -n "$ac_tool_prefix"; then
  3268. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3269. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3270. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3271. $as_echo_n "checking for $ac_word... " >&6; }
  3272. if ${ac_cv_prog_CC+:} false; then :
  3273. $as_echo_n "(cached) " >&6
  3274. else
  3275. if test -n "$CC"; then
  3276. ac_cv_prog_CC="$CC" # Let the user override the test.
  3277. else
  3278. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3279. for as_dir in $PATH
  3280. do
  3281. IFS=$as_save_IFS
  3282. test -z "$as_dir" && as_dir=.
  3283. for ac_exec_ext in '' $ac_executable_extensions; do
  3284. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3285. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3286. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3287. break 2
  3288. fi
  3289. done
  3290. done
  3291. IFS=$as_save_IFS
  3292. fi
  3293. fi
  3294. CC=$ac_cv_prog_CC
  3295. if test -n "$CC"; then
  3296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3297. $as_echo "$CC" >&6; }
  3298. else
  3299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3300. $as_echo "no" >&6; }
  3301. fi
  3302. fi
  3303. if test -z "$ac_cv_prog_CC"; then
  3304. ac_ct_CC=$CC
  3305. # Extract the first word of "gcc", so it can be a program name with args.
  3306. set dummy gcc; ac_word=$2
  3307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3308. $as_echo_n "checking for $ac_word... " >&6; }
  3309. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3310. $as_echo_n "(cached) " >&6
  3311. else
  3312. if test -n "$ac_ct_CC"; then
  3313. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3314. else
  3315. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3316. for as_dir in $PATH
  3317. do
  3318. IFS=$as_save_IFS
  3319. test -z "$as_dir" && as_dir=.
  3320. for ac_exec_ext in '' $ac_executable_extensions; do
  3321. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3322. ac_cv_prog_ac_ct_CC="gcc"
  3323. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3324. break 2
  3325. fi
  3326. done
  3327. done
  3328. IFS=$as_save_IFS
  3329. fi
  3330. fi
  3331. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3332. if test -n "$ac_ct_CC"; then
  3333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3334. $as_echo "$ac_ct_CC" >&6; }
  3335. else
  3336. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3337. $as_echo "no" >&6; }
  3338. fi
  3339. if test "x$ac_ct_CC" = x; then
  3340. CC=""
  3341. else
  3342. case $cross_compiling:$ac_tool_warned in
  3343. yes:)
  3344. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3345. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3346. ac_tool_warned=yes ;;
  3347. esac
  3348. CC=$ac_ct_CC
  3349. fi
  3350. else
  3351. CC="$ac_cv_prog_CC"
  3352. fi
  3353. if test -z "$CC"; then
  3354. if test -n "$ac_tool_prefix"; then
  3355. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3356. set dummy ${ac_tool_prefix}cc; ac_word=$2
  3357. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3358. $as_echo_n "checking for $ac_word... " >&6; }
  3359. if ${ac_cv_prog_CC+:} false; then :
  3360. $as_echo_n "(cached) " >&6
  3361. else
  3362. if test -n "$CC"; then
  3363. ac_cv_prog_CC="$CC" # Let the user override the test.
  3364. else
  3365. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3366. for as_dir in $PATH
  3367. do
  3368. IFS=$as_save_IFS
  3369. test -z "$as_dir" && as_dir=.
  3370. for ac_exec_ext in '' $ac_executable_extensions; do
  3371. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3372. ac_cv_prog_CC="${ac_tool_prefix}cc"
  3373. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3374. break 2
  3375. fi
  3376. done
  3377. done
  3378. IFS=$as_save_IFS
  3379. fi
  3380. fi
  3381. CC=$ac_cv_prog_CC
  3382. if test -n "$CC"; then
  3383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3384. $as_echo "$CC" >&6; }
  3385. else
  3386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3387. $as_echo "no" >&6; }
  3388. fi
  3389. fi
  3390. fi
  3391. if test -z "$CC"; then
  3392. # Extract the first word of "cc", so it can be a program name with args.
  3393. set dummy cc; ac_word=$2
  3394. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3395. $as_echo_n "checking for $ac_word... " >&6; }
  3396. if ${ac_cv_prog_CC+:} false; then :
  3397. $as_echo_n "(cached) " >&6
  3398. else
  3399. if test -n "$CC"; then
  3400. ac_cv_prog_CC="$CC" # Let the user override the test.
  3401. else
  3402. ac_prog_rejected=no
  3403. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3404. for as_dir in $PATH
  3405. do
  3406. IFS=$as_save_IFS
  3407. test -z "$as_dir" && as_dir=.
  3408. for ac_exec_ext in '' $ac_executable_extensions; do
  3409. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3410. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3411. ac_prog_rejected=yes
  3412. continue
  3413. fi
  3414. ac_cv_prog_CC="cc"
  3415. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3416. break 2
  3417. fi
  3418. done
  3419. done
  3420. IFS=$as_save_IFS
  3421. if test $ac_prog_rejected = yes; then
  3422. # We found a bogon in the path, so make sure we never use it.
  3423. set dummy $ac_cv_prog_CC
  3424. shift
  3425. if test $# != 0; then
  3426. # We chose a different compiler from the bogus one.
  3427. # However, it has the same basename, so the bogon will be chosen
  3428. # first if we set CC to just the basename; use the full file name.
  3429. shift
  3430. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3431. fi
  3432. fi
  3433. fi
  3434. fi
  3435. CC=$ac_cv_prog_CC
  3436. if test -n "$CC"; then
  3437. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3438. $as_echo "$CC" >&6; }
  3439. else
  3440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3441. $as_echo "no" >&6; }
  3442. fi
  3443. fi
  3444. if test -z "$CC"; then
  3445. if test -n "$ac_tool_prefix"; then
  3446. for ac_prog in cl.exe
  3447. do
  3448. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3449. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3451. $as_echo_n "checking for $ac_word... " >&6; }
  3452. if ${ac_cv_prog_CC+:} false; then :
  3453. $as_echo_n "(cached) " >&6
  3454. else
  3455. if test -n "$CC"; then
  3456. ac_cv_prog_CC="$CC" # Let the user override the test.
  3457. else
  3458. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3459. for as_dir in $PATH
  3460. do
  3461. IFS=$as_save_IFS
  3462. test -z "$as_dir" && as_dir=.
  3463. for ac_exec_ext in '' $ac_executable_extensions; do
  3464. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3465. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3466. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3467. break 2
  3468. fi
  3469. done
  3470. done
  3471. IFS=$as_save_IFS
  3472. fi
  3473. fi
  3474. CC=$ac_cv_prog_CC
  3475. if test -n "$CC"; then
  3476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3477. $as_echo "$CC" >&6; }
  3478. else
  3479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3480. $as_echo "no" >&6; }
  3481. fi
  3482. test -n "$CC" && break
  3483. done
  3484. fi
  3485. if test -z "$CC"; then
  3486. ac_ct_CC=$CC
  3487. for ac_prog in cl.exe
  3488. do
  3489. # Extract the first word of "$ac_prog", so it can be a program name with args.
  3490. set dummy $ac_prog; ac_word=$2
  3491. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3492. $as_echo_n "checking for $ac_word... " >&6; }
  3493. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  3494. $as_echo_n "(cached) " >&6
  3495. else
  3496. if test -n "$ac_ct_CC"; then
  3497. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3498. else
  3499. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3500. for as_dir in $PATH
  3501. do
  3502. IFS=$as_save_IFS
  3503. test -z "$as_dir" && as_dir=.
  3504. for ac_exec_ext in '' $ac_executable_extensions; do
  3505. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  3506. ac_cv_prog_ac_ct_CC="$ac_prog"
  3507. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3508. break 2
  3509. fi
  3510. done
  3511. done
  3512. IFS=$as_save_IFS
  3513. fi
  3514. fi
  3515. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3516. if test -n "$ac_ct_CC"; then
  3517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3518. $as_echo "$ac_ct_CC" >&6; }
  3519. else
  3520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3521. $as_echo "no" >&6; }
  3522. fi
  3523. test -n "$ac_ct_CC" && break
  3524. done
  3525. if test "x$ac_ct_CC" = x; then
  3526. CC=""
  3527. else
  3528. case $cross_compiling:$ac_tool_warned in
  3529. yes:)
  3530. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3531. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3532. ac_tool_warned=yes ;;
  3533. esac
  3534. CC=$ac_ct_CC
  3535. fi
  3536. fi
  3537. fi
  3538. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3539. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3540. as_fn_error $? "no acceptable C compiler found in \$PATH
  3541. See \`config.log' for more details" "$LINENO" 5; }
  3542. # Provide some information about the compiler.
  3543. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3544. set X $ac_compile
  3545. ac_compiler=$2
  3546. for ac_option in --version -v -V -qversion; do
  3547. { { ac_try="$ac_compiler $ac_option >&5"
  3548. case "(($ac_try" in
  3549. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3550. *) ac_try_echo=$ac_try;;
  3551. esac
  3552. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3553. $as_echo "$ac_try_echo"; } >&5
  3554. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3555. ac_status=$?
  3556. if test -s conftest.err; then
  3557. sed '10a\
  3558. ... rest of stderr output deleted ...
  3559. 10q' conftest.err >conftest.er1
  3560. cat conftest.er1 >&5
  3561. fi
  3562. rm -f conftest.er1 conftest.err
  3563. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3564. test $ac_status = 0; }
  3565. done
  3566. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3567. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3568. if ${ac_cv_c_compiler_gnu+:} false; then :
  3569. $as_echo_n "(cached) " >&6
  3570. else
  3571. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3572. /* end confdefs.h. */
  3573. int
  3574. main ()
  3575. {
  3576. #ifndef __GNUC__
  3577. choke me
  3578. #endif
  3579. ;
  3580. return 0;
  3581. }
  3582. _ACEOF
  3583. if ac_fn_c_try_compile "$LINENO"; then :
  3584. ac_compiler_gnu=yes
  3585. else
  3586. ac_compiler_gnu=no
  3587. fi
  3588. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3589. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3590. fi
  3591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3592. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3593. if test $ac_compiler_gnu = yes; then
  3594. GCC=yes
  3595. else
  3596. GCC=
  3597. fi
  3598. ac_test_CFLAGS=${CFLAGS+set}
  3599. ac_save_CFLAGS=$CFLAGS
  3600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3601. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3602. if ${ac_cv_prog_cc_g+:} false; then :
  3603. $as_echo_n "(cached) " >&6
  3604. else
  3605. ac_save_c_werror_flag=$ac_c_werror_flag
  3606. ac_c_werror_flag=yes
  3607. ac_cv_prog_cc_g=no
  3608. CFLAGS="-g"
  3609. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3610. /* end confdefs.h. */
  3611. int
  3612. main ()
  3613. {
  3614. ;
  3615. return 0;
  3616. }
  3617. _ACEOF
  3618. if ac_fn_c_try_compile "$LINENO"; then :
  3619. ac_cv_prog_cc_g=yes
  3620. else
  3621. CFLAGS=""
  3622. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3623. /* end confdefs.h. */
  3624. int
  3625. main ()
  3626. {
  3627. ;
  3628. return 0;
  3629. }
  3630. _ACEOF
  3631. if ac_fn_c_try_compile "$LINENO"; then :
  3632. else
  3633. ac_c_werror_flag=$ac_save_c_werror_flag
  3634. CFLAGS="-g"
  3635. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3636. /* end confdefs.h. */
  3637. int
  3638. main ()
  3639. {
  3640. ;
  3641. return 0;
  3642. }
  3643. _ACEOF
  3644. if ac_fn_c_try_compile "$LINENO"; then :
  3645. ac_cv_prog_cc_g=yes
  3646. fi
  3647. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3648. fi
  3649. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3650. fi
  3651. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3652. ac_c_werror_flag=$ac_save_c_werror_flag
  3653. fi
  3654. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3655. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3656. if test "$ac_test_CFLAGS" = set; then
  3657. CFLAGS=$ac_save_CFLAGS
  3658. elif test $ac_cv_prog_cc_g = yes; then
  3659. if test "$GCC" = yes; then
  3660. CFLAGS="-g -O2"
  3661. else
  3662. CFLAGS="-g"
  3663. fi
  3664. else
  3665. if test "$GCC" = yes; then
  3666. CFLAGS="-O2"
  3667. else
  3668. CFLAGS=
  3669. fi
  3670. fi
  3671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3672. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3673. if ${ac_cv_prog_cc_c89+:} false; then :
  3674. $as_echo_n "(cached) " >&6
  3675. else
  3676. ac_cv_prog_cc_c89=no
  3677. ac_save_CC=$CC
  3678. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3679. /* end confdefs.h. */
  3680. #include <stdarg.h>
  3681. #include <stdio.h>
  3682. struct stat;
  3683. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3684. struct buf { int x; };
  3685. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3686. static char *e (p, i)
  3687. char **p;
  3688. int i;
  3689. {
  3690. return p[i];
  3691. }
  3692. static char *f (char * (*g) (char **, int), char **p, ...)
  3693. {
  3694. char *s;
  3695. va_list v;
  3696. va_start (v,p);
  3697. s = g (p, va_arg (v,int));
  3698. va_end (v);
  3699. return s;
  3700. }
  3701. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3702. function prototypes and stuff, but not '\xHH' hex character constants.
  3703. These don't provoke an error unfortunately, instead are silently treated
  3704. as 'x'. The following induces an error, until -std is added to get
  3705. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3706. array size at least. It's necessary to write '\x00'==0 to get something
  3707. that's true only with -std. */
  3708. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3709. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3710. inside strings and character constants. */
  3711. #define FOO(x) 'x'
  3712. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3713. int test (int i, double x);
  3714. struct s1 {int (*f) (int a);};
  3715. struct s2 {int (*f) (double a);};
  3716. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3717. int argc;
  3718. char **argv;
  3719. int
  3720. main ()
  3721. {
  3722. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3723. ;
  3724. return 0;
  3725. }
  3726. _ACEOF
  3727. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3728. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3729. do
  3730. CC="$ac_save_CC $ac_arg"
  3731. if ac_fn_c_try_compile "$LINENO"; then :
  3732. ac_cv_prog_cc_c89=$ac_arg
  3733. fi
  3734. rm -f core conftest.err conftest.$ac_objext
  3735. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3736. done
  3737. rm -f conftest.$ac_ext
  3738. CC=$ac_save_CC
  3739. fi
  3740. # AC_CACHE_VAL
  3741. case "x$ac_cv_prog_cc_c89" in
  3742. x)
  3743. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3744. $as_echo "none needed" >&6; } ;;
  3745. xno)
  3746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3747. $as_echo "unsupported" >&6; } ;;
  3748. *)
  3749. CC="$CC $ac_cv_prog_cc_c89"
  3750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3751. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3752. esac
  3753. if test "x$ac_cv_prog_cc_c89" != xno; then :
  3754. fi
  3755. ac_ext=c
  3756. ac_cpp='$CPP $CPPFLAGS'
  3757. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3758. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3759. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3760. depcc="$CC" am_compiler_list=
  3761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  3762. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3763. if ${am_cv_CC_dependencies_compiler_type+:} false; then :
  3764. $as_echo_n "(cached) " >&6
  3765. else
  3766. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3767. # We make a subdir and do the tests there. Otherwise we can end up
  3768. # making bogus files that we don't know about and never remove. For
  3769. # instance it was reported that on HP-UX the gcc test will end up
  3770. # making a dummy file named 'D' -- because '-MD' means "put the output
  3771. # in D".
  3772. rm -rf conftest.dir
  3773. mkdir conftest.dir
  3774. # Copy depcomp to subdir because otherwise we won't find it if we're
  3775. # using a relative directory.
  3776. cp "$am_depcomp" conftest.dir
  3777. cd conftest.dir
  3778. # We will build objects and dependencies in a subdirectory because
  3779. # it helps to detect inapplicable dependency modes. For instance
  3780. # both Tru64's cc and ICC support -MD to output dependencies as a
  3781. # side effect of compilation, but ICC will put the dependencies in
  3782. # the current directory while Tru64 will put them in the object
  3783. # directory.
  3784. mkdir sub
  3785. am_cv_CC_dependencies_compiler_type=none
  3786. if test "$am_compiler_list" = ""; then
  3787. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3788. fi
  3789. am__universal=false
  3790. case " $depcc " in #(
  3791. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3792. esac
  3793. for depmode in $am_compiler_list; do
  3794. # Setup a source with many dependencies, because some compilers
  3795. # like to wrap large dependency lists on column 80 (with \), and
  3796. # we should not choose a depcomp mode which is confused by this.
  3797. #
  3798. # We need to recreate these files for each test, as the compiler may
  3799. # overwrite some of them when testing with obscure command lines.
  3800. # This happens at least with the AIX C compiler.
  3801. : > sub/conftest.c
  3802. for i in 1 2 3 4 5 6; do
  3803. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3804. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  3805. # Solaris 10 /bin/sh.
  3806. echo '/* dummy */' > sub/conftst$i.h
  3807. done
  3808. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3809. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  3810. # mode. It turns out that the SunPro C++ compiler does not properly
  3811. # handle '-M -o', and we need to detect this. Also, some Intel
  3812. # versions had trouble with output in subdirs.
  3813. am__obj=sub/conftest.${OBJEXT-o}
  3814. am__minus_obj="-o $am__obj"
  3815. case $depmode in
  3816. gcc)
  3817. # This depmode causes a compiler race in universal mode.
  3818. test "$am__universal" = false || continue
  3819. ;;
  3820. nosideeffect)
  3821. # After this tag, mechanisms are not by side-effect, so they'll
  3822. # only be used when explicitly requested.
  3823. if test "x$enable_dependency_tracking" = xyes; then
  3824. continue
  3825. else
  3826. break
  3827. fi
  3828. ;;
  3829. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  3830. # This compiler won't grok '-c -o', but also, the minuso test has
  3831. # not run yet. These depmodes are late enough in the game, and
  3832. # so weak that their functioning should not be impacted.
  3833. am__obj=conftest.${OBJEXT-o}
  3834. am__minus_obj=
  3835. ;;
  3836. none) break ;;
  3837. esac
  3838. if depmode=$depmode \
  3839. source=sub/conftest.c object=$am__obj \
  3840. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3841. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3842. >/dev/null 2>conftest.err &&
  3843. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3844. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3845. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3846. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3847. # icc doesn't choke on unknown options, it will just issue warnings
  3848. # or remarks (even with -Werror). So we grep stderr for any message
  3849. # that says an option was ignored or not supported.
  3850. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3851. # icc: Command line warning: ignoring option '-M'; no argument required
  3852. # The diagnosis changed in icc 8.0:
  3853. # icc: Command line remark: option '-MP' not supported
  3854. if (grep 'ignoring option' conftest.err ||
  3855. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3856. am_cv_CC_dependencies_compiler_type=$depmode
  3857. break
  3858. fi
  3859. fi
  3860. done
  3861. cd ..
  3862. rm -rf conftest.dir
  3863. else
  3864. am_cv_CC_dependencies_compiler_type=none
  3865. fi
  3866. fi
  3867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  3868. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3869. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3870. if
  3871. test "x$enable_dependency_tracking" != xno \
  3872. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3873. am__fastdepCC_TRUE=
  3874. am__fastdepCC_FALSE='#'
  3875. else
  3876. am__fastdepCC_TRUE='#'
  3877. am__fastdepCC_FALSE=
  3878. fi
  3879. # Checks for libraries.
  3880. # Checks for header files.
  3881. ac_ext=c
  3882. ac_cpp='$CPP $CPPFLAGS'
  3883. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3884. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3885. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3887. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3888. # On Suns, sometimes $CPP names a directory.
  3889. if test -n "$CPP" && test -d "$CPP"; then
  3890. CPP=
  3891. fi
  3892. if test -z "$CPP"; then
  3893. if ${ac_cv_prog_CPP+:} false; then :
  3894. $as_echo_n "(cached) " >&6
  3895. else
  3896. # Double quotes because CPP needs to be expanded
  3897. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3898. do
  3899. ac_preproc_ok=false
  3900. for ac_c_preproc_warn_flag in '' yes
  3901. do
  3902. # Use a header file that comes with gcc, so configuring glibc
  3903. # with a fresh cross-compiler works.
  3904. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3905. # <limits.h> exists even on freestanding compilers.
  3906. # On the NeXT, cc -E runs the code through the compiler's parser,
  3907. # not just through cpp. "Syntax error" is here to catch this case.
  3908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3909. /* end confdefs.h. */
  3910. #ifdef __STDC__
  3911. # include <limits.h>
  3912. #else
  3913. # include <assert.h>
  3914. #endif
  3915. Syntax error
  3916. _ACEOF
  3917. if ac_fn_c_try_cpp "$LINENO"; then :
  3918. else
  3919. # Broken: fails on valid input.
  3920. continue
  3921. fi
  3922. rm -f conftest.err conftest.i conftest.$ac_ext
  3923. # OK, works on sane cases. Now check whether nonexistent headers
  3924. # can be detected and how.
  3925. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3926. /* end confdefs.h. */
  3927. #include <ac_nonexistent.h>
  3928. _ACEOF
  3929. if ac_fn_c_try_cpp "$LINENO"; then :
  3930. # Broken: success on invalid input.
  3931. continue
  3932. else
  3933. # Passes both tests.
  3934. ac_preproc_ok=:
  3935. break
  3936. fi
  3937. rm -f conftest.err conftest.i conftest.$ac_ext
  3938. done
  3939. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3940. rm -f conftest.i conftest.err conftest.$ac_ext
  3941. if $ac_preproc_ok; then :
  3942. break
  3943. fi
  3944. done
  3945. ac_cv_prog_CPP=$CPP
  3946. fi
  3947. CPP=$ac_cv_prog_CPP
  3948. else
  3949. ac_cv_prog_CPP=$CPP
  3950. fi
  3951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3952. $as_echo "$CPP" >&6; }
  3953. ac_preproc_ok=false
  3954. for ac_c_preproc_warn_flag in '' yes
  3955. do
  3956. # Use a header file that comes with gcc, so configuring glibc
  3957. # with a fresh cross-compiler works.
  3958. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3959. # <limits.h> exists even on freestanding compilers.
  3960. # On the NeXT, cc -E runs the code through the compiler's parser,
  3961. # not just through cpp. "Syntax error" is here to catch this case.
  3962. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3963. /* end confdefs.h. */
  3964. #ifdef __STDC__
  3965. # include <limits.h>
  3966. #else
  3967. # include <assert.h>
  3968. #endif
  3969. Syntax error
  3970. _ACEOF
  3971. if ac_fn_c_try_cpp "$LINENO"; then :
  3972. else
  3973. # Broken: fails on valid input.
  3974. continue
  3975. fi
  3976. rm -f conftest.err conftest.i conftest.$ac_ext
  3977. # OK, works on sane cases. Now check whether nonexistent headers
  3978. # can be detected and how.
  3979. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3980. /* end confdefs.h. */
  3981. #include <ac_nonexistent.h>
  3982. _ACEOF
  3983. if ac_fn_c_try_cpp "$LINENO"; then :
  3984. # Broken: success on invalid input.
  3985. continue
  3986. else
  3987. # Passes both tests.
  3988. ac_preproc_ok=:
  3989. break
  3990. fi
  3991. rm -f conftest.err conftest.i conftest.$ac_ext
  3992. done
  3993. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3994. rm -f conftest.i conftest.err conftest.$ac_ext
  3995. if $ac_preproc_ok; then :
  3996. else
  3997. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3998. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3999. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  4000. See \`config.log' for more details" "$LINENO" 5; }
  4001. fi
  4002. ac_ext=c
  4003. ac_cpp='$CPP $CPPFLAGS'
  4004. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4005. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4006. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4008. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4009. if ${ac_cv_path_GREP+:} false; then :
  4010. $as_echo_n "(cached) " >&6
  4011. else
  4012. if test -z "$GREP"; then
  4013. ac_path_GREP_found=false
  4014. # Loop through the user's path and test for each of PROGNAME-LIST
  4015. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4016. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4017. do
  4018. IFS=$as_save_IFS
  4019. test -z "$as_dir" && as_dir=.
  4020. for ac_prog in grep ggrep; do
  4021. for ac_exec_ext in '' $ac_executable_extensions; do
  4022. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4023. as_fn_executable_p "$ac_path_GREP" || continue
  4024. # Check for GNU ac_path_GREP and select it if it is found.
  4025. # Check for GNU $ac_path_GREP
  4026. case `"$ac_path_GREP" --version 2>&1` in
  4027. *GNU*)
  4028. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4029. *)
  4030. ac_count=0
  4031. $as_echo_n 0123456789 >"conftest.in"
  4032. while :
  4033. do
  4034. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4035. mv "conftest.tmp" "conftest.in"
  4036. cp "conftest.in" "conftest.nl"
  4037. $as_echo 'GREP' >> "conftest.nl"
  4038. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4039. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4040. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4041. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4042. # Best one so far, save it but keep looking for a better one
  4043. ac_cv_path_GREP="$ac_path_GREP"
  4044. ac_path_GREP_max=$ac_count
  4045. fi
  4046. # 10*(2^10) chars as input seems more than enough
  4047. test $ac_count -gt 10 && break
  4048. done
  4049. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4050. esac
  4051. $ac_path_GREP_found && break 3
  4052. done
  4053. done
  4054. done
  4055. IFS=$as_save_IFS
  4056. if test -z "$ac_cv_path_GREP"; then
  4057. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4058. fi
  4059. else
  4060. ac_cv_path_GREP=$GREP
  4061. fi
  4062. fi
  4063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4064. $as_echo "$ac_cv_path_GREP" >&6; }
  4065. GREP="$ac_cv_path_GREP"
  4066. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4067. $as_echo_n "checking for egrep... " >&6; }
  4068. if ${ac_cv_path_EGREP+:} false; then :
  4069. $as_echo_n "(cached) " >&6
  4070. else
  4071. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4072. then ac_cv_path_EGREP="$GREP -E"
  4073. else
  4074. if test -z "$EGREP"; then
  4075. ac_path_EGREP_found=false
  4076. # Loop through the user's path and test for each of PROGNAME-LIST
  4077. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4078. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4079. do
  4080. IFS=$as_save_IFS
  4081. test -z "$as_dir" && as_dir=.
  4082. for ac_prog in egrep; do
  4083. for ac_exec_ext in '' $ac_executable_extensions; do
  4084. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4085. as_fn_executable_p "$ac_path_EGREP" || continue
  4086. # Check for GNU ac_path_EGREP and select it if it is found.
  4087. # Check for GNU $ac_path_EGREP
  4088. case `"$ac_path_EGREP" --version 2>&1` in
  4089. *GNU*)
  4090. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4091. *)
  4092. ac_count=0
  4093. $as_echo_n 0123456789 >"conftest.in"
  4094. while :
  4095. do
  4096. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4097. mv "conftest.tmp" "conftest.in"
  4098. cp "conftest.in" "conftest.nl"
  4099. $as_echo 'EGREP' >> "conftest.nl"
  4100. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4101. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4102. as_fn_arith $ac_count + 1 && ac_count=$as_val
  4103. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4104. # Best one so far, save it but keep looking for a better one
  4105. ac_cv_path_EGREP="$ac_path_EGREP"
  4106. ac_path_EGREP_max=$ac_count
  4107. fi
  4108. # 10*(2^10) chars as input seems more than enough
  4109. test $ac_count -gt 10 && break
  4110. done
  4111. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4112. esac
  4113. $ac_path_EGREP_found && break 3
  4114. done
  4115. done
  4116. done
  4117. IFS=$as_save_IFS
  4118. if test -z "$ac_cv_path_EGREP"; then
  4119. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4120. fi
  4121. else
  4122. ac_cv_path_EGREP=$EGREP
  4123. fi
  4124. fi
  4125. fi
  4126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4127. $as_echo "$ac_cv_path_EGREP" >&6; }
  4128. EGREP="$ac_cv_path_EGREP"
  4129. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  4130. $as_echo_n "checking for ANSI C header files... " >&6; }
  4131. if ${ac_cv_header_stdc+:} false; then :
  4132. $as_echo_n "(cached) " >&6
  4133. else
  4134. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4135. /* end confdefs.h. */
  4136. #include <stdlib.h>
  4137. #include <stdarg.h>
  4138. #include <string.h>
  4139. #include <float.h>
  4140. int
  4141. main ()
  4142. {
  4143. ;
  4144. return 0;
  4145. }
  4146. _ACEOF
  4147. if ac_fn_c_try_compile "$LINENO"; then :
  4148. ac_cv_header_stdc=yes
  4149. else
  4150. ac_cv_header_stdc=no
  4151. fi
  4152. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4153. if test $ac_cv_header_stdc = yes; then
  4154. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4155. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4156. /* end confdefs.h. */
  4157. #include <string.h>
  4158. _ACEOF
  4159. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4160. $EGREP "memchr" >/dev/null 2>&1; then :
  4161. else
  4162. ac_cv_header_stdc=no
  4163. fi
  4164. rm -f conftest*
  4165. fi
  4166. if test $ac_cv_header_stdc = yes; then
  4167. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4168. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4169. /* end confdefs.h. */
  4170. #include <stdlib.h>
  4171. _ACEOF
  4172. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4173. $EGREP "free" >/dev/null 2>&1; then :
  4174. else
  4175. ac_cv_header_stdc=no
  4176. fi
  4177. rm -f conftest*
  4178. fi
  4179. if test $ac_cv_header_stdc = yes; then
  4180. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4181. if test "$cross_compiling" = yes; then :
  4182. :
  4183. else
  4184. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4185. /* end confdefs.h. */
  4186. #include <ctype.h>
  4187. #include <stdlib.h>
  4188. #if ((' ' & 0x0FF) == 0x020)
  4189. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4190. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4191. #else
  4192. # define ISLOWER(c) \
  4193. (('a' <= (c) && (c) <= 'i') \
  4194. || ('j' <= (c) && (c) <= 'r') \
  4195. || ('s' <= (c) && (c) <= 'z'))
  4196. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4197. #endif
  4198. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4199. int
  4200. main ()
  4201. {
  4202. int i;
  4203. for (i = 0; i < 256; i++)
  4204. if (XOR (islower (i), ISLOWER (i))
  4205. || toupper (i) != TOUPPER (i))
  4206. return 2;
  4207. return 0;
  4208. }
  4209. _ACEOF
  4210. if ac_fn_c_try_run "$LINENO"; then :
  4211. else
  4212. ac_cv_header_stdc=no
  4213. fi
  4214. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4215. conftest.$ac_objext conftest.beam conftest.$ac_ext
  4216. fi
  4217. fi
  4218. fi
  4219. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  4220. $as_echo "$ac_cv_header_stdc" >&6; }
  4221. if test $ac_cv_header_stdc = yes; then
  4222. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  4223. fi
  4224. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4225. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4226. inttypes.h stdint.h unistd.h
  4227. do :
  4228. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4229. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  4230. "
  4231. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  4232. cat >>confdefs.h <<_ACEOF
  4233. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4234. _ACEOF
  4235. fi
  4236. done
  4237. for ac_header in memory.h
  4238. do :
  4239. ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
  4240. if test "x$ac_cv_header_memory_h" = xyes; then :
  4241. cat >>confdefs.h <<_ACEOF
  4242. #define HAVE_MEMORY_H 1
  4243. _ACEOF
  4244. fi
  4245. done
  4246. if test -n "$ac_tool_prefix"; then
  4247. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4248. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4249. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4250. $as_echo_n "checking for $ac_word... " >&6; }
  4251. if ${ac_cv_prog_RANLIB+:} false; then :
  4252. $as_echo_n "(cached) " >&6
  4253. else
  4254. if test -n "$RANLIB"; then
  4255. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4256. else
  4257. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4258. for as_dir in $PATH
  4259. do
  4260. IFS=$as_save_IFS
  4261. test -z "$as_dir" && as_dir=.
  4262. for ac_exec_ext in '' $ac_executable_extensions; do
  4263. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4264. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  4265. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4266. break 2
  4267. fi
  4268. done
  4269. done
  4270. IFS=$as_save_IFS
  4271. fi
  4272. fi
  4273. RANLIB=$ac_cv_prog_RANLIB
  4274. if test -n "$RANLIB"; then
  4275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  4276. $as_echo "$RANLIB" >&6; }
  4277. else
  4278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4279. $as_echo "no" >&6; }
  4280. fi
  4281. fi
  4282. if test -z "$ac_cv_prog_RANLIB"; then
  4283. ac_ct_RANLIB=$RANLIB
  4284. # Extract the first word of "ranlib", so it can be a program name with args.
  4285. set dummy ranlib; ac_word=$2
  4286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4287. $as_echo_n "checking for $ac_word... " >&6; }
  4288. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  4289. $as_echo_n "(cached) " >&6
  4290. else
  4291. if test -n "$ac_ct_RANLIB"; then
  4292. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  4293. else
  4294. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4295. for as_dir in $PATH
  4296. do
  4297. IFS=$as_save_IFS
  4298. test -z "$as_dir" && as_dir=.
  4299. for ac_exec_ext in '' $ac_executable_extensions; do
  4300. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4301. ac_cv_prog_ac_ct_RANLIB="ranlib"
  4302. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4303. break 2
  4304. fi
  4305. done
  4306. done
  4307. IFS=$as_save_IFS
  4308. fi
  4309. fi
  4310. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  4311. if test -n "$ac_ct_RANLIB"; then
  4312. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  4313. $as_echo "$ac_ct_RANLIB" >&6; }
  4314. else
  4315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4316. $as_echo "no" >&6; }
  4317. fi
  4318. if test "x$ac_ct_RANLIB" = x; then
  4319. RANLIB=":"
  4320. else
  4321. case $cross_compiling:$ac_tool_warned in
  4322. yes:)
  4323. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4324. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4325. ac_tool_warned=yes ;;
  4326. esac
  4327. RANLIB=$ac_ct_RANLIB
  4328. fi
  4329. else
  4330. RANLIB="$ac_cv_prog_RANLIB"
  4331. fi
  4332. # Checks for typedefs, structures, and compiler characteristics.
  4333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
  4334. $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
  4335. if ${ac_cv_header_stdbool_h+:} false; then :
  4336. $as_echo_n "(cached) " >&6
  4337. else
  4338. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4339. /* end confdefs.h. */
  4340. #include <stdbool.h>
  4341. #ifndef bool
  4342. "error: bool is not defined"
  4343. #endif
  4344. #ifndef false
  4345. "error: false is not defined"
  4346. #endif
  4347. #if false
  4348. "error: false is not 0"
  4349. #endif
  4350. #ifndef true
  4351. "error: true is not defined"
  4352. #endif
  4353. #if true != 1
  4354. "error: true is not 1"
  4355. #endif
  4356. #ifndef __bool_true_false_are_defined
  4357. "error: __bool_true_false_are_defined is not defined"
  4358. #endif
  4359. struct s { _Bool s: 1; _Bool t; } s;
  4360. char a[true == 1 ? 1 : -1];
  4361. char b[false == 0 ? 1 : -1];
  4362. char c[__bool_true_false_are_defined == 1 ? 1 : -1];
  4363. char d[(bool) 0.5 == true ? 1 : -1];
  4364. /* See body of main program for 'e'. */
  4365. char f[(_Bool) 0.0 == false ? 1 : -1];
  4366. char g[true];
  4367. char h[sizeof (_Bool)];
  4368. char i[sizeof s.t];
  4369. enum { j = false, k = true, l = false * true, m = true * 256 };
  4370. /* The following fails for
  4371. HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
  4372. _Bool n[m];
  4373. char o[sizeof n == m * sizeof n[0] ? 1 : -1];
  4374. char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
  4375. /* Catch a bug in an HP-UX C compiler. See
  4376. http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
  4377. http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
  4378. */
  4379. _Bool q = true;
  4380. _Bool *pq = &q;
  4381. int
  4382. main ()
  4383. {
  4384. bool e = &s;
  4385. *pq |= q;
  4386. *pq |= ! q;
  4387. /* Refer to every declared value, to avoid compiler optimizations. */
  4388. return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
  4389. + !m + !n + !o + !p + !q + !pq);
  4390. ;
  4391. return 0;
  4392. }
  4393. _ACEOF
  4394. if ac_fn_c_try_compile "$LINENO"; then :
  4395. ac_cv_header_stdbool_h=yes
  4396. else
  4397. ac_cv_header_stdbool_h=no
  4398. fi
  4399. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4400. fi
  4401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
  4402. $as_echo "$ac_cv_header_stdbool_h" >&6; }
  4403. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
  4404. if test "x$ac_cv_type__Bool" = xyes; then :
  4405. cat >>confdefs.h <<_ACEOF
  4406. #define HAVE__BOOL 1
  4407. _ACEOF
  4408. fi
  4409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  4410. $as_echo_n "checking for inline... " >&6; }
  4411. if ${ac_cv_c_inline+:} false; then :
  4412. $as_echo_n "(cached) " >&6
  4413. else
  4414. ac_cv_c_inline=no
  4415. for ac_kw in inline __inline__ __inline; do
  4416. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4417. /* end confdefs.h. */
  4418. #ifndef __cplusplus
  4419. typedef int foo_t;
  4420. static $ac_kw foo_t static_foo () {return 0; }
  4421. $ac_kw foo_t foo () {return 0; }
  4422. #endif
  4423. _ACEOF
  4424. if ac_fn_c_try_compile "$LINENO"; then :
  4425. ac_cv_c_inline=$ac_kw
  4426. fi
  4427. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4428. test "$ac_cv_c_inline" != no && break
  4429. done
  4430. fi
  4431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  4432. $as_echo "$ac_cv_c_inline" >&6; }
  4433. case $ac_cv_c_inline in
  4434. inline | yes) ;;
  4435. *)
  4436. case $ac_cv_c_inline in
  4437. no) ac_val=;;
  4438. *) ac_val=$ac_cv_c_inline;;
  4439. esac
  4440. cat >>confdefs.h <<_ACEOF
  4441. #ifndef __cplusplus
  4442. #define inline $ac_val
  4443. #endif
  4444. _ACEOF
  4445. ;;
  4446. esac
  4447. ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
  4448. case $ac_cv_c_int16_t in #(
  4449. no|yes) ;; #(
  4450. *)
  4451. cat >>confdefs.h <<_ACEOF
  4452. #define int16_t $ac_cv_c_int16_t
  4453. _ACEOF
  4454. ;;
  4455. esac
  4456. ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
  4457. case $ac_cv_c_int32_t in #(
  4458. no|yes) ;; #(
  4459. *)
  4460. cat >>confdefs.h <<_ACEOF
  4461. #define int32_t $ac_cv_c_int32_t
  4462. _ACEOF
  4463. ;;
  4464. esac
  4465. ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
  4466. case $ac_cv_c_int64_t in #(
  4467. no|yes) ;; #(
  4468. *)
  4469. cat >>confdefs.h <<_ACEOF
  4470. #define int64_t $ac_cv_c_int64_t
  4471. _ACEOF
  4472. ;;
  4473. esac
  4474. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  4475. if test "x$ac_cv_type_size_t" = xyes; then :
  4476. else
  4477. cat >>confdefs.h <<_ACEOF
  4478. #define size_t unsigned int
  4479. _ACEOF
  4480. fi
  4481. ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
  4482. case $ac_cv_c_uint32_t in #(
  4483. no|yes) ;; #(
  4484. *)
  4485. $as_echo "#define _UINT32_T 1" >>confdefs.h
  4486. cat >>confdefs.h <<_ACEOF
  4487. #define uint32_t $ac_cv_c_uint32_t
  4488. _ACEOF
  4489. ;;
  4490. esac
  4491. ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
  4492. case $ac_cv_c_uint64_t in #(
  4493. no|yes) ;; #(
  4494. *)
  4495. $as_echo "#define _UINT64_T 1" >>confdefs.h
  4496. cat >>confdefs.h <<_ACEOF
  4497. #define uint64_t $ac_cv_c_uint64_t
  4498. _ACEOF
  4499. ;;
  4500. esac
  4501. ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
  4502. case $ac_cv_c_uint8_t in #(
  4503. no|yes) ;; #(
  4504. *)
  4505. $as_echo "#define _UINT8_T 1" >>confdefs.h
  4506. cat >>confdefs.h <<_ACEOF
  4507. #define uint8_t $ac_cv_c_uint8_t
  4508. _ACEOF
  4509. ;;
  4510. esac
  4511. # Checks for library functions.
  4512. for ac_func in localtime_r memset
  4513. do :
  4514. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  4515. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  4516. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  4517. cat >>confdefs.h <<_ACEOF
  4518. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  4519. _ACEOF
  4520. fi
  4521. done
  4522. ac_config_files="$ac_config_files Makefile"
  4523. cat >confcache <<\_ACEOF
  4524. # This file is a shell script that caches the results of configure
  4525. # tests run on this system so they can be shared between configure
  4526. # scripts and configure runs, see configure's option --config-cache.
  4527. # It is not useful on other systems. If it contains results you don't
  4528. # want to keep, you may remove or edit it.
  4529. #
  4530. # config.status only pays attention to the cache file if you give it
  4531. # the --recheck option to rerun configure.
  4532. #
  4533. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  4534. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  4535. # following values.
  4536. _ACEOF
  4537. # The following way of writing the cache mishandles newlines in values,
  4538. # but we know of no workaround that is simple, portable, and efficient.
  4539. # So, we kill variables containing newlines.
  4540. # Ultrix sh set writes to stderr and can't be redirected directly,
  4541. # and sets the high bit in the cache file unless we assign to the vars.
  4542. (
  4543. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  4544. eval ac_val=\$$ac_var
  4545. case $ac_val in #(
  4546. *${as_nl}*)
  4547. case $ac_var in #(
  4548. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  4549. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  4550. esac
  4551. case $ac_var in #(
  4552. _ | IFS | as_nl) ;; #(
  4553. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  4554. *) { eval $ac_var=; unset $ac_var;} ;;
  4555. esac ;;
  4556. esac
  4557. done
  4558. (set) 2>&1 |
  4559. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  4560. *${as_nl}ac_space=\ *)
  4561. # `set' does not quote correctly, so add quotes: double-quote
  4562. # substitution turns \\\\ into \\, and sed turns \\ into \.
  4563. sed -n \
  4564. "s/'/'\\\\''/g;
  4565. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  4566. ;; #(
  4567. *)
  4568. # `set' quotes correctly as required by POSIX, so do not add quotes.
  4569. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  4570. ;;
  4571. esac |
  4572. sort
  4573. ) |
  4574. sed '
  4575. /^ac_cv_env_/b end
  4576. t clear
  4577. :clear
  4578. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  4579. t end
  4580. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  4581. :end' >>confcache
  4582. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  4583. if test -w "$cache_file"; then
  4584. if test "x$cache_file" != "x/dev/null"; then
  4585. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  4586. $as_echo "$as_me: updating cache $cache_file" >&6;}
  4587. if test ! -f "$cache_file" || test -h "$cache_file"; then
  4588. cat confcache >"$cache_file"
  4589. else
  4590. case $cache_file in #(
  4591. */* | ?:*)
  4592. mv -f confcache "$cache_file"$$ &&
  4593. mv -f "$cache_file"$$ "$cache_file" ;; #(
  4594. *)
  4595. mv -f confcache "$cache_file" ;;
  4596. esac
  4597. fi
  4598. fi
  4599. else
  4600. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  4601. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  4602. fi
  4603. fi
  4604. rm -f confcache
  4605. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4606. # Let make expand exec_prefix.
  4607. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4608. # Transform confdefs.h into DEFS.
  4609. # Protect against shell expansion while executing Makefile rules.
  4610. # Protect against Makefile macro expansion.
  4611. #
  4612. # If the first sed substitution is executed (which looks for macros that
  4613. # take arguments), then branch to the quote section. Otherwise,
  4614. # look for a macro that doesn't take arguments.
  4615. ac_script='
  4616. :mline
  4617. /\\$/{
  4618. N
  4619. s,\\\n,,
  4620. b mline
  4621. }
  4622. t clear
  4623. :clear
  4624. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
  4625. t quote
  4626. s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
  4627. t quote
  4628. b any
  4629. :quote
  4630. s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  4631. s/\[/\\&/g
  4632. s/\]/\\&/g
  4633. s/\$/$$/g
  4634. H
  4635. :any
  4636. ${
  4637. g
  4638. s/^\n//
  4639. s/\n/ /g
  4640. p
  4641. }
  4642. '
  4643. DEFS=`sed -n "$ac_script" confdefs.h`
  4644. ac_libobjs=
  4645. ac_ltlibobjs=
  4646. U=
  4647. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  4648. # 1. Remove the extension, and $U if already installed.
  4649. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  4650. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  4651. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  4652. # will be set to the directory where LIBOBJS objects are built.
  4653. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  4654. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  4655. done
  4656. LIBOBJS=$ac_libobjs
  4657. LTLIBOBJS=$ac_ltlibobjs
  4658. { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
  4659. $as_echo_n "checking that generated files are newer than configure... " >&6; }
  4660. if test -n "$am_sleep_pid"; then
  4661. # Hide warnings about reused PIDs.
  4662. wait $am_sleep_pid 2>/dev/null
  4663. fi
  4664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
  4665. $as_echo "done" >&6; }
  4666. if test -n "$EXEEXT"; then
  4667. am__EXEEXT_TRUE=
  4668. am__EXEEXT_FALSE='#'
  4669. else
  4670. am__EXEEXT_TRUE='#'
  4671. am__EXEEXT_FALSE=
  4672. fi
  4673. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  4674. as_fn_error $? "conditional \"AMDEP\" was never defined.
  4675. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4676. fi
  4677. if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
  4678. as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
  4679. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4680. fi
  4681. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  4682. as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
  4683. Usually this means the macro was only invoked conditionally." "$LINENO" 5
  4684. fi
  4685. : "${CONFIG_STATUS=./config.status}"
  4686. ac_write_fail=0
  4687. ac_clean_files_save=$ac_clean_files
  4688. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4689. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  4690. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  4691. as_write_fail=0
  4692. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  4693. #! $SHELL
  4694. # Generated by $as_me.
  4695. # Run this file to recreate the current configuration.
  4696. # Compiler output produced by configure, useful for debugging
  4697. # configure, is in config.log if it exists.
  4698. debug=false
  4699. ac_cs_recheck=false
  4700. ac_cs_silent=false
  4701. SHELL=\${CONFIG_SHELL-$SHELL}
  4702. export SHELL
  4703. _ASEOF
  4704. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  4705. ## -------------------- ##
  4706. ## M4sh Initialization. ##
  4707. ## -------------------- ##
  4708. # Be more Bourne compatible
  4709. DUALCASE=1; export DUALCASE # for MKS sh
  4710. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  4711. emulate sh
  4712. NULLCMD=:
  4713. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  4714. # is contrary to our usage. Disable this feature.
  4715. alias -g '${1+"$@"}'='"$@"'
  4716. setopt NO_GLOB_SUBST
  4717. else
  4718. case `(set -o) 2>/dev/null` in #(
  4719. *posix*) :
  4720. set -o posix ;; #(
  4721. *) :
  4722. ;;
  4723. esac
  4724. fi
  4725. as_nl='
  4726. '
  4727. export as_nl
  4728. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  4729. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4730. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  4731. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  4732. # Prefer a ksh shell builtin over an external printf program on Solaris,
  4733. # but without wasting forks for bash or zsh.
  4734. if test -z "$BASH_VERSION$ZSH_VERSION" \
  4735. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  4736. as_echo='print -r --'
  4737. as_echo_n='print -rn --'
  4738. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  4739. as_echo='printf %s\n'
  4740. as_echo_n='printf %s'
  4741. else
  4742. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  4743. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  4744. as_echo_n='/usr/ucb/echo -n'
  4745. else
  4746. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  4747. as_echo_n_body='eval
  4748. arg=$1;
  4749. case $arg in #(
  4750. *"$as_nl"*)
  4751. expr "X$arg" : "X\\(.*\\)$as_nl";
  4752. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  4753. esac;
  4754. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  4755. '
  4756. export as_echo_n_body
  4757. as_echo_n='sh -c $as_echo_n_body as_echo'
  4758. fi
  4759. export as_echo_body
  4760. as_echo='sh -c $as_echo_body as_echo'
  4761. fi
  4762. # The user is always right.
  4763. if test "${PATH_SEPARATOR+set}" != set; then
  4764. PATH_SEPARATOR=:
  4765. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  4766. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  4767. PATH_SEPARATOR=';'
  4768. }
  4769. fi
  4770. # IFS
  4771. # We need space, tab and new line, in precisely that order. Quoting is
  4772. # there to prevent editors from complaining about space-tab.
  4773. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  4774. # splitting by setting IFS to empty value.)
  4775. IFS=" "" $as_nl"
  4776. # Find who we are. Look in the path if we contain no directory separator.
  4777. as_myself=
  4778. case $0 in #((
  4779. *[\\/]* ) as_myself=$0 ;;
  4780. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4781. for as_dir in $PATH
  4782. do
  4783. IFS=$as_save_IFS
  4784. test -z "$as_dir" && as_dir=.
  4785. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  4786. done
  4787. IFS=$as_save_IFS
  4788. ;;
  4789. esac
  4790. # We did not find ourselves, most probably we were run as `sh COMMAND'
  4791. # in which case we are not to be found in the path.
  4792. if test "x$as_myself" = x; then
  4793. as_myself=$0
  4794. fi
  4795. if test ! -f "$as_myself"; then
  4796. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  4797. exit 1
  4798. fi
  4799. # Unset variables that we do not need and which cause bugs (e.g. in
  4800. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  4801. # suppresses any "Segmentation fault" message there. '((' could
  4802. # trigger a bug in pdksh 5.2.14.
  4803. for as_var in BASH_ENV ENV MAIL MAILPATH
  4804. do eval test x\${$as_var+set} = xset \
  4805. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  4806. done
  4807. PS1='$ '
  4808. PS2='> '
  4809. PS4='+ '
  4810. # NLS nuisances.
  4811. LC_ALL=C
  4812. export LC_ALL
  4813. LANGUAGE=C
  4814. export LANGUAGE
  4815. # CDPATH.
  4816. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  4817. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  4818. # ----------------------------------------
  4819. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  4820. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  4821. # script with STATUS, using 1 if that was 0.
  4822. as_fn_error ()
  4823. {
  4824. as_status=$1; test $as_status -eq 0 && as_status=1
  4825. if test "$4"; then
  4826. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  4827. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  4828. fi
  4829. $as_echo "$as_me: error: $2" >&2
  4830. as_fn_exit $as_status
  4831. } # as_fn_error
  4832. # as_fn_set_status STATUS
  4833. # -----------------------
  4834. # Set $? to STATUS, without forking.
  4835. as_fn_set_status ()
  4836. {
  4837. return $1
  4838. } # as_fn_set_status
  4839. # as_fn_exit STATUS
  4840. # -----------------
  4841. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  4842. as_fn_exit ()
  4843. {
  4844. set +e
  4845. as_fn_set_status $1
  4846. exit $1
  4847. } # as_fn_exit
  4848. # as_fn_unset VAR
  4849. # ---------------
  4850. # Portably unset VAR.
  4851. as_fn_unset ()
  4852. {
  4853. { eval $1=; unset $1;}
  4854. }
  4855. as_unset=as_fn_unset
  4856. # as_fn_append VAR VALUE
  4857. # ----------------------
  4858. # Append the text in VALUE to the end of the definition contained in VAR. Take
  4859. # advantage of any shell optimizations that allow amortized linear growth over
  4860. # repeated appends, instead of the typical quadratic growth present in naive
  4861. # implementations.
  4862. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  4863. eval 'as_fn_append ()
  4864. {
  4865. eval $1+=\$2
  4866. }'
  4867. else
  4868. as_fn_append ()
  4869. {
  4870. eval $1=\$$1\$2
  4871. }
  4872. fi # as_fn_append
  4873. # as_fn_arith ARG...
  4874. # ------------------
  4875. # Perform arithmetic evaluation on the ARGs, and store the result in the
  4876. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  4877. # must be portable across $(()) and expr.
  4878. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  4879. eval 'as_fn_arith ()
  4880. {
  4881. as_val=$(( $* ))
  4882. }'
  4883. else
  4884. as_fn_arith ()
  4885. {
  4886. as_val=`expr "$@" || test $? -eq 1`
  4887. }
  4888. fi # as_fn_arith
  4889. if expr a : '\(a\)' >/dev/null 2>&1 &&
  4890. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  4891. as_expr=expr
  4892. else
  4893. as_expr=false
  4894. fi
  4895. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  4896. as_basename=basename
  4897. else
  4898. as_basename=false
  4899. fi
  4900. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  4901. as_dirname=dirname
  4902. else
  4903. as_dirname=false
  4904. fi
  4905. as_me=`$as_basename -- "$0" ||
  4906. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  4907. X"$0" : 'X\(//\)$' \| \
  4908. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  4909. $as_echo X/"$0" |
  4910. sed '/^.*\/\([^/][^/]*\)\/*$/{
  4911. s//\1/
  4912. q
  4913. }
  4914. /^X\/\(\/\/\)$/{
  4915. s//\1/
  4916. q
  4917. }
  4918. /^X\/\(\/\).*/{
  4919. s//\1/
  4920. q
  4921. }
  4922. s/.*/./; q'`
  4923. # Avoid depending upon Character Ranges.
  4924. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  4925. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  4926. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  4927. as_cr_digits='0123456789'
  4928. as_cr_alnum=$as_cr_Letters$as_cr_digits
  4929. ECHO_C= ECHO_N= ECHO_T=
  4930. case `echo -n x` in #(((((
  4931. -n*)
  4932. case `echo 'xy\c'` in
  4933. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  4934. xy) ECHO_C='\c';;
  4935. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  4936. ECHO_T=' ';;
  4937. esac;;
  4938. *)
  4939. ECHO_N='-n';;
  4940. esac
  4941. rm -f conf$$ conf$$.exe conf$$.file
  4942. if test -d conf$$.dir; then
  4943. rm -f conf$$.dir/conf$$.file
  4944. else
  4945. rm -f conf$$.dir
  4946. mkdir conf$$.dir 2>/dev/null
  4947. fi
  4948. if (echo >conf$$.file) 2>/dev/null; then
  4949. if ln -s conf$$.file conf$$ 2>/dev/null; then
  4950. as_ln_s='ln -s'
  4951. # ... but there are two gotchas:
  4952. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  4953. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  4954. # In both cases, we have to default to `cp -pR'.
  4955. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  4956. as_ln_s='cp -pR'
  4957. elif ln conf$$.file conf$$ 2>/dev/null; then
  4958. as_ln_s=ln
  4959. else
  4960. as_ln_s='cp -pR'
  4961. fi
  4962. else
  4963. as_ln_s='cp -pR'
  4964. fi
  4965. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  4966. rmdir conf$$.dir 2>/dev/null
  4967. # as_fn_mkdir_p
  4968. # -------------
  4969. # Create "$as_dir" as a directory, including parents if necessary.
  4970. as_fn_mkdir_p ()
  4971. {
  4972. case $as_dir in #(
  4973. -*) as_dir=./$as_dir;;
  4974. esac
  4975. test -d "$as_dir" || eval $as_mkdir_p || {
  4976. as_dirs=
  4977. while :; do
  4978. case $as_dir in #(
  4979. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  4980. *) as_qdir=$as_dir;;
  4981. esac
  4982. as_dirs="'$as_qdir' $as_dirs"
  4983. as_dir=`$as_dirname -- "$as_dir" ||
  4984. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  4985. X"$as_dir" : 'X\(//\)[^/]' \| \
  4986. X"$as_dir" : 'X\(//\)$' \| \
  4987. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  4988. $as_echo X"$as_dir" |
  4989. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  4990. s//\1/
  4991. q
  4992. }
  4993. /^X\(\/\/\)[^/].*/{
  4994. s//\1/
  4995. q
  4996. }
  4997. /^X\(\/\/\)$/{
  4998. s//\1/
  4999. q
  5000. }
  5001. /^X\(\/\).*/{
  5002. s//\1/
  5003. q
  5004. }
  5005. s/.*/./; q'`
  5006. test -d "$as_dir" && break
  5007. done
  5008. test -z "$as_dirs" || eval "mkdir $as_dirs"
  5009. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  5010. } # as_fn_mkdir_p
  5011. if mkdir -p . 2>/dev/null; then
  5012. as_mkdir_p='mkdir -p "$as_dir"'
  5013. else
  5014. test -d ./-p && rmdir ./-p
  5015. as_mkdir_p=false
  5016. fi
  5017. # as_fn_executable_p FILE
  5018. # -----------------------
  5019. # Test if FILE is an executable regular file.
  5020. as_fn_executable_p ()
  5021. {
  5022. test -f "$1" && test -x "$1"
  5023. } # as_fn_executable_p
  5024. as_test_x='test -x'
  5025. as_executable_p=as_fn_executable_p
  5026. # Sed expression to map a string onto a valid CPP name.
  5027. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  5028. # Sed expression to map a string onto a valid variable name.
  5029. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  5030. exec 6>&1
  5031. ## ----------------------------------- ##
  5032. ## Main body of $CONFIG_STATUS script. ##
  5033. ## ----------------------------------- ##
  5034. _ASEOF
  5035. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  5036. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5037. # Save the log message, to keep $0 and so on meaningful, and to
  5038. # report actual input values of CONFIG_FILES etc. instead of their
  5039. # values after options handling.
  5040. ac_log="
  5041. This file was extended by point_algorithm.a $as_me 1.0, which was
  5042. generated by GNU Autoconf 2.69. Invocation command line was
  5043. CONFIG_FILES = $CONFIG_FILES
  5044. CONFIG_HEADERS = $CONFIG_HEADERS
  5045. CONFIG_LINKS = $CONFIG_LINKS
  5046. CONFIG_COMMANDS = $CONFIG_COMMANDS
  5047. $ $0 $@
  5048. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  5049. "
  5050. _ACEOF
  5051. case $ac_config_files in *"
  5052. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  5053. esac
  5054. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5055. # Files that config.status was made for.
  5056. config_files="$ac_config_files"
  5057. config_commands="$ac_config_commands"
  5058. _ACEOF
  5059. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5060. ac_cs_usage="\
  5061. \`$as_me' instantiates files and other configuration actions
  5062. from templates according to the current configuration. Unless the files
  5063. and actions are specified as TAGs, all are instantiated by default.
  5064. Usage: $0 [OPTION]... [TAG]...
  5065. -h, --help print this help, then exit
  5066. -V, --version print version number and configuration settings, then exit
  5067. --config print configuration, then exit
  5068. -q, --quiet, --silent
  5069. do not print progress messages
  5070. -d, --debug don't remove temporary files
  5071. --recheck update $as_me by reconfiguring in the same conditions
  5072. --file=FILE[:TEMPLATE]
  5073. instantiate the configuration file FILE
  5074. Configuration files:
  5075. $config_files
  5076. Configuration commands:
  5077. $config_commands
  5078. Report bugs to <BUG-REPORT-ADDRESS>."
  5079. _ACEOF
  5080. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5081. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  5082. ac_cs_version="\\
  5083. point_algorithm.a config.status 1.0
  5084. configured by $0, generated by GNU Autoconf 2.69,
  5085. with options \\"\$ac_cs_config\\"
  5086. Copyright (C) 2012 Free Software Foundation, Inc.
  5087. This config.status script is free software; the Free Software Foundation
  5088. gives unlimited permission to copy, distribute and modify it."
  5089. ac_pwd='$ac_pwd'
  5090. srcdir='$srcdir'
  5091. INSTALL='$INSTALL'
  5092. MKDIR_P='$MKDIR_P'
  5093. AWK='$AWK'
  5094. test -n "\$AWK" || AWK=awk
  5095. _ACEOF
  5096. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5097. # The default lists apply if the user does not specify any file.
  5098. ac_need_defaults=:
  5099. while test $# != 0
  5100. do
  5101. case $1 in
  5102. --*=?*)
  5103. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5104. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  5105. ac_shift=:
  5106. ;;
  5107. --*=)
  5108. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  5109. ac_optarg=
  5110. ac_shift=:
  5111. ;;
  5112. *)
  5113. ac_option=$1
  5114. ac_optarg=$2
  5115. ac_shift=shift
  5116. ;;
  5117. esac
  5118. case $ac_option in
  5119. # Handling of the options.
  5120. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  5121. ac_cs_recheck=: ;;
  5122. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  5123. $as_echo "$ac_cs_version"; exit ;;
  5124. --config | --confi | --conf | --con | --co | --c )
  5125. $as_echo "$ac_cs_config"; exit ;;
  5126. --debug | --debu | --deb | --de | --d | -d )
  5127. debug=: ;;
  5128. --file | --fil | --fi | --f )
  5129. $ac_shift
  5130. case $ac_optarg in
  5131. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  5132. '') as_fn_error $? "missing file argument" ;;
  5133. esac
  5134. as_fn_append CONFIG_FILES " '$ac_optarg'"
  5135. ac_need_defaults=false;;
  5136. --he | --h | --help | --hel | -h )
  5137. $as_echo "$ac_cs_usage"; exit ;;
  5138. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5139. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  5140. ac_cs_silent=: ;;
  5141. # This is an error.
  5142. -*) as_fn_error $? "unrecognized option: \`$1'
  5143. Try \`$0 --help' for more information." ;;
  5144. *) as_fn_append ac_config_targets " $1"
  5145. ac_need_defaults=false ;;
  5146. esac
  5147. shift
  5148. done
  5149. ac_configure_extra_args=
  5150. if $ac_cs_silent; then
  5151. exec 6>/dev/null
  5152. ac_configure_extra_args="$ac_configure_extra_args --silent"
  5153. fi
  5154. _ACEOF
  5155. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5156. if \$ac_cs_recheck; then
  5157. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  5158. shift
  5159. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  5160. CONFIG_SHELL='$SHELL'
  5161. export CONFIG_SHELL
  5162. exec "\$@"
  5163. fi
  5164. _ACEOF
  5165. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5166. exec 5>>config.log
  5167. {
  5168. echo
  5169. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  5170. ## Running $as_me. ##
  5171. _ASBOX
  5172. $as_echo "$ac_log"
  5173. } >&5
  5174. _ACEOF
  5175. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5176. #
  5177. # INIT-COMMANDS
  5178. #
  5179. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  5180. _ACEOF
  5181. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5182. # Handling of arguments.
  5183. for ac_config_target in $ac_config_targets
  5184. do
  5185. case $ac_config_target in
  5186. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  5187. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  5188. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  5189. esac
  5190. done
  5191. # If the user did not use the arguments to specify the items to instantiate,
  5192. # then the envvar interface is used. Set only those that are not.
  5193. # We use the long form for the default assignment because of an extremely
  5194. # bizarre bug on SunOS 4.1.3.
  5195. if $ac_need_defaults; then
  5196. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  5197. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  5198. fi
  5199. # Have a temporary directory for convenience. Make it in the build tree
  5200. # simply because there is no reason against having it here, and in addition,
  5201. # creating and moving files from /tmp can sometimes cause problems.
  5202. # Hook for its removal unless debugging.
  5203. # Note that there is a small window in which the directory will not be cleaned:
  5204. # after its creation but before its name has been assigned to `$tmp'.
  5205. $debug ||
  5206. {
  5207. tmp= ac_tmp=
  5208. trap 'exit_status=$?
  5209. : "${ac_tmp:=$tmp}"
  5210. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  5211. ' 0
  5212. trap 'as_fn_exit 1' 1 2 13 15
  5213. }
  5214. # Create a (secure) tmp directory for tmp files.
  5215. {
  5216. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  5217. test -d "$tmp"
  5218. } ||
  5219. {
  5220. tmp=./conf$$-$RANDOM
  5221. (umask 077 && mkdir "$tmp")
  5222. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  5223. ac_tmp=$tmp
  5224. # Set up the scripts for CONFIG_FILES section.
  5225. # No need to generate them if there are no CONFIG_FILES.
  5226. # This happens for instance with `./config.status config.h'.
  5227. if test -n "$CONFIG_FILES"; then
  5228. ac_cr=`echo X | tr X '\015'`
  5229. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  5230. # But we know of no other shell where ac_cr would be empty at this
  5231. # point, so we can use a bashism as a fallback.
  5232. if test "x$ac_cr" = x; then
  5233. eval ac_cr=\$\'\\r\'
  5234. fi
  5235. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  5236. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  5237. ac_cs_awk_cr='\\r'
  5238. else
  5239. ac_cs_awk_cr=$ac_cr
  5240. fi
  5241. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  5242. _ACEOF
  5243. {
  5244. echo "cat >conf$$subs.awk <<_ACEOF" &&
  5245. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  5246. echo "_ACEOF"
  5247. } >conf$$subs.sh ||
  5248. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5249. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  5250. ac_delim='%!_!# '
  5251. for ac_last_try in false false false false false :; do
  5252. . ./conf$$subs.sh ||
  5253. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5254. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  5255. if test $ac_delim_n = $ac_delim_num; then
  5256. break
  5257. elif $ac_last_try; then
  5258. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  5259. else
  5260. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  5261. fi
  5262. done
  5263. rm -f conf$$subs.sh
  5264. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5265. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  5266. _ACEOF
  5267. sed -n '
  5268. h
  5269. s/^/S["/; s/!.*/"]=/
  5270. p
  5271. g
  5272. s/^[^!]*!//
  5273. :repl
  5274. t repl
  5275. s/'"$ac_delim"'$//
  5276. t delim
  5277. :nl
  5278. h
  5279. s/\(.\{148\}\)..*/\1/
  5280. t more1
  5281. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  5282. p
  5283. n
  5284. b repl
  5285. :more1
  5286. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5287. p
  5288. g
  5289. s/.\{148\}//
  5290. t nl
  5291. :delim
  5292. h
  5293. s/\(.\{148\}\)..*/\1/
  5294. t more2
  5295. s/["\\]/\\&/g; s/^/"/; s/$/"/
  5296. p
  5297. b
  5298. :more2
  5299. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  5300. p
  5301. g
  5302. s/.\{148\}//
  5303. t delim
  5304. ' <conf$$subs.awk | sed '
  5305. /^[^""]/{
  5306. N
  5307. s/\n//
  5308. }
  5309. ' >>$CONFIG_STATUS || ac_write_fail=1
  5310. rm -f conf$$subs.awk
  5311. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5312. _ACAWK
  5313. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  5314. for (key in S) S_is_set[key] = 1
  5315. FS = ""
  5316. }
  5317. {
  5318. line = $ 0
  5319. nfields = split(line, field, "@")
  5320. substed = 0
  5321. len = length(field[1])
  5322. for (i = 2; i < nfields; i++) {
  5323. key = field[i]
  5324. keylen = length(key)
  5325. if (S_is_set[key]) {
  5326. value = S[key]
  5327. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  5328. len += length(value) + length(field[++i])
  5329. substed = 1
  5330. } else
  5331. len += 1 + keylen
  5332. }
  5333. print line
  5334. }
  5335. _ACAWK
  5336. _ACEOF
  5337. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5338. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  5339. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  5340. else
  5341. cat
  5342. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  5343. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  5344. _ACEOF
  5345. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  5346. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  5347. # trailing colons and then remove the whole line if VPATH becomes empty
  5348. # (actually we leave an empty line to preserve line numbers).
  5349. if test "x$srcdir" = x.; then
  5350. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  5351. h
  5352. s///
  5353. s/^/:/
  5354. s/[ ]*$/:/
  5355. s/:\$(srcdir):/:/g
  5356. s/:\${srcdir}:/:/g
  5357. s/:@srcdir@:/:/g
  5358. s/^:*//
  5359. s/:*$//
  5360. x
  5361. s/\(=[ ]*\).*/\1/
  5362. G
  5363. s/\n//
  5364. s/^[^=]*=[ ]*$//
  5365. }'
  5366. fi
  5367. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5368. fi # test -n "$CONFIG_FILES"
  5369. eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
  5370. shift
  5371. for ac_tag
  5372. do
  5373. case $ac_tag in
  5374. :[FHLC]) ac_mode=$ac_tag; continue;;
  5375. esac
  5376. case $ac_mode$ac_tag in
  5377. :[FHL]*:*);;
  5378. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  5379. :[FH]-) ac_tag=-:-;;
  5380. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  5381. esac
  5382. ac_save_IFS=$IFS
  5383. IFS=:
  5384. set x $ac_tag
  5385. IFS=$ac_save_IFS
  5386. shift
  5387. ac_file=$1
  5388. shift
  5389. case $ac_mode in
  5390. :L) ac_source=$1;;
  5391. :[FH])
  5392. ac_file_inputs=
  5393. for ac_f
  5394. do
  5395. case $ac_f in
  5396. -) ac_f="$ac_tmp/stdin";;
  5397. *) # Look for the file first in the build tree, then in the source tree
  5398. # (if the path is not absolute). The absolute path cannot be DOS-style,
  5399. # because $ac_f cannot contain `:'.
  5400. test -f "$ac_f" ||
  5401. case $ac_f in
  5402. [\\/$]*) false;;
  5403. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  5404. esac ||
  5405. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  5406. esac
  5407. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  5408. as_fn_append ac_file_inputs " '$ac_f'"
  5409. done
  5410. # Let's still pretend it is `configure' which instantiates (i.e., don't
  5411. # use $as_me), people would be surprised to read:
  5412. # /* config.h. Generated by config.status. */
  5413. configure_input='Generated from '`
  5414. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  5415. `' by configure.'
  5416. if test x"$ac_file" != x-; then
  5417. configure_input="$ac_file. $configure_input"
  5418. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  5419. $as_echo "$as_me: creating $ac_file" >&6;}
  5420. fi
  5421. # Neutralize special characters interpreted by sed in replacement strings.
  5422. case $configure_input in #(
  5423. *\&* | *\|* | *\\* )
  5424. ac_sed_conf_input=`$as_echo "$configure_input" |
  5425. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  5426. *) ac_sed_conf_input=$configure_input;;
  5427. esac
  5428. case $ac_tag in
  5429. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  5430. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  5431. esac
  5432. ;;
  5433. esac
  5434. ac_dir=`$as_dirname -- "$ac_file" ||
  5435. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5436. X"$ac_file" : 'X\(//\)[^/]' \| \
  5437. X"$ac_file" : 'X\(//\)$' \| \
  5438. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  5439. $as_echo X"$ac_file" |
  5440. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5441. s//\1/
  5442. q
  5443. }
  5444. /^X\(\/\/\)[^/].*/{
  5445. s//\1/
  5446. q
  5447. }
  5448. /^X\(\/\/\)$/{
  5449. s//\1/
  5450. q
  5451. }
  5452. /^X\(\/\).*/{
  5453. s//\1/
  5454. q
  5455. }
  5456. s/.*/./; q'`
  5457. as_dir="$ac_dir"; as_fn_mkdir_p
  5458. ac_builddir=.
  5459. case "$ac_dir" in
  5460. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5461. *)
  5462. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  5463. # A ".." for each directory in $ac_dir_suffix.
  5464. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  5465. case $ac_top_builddir_sub in
  5466. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  5467. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  5468. esac ;;
  5469. esac
  5470. ac_abs_top_builddir=$ac_pwd
  5471. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  5472. # for backward compatibility:
  5473. ac_top_builddir=$ac_top_build_prefix
  5474. case $srcdir in
  5475. .) # We are building in place.
  5476. ac_srcdir=.
  5477. ac_top_srcdir=$ac_top_builddir_sub
  5478. ac_abs_top_srcdir=$ac_pwd ;;
  5479. [\\/]* | ?:[\\/]* ) # Absolute name.
  5480. ac_srcdir=$srcdir$ac_dir_suffix;
  5481. ac_top_srcdir=$srcdir
  5482. ac_abs_top_srcdir=$srcdir ;;
  5483. *) # Relative name.
  5484. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  5485. ac_top_srcdir=$ac_top_build_prefix$srcdir
  5486. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  5487. esac
  5488. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  5489. case $ac_mode in
  5490. :F)
  5491. #
  5492. # CONFIG_FILE
  5493. #
  5494. case $INSTALL in
  5495. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  5496. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  5497. esac
  5498. ac_MKDIR_P=$MKDIR_P
  5499. case $MKDIR_P in
  5500. [\\/$]* | ?:[\\/]* ) ;;
  5501. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  5502. esac
  5503. _ACEOF
  5504. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5505. # If the template does not know about datarootdir, expand it.
  5506. # FIXME: This hack should be removed a few years after 2.60.
  5507. ac_datarootdir_hack=; ac_datarootdir_seen=
  5508. ac_sed_dataroot='
  5509. /datarootdir/ {
  5510. p
  5511. q
  5512. }
  5513. /@datadir@/p
  5514. /@docdir@/p
  5515. /@infodir@/p
  5516. /@localedir@/p
  5517. /@mandir@/p'
  5518. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  5519. *datarootdir*) ac_datarootdir_seen=yes;;
  5520. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  5521. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  5522. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  5523. _ACEOF
  5524. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5525. ac_datarootdir_hack='
  5526. s&@datadir@&$datadir&g
  5527. s&@docdir@&$docdir&g
  5528. s&@infodir@&$infodir&g
  5529. s&@localedir@&$localedir&g
  5530. s&@mandir@&$mandir&g
  5531. s&\\\${datarootdir}&$datarootdir&g' ;;
  5532. esac
  5533. _ACEOF
  5534. # Neutralize VPATH when `$srcdir' = `.'.
  5535. # Shell code in configure.ac might set extrasub.
  5536. # FIXME: do we really want to maintain this feature?
  5537. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  5538. ac_sed_extra="$ac_vpsub
  5539. $extrasub
  5540. _ACEOF
  5541. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  5542. :t
  5543. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  5544. s|@configure_input@|$ac_sed_conf_input|;t t
  5545. s&@top_builddir@&$ac_top_builddir_sub&;t t
  5546. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  5547. s&@srcdir@&$ac_srcdir&;t t
  5548. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  5549. s&@top_srcdir@&$ac_top_srcdir&;t t
  5550. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  5551. s&@builddir@&$ac_builddir&;t t
  5552. s&@abs_builddir@&$ac_abs_builddir&;t t
  5553. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  5554. s&@INSTALL@&$ac_INSTALL&;t t
  5555. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  5556. $ac_datarootdir_hack
  5557. "
  5558. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  5559. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5560. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  5561. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  5562. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  5563. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  5564. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5565. which seems to be undefined. Please make sure it is defined" >&5
  5566. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  5567. which seems to be undefined. Please make sure it is defined" >&2;}
  5568. rm -f "$ac_tmp/stdin"
  5569. case $ac_file in
  5570. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  5571. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  5572. esac \
  5573. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  5574. ;;
  5575. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  5576. $as_echo "$as_me: executing $ac_file commands" >&6;}
  5577. ;;
  5578. esac
  5579. case $ac_file$ac_mode in
  5580. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  5581. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  5582. # are listed without --file. Let's play safe and only enable the eval
  5583. # if we detect the quoting.
  5584. case $CONFIG_FILES in
  5585. *\'*) eval set x "$CONFIG_FILES" ;;
  5586. *) set x $CONFIG_FILES ;;
  5587. esac
  5588. shift
  5589. for mf
  5590. do
  5591. # Strip MF so we end up with the name of the file.
  5592. mf=`echo "$mf" | sed -e 's/:.*$//'`
  5593. # Check whether this is an Automake generated Makefile or not.
  5594. # We used to match only the files named 'Makefile.in', but
  5595. # some people rename them; so instead we look at the file content.
  5596. # Grep'ing the first line is not enough: some people post-process
  5597. # each Makefile.in and add a new line on top of each file to say so.
  5598. # Grep'ing the whole file is not good either: AIX grep has a line
  5599. # limit of 2048, but all sed's we know have understand at least 4000.
  5600. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  5601. dirpart=`$as_dirname -- "$mf" ||
  5602. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5603. X"$mf" : 'X\(//\)[^/]' \| \
  5604. X"$mf" : 'X\(//\)$' \| \
  5605. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  5606. $as_echo X"$mf" |
  5607. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5608. s//\1/
  5609. q
  5610. }
  5611. /^X\(\/\/\)[^/].*/{
  5612. s//\1/
  5613. q
  5614. }
  5615. /^X\(\/\/\)$/{
  5616. s//\1/
  5617. q
  5618. }
  5619. /^X\(\/\).*/{
  5620. s//\1/
  5621. q
  5622. }
  5623. s/.*/./; q'`
  5624. else
  5625. continue
  5626. fi
  5627. # Extract the definition of DEPDIR, am__include, and am__quote
  5628. # from the Makefile without running 'make'.
  5629. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  5630. test -z "$DEPDIR" && continue
  5631. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  5632. test -z "am__include" && continue
  5633. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  5634. # Find all dependency output files, they are included files with
  5635. # $(DEPDIR) in their names. We invoke sed twice because it is the
  5636. # simplest approach to changing $(DEPDIR) to its actual value in the
  5637. # expansion.
  5638. for file in `sed -n "
  5639. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  5640. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  5641. # Make sure the directory exists.
  5642. test -f "$dirpart/$file" && continue
  5643. fdir=`$as_dirname -- "$file" ||
  5644. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  5645. X"$file" : 'X\(//\)[^/]' \| \
  5646. X"$file" : 'X\(//\)$' \| \
  5647. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  5648. $as_echo X"$file" |
  5649. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  5650. s//\1/
  5651. q
  5652. }
  5653. /^X\(\/\/\)[^/].*/{
  5654. s//\1/
  5655. q
  5656. }
  5657. /^X\(\/\/\)$/{
  5658. s//\1/
  5659. q
  5660. }
  5661. /^X\(\/\).*/{
  5662. s//\1/
  5663. q
  5664. }
  5665. s/.*/./; q'`
  5666. as_dir=$dirpart/$fdir; as_fn_mkdir_p
  5667. # echo "creating $dirpart/$file"
  5668. echo '# dummy' > "$dirpart/$file"
  5669. done
  5670. done
  5671. }
  5672. ;;
  5673. esac
  5674. done # for ac_tag
  5675. as_fn_exit 0
  5676. _ACEOF
  5677. ac_clean_files=$ac_clean_files_save
  5678. test $ac_write_fail = 0 ||
  5679. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  5680. # configure is writing to config.log, and then calls config.status.
  5681. # config.status does its own redirection, appending to config.log.
  5682. # Unfortunately, on DOS this fails, as config.log is still kept open
  5683. # by configure, so config.status won't be able to write to it; its
  5684. # output is simply discarded. So we exec the FD to /dev/null,
  5685. # effectively closing config.log, so it can be properly (re)opened and
  5686. # appended to by config.status. When coming back to configure, we
  5687. # need to make the FD available again.
  5688. if test "$no_create" != yes; then
  5689. ac_cs_success=:
  5690. ac_config_status_args=
  5691. test "$silent" = yes &&
  5692. ac_config_status_args="$ac_config_status_args --quiet"
  5693. exec 5>/dev/null
  5694. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  5695. exec 5>>config.log
  5696. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  5697. # would make configure fail if this is the last instruction.
  5698. $ac_cs_success || as_fn_exit 1
  5699. fi
  5700. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  5701. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  5702. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  5703. fi