configure 188 KB

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